Commit Graph

50 Commits

Author SHA1 Message Date
Steven Lee
558004c794 Bug 714413 - Sensor support for gonk [r=cjones] 2012-02-05 18:41:15 -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
8727971f2d Bug 719632 - Add Network API fallback methods to the hal's gonk backend. r=cjones 2012-01-22 08:43:38 +01:00
Mounir Lamouri
5c5c80c069 Bug 713687 - Part 4 - Network API Android backend: use enable/disable notifications to prevent listening when not needed. r=dougt 2012-01-16 15:01:07 +01:00
Mounir Lamouri
b60b13293e Bug 713687 - Part 1 - Network API Android backend: get current information. r=dougt 2012-01-16 14:44:07 +01: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
Dão Gottwald
51725adb51 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
Sinker Li
c50b5856a8 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-01-16 14:37:44 +01:00
Chris Jones
6c88085d76 Bug 717155: Poke a different backlight controller. Stopgap for bug 712378. rs=jlebar 2012-01-11 11:56:23 -08:00
Philipp von Weitershausen
bef6c15bac Bug 713149 - hal_impl has no method GetCurrentBatteryInformation. r=cjones 2011-12-24 06:03:55 +01:00
Justin Lebar
c5dcd31779 Bug 712665 - Fix GonkHal.cpp debug compile errors. r=mwu 2011-12-21 17:58:29 -08:00
Chris Jones
0eff829115 Bug 712226 - Crash when fclose(NULL)'ing a battery-status FILE*, r=mwu 2011-12-21 17:58:29 -08:00
Justin Lebar
73e59b28dd Bug 694862 - Implement navigator.mozVibrate for Gonk, r=cjones 2011-12-21 17:58:29 -08:00
Michael Wu
37a4ba5160 Land GonkHal.cpp - Bug 696042 r=cjones, Bug 702256 r=cjones,mounir, Bug 694862 r=cjones 2011-12-20 11:31:53 -08:00
Makoto Kato
2b92464205 Bug 710178 - ASSERTION: Battery API: When charging and level at 1.0, remaining time should be 0. Please fix your backend. r=mounir 2011-12-19 12:23:13 +09:00
Mounir Lamouri
d4e2428006 Bug 709584 - Make Hal observer management a more generic. r=jlebar sr=cjones 2011-12-17 22:51:44 +01:00
Mounir Lamouri
9f9888aaa8 Bug 710793 - Move hal's private methods outside of Hal.h. r=jlebar sr=cjones 2011-12-17 22:04:51 +01:00
Mounir Lamouri
0084e4de96 Bug 710748 - Remove useless forward declaration in Hal.h. r=jlebar 2011-12-17 19:30:07 +01:00
Mounir Lamouri
f8adc3a9a1 Bug 710745 - Don't expose WindowIdentifier in Hal.h. r=jlebar sr=cjones 2011-12-17 22:04:26 +01:00
Justin Lebar
84241e428f Bug 679966, part 2: Add mozVibrator() for "playing" a vibration pattern. r=bz 2011-11-10 16:26:36 -05:00
Justin Lebar
9d36fab46a Bug 706958 - Add ClearOnShutdown() function which will clear a smart pointer on shutdown. r=bsmedberg 2011-12-15 10:51:11 -05:00
Andrew Quartey
e51c16190c Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal 2011-12-13 14:17:59 +00:00
Justin Lebar
15f78c78bd Bug 702256 - "[Gonk] Add DOM API for turning screen on/off and adjusting the screen's brightness" r=cjones,mounir 2011-12-05 01:07:00 +08:00
Marco Bonardo
72eaf234fe Backout 407fba8cbd5a (bug 702256) for build failure on Windows. 2011-12-05 13:48:59 +01:00
Justin Lebar
e33d8ba71a Bug 702256 - "[Gonk] Add DOM API for turning screen on/off and adjusting the screen's brightness" r=cjones,mounir
--HG--
extra : rebase_source : 6c1f1b49d911e749da524266695e2f05d52900b2
2011-12-05 01:07:00 +08:00
Makoto Kato
0c1547e22e Bug 696049 - Battery API: Windows backend. r=mounir,jimm 2011-12-05 19:34:27 +09:00
Mounir Lamouri
327374b6fe Bug 707085 - Fix Battery API default values. r=sicking 2011-12-04 21:00:21 +08:00
Mounir Lamouri
16941eb201 Bug 705084 - Part B - Use kDefaultRemainingTime instead of kUnknownRemaining time when appropriate in UPower backend. r=cjones 2011-12-01 11:50:58 +01:00
Michael Wu
8ded2a05cd Bug 703307 - Fix build/crash in gonk, r=cjones 2011-11-22 11:51:51 -08:00
Mounir Lamouri
8f3514d421 Bug 703610 - Return level=1.0 when the battery is full (Battery API UPower backend). r=cjones 2011-11-22 10:36:22 +01:00
Mounir Lamouri
a9f20cde94 Bug 700262 - Add remainingTime support to upower backend. r=cjones 2011-11-09 10:00:01 +01:00
Mounir Lamouri
d36933c757 Bug 700261 - Add .chargingTime/.dischargingTime support to hal code. r=cjones 2011-11-09 09:58:59 +01:00
Mounir Lamouri
26c7cb0c89 Bug 699742 - (3/4) battery.level should be a double (upower backend). r=cjones 2011-11-09 09:56:22 +01:00
Mounir Lamouri
fc24ef5c6c Bug 699742 - (2/4) battery.level should be a double (hal part). r=cjones 2011-11-09 15:15:28 +01:00
Chris Jones
32b5bac310 Bug 679966, part 1: Add vibrator support for android. r=blassey,cjones 2011-09-30 00:00:48 -07:00
Mounir Lamouri
c14b03e135 Bug 696041 - Battery API backend for linux with upower. r=karlt,cjones sr=roc 2011-11-03 11:33:31 +01:00
Mounir Lamouri
81e95dc4d5 Bug 696038 - (2/3) Boilerplate code to communicate between hal and Android Java code. r=cjones 2011-11-02 16:35:11 +01:00
Mounir Lamouri
35e8988983 Bug 696038 - (1/3) Add an Android implementation for hal. r=cjones 2011-11-02 16:28:26 +01:00
Mounir Lamouri
a1fdb4f396 Bug 678694 - (6/7) hal code for the Battery API. r=cjones 2011-11-02 16:14:01 +01:00
Justin Lebar
16e435fc2f No bug - Fix vim modelines in hal. rs=biesi DONTBUILD 2011-10-20 17:38:39 -04:00
Chris Jones
130e939216 Bug 690670, parts 1 and 2: Add a hal/ directory in which we can add device-interaction code, and build goop thereto. r=khuey sr=roc
--HG--
extra : rebase_source : bf3dc09f49d010ac4422150fc5300a41080af858
2011-10-05 15:15:45 -07:00