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
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
Kershaw Chang
f2fa1b8497
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
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
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
chiajung hung
098a829ab1
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-30 21:52:00 -04:00
Ed Morley
20dd87ee29
Backed out changeset 1a6ada013610 (bug 959089)
2014-04-25 17:51:15 +01:00
chiajung hung
c0cf680819
Bug 959089 - Part 1: Implement a new protocol for manage shared buffers' allocation. r=vlad, r=gal
2014-04-25 02:28:00 -04:00
John Shih
697caff053
Bug 960426 - Part 2: Modifications for IDL change. r=blassey
2014-03-05 11:54:55 +08: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
Nathan Froyd
ec839c62b4
Bug 918651 - part 8 - remove redundant includes from IPDL files; r=ehsan
...
These include statements have been made redundant by all the qualifications
to the using statements.
2013-10-18 13:34:08 -04:00
Nathan Froyd
ebcc1e1abf
Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan
2013-10-01 15:25:07 -04: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
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
32bdb371af
Bug 771765 - Support template content process, part 4: Clone IPC protocol objects that will be up when the template process is ready. r=khuey, r=bent
2013-06-03 18:14:37 +08:00
Tom Schuster
3d2fa7cabf
Bug 915822 - Make GetTabChildFrom a class method on TabChild. r=smaug
2013-09-12 15:24:11 -04:00
Patrick McManus
ec80b06fb8
bug 888268 - wifi tickler for mitigating 802.11 psp mode on android r=dougt
...
--HG--
extra : rebase_source : a767b6c10501105b3c5d22043f11745807caf2f9
2013-07-11 11:39:36 -04:00
Mike Shal
d5df6bb361
Bug 868536 - Move ipdl.mk files to moz.build; r=gps
...
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Justin Lebar
e7601798fb
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
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
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
Justin Lebar
d9f02946ab
Bug 836654 - Part 1: Don't require the "power" permission to do GetWakeLockInfo from a child process. r=cjones
2013-02-14 15:41:29 -05:00
Justin Lebar
d4263d07a3
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
Gene Lian
ebdfa96824
Bug 821671 - Check alarm API parameters in the parent (part 1, provide .AssertAppProcess() with different types). r=sicking
2012-12-22 19:53:38 +08:00
Marco Chen
6d7c6b839a
Bug 823203 - HalParent::ActorDestroy() needs to handle the UnregisterSwitchObserver() when content process is killed. r=jlebar, a=blocking-basecamp
2012-12-21 16:37:58 +08:00
Justin Lebar
cd3ff297ee
Bug 819791 - Part 5: Remove an unnecessary TArray copy in hal/sandbox. r=mounir
2012-12-18 20:16:06 -05:00
Steven Lee
b1b876e86c
Bug 817919 - Remove FM radio implementations in hal_sandbox. r=cjones
2012-12-04 08:57:31 -08:00
Steven Lee
67db716bd8
Bug 809106 - RegisterSwitchObserver through hal::Sandbox. r=jlebar
2012-11-29 17:52:02 -05:00
Boris Zbarsky
22f1c17e89
Bug 815671 part 5. Various miscellaneous fixups in dom/ and hal/ code to copy arrays only when we explicitly want to. r=jlebar
2012-11-29 11:14:14 -05:00
Kan-Ru Chen (陳侃如)
024fb57538
Bug 806363 - Remove wake locks on content-shutdown. r=jlebar
2012-11-17 23:05:18 +08: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
Steven Lee
baec46c4f8
Bug 793759 - Implement HalChild::ActorDestroy and prevent HalChild calls to HalParent after ActorDestroy is called. r=cjones
2012-10-06 21:53:22 -04: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
Chris Jones
12d4622353
Bug 794188: Check the fmradio permission at process boundaries. r=jlebar
2012-09-29 15:09:19 -07: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
Chris Jones
b7f90c6b8c
Bug 793479: Update C++ permission-checking API to match that of the message-manager one. r=jlebar
2012-09-25 11:52:30 -07:00
Steven Lee
816d9a9358
Bug 792443 - hal::RegisterSystemTimeChangeObserver should register the observer through sandbox, r=jlebar
2012-09-23 13:00:32 -04: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
Ehsan Akhgari
37b4f5642e
Backout bug 792109, bug 749053 and bug 779500 because of leaks in debug tests
2012-09-19 15:42:18 -04:00
Steven Lee
42b1a6daa1
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
Justin Lebar
b7559be095
Bug 791261 - Remove the requirement that a TabParent must be Active in order to send vibrations. Also remove TabParent::Active(). r=cjones
2012-09-19 09:48:38 -04:00
Chris Jones
c46ff7abe6
No bug: Update the cross-process permission checks for time permissions to match the DOM check. r=jlebar
2012-09-18 20:25:12 -07:00
Ms2ger
711f1fd480
Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones
2012-09-17 10:37:20 +02:00
Steven Lee
ec4bd9ff6f
Bug 714358 System time change implementation, r=mounir
2012-09-11 02:40:00 -04:00
Chris Jones
b720925c5c
Bug 789130: Unregister hal observers on HalParent::ActorDestroy(), and make Unregister*() functions resilient to unregister-of-not-registered observers. r=jlebar
2012-09-06 14:58:36 -07: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
Chris Jones
12d54ad0df
Bug 782460: Fix hal enum serializers, make wake lock permission checking match the DOM's, and log a message when an app process fails a backstop permission check. r=gal
2012-08-25 15:38:04 -07: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
Chris Jones
1b2d3cc211
Bug 776835: Check process capabilities in hal. r=blassey,jlebar
2012-08-16 12:34:53 -07: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
Joshua Cranmer
d539846cab
Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
...
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05: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
Gene Lian
cad479cbe7
Bug 749551 - Alarm API (Hal/Gonk). r=cjones
2012-07-03 11:24:13 +02:00
Landry Breuil
d25627bfb5
Bug 712910 - Use stdint types in sandbox/PHal.ipdl too, fixes build on OpenBSD - r=Ms2ger
2012-05-26 09:33:51 -04:00
Ms2ger
3bfe10a2e0
Bug 712910 - Use stdint types in HAL; r=cjones
2012-05-25 09:18:30 +02:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Chris Jones
acbbfc1126
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
fce206dad7
Bug 736939 - Audio routing support. r=cjones, a=b2g-only
2012-04-22 14:09:22 -04:00
Kan-Ru Chen
c3b3e39fdb
Bug 739913 - Add cpuSleepAllowed attribute to mozPower. r=cjones
2012-04-16 18:35:33 -04:00
Ryan VanderMeulen
0f578d67d8
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
14c301c057
Bug 739913 - Use kernel wake lock when the "cpu" topic is locked. r=cjones
2012-04-12 19:24:20 -04:00
Mounir Lamouri
de3ed2a2f0
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
b1e4247d44
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
388850e1f0
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
075acfd9f5
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
7c187aab34
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
37b6a6d4ef
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
5d52d341f9
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
dac48325a5
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
c026ffddbc
Bug 697132 - Implement wakelock interfaces. r=jlebar
2012-03-07 12:03:25 +01:00
Vincent Chang
fc5a31fa0f
Bug 717150: Support adjust system clock and set timezone APIs in hal layer r=cjones.
2012-02-17 02:44:00 -08:00
Ms2ger
6c6590f809
Bug 712378 followup - Fix incorrect license headers; r=sparky
2012-02-10 11:04:44 +01:00
Jim Straus
5050012b61
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
8d1dae936a
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
cee1f7b77a
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
46f66f0c50
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
d19707e250
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
e3e44f99cb
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
d31b0fb85f
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
f54487e0fe
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
8a04769547
Backout 6a4c4cb828a8 for bustage on windows.
2012-01-30 18:47:43 -06:00
Kan-Ru Chen
fd88fd0443
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
7f5c471516
Bug 677166 - Part 6 - Add NetworkInformation handling into hal. r=jlebar
2012-01-16 14:39:57 +01:00
Marco Bonardo
2b20126f0a
Backout 789f244f34f8, 1bea53f2d067, 577cba6021d2, 4191fe602648 (bug 697641) for win build bustage
2012-01-16 15:43:46 +01:00
Dão Gottwald
bb7315ed5b
Bug 697641, part 3: Make Sensor API available for Sandbox. r=cjones
...
Add Sensor API to PHal protocol that Sandbox can access sensors.
2012-01-16 14:37:49 +01:00