Commit Graph
91 Commits
Author SHA1 Message Date
Greg Stoll f737290616 Bug 2010930 part 2 - WebSerial core code (minus IPC and platform-specific code) r=cmartin,saschanaz,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D281255
2026-04-10 03:53:51 +00:00
Sandor Molnar d4a0db7133 Revert "Bug 2010930 part 9 - WebSerial tests r=rpl,emilio" for causing webserial related mochitest failures
This reverts commit 68c2decfe2.

Revert "Bug 2010930 part 8 - WebSerial USB entitlements for Mac r=mac-reviewers,haik"

This reverts commit 5a6091aab5.

Revert "Bug 2010930 part 7 - WebSerial security feature policy (with reftests) r=dveditz,permissions-reviewers,tschuster,dom-worker-reviewers,edenchuang"

This reverts commit f773928f38.

Revert "Bug 2010930 part 6 - add-on gating and requestPort() dialog for WebSerial r=fluent-reviewers,extension-reviewers,desktop-theme-reviewers,akulyk,bolsson,rpl,emilio"

This reverts commit 98f46b8445.

Revert "Bug 2010930 part 5 - WebSerial Mac/Linux-specific code r=mac-reviewers,Thinker,bradwerth,cmartin"

This reverts commit 3ffe160b7e.

Revert "Bug 2010930 part 4 - WebSerial Windows-specific code r=cmartin,win-reviewers"

This reverts commit ee1f4bd27f.

Revert "Bug 2010930 part 3 - WebSerial IPC code r=nika"

This reverts commit d8db0925f6.

Revert "Bug 2010930 part 2 - WebSerial core code (minus IPC and platform-specific code) r=cmartin,saschanaz,webidl,smaug"

This reverts commit 910861a445.

Revert "Bug 2010930 part 1 - add WebSerial interfaces to .webidl files r=cmartin,webidl,smaug,emilio"

This reverts commit 0958df31ce.
2026-04-10 02:56:23 +00:00
Greg Stoll 910861a445 Bug 2010930 part 2 - WebSerial core code (minus IPC and platform-specific code) r=cmartin,saschanaz,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D281255
2026-04-10 00:09:23 +00:00
Sandor Molnar ac245506c5 Revert "Bug 2010930 part 9 - WebSerial tests r=rpl,emilio" for causing mochitest failures @ test_serial_insecurecontext.html
This reverts commit 696853f899.

Revert "Bug 2010930 part 8 - WebSerial USB entitlements for Mac r=mac-reviewers,haik"

This reverts commit 3961024db3.

Revert "Bug 2010930 part 7 - WebSerial security feature policy (with reftests) r=dveditz,permissions-reviewers,tschuster,dom-worker-reviewers,edenchuang"

This reverts commit 1d9bcf8e62.

Revert "Bug 2010930 part 6 - add-on gating and requestPort() dialog for WebSerial r=fluent-reviewers,extension-reviewers,desktop-theme-reviewers,akulyk,bolsson,rpl,emilio"

This reverts commit 6683a51e8f.

Revert "Bug 2010930 part 5 - WebSerial Mac/Linux-specific code r=mac-reviewers,Thinker,bradwerth,cmartin"

This reverts commit 2715a99651.

Revert "Bug 2010930 part 4 - WebSerial Windows-specific code r=cmartin,win-reviewers"

This reverts commit 9c18d77742.

Revert "Bug 2010930 part 3 - WebSerial IPC code r=nika"

This reverts commit f67413d6ac.

Revert "Bug 2010930 part 2 - WebSerial core code (minus IPC and platform-specific code) r=cmartin,saschanaz,webidl,smaug"

This reverts commit c4aa39fafb.

Revert "Bug 2010930 part 1 - add WebSerial interfaces to .webidl files r=cmartin,webidl,smaug,emilio"

This reverts commit c01eabc928.
2026-04-09 20:15:02 +00:00
Greg Stoll c4aa39fafb Bug 2010930 part 2 - WebSerial core code (minus IPC and platform-specific code) r=cmartin,saschanaz,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D281255
2026-04-09 18:00:17 +00:00
Silaghi 8d0c87bff3 Revert "Bug 2010930 part 9 - WebSerial tests r=rpl,emilio" for causing build bustages at PosixSerialPlatformService
This reverts commit 62f8d4670b.

Revert "Bug 2010930 part 8 - WebSerial USB entitlements for Mac r=mac-reviewers,haik"

This reverts commit 94c189140f.

Revert "Bug 2010930 part 7 - WebSerial security feature policy (with reftests) r=dveditz,permissions-reviewers,tschuster,dom-worker-reviewers,edenchuang"

This reverts commit b6d45de295.

Revert "Bug 2010930 part 6 - add-on gating and requestPort() dialog for WebSerial r=fluent-reviewers,extension-reviewers,desktop-theme-reviewers,akulyk,bolsson,rpl,emilio"

This reverts commit c93f8f139d.

Revert "Bug 2010930 part 5 - WebSerial Mac/Linux-specific code r=mac-reviewers,Thinker,bradwerth,cmartin"

This reverts commit 40304769aa.

Revert "Bug 2010930 part 4 - WebSerial Windows-specific code r=cmartin,win-reviewers"

This reverts commit 6ffc38891c.

Revert "Bug 2010930 part 3 - WebSerial IPC code r=nika"

This reverts commit 20b7e1ca1c.

Revert "Bug 2010930 part 2 - WebSerial core code (minus IPC and platform-specific code) r=cmartin,saschanaz,webidl,smaug"

This reverts commit cbcfcae79a.

Revert "Bug 2010930 part 1 - add WebSerial interfaces to .webidl files r=cmartin,webidl,smaug,emilio"

This reverts commit 8dfe48a33c.
2026-04-09 15:06:19 +00:00
Greg Stoll cbcfcae79a Bug 2010930 part 2 - WebSerial core code (minus IPC and platform-specific code) r=cmartin,saschanaz,webidl,smaug
# Conflicts:
#	dom/streams/UnderlyingSourceCallbackHelpers.h

Differential Revision: https://phabricator.services.mozilla.com/D281255
2026-04-09 13:48:40 +00:00
Silaghi 1b55026663 Revert "Bug 2010930 part 9 - WebSerial tests r=rpl,emilio" for causing multiple wpt failures at WebSerial
This reverts commit e27efd1dce.

Revert "Bug 2010930 part 8 - WebSerial USB entitlements for Mac r=mac-reviewers,haik"

This reverts commit bddaaef383.

Revert "Bug 2010930 part 7 - WebSerial security feature policy (with reftests) r=dveditz,permissions-reviewers,tschuster,dom-worker-reviewers,edenchuang"

This reverts commit c2e5a09461.

Revert "Bug 2010930 part 6 - add-on gating and requestPort() dialog for WebSerial r=fluent-reviewers,extension-reviewers,desktop-theme-reviewers,akulyk,bolsson,rpl,emilio"

This reverts commit 07f7e45730.

Revert "Bug 2010930 part 5 - WebSerial Mac/Linux-specific code r=mac-reviewers,Thinker,bradwerth,cmartin"

This reverts commit 8753f0f569.

Revert "Bug 2010930 part 4 - WebSerial Windows-specific code r=cmartin,win-reviewers"

This reverts commit c66ce94b13.

Revert "Bug 2010930 part 3 - WebSerial IPC code r=nika"

This reverts commit e7d44898a1.

Revert "Bug 2010930 part 2 - WebSerial core code (minus IPC and platform-specific code) r=cmartin,saschanaz,webidl,smaug"

This reverts commit c46a38458f.

Revert "Bug 2010930 part 1 - add WebSerial interfaces to .webidl files r=cmartin,webidl,smaug,emilio"

This reverts commit dc5154c067.
2026-04-09 05:42:42 +00:00
Greg Stoll c46a38458f Bug 2010930 part 2 - WebSerial core code (minus IPC and platform-specific code) r=cmartin,saschanaz,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D281255
2026-04-09 03:56:36 +00:00
Sylvestre Ledru 6fe3323ba7 Bug 2023419 - Remove Emacs/Vim modelines from hal/ r=emilio,geckoview-reviewers,m_kato
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287847
2026-03-17 07:58:00 +00:00
stransky 5dc4700ee7 Bug 2002096 [Linux] Add more DBus probes r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D273893
2025-11-25 07:07:30 +00:00
Brad Werth 6a788c4a95 Bug 1985327 Part 3: Make Linux process kill heuristic handle PROCESS_PRIORITY_FOREGROUND_HIGH. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D272301
2025-11-13 00:45:37 +00:00
agoloman 98c65944dc Revert "Bug 1985327 Part 3: Make Linux process kill heuristic handle PROCESS_PRIORITY_FOREGROUND_HIGH. r=aosmond" for causing build bustages @LinuxProcessPriority.cpp.
This reverts commit 58ac339f24.

Revert "Bug 1985327 Part 2: Make Windows handle PROCESS_PRIORITY_FOREGROUND_HIGH. r=gfx-reviewers,lsalzman"

This reverts commit 0c524cd109.

Revert "Bug 1985327 Part 1: Elevate the priority of gpu process at process launch. r=gfx-reviewers,lsalzman"

This reverts commit d251e90a0e.
2025-11-12 18:11:06 +00:00
Brad Werth 58ac339f24 Bug 1985327 Part 3: Make Linux process kill heuristic handle PROCESS_PRIORITY_FOREGROUND_HIGH. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D272301
2025-11-12 17:39:50 +00:00
serge-sans-paille 7662b3abdc Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 19:36:01 +00:00
Cristina Horotan 8a1b1970b7 Revert "Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch" for causing Gtest failures on AlreadyAddRefed.h
This reverts commit e98adca292.
2025-10-21 16:16:29 +00:00
serge-sans-paille e98adca292 Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 15:05:17 +00:00
Cristina Horotan aab924e90d Revert "Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch" for causing build bustage at nsBrowserApp.cpp
This reverts commit fd0ffa193c.
2025-10-21 10:44:13 +00:00
serge-sans-paille fd0ffa193c Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 09:44:11 +00:00
Narcis Beleuzu e1e6bbb1c9 Revert "Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch" for causing bustages on Document.cpp
This reverts commit b23c15e927.
2025-10-21 06:34:58 +00:00
serge-sans-paille b23c15e927 Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 06:01:36 +00:00
stransky 1cc676e5da Bug 1859865 [Linux] Don't throw error message if DBus operation is canceled r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D192319
2023-11-06 10:39:10 +00:00
Cristian Tuns 199ab9f337 Backed out changeset f65c77517e3e (bug 1859865) for causing build bustages in nsAppShell.cpp CLOSED TREE 2023-11-04 04:52:00 -04:00
stransky 650976db09 Bug 1859865 [Linux] Don't throw error message if DBus operation is canceled r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D192319
2023-11-04 08:21:16 +00:00
Butkovits Atila 21ed82a1c8 Backed out changeset 1c0f7ecac0da (bug 1859865) for causing bustages at MPRISServiceHandler.cpp. 2023-11-04 01:59:29 +02:00
stransky 3a98b05737 Bug 1859865 [Linux] Don't throw error message if DBus operation is canceled r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D192319
2023-11-03 21:13:16 +00:00
stransky 41ef2d0041 Bug 1858153 [Linux] Migrate UPowerClient from dbus-glib to GDBus r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D190670
2023-10-12 11:16:25 +00:00
stransky fa0ad557fc Bug 1848589 [Linux] Don't query battery status on Linux as battery API is not used r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D187200
2023-09-04 07:30:18 +00:00
Gabriele Svelto 430ead7d2d Bug 1771712 - Make it more likely for child processes to be killed under OOM conditions compared to the parent process on Linux r=jld
This patch implements hal::SetProcessPriority() on Linux and leverages
it to make it more likely that the parent process and foreground tab
survive an OOM situation, letting Linux' OOM killer reap preallocated
processes and background tabs first when reclaiming memory.

This is achieved by setting the `oom_score_adj` values of said processes
such that they will be killed in this order:

* Preallocated processes will be the first to go, they don't contain
  user data and are not visible, so they're a good candidate to free up
  memory
* Background tabs will be killed next, we don't generate crash reports
  for thoes nor do we inform the user, we just reload the tab, so in
  most cases one being killed will only be a small annoyance
* Background tabs playing video come next, but only if they're not also
  playing or recording audio
* Finally foreground tabs will be killed as a last resort, background
  tabs playing audio or with an active WebRTC session are also
  considered to be in the foreground as the user will immediately notice
  if they crash

Note that this patch only implements the low-level plumbing. The process
priority manager has not been enabled on Linux yet so that needs to
happen before this actually works.

Differential Revision: https://phabricator.services.mozilla.com/D153466
2022-08-09 16:05:48 +00:00
Emilio Cobos Álvarez 0a450d3a7b Bug 1760839 - Use more automatic memory management in GTK code. r=stransky
This fixes a couple potential leaks (e.g., see the UPowerClient changes,
we weren't freeing all the devices properly).

Differential Revision: https://phabricator.services.mozilla.com/D141775
2022-03-23 16:14:34 +00:00
Chris Peterson 0a9155f83b Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj
This changeset is a simple find and replace of `MOZ_FALLTHROUGH` and `[[fallthrough]]`.

Unfortunately, the MOZ_FALLTHROUGH_ASSERT macro (to assert on case fallthrough in debug builds) is still necessary after switching from [[clang::fallthrough]] to [[fallthrough]] because:

* MOZ_ASSERT(false) followed by [[fallthrough]] triggers a -Wunreachable-code warning in DEBUG builds
* but MOZ_ASSERT(false) without [[fallthrough]] triggers a -Wimplicit-fallthrough warning in NDEBUG builds.

Differential Revision: https://phabricator.services.mozilla.com/D56440
2019-12-20 07:16:43 +00:00
Ryan Hunt 50b1514555 Bug 1523969 part 9 - Move method definition inline comments to new line in 'hal/'. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D21109
2019-02-25 16:07:35 -06:00
Sylvestre Ledru e5a134f73a Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Nicholas Nethercote a017a9b988 Bug 1382955 (part 3) - Remove a bunch of unused HAL stuff. r=gsvelto,kanru. 2017-08-02 10:09:32 +10:00
Nicholas Nethercote 52785864e7 Bug 1382955 (part 2) - Remove nsIPowerManagerService::{powerOff,reboot,restart} and related things. r=gsvelto. 2017-08-02 10:09:26 +10:00
Nicholas Nethercote d0436bb1c9 Bug 1382099 - Remove MOZ_WIDGET_GONK from hal/. r=gsvelto. 2017-07-24 10:08:55 +10:00
Sylvestre Ledru 9d4a84d778 Bug 1378712 - Remove all trailing whitespaces r=Ehsan
MozReview-Commit-ID: Kdz2xtTF9EG
2017-07-06 14:00:35 +02:00
Andrea Marchesini cd0fa01b94 Bug 1282433 - Use dbus PropertiesChanged signal for notification of battery status changes, r=karlt
From UPower 0.99, DeviceChanged has been removed from the UPower interface and
PropertiesChanged support added.
2016-11-02 10:37:11 +01:00
Ehsan Akhgari 28b952324b Bug 1299493 - Remove Navigator.get/hasFeature(); r=baku 2016-08-31 18:02:46 -04:00
Chris Peterson 43e6fba9de Bug 1241549 - Annotate intentional switch fallthrough in hal/linux/UPowerClient.cpp. r=gsvelto
hal/linux/UPowerClient.cpp:420:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2016-01-20 21:34:41 -08:00
Kyle Machulis 241556554e Bug 852944 - Gamepad API IPC; r=ted, r=baku 2015-04-23 15:05:29 -07:00
Ehsan Akhgari 9aea0e3f0a Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 21:40:49 -04:00
Wes Kocher bcf61be505 Backed out changeset 02e6a50741a9 (bug 1153348) to hopefully fix the static bustage CLOSED TREE 2015-04-21 15:47:40 -07:00
Ehsan Akhgari e383d2c003 Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 16:31:58 -04:00
Gijs Kruitbosch b99784878f Bug 1124127 - round power percentage to whole number before passing on, r=gsvelto 2015-01-21 14:06:40 +00:00
Wes Kocher 0d2890286b Bug 1107923 - Followup to fix non-unified bustage a=me 2014-12-16 13:26:42 -08:00
Oleksiy Avramchenko cd2fe79a98 Bug 1107923 - Use powerctl for reboot & shutdown. r=gsvelto
Android KK and later supports sys.powerctl property to reboot or shutdown device via the init. This allows to:
- hook up on these events from the rc scripts to perform some actions
- remount all fs to ro in android_reboot() before calling the kernel
2014-12-12 06:18:00 -05:00
Gabriele Svelto 90e9a301fe 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
Ted Mielczarek 0c8d982587 Bug 1014162 - Make Gamepad.mapping into an enum. r=smaug 2014-05-23 07:39:13 -04:00
Alphan Chen 4000fabab6 Bug 996996 - Move fopen into non-sanboxed process. r=mrbkap 2014-05-21 13:49:36 +08:00