aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-09-16Fix warnings am: 92e272cb1f am: bbbec7e792HEADandroid-n-mr2-preview-2android-n-mr2-preview-1sdk-releasemastermainColin Cross
am: 92ba9ee97a Change-Id: I960af0befc651030439afa88887a3f10d0bbeede
2016-09-16Fix warnings am: 92e272cb1fColin Cross
am: bbbec7e792 Change-Id: I8d21fb691d0b6bc9ecf5046175a73e635be20931
2016-09-16Fix warningsColin Cross
am: 92e272cb1f Change-Id: Ic0900a6a07800d3a6b20e1194979c301d9065926
2016-09-15Fix warningsandroid-n-mr1-preview-2android-n-mr1-preview-1Colin Cross
Fix comparison sign mismatch warnings. The warnings are hidden because libbinderwrapper's includes are in an -isystem directory, and they include the gtest headers that define the comparison macros. Change-Id: I65e0a118de602c7932ad5e8f65e8c7735400c01f
2016-08-02Remove Brillo-specific LOCAL_MODULE_TAGS am: 7d8fd7e16b am: 9e5dc07bb2Dan Willemsen
am: 1c5af31e03 Change-Id: Id9529a7fec1243c3a115a411242d74530e65693e
2016-08-02Remove Brillo-specific LOCAL_MODULE_TAGS am: 7d8fd7e16bDan Willemsen
am: 9e5dc07bb2 Change-Id: I9b1f69b4e20dc2605400746cd6847620aeb4ed01
2016-08-02Remove Brillo-specific LOCAL_MODULE_TAGSDan Willemsen
am: 7d8fd7e16b Change-Id: Ie54162b3866545d8c9aed8e4390db2eed651297c
2016-07-31Remove Brillo-specific LOCAL_MODULE_TAGSDan Willemsen
Replaced with PRODUCT_PACKAGES_ENG in brillo_base.mk Change-Id: Ib893830695ec710f67d183b6da62128368b0b44e
2016-02-04Unit tests: Compile only on \'eng\' builds.android-cts_7.1_r1android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-cts-7.0_r9android-cts-7.0_r8android-cts-7.0_r7android-cts-7.0_r6android-cts-7.0_r5android-cts-7.0_r4android-cts-7.0_r33android-cts-7.0_r32android-cts-7.0_r31android-cts-7.0_r30android-cts-7.0_r3android-cts-7.0_r29android-cts-7.0_r28android-cts-7.0_r27android-cts-7.0_r26android-cts-7.0_r25android-cts-7.0_r24android-cts-7.0_r23android-cts-7.0_r22android-cts-7.0_r21android-cts-7.0_r20android-cts-7.0_r2android-cts-7.0_r19android-cts-7.0_r18android-cts-7.0_r17android-cts-7.0_r16android-cts-7.0_r15android-cts-7.0_r14android-cts-7.0_r13android-cts-7.0_r12android-cts-7.0_r11android-cts-7.0_r10android-cts-7.0_r1android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1android-7.0.0_r9android-7.0.0_r8android-7.0.0_r7android-7.0.0_r6android-7.0.0_r5android-7.0.0_r4android-7.0.0_r36android-7.0.0_r35android-7.0.0_r34android-7.0.0_r33android-7.0.0_r32android-7.0.0_r31android-7.0.0_r30android-7.0.0_r3android-7.0.0_r29android-7.0.0_r28android-7.0.0_r27android-7.0.0_r24android-7.0.0_r21android-7.0.0_r19android-7.0.0_r17android-7.0.0_r15android-7.0.0_r14android-7.0.0_r13android-7.0.0_r12android-7.0.0_r11android-7.0.0_r10android-7.0.0_r1nougat-releasenougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-devnougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releasenougat-mr0.5-releasenougat-dr1-releasenougat-devnougat-cts-releasenougat-bugfix-releaseJorge Lucangeli Obes
am: ace602ff16 * commit 'ace602ff1652d409f2a457c37d914d83ea1fad8c': Unit tests: Compile only on 'eng' builds.
2016-02-04Unit tests: Compile only on 'eng' builds.android-wear-n-preview-3android-wear-n-preview-2android-wear-n-preview-1android-wear-7.1.1_r1android-n-preview-5android-n-preview-4android-n-preview-3android-n-preview-2android-n-preview-1android-n-iot-preview-2nougat-mr1-wear-releasen-iot-preview-2brillo-m10-releasebrillo-m10-devJorge Lucangeli Obes
libnativepower_tests, nativepowerman_tests. Bug: 26967770 Change-Id: I803ad8c6744c69572c4e5fee97cff413544ecb39
2016-01-21nativepower: Update libchrome APIs to r369476Alex Vakulenko
am: b59838fa1f * commit 'b59838fa1f7ec24a0d1e632026ce94a7329afb63': nativepower: Update libchrome APIs to r369476
2016-01-20nativepower: Update libchrome APIs to r369476Alex Vakulenko
The new libchrome has been ported from Chromium and some APIs have changed. Make necessary changes at call sites. (cherry picked from commit b59838fa1f7ec24a0d1e632026ce94a7329afb63) Change-Id: I76f832fa3de2b6b7778b7b29e7668dca14f4e799
2016-01-20nativepower: Update libchrome APIs to r369476Alex Vakulenko
The new libchrome has been ported from Chromium and some APIs have changed. Make necessary changes at call sites. Change-Id: Ic3bb6e56835da9f1f2e12c582ee6fc5167691c29
2015-12-29nativepowerman: add "wakelock" GID for wakelock sysfs accessbrillo-m9-releasebrillo-m9-devTodd Poynor
nativepowerman must now run under group AID_WAKELOCK to access the sysfs wakelock interface. Bug: 26348967 Bug: 25864142 Change-Id: I1603b5a91c450b32d7d7ff9a6662fcdc1f6b4fed
2015-11-23Build on Mac too.brillo-m8-releasebrillo-m8-devleozwang
Bug: 25841205 Change-Id: Iaeb5f589c02abcd88c8886eb68fc72f4ab550bf8
2015-10-27nativepower: Rename libchromeos into libbrillobrillo-m7-releasebrillo-m7-mr-devbrillo-m7-devAlex Vakulenko
BUG: 24872993 Change-Id: Id826f4188371360685ce370267553d20af65bdd0
2015-10-16Look up callers' UIDs when wake locks are acquired.Daniel Erat
Update PowerManager::acquireWakeLock() to get the calling process's actual UID instead of just storing -1. (The UID isn't used for anything, though.) Also do some related refactoring that came up while adding tests: to avoid duplicated code, make PowerManagerStub use WakeLockManagerStub instead of recording wake lock requests itself. Bug: 24988639 Change-Id: If2d2d2935052ab268f6b21dd72a7b1f02a66d799
2015-10-13nativepower: Rename "chromeos" -> "brillo" in include paths and namespacesAlex Vakulenko
libchromeos is transitioning to libbrillo and chromeos namespaces and include directory is changing to brillo. Bug: 24872993 TEST=dragonboard builds & launches unit tests for nativepowerman_tests and libnativepower_tests pass Change-Id: If77ddddd4740cea828fb343a1dbdc007c61b6b52
2015-10-13Merge "Support suspending the system immediately."Daniel Erat
2015-10-07Support suspending the system immediately.Daniel Erat
Add PowerManagerClient::Suspend(), which instructs nativepowerman to write "mem" to /sys/power/state. Bug: 24672953 Change-Id: Icd5d5e8a28a784d632a8e8b7168421acd92be1dd
2015-10-06Include native tests in debug Brillo builds.Daniel Erat
Build libnativepower_tests and nativepowerman_tests when BRILO is defined and the debug flag is present. Change-Id: Iba990c8bf1da0c8cf03e314fbf184f6249b26c50
2015-10-02Support shutting down and rebooting.Daniel Erat
Implement the shutdown and reboot Binder methods from the IPowerManager interface. Also introduce a new PowerManagerClient class within libnativepower. Programs that wish to interact with the power manager should instantiate it a PowerManagerClient and then use it to issue commands to the power manager and to create WakeLock objects. Bug: 22122485 Change-Id: Id82d9221d7f90c18ae12221334e35ffd6e488e17
2015-09-30Add skeleton implementations of newly-added methods.Daniel Erat
Add stub versions of IPowerManager methods that were just added to BnPowerManager. Bug: 22122485 Change-Id: Idc107b22ca4dcba146ed06e5ca78d630f46d8d03
2015-09-28Fix init filename.Jorge Lucangeli Obes
Android is using <service>.rc instead of init.<service>.rc. Bug: 24465893 Change-Id: Ide700e56654f4342282068966bda515fb78684c3
2015-09-18Add libnativepower and nativepowerman.Daniel Erat
Add the skeleton of a C++ library and daemon that can be used for power management by Brillo. Bug: 22122485 Change-Id: I3769ecc3e7b43efc3e03af4afada48d570f56ef9
2015-09-17Initial empty repositoryBill Yi