Michelangelo De Simone
baf56b1218
Bug 1315798 - Remove FMRADIO support from HAL. r=mds
...
MozReview-Commit-ID: E6KGgMd8Cfg
--HG--
extra : rebase_source : 8d2117367c70ba8e30cc210805135e52dc9ff27b
2016-11-07 14:09:57 -08:00
Ehsan Akhgari
d05eb37eea
Bug 1299493 - Remove Navigator.get/hasFeature(); r=baku
2016-08-31 18:02:46 -04:00
sajitk
823704b8d6
Bug 1219482: Replace PRLogModuleInfo with LazyLogModule in various files.r=benjamin
2016-01-28 10:35:00 -08:00
Trevor Saunders
46aa830ced
bug 1249738 - make sSystemTimezoneChangeObservers a function static r=dhylands
2016-02-26 11:11:11 -05:00
Trevor Saunders
39b0d0189f
bug 1249738 - make sSystemClockChangeObservers a function static r=dhylands
2016-02-26 11:11:10 -05:00
Trevor Saunders
2179cbb817
bug 1249738 - make sWakeLockObservers a function static r=dhylands
2016-02-26 11:11:10 -05:00
Trevor Saunders
cef2ea492e
bug 1249738 - make sScreenConfigurationObservers a function static r=dhylands
2016-02-26 11:11:10 -05:00
Trevor Saunders
e7220223eb
bug 1249738 - make sNetworkObservers a function static r=dhylands
2016-02-26 11:11:10 -05:00
Trevor Saunders
34ed828351
bug 1249738 - make sBatteryObservers a function static r=dhylands
2016-02-26 11:11:09 -05:00
Mantaroh Yoshinaga
49324e6f7d
Bug 1248339 - fix header sort order of hal. r=gsvelto
2016-02-15 07:33:00 +01:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Wes Kocher
b9d77f5943
Backed out changeset 2c56aed63687 (bug 1219482) to hopefully fix the intermittent hazard failures CLOSED TREE
...
--HG--
extra : commitid : 7egFNnxx2ut
2016-01-29 10:15:38 -08:00
sajitk
6fdb9b782e
Bug 1219482 - Replace PRLogModuleInfo with LazyLogModule in various files. r=bsmedberg
...
--HG--
extra : rebase_source : 37e8f53a8aa5242058ab8fc867804cbc8940653e
2016-01-28 10:35:00 -05:00
Sylvestre Ledru
ab4e3a0d42
Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
...
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Thomas Zimmermann
27283de2b8
Bug 1232687: Add system-service interface to HAL, r=gsvelto
...
The new HAL interface allows for starting, stopping, and querying
the status of system services. How these operations are performed
depends on the underlying system.
The current implementation for Gonk already contains a workaround
from Bluetooth, where quickly restarted system services require a
cool-down time between retrys.
2016-01-04 16:08:21 +01:00
Gabriele Svelto
d758582e63
Bug 1207221 - Do not prevent the system app from vibrating when it is hidden. r=bz r=dhylands
2015-11-17 10:18:38 +01:00
Nigel Babu
b0bf03b78e
Backed out changeset 83f811be5016 (bug 1207221) for B2G JB emulator bustage due to warning
2015-11-13 16:01:26 +05:30
Gabriele Svelto
15406f5489
Bug 1207221 - Do not prevent the system app from vibrating when it is hidden. r=bz r=dhylands
2015-11-09 14:44:56 +01:00
Ted Clancy
8ca2499a93
Bug 1172609 - Part 7: Hal calls nsJSUtils::ResetTimeZone() when timezone changes. r=dhylands
2015-06-15 01:25:57 -07:00
William Chen
3c9928ced9
Bug 1131470 - Part 1: Rename existing use of ScreenOrientation to ScreenOrientationInternal. r=baku
...
--HG--
extra : rebase_source : 72e978d48e8356da9e8c66adfa0a97983034aa5a
2015-08-18 14:55:09 -07:00
Eric Rahm
68b4da0a7f
Bug 1184285 - Stop warning if RemoveObserver() is called for unregistered observer. r=dhylands
...
Bug 789130 swapped out an assert for a warning, but in the discussion it's clear that the API was intentionally loosened to allow for this condition. Here the warning is removed as this is expected behavior.
2015-07-24 12:08:26 -07:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Gabriele Svelto
03442c33ca
Bug 1157030 - Stop special-casing the homescreen in the process priority manager. r=khuey, r=dhylands
2015-04-30 13:12:21 +02:00
Sotaro Ikeda
e2d6f1ea99
Bug 1091037 - Raise ImageBridge thread priority r=gsvelto,nical
2015-05-07 06:53:47 -07:00
Kyle Machulis
358e55b5b7
Bug 852944 - Gamepad API IPC; r=ted, r=baku
...
--HG--
extra : rebase_source : 34ca0c1e1b7fcc312b5d7c97d5bd2086af2bc7ce
2015-04-23 15:05:29 -07:00
Gabriele Svelto
243ffd8828
Bug 892371 - Adjust oom_score_adj values for foreground processes according to an LRU policy. r=dhylands, r=khuey
2015-02-25 09:37:38 +01:00
Gabriele Svelto
1f8afa872a
Bug 1119277 - Remove the process CPU priority parameter and simplify all the associated code. r=khuey, r=dhylands
2015-02-26 12:43:22 +01:00
Michael Wu
be43a4ea81
Bug 1085383 - Allow FM radio tuning to be run on a separate thread, r=dhylands
2014-11-13 14:11:03 +08:00
Michael Wu
9ebcb66989
Bug 1075727 - Return success/failure in hal::EnableRDS, r=dhylands
2014-10-14 15:16:22 -04:00
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
Alphan Chen
3682d6b662
Bug 996996 - Move fopen into non-sanboxed process. r=mrbkap
2014-05-21 13:49:36 +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
Carsten "Tomcat" Book
e9c7dd6611
merge b2g-inbound to mozilla-central
2014-03-20 14:07:58 +01: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
Cervantes Yu
53aa9fe207
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
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
Birunthan Mohanathas
68b00083fd
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
George Wright
ecae0e66b7
Bug 920160 - Add prefs for SkiaGL cache size r=snorp
...
--HG--
extra : rebase_source : 410192610d7311dead4132d2fee8fbd3fe062951
2013-10-22 14:15:24 -05: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
Kan-Ru Chen (陳侃如)
064dc3f94e
Bug 914541 - Assign higher priority for mozapptype=inputmethod. r=fabrice
2013-09-24 16:10:20 +08:00
Birunthan Mohanathas
0d87358ff5
Bug 784739 - Switch from NULL to nullptr in hal/. r=ehsan
2013-08-23 15:51:15 -04:00
David Zbarsky
45aa3d2bde
Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger
2013-05-17 13:17:53 -07: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
Ms2ger
d41f270aff
Bug 866600 - Avoid using nsIDOMDocument::GetHidden; r=mounir
2013-05-05 09:03:15 +02: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
619ff92946
Bug 842679 - Part 2: Add PROCESS_PRIORITY_UNKNOWN to hal. r=cjones
2013-02-22 23:24:28 -05: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
2810c72632
Bug 836654 - Part 2: Add PROCESS_PRIORITY_FOREGROUND_HIGH. r=cjones
2013-02-14 15:41:30 -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
Justin Lebar
306bf90c91
Bug 838625 - Add hal::ProcessPriorityToString and use it in ProcessPriorityManager logging. r=cjones
...
--HG--
extra : rebase_source : 0a9ecf848a9c6c3ba37acafa24c775154ccb417f
2013-02-08 14:32:23 +00:00
Kan-Ru Chen (陳侃如)
024fb57538
Bug 806363 - Remove wake locks on content-shutdown. r=jlebar
2012-11-17 23:05:18 +08:00
Boris Zbarsky
2cd0f8f7b1
Bug 812086 part 3. Convert internal consumers of mozHidden and mozVisibilityState to the unprefixed versions. r=smaug
2012-11-16 14:22:56 -08:00
Steven Lee
206cf73a3d
Bug 808983 - Don't call hal_sandbox::Vibrate when ipc is broken. r=jlebar
2012-11-08 14:35:03 -05:00
Nathan Froyd
4c61ef9ec5
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04: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
Isaac Aggrey
8cae05114f
Bug 794510: Part 4 - Use PR_NewLogModule instead of PR_LOG_DEFINE; r=ehsan,wtc
2012-10-13 15:56:35 -05: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
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
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
Steven Lee
fc5b5fbd17
Bug 791682: Hal's sSystemTimeObserver should be called sSystemTimeObservers, r=jlebar
2012-09-17 08:48:00 -04:00
Jesse Ruderman
d78cd050fb
Bug 790781 - fix bustage from bug 714358.
2012-09-12 17:25:55 -07: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
ae8db6c1be
Bug 785166: Protect against already-canceled vibrations. r=jlebar
2012-08-23 17:32:00 -07:00
Chris Jones
a2fcf10a67
Backed out changeset df85150b8d2f
2012-08-23 17:33:12 -07:00
Chris Jones
8cf9f30595
Bug 785167: Protect against already-canceled vibrations. r=jlebar
2012-08-23 17:32:00 -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
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
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Chris Jones
d810b5a722
Bug 777890: The cached value is valid after we synchronously Get() it, as far as we know. r=jlebar
2012-07-27 11:39:44 -07:00
Justin Lebar
a9916a6e83
Bug 772987 - Part 2: Use Static{Auto,Ref}Ptr where appropriate. r=mounir
...
--HG--
extra : rebase_source : 4e3e72ba53cd0177160f80231eebeb4972119eec
2012-07-26 15:33:45 -04: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
Ms2ger
65aa2a4593
Merge m-c to m-i.
2012-05-25 11:15:32 +02:00
Ms2ger
3bfe10a2e0
Bug 712910 - Use stdint types in HAL; r=cjones
2012-05-25 09:18:30 +02:00
Cervantes Yu
ab223182e9
Bug 755546: fix incorrect deletion of the sensor observer list in unregistration of one observer. r=cjones
2012-05-21 18:12:03 +08:00
Kartikaya Gupta
e3cf87e1b1
Bug 757025 - Guard against a null mObservers which is possible due to a race condition on some platforms. r=cjones
2012-05-24 13:53:40 -04: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