Commit Graph
125 Commits
Author SHA1 Message Date
Thomas Zimmermann 52999e8dbd 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
Gabriele Svelto ff0ae21904 Bug 1207221 - Do not prevent the system app from vibrating when it is hidden. r=bz r=dhylands 2015-11-17 10:18:38 +01:00
Nigel Babu 5b9d8dd079 Backed out changeset 83f811be5016 (bug 1207221) for B2G JB emulator bustage due to warning 2015-11-13 16:01:26 +05:30
Gabriele Svelto ce3a7c006d Bug 1207221 - Do not prevent the system app from vibrating when it is hidden. r=bz r=dhylands 2015-11-09 14:44:56 +01:00
Ted Clancy d93877fec5 Bug 1172609 - Part 7: Hal calls nsJSUtils::ResetTimeZone() when timezone changes. r=dhylands 2015-06-15 01:25:57 -07:00
William Chen ecf84fcf22 Bug 1131470 - Part 1: Rename existing use of ScreenOrientation to ScreenOrientationInternal. r=baku 2015-08-18 14:55:09 -07:00
Eric Rahm a7f0d1a544 Bug 1184285 - Stop warning if RemoveObserver() is called for unregistered observer. r=dhylands
Bug 789130 swapped out an assert for a warning, but in the discussion it's clear that the API was intentionally loosened to allow for this condition. Here the warning is removed as this is expected behavior.
2015-07-24 12:08:26 -07:00
Birunthan Mohanathas a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Gabriele Svelto 46b9ac9667 Bug 1157030 - Stop special-casing the homescreen in the process priority manager. r=khuey, r=dhylands 2015-04-30 13:12:21 +02:00
Sotaro Ikeda 4952b33e36 Bug 1091037 - Raise ImageBridge thread priority r=gsvelto,nical 2015-05-07 06:53:47 -07:00
Kyle Machulis 241556554e Bug 852944 - Gamepad API IPC; r=ted, r=baku 2015-04-23 15:05:29 -07:00
Gabriele Svelto 43dd3c35fa Bug 892371 - Adjust oom_score_adj values for foreground processes according to an LRU policy. r=dhylands, r=khuey 2015-02-25 09:37:38 +01:00
Gabriele Svelto 6213e9e4d0 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 6dfa17e423 Bug 1085383 - Allow FM radio tuning to be run on a separate thread, r=dhylands 2014-11-13 14:11:03 +08:00
Michael Wu 47a7f7ebb8 Bug 1075727 - Return success/failure in hal::EnableRDS, r=dhylands 2014-10-14 15:16:22 -04:00
Michael Wu 48a2a6658b Bug 1041085 - FM RDS support in HAL, r=dhylands 2014-06-26 05:07:23 -04:00
Michael Wu 40ea765f8d Backed out changeset d1ad5d5bc00f (Bug 1041085) for red 2014-09-30 13:43:22 -04:00
Michael Wu d992830c40 Bug 1041085 - FM RDS support in HAL, r=dhylands 2014-06-26 05:07:23 -04:00
Gabriele Svelto 90e9a301fe 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
Fabrice Desré e5ca9d0899 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 fe241d7909 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 8a983a29e8 Bug 1017463 - Remove SetLight / GetLight from PHal.ipdl. r=dhylands 2014-06-11 18:17:23 +08:00
Kershaw Chang 942e3823f4 Bug 1013097 - Remove IPC for switch event because only the chrome process can receive it. r=dhylands 2014-06-02 19:25:00 -04:00
Sean Lin 158d8df83a 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 4000fabab6 Bug 996996 - Move fopen into non-sanboxed process. r=mrbkap 2014-05-21 13:49:36 +08:00
Mason Chang c253f90a28 Bug 980027 - Part 1: Provide mechanism to set thread priorities. r=gsvelto, r=dhylands 2014-05-05 11:37:00 -04:00
Carsten "Tomcat" Book 42df2fd4d9 merge b2g-inbound to mozilla-central 2014-03-20 14:07:58 +01:00
Wes Kocher 38693cf999 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
Cervantes Yu 037a241ec0 Bug 959966: prevent the preallocated process from being killed by the lowmem killer by rasing its priority. r=khuey,gsvelto 2014-03-13 15:24:42 +08:00
Ben Kelly 6fb7f8397b Bug 980027: Part 1: Provide mechanism to set thread priority via HAL. r=gsvelto 2014-03-17 11:52:42 -04:00
Marco Chen 941f313062 Bug 958963 - Headset status from input device didn't be recorded by GonkSwitch.r=dhylands. 2014-01-20 17:35:24 +08:00
Birunthan Mohanathas c04d0ff563 Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
George Wright df8b036b19 Bug 920160 - Add prefs for SkiaGL cache size r=snorp 2013-10-22 14:15:24 -05:00
Shao Hang Kao 2e3683a0f3 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 c2710653f6 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
Kan-Ru Chen (陳侃如) dfd9429dd0 Bug 914541 - Assign higher priority for mozapptype=inputmethod. r=fabrice 2013-09-24 16:10:20 +08:00
Birunthan Mohanathas 8cfe8b37ac Bug 784739 - Switch from NULL to nullptr in hal/. r=ehsan 2013-08-23 15:51:15 -04:00
David Zbarsky a2fe5c8cd6 Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger 2013-05-17 13:17:53 -07:00
Fabrice Desré 6bcb3490d5 Bug 853350 - Implement a notification system to monitor disk space r=bent 2013-05-09 15:57:31 -07:00
Justin Lebar 9760d3b6cf 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
Ms2ger da4896b14a Bug 866600 - Avoid using nsIDOMDocument::GetHidden; r=mounir 2013-05-05 09:03:15 +02:00
Ted Mielczarek 8a2ebe0370 bug 604039 - Add DOM Gamepad APIs. r=smaug 2011-08-03 14:12:08 -04:00
Justin Lebar e88149a6ea Bug 842679 - Part 2: Add PROCESS_PRIORITY_UNKNOWN to hal. r=cjones 2013-02-22 23:24:28 -05:00
Justin Lebar 8de351dbd3 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
Justin Lebar 5f5181f479 Bug 836654 - Part 2: Add PROCESS_PRIORITY_FOREGROUND_HIGH. r=cjones 2013-02-14 15:41:30 -05:00
Justin Lebar 36af6cbfdb Bug 837856 - Rename hal_sandbox::IsHalChildLive() to HalChildDestroyed(). r=mounir
The return value stays the same (that is, the function was mis-named).
2013-02-11 23:09:25 -05:00
Justin Lebar 45b1233d81 Bug 838625 - Add hal::ProcessPriorityToString and use it in ProcessPriorityManager logging. r=cjones 2013-02-08 14:32:23 +00:00
Kan-Ru Chen (陳侃如) fa810c3692 Bug 806363 - Remove wake locks on content-shutdown. r=jlebar 2012-11-17 23:05:18 +08:00
Boris Zbarsky d21f881c28 Bug 812086 part 3. Convert internal consumers of mozHidden and mozVisibilityState to the unprefixed versions. r=smaug 2012-11-16 14:22:56 -08:00
Steven Lee c377b058c8 Bug 808983 - Don't call hal_sandbox::Vibrate when ipc is broken. r=jlebar 2012-11-08 14:35:03 -05:00