Commit Graph

169 Commits

Author SHA1 Message Date
Gabriele Svelto
c1a68330d7 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
Ryan VanderMeulen
9e1968d46e Backed out changeset 07c91b928cd7 (bug 932698) for causing bug 1047618. a=me 2014-08-01 16:46:21 -04:00
Ryan VanderMeulen
cde39a4083 Merge inbound to m-c. a=merge 2014-08-01 15:59:05 -04:00
Gabriele Svelto
313e4fd89e Bug 1045524 - Make the priority adjustment functions use HAL_LOG() instead of spamming the logcat directly. r=dhylands 2014-07-30 17:01:08 +02:00
Viral Wang
2acc0fef0b Bug 932698 - Hold a wakelock when we receive the powey key to wake up device. r=dhylands 2014-07-31 03:05:00 -04:00
Kershaw Chang
cd215e6dca Bug 1044093 - Avoid calling RegisterUeventListener in main thread, r=dhylands 2014-07-30 01:07:00 +02:00
Michael Wu
582c8d9b3d Bug 938809 - Support calling seeking/tuning functions off main thread in HAL, r=dhylands 2014-07-29 20:28:12 -04:00
Carsten "Tomcat" Book
f2af660b70 Backed out changeset d77f989d6e7d (bug 938809) for bustage 2014-07-30 05:51:38 +02:00
Michael Wu
2f673e6e18 Bug 938809 - Support calling seeking/tuning functions off main thread in HAL, r=dhylands 2014-07-29 20:28:12 -04:00
Fabrice Desré
eed7739dc9 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
Michael Wu
43ea93bfa4 Bug 1036873 - Add support for standard V4L2 FM deemphasis control, r=dhylands 2014-07-10 05:48:46 -04:00
Kershaw Chang
2112e77bbf 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
4f5b2a0113 Bug 1017463 - Remove SetLight / GetLight from PHal.ipdl. r=dhylands 2014-06-11 18:17:23 +08:00
Michael Wu
63f6784ff2 Bug 938806 - Handle errors better in GonkFMRadio, r=dhylands 2014-06-12 14:36:20 -04:00
Sean Lin
6df6540048 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
Bhavna Sharma
392a5b1ca9 Bug 975667 - gecko: hal: gonk: Emit battery level/charging notification. r=dhylands
The battery level and charging flag is now emitted from nsIObserverService
via the "gonkhal-battery-notifier" topic.  This can be useful to XPCOM
components that are not statically linked to Gecko.

The notification data is a IPropertyBag2 object.

Change-Id: Ia7b1faf3b66c19d6551d71ad554fd361c2614a22
2014-05-29 15:12:00 +02:00
Kyle Huey
8a1ded0d50 Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Althaf Hameez
09149f8c92 Bug 1001206 - Additional regular expressions for OOM Logger r=dhylands 2014-05-16 17:16:20 -07:00
Mason Chang
2ed3237efa Bug 980027 - Part 1: Provide mechanism to set thread priorities. r=gsvelto, r=dhylands 2014-05-05 11:37:00 -04:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Kyle Huey
4b25f94dc9 Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
--HG--
extra : rebase_source : 239ff77ec3765a3f190ed75b1645c6011e5d1dbd
2014-04-14 12:04:24 -07:00
Ryan VanderMeulen
601b02224e Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
d7199fa836 Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:24 -07:00
Carsten "Tomcat" Book
8dd01a51fe merge b2g-inbound to mozilla-central 2014-03-20 14:07:58 +01:00
Wes Kocher
af4fab6d1c 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
295a735e85 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
Dave Hylands
9768f063a8 Bug 964537 - Fix intermittent access through a null pointer. r=dmajor 2014-03-18 14:18:14 -07:00
Ben Kelly
07881c0521 Bug 980027: Part 1: Provide mechanism to set thread priority via HAL. r=gsvelto 2014-03-17 11:52:42 -04:00
Gabriele Svelto
8eb959fe27 Bug 979205 - Make LMK and low-mem trigger preferences use values in KiB instead of MiB. r=fabrice 2014-03-04 11:23:00 +01:00
Ehsan Akhgari
f1e844fd62 Bug 935778 - Part 0.4: Spray even more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-21 09:11:33 -05:00
Birunthan Mohanathas
e81a8f702d Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
Dave Hylands
b8fe0a4649 Bug 851680 - Set kernel timezone so that external sdcards get local time rather than UTC time.
--HG--
extra : rebase_source : 74745fda004671a7c02df132877db7b6be4c5d54
2014-01-28 13:33:15 -08:00
Marco Chen
c10030a03d Bug 958963 - Headset status from input device didn't be recorded by GonkSwitch.r=dhylands. 2014-01-20 17:35:24 +08:00
Dave Hylands
45e753f0d5 Bug 939372 - Rewrite oom-msg-logger in C or C++ r=dhylands 2014-01-10 22:22:55 -08:00
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Vincent Liu
fb5ee6e50e Bug 924729 - [Flatfish] :Socket bind() fail in UeventPoller initialization. r=dhylands 2013-12-04 10:18:14 +08:00
Vasanthakumar Pandurangan
218044bba2 Bug 942732 - Check for msm iris fm driver while configuring. r=mwu
Also use msmFM instead of tavarua in variable names to generalize all msm fm drivers (Ex: tavarua, iris)
2013-11-27 00:31:47 +05:30
Viral Wang
8cf3f3d6e7 Bug 938035 - The definition of device orientation in firefox is not same as w3c spec. r=dougt 2013-11-26 13:58:15 -05:00
Michael Wu
29f85c1561 Bug 852497 - Add a standard V4L2 mode to GonkFMRadio.cpp, r=dhylands 2013-11-14 15:02:30 -05:00
Shao Hang Kao
92796e5d7d 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
492ebafa8c 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
Fabrice Desré
b16364d8ec Bug 917602 - Fix some shutdown crashes r=bent 2013-09-18 10:53:07 -07:00
Vasanthakumar (Vasanth) Pandurangan
86f71f5e75 Bug 911294 - Fix FM UI showing previously tuned frequency. r=pzhang, r=mwu 2013-09-10 01:39:38 -07:00
Alan Huang
3b6708fc4a Bug 914728 - Make ProcessPriorities/OomScoreAdjusts and KillUnderMB two different sets and enlarge OomScoreAdjusts. r=gsvelto 2013-09-11 15:12:56 +08:00
Boris Zbarsky
03d632d917 Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger 2013-08-28 00:14:57 -04:00
Tapas Kundu
0bc582a07c Bug 788975 - Orientation Observer uses accelerometer sensor. r=mwu 2013-08-27 20:10:57 -07:00
Birunthan Mohanathas
c3a52a8631 Bug 784739 - Switch from NULL to nullptr in hal/. r=ehsan 2013-08-23 15:51:15 -04:00
Joshua Cranmer
bc53f5b85a Bug 884061 - Part 3j: Use NS_DECL_THREADSAFE_ISUPPORTS in hal/, r=jlebar
--HG--
extra : rebase_source : a3fa50183c82ffaa68a32ce13a314698a4bd495b
2013-07-18 21:23:31 -05:00
Tapas Kundu
7ad1a1e66c Bug 892037 - Update Date/Time even if hardware RTC fails to update. r=mwu 2013-07-11 14:27:12 -07:00
Thomas Zimmermann
0f7b37fd7f Bug 891259: Set discharging time to 'Infinity', r=mounir
If the discharging time is unknown, the W3C Battery Status API
requires its value to be 'Infinity'. The current code returns a
discharging time of 0 when discharging the battery. This patch
fixes the problem.
2013-07-10 15:47:30 +02:00