Граф коммитов

85 Коммитов

Автор SHA1 Сообщение Дата
Thomas Zimmermann 27283de2b8 Bug 1232687: Add system-service interface to HAL, r=gsvelto
The new HAL interface allows for starting, stopping, and querying
the status of system services. How these operations are performed
depends on the underlying system.

The current implementation for Gonk already contains a workaround
from Bluetooth, where quickly restarted system services require a
cool-down time between retrys.
2016-01-04 16:08:21 +01:00
William Chen 3c9928ced9 Bug 1131470 - Part 1: Rename existing use of ScreenOrientation to ScreenOrientationInternal. r=baku
--HG--
extra : rebase_source : 72e978d48e8356da9e8c66adfa0a97983034aa5a
2015-08-18 14:55:09 -07:00
Sotaro Ikeda e2d6f1ea99 Bug 1091037 - Raise ImageBridge thread priority r=gsvelto,nical 2015-05-07 06:53:47 -07:00
Kyle Machulis 358e55b5b7 Bug 852944 - Gamepad API IPC; r=ted, r=baku
--HG--
extra : rebase_source : 34ca0c1e1b7fcc312b5d7c97d5bd2086af2bc7ce
2015-04-23 15:05:29 -07:00
Gabriele Svelto 1f8afa872a Bug 1119277 - Remove the process CPU priority parameter and simplify all the associated code. r=khuey, r=dhylands 2015-02-26 12:43:22 +01:00
Michael Wu 9ebcb66989 Bug 1075727 - Return success/failure in hal::EnableRDS, r=dhylands 2014-10-14 15:16:22 -04:00
Michael Wu 846b6645bf Bug 1041085 - FM RDS support in HAL, r=dhylands 2014-06-26 05:07:23 -04:00
Michael Wu 610334f023 Backed out changeset d1ad5d5bc00f (Bug 1041085) for red 2014-09-30 13:43:22 -04:00
Michael Wu 86e3b61ea2 Bug 1041085 - FM RDS support in HAL, r=dhylands 2014-06-26 05:07:23 -04:00
Gabriele Svelto eee9e26b8b Bug 1047277 - Hide HAL's logging macros from the public headers and convert all components to use them. r=dhylands 2014-09-24 15:23:18 +02:00
Gabriele Svelto 6c7ded4a5e Bug 1045524 - Make the priority adjustment functions use HAL_LOG() instead of spamming the logcat directly. r=dhylands 2014-07-30 17:01:08 +02:00
Michael Wu b63474122c Bug 938809 - Support calling seeking/tuning functions off main thread in HAL, r=dhylands 2014-07-29 20:28:12 -04:00
Carsten "Tomcat" Book 65ab6b303b Backed out changeset d77f989d6e7d (bug 938809) for bustage 2014-07-30 05:51:38 +02:00
Michael Wu 11b9a78792 Bug 938809 - Support calling seeking/tuning functions off main thread in HAL, r=dhylands 2014-07-29 20:28:12 -04:00
Fabrice Desré bb4f218464 Bug 1037212 - [Flame] Phone is not completely erased when a ringtone is set from the Music App r=dougt,dhylands,khuey 2014-07-17 18:30:47 -07:00
Kershaw Chang 83e7e18fc5 Bug 964154 - To Detect Whether Headset Event is Came from Input Dev or /sys Node in Runtime Not by Property. r=dhylands 2014-07-01 19:52:00 +02:00
Kilik Kuo 7fde2154a4 Bug 1017463 - Remove SetLight / GetLight from PHal.ipdl. r=dhylands 2014-06-11 18:17:23 +08:00
Sean Lin 08364d3403 Bug 911242 - [LED] De-couple the control of screen backlight and keyboard backlight. r=dhylands, sr=sicking 2014-05-30 11:11:23 +08:00
Alphan Chen 3682d6b662 Bug 996996 - Move fopen into non-sanboxed process. r=mrbkap 2014-05-21 13:49:36 +08:00
Mason Chang da2b2f344d Bug 980027 - Part 1: Provide mechanism to set thread priorities. r=gsvelto, r=dhylands 2014-05-05 11:37:00 -04:00
Wes Kocher 847958cbab Backed out 3 changesets (bug 980027) for causing a serious race in hal with the pref service
Backed out changeset 5cd05df56f67 (bug 980027)
Backed out changeset 6344d6606517 (bug 980027)
Backed out changeset 098a43b537e9 (bug 980027)
2014-03-19 15:36:13 -07:00
Ben Kelly d5eb9aeb05 Bug 980027: Part 1: Provide mechanism to set thread priority via HAL. r=gsvelto 2014-03-17 11:52:42 -04:00
Marco Chen e531ad5bf0 Bug 958963 - Headset status from input device didn't be recorded by GonkSwitch.r=dhylands. 2014-01-20 17:35:24 +08:00
Boris Zbarsky f365773955 Bug 932421. Stop including windows.h (via Hal.h) in Screen.h, so we don't screw up our bindings code. r=smaug
Also stops Hal.h bootlegging Observer.h.
2013-10-31 22:07:10 -04:00
George Wright ecae0e66b7 Bug 920160 - Add prefs for SkiaGL cache size r=snorp
--HG--
extra : rebase_source : 410192610d7311dead4132d2fee8fbd3fe062951
2013-10-22 14:15:24 -05:00
Shao Hang Kao 8d820872ed Bug 926777 - B2G system time: |time.timezone| should save the UTC value with the correct sign. r=gene 2013-10-15 16:43:53 +08:00
Alan Huang f36c0848bb Bug 822325: Implement an LRU pool for background app processes. The LRU app will get the smallest oom_adj and get killed last. r=khuey 2013-10-01 11:54:59 +08:00
Boris Zbarsky c713072098 Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger 2013-08-28 00:14:57 -04:00
Fabrice Desré 9b82bf1f9e Bug 853350 - Implement a notification system to monitor disk space r=bent 2013-05-09 15:57:31 -07:00
Justin Lebar bb000e4638 Bug 870181 - Part 1: Add an additional LowCPUPriority argument to hal::SetProcessPriority. r=bent
This patch also makes it an error to call hal::SetProcessPriority from a child process.
2013-05-09 16:27:06 -04:00
Ted Mielczarek 281489a00e bug 604039 - Add DOM Gamepad APIs. r=smaug
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04:00
Justin Lebar e8a7bef2e4 Bug 836654 - Part 4: Add PowerManagerService::NewWakeLockOnBehalfOfProcess. r=cjones 2013-02-14 15:41:30 -05:00
Justin Lebar 0c5ba48e65 Bug 836654 - Part 3: Modify hal to accept a ContentParent ID in ModifyWakeLock(). r=cjones
Also return the list of processes holding the lock in GetWakeLockInfo
and in the wake-lock changed notification.
2013-02-14 15:41:30 -05:00
Kan-Ru Chen (陳侃如) 024fb57538 Bug 806363 - Remove wake locks on content-shutdown. r=jlebar 2012-11-17 23:05:18 +08:00
Nathan Froyd 4c61ef9ec5 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Gene Lian e6f31e38a9 Bug 801096 - [settings] Set-Automatically for time should take effect *immediately* instead of waiting on next NITZ coming (part 1). r=jlebar 2012-10-23 15:15:43 +08:00
Shih-Chiang Chien ff8dcd1bcd Bug 790393 - Add MozPower.factoryReset() for factory reset. r=cjones, r=vingtetun, sr=sicking 2012-10-04 17:28:34 +08:00
Gene Lian 56e7808397 Bug 793970 - Reuse nsAppStartup's watchdog to compulsively power-off/reboot/quit Gecko if profile synchronizing hangs. r=cjones 2012-10-02 15:26:32 +08:00
Gene Lian 51e816576c Bug 790527 - When rebooting/powering off, go through normal gecko shutdown. r=bsmedberg,sr=cjones 2012-09-26 17:12:33 +08:00
Gene Lian d3cb05d64c Bug 794127 - hal::AdjustSystemClock should take a 64-bit value. r=cjones 2012-09-26 11:51:29 +08:00
Steven Lee 45a49905cb Bug 749053 - FM radio support: hal implementation, r=jlebar
Hal interface by Steven Lee (slee), gonk backend by Michael Wu (mwu).
2012-09-19 11:17:13 -04:00
Steven Lee ec4bd9ff6f Bug 714358 System time change implementation, r=mounir 2012-09-11 02:40:00 -04:00
Gene Lian 80b6011c89 Bug 783021 - System time: listen to timezone settings changes and update system timezone (part 1). r=cjones 2012-08-23 17:00:00 +08:00
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Phil Ringnalda aa790aa109 Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks 2012-08-07 22:18:27 -07:00
Steven Lee 9242ba9386 Bug 714358: System time change implementation, r=mounir 2012-08-07 19:20:00 -04:00
Justin Lebar f54d116fea Bug 768832 - Set OOM adjust for background windows. r=bz,cjones 2012-08-05 01:09:39 -04:00
Gene Lian f831ee0599 Bug 776785 - Alarm API - hal::SetAlarm takes |long|s, but should instead take PRInt32s. r=jlebar 2012-07-31 10:52:57 +08:00
Gene Lian 77e62ee33f Bug 749551 - Alarm API (Hal/Gonk). r=cjones 2012-07-06 12:42:10 +02:00
Ed Morley e73ef45549 Backout 1dba66cfad9a, ed768b821da1, 23fd9a8d0c9a, 1e90805d96aa, 07425f0e921e (bug 749551) for M3 failures 2012-07-03 11:23:54 +01:00