Commit Graph

54 Commits

Author SHA1 Message Date
Fabrice Desré
e44917de0e Bug 727287 - Battery support for akami devices [r=mounir] 2012-02-16 14:40:43 -08:00
Ben Francis
c44c953812 Bug 726612 - Gonk Battery API backend doesn't mark the device as charging when plugged to AC. r=mounir 2012-02-15 13:10:15 -05:00
Ms2ger
b5ab39ac78 Bug 712378 followup - Fix incorrect license headers; r=sparky 2012-02-10 11:04:44 +01:00
Jim Straus
4994f785ee 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
Steven Lee
53515fa787 Bug 714413 - Sensor support for gonk [r=cjones] 2012-02-05 18:41:15 -08:00
Sinker Li
ebbf06da6a 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
d65d8e1017 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
b99d579b4b 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
dab257b9cd 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
d66fd0a876 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
e2c13d2e36 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
2c4bd4541e 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
2e97d9bcda Backout 6a4c4cb828a8 for bustage on windows. 2012-01-30 18:47:43 -06:00
Kan-Ru Chen
b6bf636f26 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
f80b14d4ee 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
23ead139c9 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
e6b1246ce3 Bug 713687 - Part 1 - Network API Android backend: get current information. r=dougt 2012-01-16 14:44:07 +01:00
Mounir Lamouri
439fd5f9cf Bug 677166 - Part 6 - Add NetworkInformation handling into hal. r=jlebar 2012-01-16 14:39:57 +01:00
Marco Bonardo
bc3801a4cd Backout 789f244f34f8, 1bea53f2d067, 577cba6021d2, 4191fe602648 (bug 697641) for win build bustage 2012-01-16 15:43:46 +01:00
DĂŁo Gottwald
9493208711 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
690a89b92d 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
765798d30a Bug 717155: Poke a different backlight controller. Stopgap for bug 712378. rs=jlebar 2012-01-11 11:56:23 -08:00
Philipp von Weitershausen
4c95e692e2 Bug 713149 - hal_impl has no method GetCurrentBatteryInformation. r=cjones 2011-12-24 06:03:55 +01:00
Justin Lebar
4d62c116a2 Bug 712665 - Fix GonkHal.cpp debug compile errors. r=mwu 2011-12-21 17:58:29 -08:00
Chris Jones
5e2599d529 Bug 712226 - Crash when fclose(NULL)'ing a battery-status FILE*, r=mwu 2011-12-21 17:58:29 -08:00
Justin Lebar
6bb5ccac61 Bug 694862 - Implement navigator.mozVibrate for Gonk, r=cjones 2011-12-21 17:58:29 -08:00
Michael Wu
03ed7088aa 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
6833455833 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
bcecb5e9cb Bug 709584 - Make Hal observer management a more generic. r=jlebar sr=cjones 2011-12-17 22:51:44 +01:00
Mounir Lamouri
2fd57888d7 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
94e6de41f3 Bug 710748 - Remove useless forward declaration in Hal.h. r=jlebar 2011-12-17 19:30:07 +01:00
Mounir Lamouri
1a54bc25bb Bug 710745 - Don't expose WindowIdentifier in Hal.h. r=jlebar sr=cjones 2011-12-17 22:04:26 +01:00
Justin Lebar
583f77dbbe Bug 679966, part 2: Add mozVibrator() for "playing" a vibration pattern. r=bz 2011-11-10 16:26:36 -05:00
Justin Lebar
26afae03b7 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
faa8be8d82 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
8f39bf2e51 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
d40c12a19c Backout 407fba8cbd5a (bug 702256) for build failure on Windows. 2011-12-05 13:48:59 +01:00
Justin Lebar
6a7d0a009c 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
6f82f76952 Bug 696049 - Battery API: Windows backend. r=mounir,jimm 2011-12-05 19:34:27 +09:00
Mounir Lamouri
ec67d02a29 Bug 707085 - Fix Battery API default values. r=sicking 2011-12-04 21:00:21 +08:00
Mounir Lamouri
e890c12c5b 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
fec7797d9c Bug 703307 - Fix build/crash in gonk, r=cjones 2011-11-22 11:51:51 -08:00
Mounir Lamouri
a526817e17 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
f431f55925 Bug 700262 - Add remainingTime support to upower backend. r=cjones 2011-11-09 10:00:01 +01:00
Mounir Lamouri
2193d385c3 Bug 700261 - Add .chargingTime/.dischargingTime support to hal code. r=cjones 2011-11-09 09:58:59 +01:00
Mounir Lamouri
49b08db14f Bug 699742 - (3/4) battery.level should be a double (upower backend). r=cjones 2011-11-09 09:56:22 +01:00
Mounir Lamouri
878fded797 Bug 699742 - (2/4) battery.level should be a double (hal part). r=cjones 2011-11-09 15:15:28 +01:00
Chris Jones
ab87d668dd Bug 679966, part 1: Add vibrator support for android. r=blassey,cjones 2011-09-30 00:00:48 -07:00
Mounir Lamouri
e758b91d67 Bug 696041 - Battery API backend for linux with upower. r=karlt,cjones sr=roc 2011-11-03 11:33:31 +01:00
Mounir Lamouri
2545c63c8e Bug 696038 - (2/3) Boilerplate code to communicate between hal and Android Java code. r=cjones 2011-11-02 16:35:11 +01:00