| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Bug: 135473483
Test: adb shell /data/local/tmp/VtsHalPowerStatsV1_0TargetTest \
--list_registered_services
Test: vts-tradefed run vts -m VtsHalPowerStatsV1_0Target
Change-Id: I01084afbf48cff268288a8cce23328a2e4d1e4a0
|
|
|
|
|
|
| |
Bug: 123976090
Test: N/A
Change-Id: I30fb04c81889b62775e1b764b965fdb0f893de17
|
|
|
|
|
|
|
|
|
|
|
| |
subsysName, railName, powerEntityName, and powerEntityStateName are all
opaque to the Android framework. Emphasizing the opaque nature of these
members in the HAL definition will help developers more quickly
understand the intent of the interface.
Bug: 125380339
Test: make
Change-Id: I42ed1f3cc928726ae146b6be849947b631ae48e6
|
|
|
|
|
|
| |
Bug: 122267057
Test: Build cf_x86_phone-userdebug
Change-Id: I91a1b9d4db8acd2c47753e3b36ea20effd99e09a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The original default implementation for power.stats HAL did not have a
good example implementation of the power statistics related APIs. Adding
a new default implementation that gives a more informative example
Bug: 122267057
Test: run vts -m VtsHalPowerStatsV1_0Target
Test: adb shell "lshal debug android.hardware.power.stats@1.0::IPowerStats/default"
Observed the following output
========== PowerStats HAL 1.0 state residencies ==========
Entity State Total time Total entries Last entry timestamp
DefaultEntity Active 1 ms 2 3 ms
DefaultEntity Sleep 4 ms 5 6 ms
========== End of PowerStats HAL 1.0 state residencies ==========
Change-Id: Ida0951c267f609b16bb6406da150ed2e504ced9a
|
|
|
|
|
|
|
|
|
|
|
| |
Adding VTS test cases for power.stats HAL functions
getPowerEntityInfo, getPowerEntityStateInfo, and getPowerEntityStateResidencyData
Bug: 118365266
Test: run vts -m VtsHalPowerStatsV1_0Target
Change-Id: Ib60ac0b37bd30663c5e7434546cdcfbf64915538
(cherry picked from commit a630f8481430f95351a59ce8c68ac553b269e1da)
Merged-In: Ib60ac0b37bd30663c5e7434546cdcfbf64915538
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
VTS testcases to test following APIs:
1. getRailInfo(...)
2. getEnergyData(...)
3. streamEnergyData(...)
BUG: 118365266
BUG: 111185513
Test: run vts -m VtsHalPowerStatsV1_0Target
Change-Id: Ie90ecfae937beebf96a9d66eb4b10954242ad07b
(cherry picked from commit fc48be10799826ffe01fb3bc6d79a694a7f7effe)
Merged-In: Ie90ecfae937beebf96a9d66eb4b10954242ad07b
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add default implementation for power.stats HAL
BUG: 118777168
BUG: 111185513
Test: run vts -m VtsHalPowerStatsV1_0Target
Change-Id: Id81291f58a5cdfa0cc1f56356001b2862df0dbc2
(cherry picked from commit f94dda77a1e064f2c66d3bd185feda96a9bdcc1e)
Merged-In: Id81291f58a5cdfa0cc1f56356001b2862df0dbc2
|
|
|
|
|
|
|
|
|
|
|
| |
Adding new power.stats HAL api for subsystem low power stats collection that will eventually replace legacy power stats api.
BUG: 117887759
BUG: 111185513
Test: build successfully
Change-Id: I0da4de378ba0b5daeeb5c2b15435a0c22eff08b4
(cherry picked from commit f836c07bda1b3d289425646e9b6a960d5203a9a6)
Merged-In: I0da4de378ba0b5daeeb5c2b15435a0c22eff08b4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unsynchronous queue do not help solve the problem of
supporting multiple clients of power.stats. Since, there
is no current requirement to support multiple clients so
using synchronous queues instead.
BUG: 117424656
BUG: 111185513
Test: run vts -m VtsHalPowerStatsV1_0Target
Change-Id: Iab73de5a460e2a0ec5e949f8b021a87aefed58c8
(cherry picked from commit 84a48b832593d7251311c92f3eb270127c8d909d)
Merged-In: Iab73de5a460e2a0ec5e949f8b021a87aefed58c8
|
|
|
|
|
|
|
|
|
|
|
|
| |
Initial commit defines APIS to collect on-device
power-related data.
BUG: 117424656
BUG: 111185513
Test: Compilation and device boot
Change-Id: I6e3153c9fcd2d67e4a566a4621d7aa4c01da7636
(cherry picked from commit f91dcb5bfdfdd69e7c9023e0650ab21b4710586f)
Merged-In: I6e3153c9fcd2d67e4a566a4621d7aa4c01da7636
|
|
|
|
|
|
|
| |
Test: make general-tests
Bug: 120093339
Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
|
|
|
|
|
|
|
|
| |
This was missing. Now update-makefiles is consistent w/ it.
Bug: 110112323
Test: (sanity) build + boot walleye
Change-Id: I29d4535b906d475c3b09e5f0c732c960986d1e38
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
testing." am: b9515d9d3f am: a713584847
am: 6ab5305323
Change-Id: I0f8598253e34b08e73b8b65ff7fe91d937d5d8ad
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | | |
am: b9515d9d3f
Change-Id: Ie93e66d9b829ac420ba22cf0391b48c156755c77
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Removing whenever I see these in code reviews.
Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Removing whenever I see these in code reviews.
Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
|
| |\ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
oc-mr1-dev-plus-aosp into stage-aosp-master
Change-Id: I2a044eb8c9981d0a8198ffe2df55559afbd76341
Merged-In: I4fb9f18884f7ef21162015a0032c4431444f7025
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 35570956
Test: manual
Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Test: none
Change-Id: If3ce74f4d2250d33820cbd864ff56bba6f9e6b67
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | | |
Removing whenever I see these in code reviews.
Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
|
| | |
| | |
| | |
| | |
| | |
| | | |
Test: pass
Bug: 33420795
Change-Id: Ibec6d1e38939b9e7566a96381439be2aac3bf8ca
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | | |
am: 116161d94e
Change-Id: I33643636e2511de77fdf7de57777eb67edee2e52
|
| |\|
| | |
| | |
| | |
| | |
| | | |
am: 6c811964a1
Change-Id: I85ccbb4a15cd18938607f5bca4e065b9d7e0182b
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
am: c3e80fa01e
Change-Id: Ia8835f9c95bd98a96f5fd3aff11191e7d3726fb9
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test: pass
Bug: 33420795
Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
33dc30ce49
am: 0653f3b212
Change-Id: I7c2da3cf30da7b4a1eda7e5369e9caa5ebab2462
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 33dc30ce49
Change-Id: Ia35d20e0fc1df6f7c46b5581537d7ed387965899
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 75d5cf515a
Change-Id: I8c0918c4a787cc3f4c7c69f52737d3a0d9d64426
|
| | | |\ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
These have been c/p'd all over the place.
Test: m -j nothing
Bug: 33420795
Change-Id: I77979866dbb2345a41a873c84ec3fccd7b127510
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
861651985f am: b53e6ad535
am: 9a17f41f6f
Change-Id: I78d9292068b372238554fd9d35128e69f5b5f9d2
|
| |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: b53e6ad535
Change-Id: I23269fb7a9bdd352e670a80f390527d9eef31412
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 988c977079
Change-Id: I289818be1b30397391847ba1c532d1014fdbed27
|
| | | |/
| | | |
| | | |
| | | |
| | | | |
Test: pass
Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 37518178
Test: none
Change-Id: I77fe67964f89da8b66aeb8df6d424de0f8689f8d
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
71a193a425
am: 9fdd241905
Change-Id: I1c852fa6600fecc44d5afd1a65a5f51c43ecf71c
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 71a193a425
Change-Id: I45ae43f07323254212532acbf0f891d11143b05f
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 9960148420
Change-Id: I949634e72f817f3a5411130e968acd8efd1d7725
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 37518178
Test: pass
Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 97228c0b7d
Change-Id: Ic4b459b7c1a4325453945b0b00db8f44e4e77c26
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: b94d0c7290
Change-Id: If766cffbcc003cc0cc5eb98969b924aa918fff44
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 26a0bb2762
Change-Id: I3a811f5cd49bd4e81e8fcd5c8e88922115812539
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 37518178
Test: manual
Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
|