Justin Lebar
e39827c3d4
Bug 870480 - Notify wake lock listeners when a process adds or removes a wake lock, even if the wake lock itself doesn't change state. r=kanru
...
This also fixes two other bugs:
1) If a process crashed while holding a wake lock, we'd send a wake lock changed notification without including the list of locking processes. This could cause us to incorrectly believe that no processes were holding the lock.
2) If a process crashed while holding a wake lock on topic X, and if no other process held a wake lock on that topic, and there were no wake lock listeners registered, we wouldn't remove X from our hashtable of wake lock topics. We would correctly record the fact that the lock was not held, so this bug was benign.
2013-05-10 11:20:52 -04:00
Justin Lebar
65994031f8
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
Justin Lebar
11d5a89e4e
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
Steven Lee
3daa512941
Bug 817919 - Remove FM radio implementations in hal_sandbox. r=cjones
2012-12-04 08:57:31 -08:00
Kan-Ru Chen (陳侃如)
43ad18d1ee
Bug 806363 - Remove wake locks on content-shutdown. r=jlebar
2012-11-17 23:05:18 +08:00
Gene Lian
49f7f7432c
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
1942917947
Bug 790393 - Add MozPower.factoryReset() for factory reset. r=cjones, r=vingtetun, sr=sicking
2012-10-04 17:28:34 +08:00
Gene Lian
94eb40e12d
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
aa922bc172
Bug 794127 - hal::AdjustSystemClock should take a 64-bit value. r=cjones
2012-09-26 11:51:29 +08:00
Steven Lee
bfafbca8ed
Bug 792443 - hal::RegisterSystemTimeChangeObserver should register the observer through sandbox, r=jlebar
2012-09-23 13:00:32 -04:00
Steven Lee
928a3692d4
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
Ms2ger
10ec580e54
Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones
2012-09-17 10:37:20 +02:00
Steven Lee
b50ad6db3a
Bug 714358 System time change implementation, r=mounir
2012-09-11 02:40:00 -04:00
Gene Lian
468c7c6ef3
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
Phil Ringnalda
2400fbd6d1
Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks
2012-08-07 22:18:27 -07:00
Steven Lee
ab3e1cc85d
Bug 714358: System time change implementation, r=mounir
2012-08-07 19:20:00 -04:00
Justin Lebar
20266d6b15
Bug 768832 - Set OOM adjust for background windows. r=bz,cjones
2012-08-05 01:09:39 -04:00
Landry Breuil
bdff27768c
Bug 712910 - Use stdint types in sandbox/PHal.ipdl too, fixes build on OpenBSD - r=Ms2ger
2012-05-26 09:33:51 -04:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Chris Jones
234136e0ea
Bug 745145, part 1: Generalize ScreenOrientation into ScreenConfiguration, and add screen rect and color+pixel depth to it. r=mounir
2012-05-08 14:36:07 -07:00
Steven Lee
aac1e868e2
Bug 736939 - Audio routing support. r=cjones, a=b2g-only
2012-04-22 14:09:22 -04:00
Kan-Ru Chen
aa08af3ddb
Bug 739913 - Add cpuSleepAllowed attribute to mozPower. r=cjones
2012-04-16 18:35:33 -04:00
Ryan VanderMeulen
0dae59a989
Back out entire dd28759eba7b push (bug 739913 and bug 742226) due to OSX 10.7 and b2g bustage. r=shouldausedtry
2012-04-12 20:00:57 -04:00
Kan-Ru Chen
b8b1c82e13
Bug 739913 - Use kernel wake lock when the "cpu" topic is locked. r=cjones
2012-04-12 19:24:20 -04:00
Mounir Lamouri
d8342fc658
Bug 740188 - Screen Orientation API locking (1/3): DOM/HAL boilerplate. r=smaug sr=sicking
2012-03-29 12:43:16 -07:00
Doug Turner
e9b99834bc
Bug 735330 - move device motion from dom/system to hal. r=jdm
...
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data. support compassneedscalibration. r=jdm
--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 23:36:17 -07:00
Matt Brubeck
bb974fd0d2
Back out bug 735330, bug 737462, bug 734854 because they broke XUL Fennec
...
--HG--
rename : hal/cocoa/smslib.h => dom/system/cocoa/smslib.h
rename : hal/cocoa/smslib.mm => dom/system/cocoa/smslib.mm
2012-03-20 16:59:24 -07:00
Doug Turner
cb66f15674
Bug 735330 - move device motion from dom/system to hal. r=jdm
...
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data. support compassneedscalibration. r=jdm
--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 14:46:14 -07:00
Takanori MATSUURA
2d011f7263
Bug 736836 - Fix include so that hal/sandbox/PHal.ipdl can build with system NSPR. r=cjones
2012-03-20 17:21:56 -04:00
Mounir Lamouri
3cf8a02b87
Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones
2012-03-13 17:42:46 +01:00
Mark Finkle
2f256bcc57
Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android
2012-03-17 21:51:39 -04:00
Mounir Lamouri
20cefe61d8
Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones
2012-03-13 17:42:46 +01:00
Kan-Ru Chen
3ec5d137a8
Bug 697132 - Implement wakelock interfaces. r=jlebar
2012-03-07 12:03:25 +01:00
Vincent Chang
116aaa5731
Bug 717150: Support adjust system clock and set timezone APIs in hal layer r=cjones.
2012-02-17 02:44:00 -08:00
Ed Morley
1bdae85d94
Backout 1ca8d5a931ac (bug 720799), e4781b684008 (bug 720795), 8a4e12d93a23 & 1fc8123a2ea4 (bug 720794) for bustage
2012-02-09 16:42:07 +00:00
Mounir Lamouri
201f3042b0
Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones
2012-02-07 13:23:45 +01:00
Ed Morley
16fb8f0845
Backout 79121553f728 (bug 720799), 4a763183482f (bug 720795), e965486f4b50 & 4a7c7c6b9b11 (bug 720794) for failing to build on any platform
2012-02-09 12:06:50 +00:00
Mounir Lamouri
b8e78087de
Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones
2012-02-07 13:23:45 +01:00
Jim Straus
e873ad365e
Bug 712378: Add an interface to control lights, and use it for the screen backlight on Gonk. r=cjones
2012-02-01 22:09:00 -08:00
Sinker Li
19bdb8bf7b
Bug 697641, part 3: Make Sensor API available for Sandbox. r=cjones
...
Add Sensor API to PHal protocol that Sandbox can access sensors.
2012-02-05 19:51:06 +00:00
Sinker Li
67386c06c9
Bug 697641, part 2: Add a hal API for sensor access. r=cjones
...
With this API, Gecko code can access sensors provied by system. This
patch include an implementation for Android.
2012-02-05 19:51:06 +00:00
Ed Morley
c427e1b142
Backout 90f7f032757f, 6695904a4a70, 50e98f67df1b & d26e8631514c (bug 697641) for native Android failures and 20289eb83e51 (bug 712378) because it conflicted with the backout CLOSED TREE
2012-02-02 10:09:40 +00:00
Jim Straus
87d44b9f14
Bug 712378: Add an interface to control lights, and use it for the screen backlight on Gonk. r=cjones
2012-02-01 22:09:00 -08:00
Sinker Li
e29f046042
Bug 697641, part 3: Make Sensor API available for Sandbox. r=cjones
...
Add Sensor API to PHal protocol that Sandbox can access sensors.
2012-02-01 22:47:55 -08:00
Sinker Li
42001268cb
Bug 697641, part 2: Add a hal API for sensor access. r=cjones
...
With this API, Gecko code can access sensors provied by system. This
patch include an implementation for Android.
2012-02-01 22:47:53 -08:00
Kan-Ru Chen
a1dfeed3b0
Bug 709585 - Part 5, hal code for the Power API. r=cjones
...
--HG--
extra : rebase_source : 49c8cb29be617293eb9143b3e3c760229b37943c
2012-01-31 01:08:00 -05:00
Scott Johnson
c5f8492d9e
Backout 6a4c4cb828a8 for bustage on windows.
2012-01-30 18:47:43 -06:00
Kan-Ru Chen
896e917c65
Bug 709585 - Part 5/6, hal code for the Power API. r=cjones
...
--HG--
extra : rebase_source : 689315521a72444c8a0fc92efe128d5bf3fbbada
2012-01-30 17:02:51 -06:00
Mounir Lamouri
15d460350a
Bug 677166 - Part 6 - Add NetworkInformation handling into hal. r=jlebar
2012-01-16 14:39:57 +01:00
Marco Bonardo
89e2ac5379
Backout 789f244f34f8, 1bea53f2d067, 577cba6021d2, 4191fe602648 (bug 697641) for win build bustage
2012-01-16 15:43:46 +01:00