summaryrefslogtreecommitdiffstats
path: root/power
Commit message (Collapse)AuthorAgeFilesLines
* Add power@1.3 to the VNDK.Steven Moreland2018-08-141-0/+3
| | | | | | | | This was missing. Now update-makefiles is consistent w/ it. Bug: 110112323 Test: (sanity) build + boot walleye Change-Id: I29d4535b906d475c3b09e5f0c732c960986d1e38
* Update power HAL to version 1.3.Michael Wright2018-08-105-0/+173
| | | | | | | | | | | Adds new EXPENSIVE_RENDERING power hint. This adds a new library which does not affect any pre-existing targets unless they create and add a new binary which uses this. BUG: 110112323 Test: adb shell /data/nativetest/VtsHalPowerV1_3TargetTest/VtsHalPowerV1_3TargetTest Change-Id: I5fb33abbbe4c4958882a106dfa400ad74013e40d
* Merge "power hal: Add power HAL API 1.2"Wei Wang2017-12-055-0/+240
|\
| * power hal: Add power HAL API 1.2Wei Wang2017-12-015-0/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend more powerHint types Test result: #./VtsHalPowerV1_2TargetTest [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from PowerHidlTest [ RUN ] PowerHidlTest.PowerHintAsync_1_2 [ OK ] PowerHidlTest.PowerHintAsync_1_2 (9 ms) [----------] 1 test from PowerHidlTest (9 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (10 ms total) [ PASSED ] 1 test. Bug: 62041945 Test: run VTS Change-Id: If6c9d19962907bcb96ea83e9297f74e80a743b9e
* | Merge "Convert boot, memtrack and power hal to use service name aware ↵Zhuoyao Zhang2017-12-042-12/+44
|\ \ | | | | | | | | | | | | | | | | | | | | | testing." am: b9515d9d3f am: a713584847 am: 6ab5305323 Change-Id: I0f8598253e34b08e73b8b65ff7fe91d937d5d8ad
| * \ Merge "Convert boot, memtrack and power hal to use service name aware testing."Zhuoyao Zhang2017-12-042-12/+44
| |\ \ | | | | | | | | | | | | | | | | | | | | am: b9515d9d3f Change-Id: Ie93e66d9b829ac420ba22cf0391b48c156755c77
| | * \ Merge "Convert boot, memtrack and power hal to use service name aware testing."Zhuoyao Zhang2017-12-042-12/+44
| | |\ \
| | | * | Convert boot, memtrack and power hal to use service name aware testing.Zhuoyao Zhang2017-12-042-12/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Motivation: 1) Support running the test against each hal service instance for the registered hal. 2) Support testability checker to determine whether we should run the test on the taget device. 3) Help to determine the process we want to profile for coverage data if running on coverage build. Bug: 64203181 Test: make vts vts-tradefed run vts -m VtsHalBootV1_0Target vts-tradefed run vts -m VtsHalMemtrackV1_0Target vts-tradefed run vts -m VtsHalPowerV1_0Target vts-tradefed run vts -m VtsHalPowerV1_1Target Change-Id: Ie0bbd9ef9d9fbe11de5aee70fad9028fa0ae897c
| | * | | Remove subdirsSteven Moreland2017-11-281-9/+0
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing whenever I see these in code reviews. Test: none Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
| * | | Remove subdirsSteven Moreland2017-11-281-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing whenever I see these in code reviews. Test: none Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
| * | | Merge commit '1a06284b24f5eb7bb9c1fea0817da8898b3b1bff' fromXin Li2017-11-147-379/+3
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | oc-mr1-dev-plus-aosp into stage-aosp-master Change-Id: I2a044eb8c9981d0a8198ffe2df55559afbd76341 Merged-In: I4fb9f18884f7ef21162015a0032c4431444f7025
| * | | Update makefiles for hidl_interface.Steven Moreland2017-11-102-324/+25
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 35570956 Test: manual Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375
| * | | Update makefiles after AOSP push.Steven Moreland2017-11-012-84/+108
| | | | | | | | | | | | | | | | | | | | Test: none Change-Id: If3ce74f4d2250d33820cbd864ff56bba6f9e6b67
* | | | Remove subdirsSteven Moreland2017-11-281-8/+0
| |_|/ |/| | | | | | | | | | | | | | | | | | | | Removing whenever I see these in code reviews. Test: none Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
* | | Updating makefiles for hidl_interface.Steven Moreland2017-11-132-324/+25
| | | | | | | | | | | | | | | | | | | | | Bug: 64487114 Test: manual Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812 Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
* | | Update for Soong-only makefiles.Steven Moreland2017-10-112-85/+30
| | | | | | | | | | | | | | | | | | Test: pass Bug: 33420795 Change-Id: Ibec6d1e38939b9e7566a96381439be2aac3bf8ca
* | | Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1 am: 6c811964a1Steven Moreland2017-10-112-141/+31
|\ \ \ | | |/ | |/| | | | | | | | | | am: 116161d94e Change-Id: I33643636e2511de77fdf7de57777eb67edee2e52
| * | Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1Steven Moreland2017-10-112-141/+31
| |\| | | | | | | | | | | | | | | | am: 6c811964a1 Change-Id: I85ccbb4a15cd18938607f5bca4e065b9d7e0182b
| | * Update for Soong java makefiles.Steven Moreland2017-10-112-141/+31
| | |\ | | | | | | | | | | | | | | | | | | | | am: c3e80fa01e Change-Id: Ia8835f9c95bd98a96f5fd3aff11191e7d3726fb9
| | | * Update for Soong java makefiles.Steven Moreland2017-10-102-141/+31
| | | | | | | | | | | | | | | | | | | | | | | | Test: pass Bug: 33420795 Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
* | | | Merge "Remove useless Android.mk files." am: 75d5cf515a am: f27cfa15d7 am: ↵Steven Moreland2017-10-051-19/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 33dc30ce49 am: 0653f3b212 Change-Id: I7c2da3cf30da7b4a1eda7e5369e9caa5ebab2462
| * | | Merge "Remove useless Android.mk files." am: 75d5cf515a am: f27cfa15d7Steven Moreland2017-10-051-19/+0
| |\| | | | | | | | | | | | | | | | | | | | | | am: 33dc30ce49 Change-Id: Ia35d20e0fc1df6f7c46b5581537d7ed387965899
| | * | Merge "Remove useless Android.mk files."Steven Moreland2017-10-051-19/+0
| | |\| | | | | | | | | | | | | | | | | | | | | am: 75d5cf515a Change-Id: I8c0918c4a787cc3f4c7c69f52737d3a0d9d64426
| | | * Merge "Remove useless Android.mk files."Treehugger Robot2017-10-051-19/+0
| | | |\
| | | | * Remove useless Android.mk files.Steven Moreland2017-10-041-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These have been c/p'd all over the place. Test: m -j nothing Bug: 33420795 Change-Id: I77979866dbb2345a41a873c84ec3fccd7b127510
* | | | | Merge "Update for hidl adapter module defaults." am: 988c977079 am: ↵Steven Moreland2017-10-041-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 861651985f am: b53e6ad535 am: 9a17f41f6f Change-Id: I78d9292068b372238554fd9d35128e69f5b5f9d2
| * | | | Merge "Update for hidl adapter module defaults." am: 988c977079 am: 861651985fSteven Moreland2017-10-041-0/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b53e6ad535 Change-Id: I23269fb7a9bdd352e670a80f390527d9eef31412
| | * | | Merge "Update for hidl adapter module defaults."Steven Moreland2017-10-041-0/+1
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | am: 988c977079 Change-Id: I289818be1b30397391847ba1c532d1014fdbed27
| | | * | Update for hidl adapter module defaults.Steven Moreland2017-10-041-0/+1
| | | |/ | | | | | | | | | | | | | | | | Test: pass Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
* | | | Update makefiles for hidl-adapter (2/2).Steven Moreland2017-09-271-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 37518178 Test: none Change-Id: I77fe67964f89da8b66aeb8df6d424de0f8689f8d
* | | | Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3 am: ↵Steven Moreland2017-09-261-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 71a193a425 am: 9fdd241905 Change-Id: I1c852fa6600fecc44d5afd1a65a5f51c43ecf71c
| * | | Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3Steven Moreland2017-09-261-1/+2
| |\| | | | | | | | | | | | | | | | | | | | | | am: 71a193a425 Change-Id: I45ae43f07323254212532acbf0f891d11143b05f
| | * | Merge "Fix typo in update makefiles."Steven Moreland2017-09-261-1/+2
| | |\| | | | | | | | | | | | | | | | | | | | | am: 9960148420 Change-Id: I949634e72f817f3a5411130e968acd8efd1d7725
| | | * Fix typo in update makefiles.Steven Moreland2017-09-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 37518178 Test: pass Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
* | | | Update makefiles for hidl adapter. am: 26a0bb2762 am: 73949c1d7e am: b94d0c7290Steven Moreland2017-09-261-0/+73
|\| | | | | | | | | | | | | | | | | | | | | | | am: 97228c0b7d Change-Id: Ic4b459b7c1a4325453945b0b00db8f44e4e77c26
| * | | Update makefiles for hidl adapter. am: 26a0bb2762 am: 73949c1d7eSteven Moreland2017-09-261-0/+73
| |\| | | | | | | | | | | | | | | | | | | | | | am: b94d0c7290 Change-Id: If766cffbcc003cc0cc5eb98969b924aa918fff44
| | * | Update makefiles for hidl adapter.Steven Moreland2017-09-251-0/+73
| | |\| | | | | | | | | | | | | | | | | | | | | am: 26a0bb2762 Change-Id: I3a811f5cd49bd4e81e8fcd5c8e88922115812539
| | | * Update makefiles for hidl adapter.Steven Moreland2017-09-251-0/+73
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 37518178 Test: manual Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
| | * | VTS tests now static link to HAL def libs.Tri Vo2017-08-281-16/+2
| | |\| | | | | | | | | | | | | | | | | | | | | am: b65c5ceff2 Change-Id: I393284c12ca5cb79926c4891ffcfd332408a5b9f
| | | * VTS tests now static link to HAL def libs.Tri Vo2017-08-251-16/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And use VtsHalTargetTestDefaults. This is a partial cherry-pick of ag/2657080. Bug: 64040096 Test: compiles, works fine in internal master Merged-In: I8f6995e9536a9aefe283ee3effec9f5a7f03b620 Change-Id: I76d47d8546416b57055841851a9d343026cd3210
| | | * Updating all makefiles.Steven Moreland2017-08-142-133/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 64487114 Test: none Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0 Merged-In: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180 Change-Id: I170fa1c4fe39f8109b1670db58ef99bb11afc0be
| | | * vts: fix TryDifferentGovernors in Power hal testbohu2017-06-231-0/+1
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | am: ae96eee82b Change-Id: Iaa383d8d150b8b633c3d238c52622fddc0d3ec09
| | * | | Updating all makefiles.Steven Moreland2017-08-114-210/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 64487114 Test: none Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0 Change-Id: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180
| * | | | Merge "Remove default implementation for PowerHal 1.1" into oc-mr1-devAhmed ElArabawy2017-09-126-367/+0
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 3822ffb138 Change-Id: Ia168f1165f27dad0221abbcb83ed4e7b1079d471
| | * | | | Remove default implementation for PowerHal 1.1Ahmed ElArabawy2017-09-126-367/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Default implementation in powerHAL 1.1 is not used by any device Devices using powerHal 1.1 have their own implementation in their device/<vendor>/<devicename> while older devices don't use 1.1 at all. This CL removes the default implementation for the PowerHAL 1.1 Bug: 65453628 Test: Build successfully (code not used anyway) Merged-In: I695348683c6e2e504a523897082543274dc239aa Change-Id: I695348683c6e2e504a523897082543274dc239aa Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
| * | | | | Revert "Revert "Updating all makefiles.""Steven Moreland2017-08-112-208/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relanding without automotive/vehicle/2.0+2.1 changes. This reverts commit 1020ebedfbf7c5014896266a98de562a6116d4a2. Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a Change-Id: Icc49df42c2bedf443d878d5d8fbaa53441ea65db
| * | | | | Revert "Updating all makefiles."Steven Moreland2017-08-112-4/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8ac1971678999c46338d751fdaec16c2e4bd78cb. Reason for revert: Didn't remove automotive changes from this CL. Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a Change-Id: I1c660cffc8817ad0b33da9f6eceb3d88e7c48416
| * | | | | Updating all makefiles.Steven Moreland2017-08-102-208/+4
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 64487114 Test: none Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a Change-Id: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
* | | | | Add 'vendor.' prefix to a vendor HAL service nameJaekyun Seok2017-09-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To prevent property name collisions between properties of system and vendor, 'vendor.' prefix must be added to a vendor HAL service name. You can see the details in http://go/treble-sysprop-compatibility. Test: succeeded building and tested on a walleye device Bug: 36796459 Change-Id: I4e8fbee791ec917a8f627a1366f4d44ec7e6febc
* | | | | Remove default implementation for PowerHal 1.1Ahmed ElArabawy2017-09-086-367/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Default implementation in powerHAL 1.1 is not used by any device Devices using powerHal 1.1 have their own implementation in their device/<vendor>/<devicename> while older devices don't use 1.1 at all. This CL removes the default implementation for the PowerHAL 1.1 Bug: 65453628 Test: Build successfully (code not used anyway) Change-Id: I695348683c6e2e504a523897082543274dc239aa Signed-off-by: Ahmed ElArabawy <arabawy@google.com>