Home
last modified time | relevance | path

Searched refs:getStateNames (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/power/
DEnergyConsumerStats.java202 public String[] getStateNames() { in getStateNames() method in EnergyConsumerStats.Config
329 || multiStateCounter.getStateCount() != mConfig.getStateNames().length) { in readSummaryFromParcel()
/frameworks/base/core/tests/coretests/src/com/android/internal/power/
DEnergyConsumerStatsTest.java88 assertThat(config.getStateNames()).asList().containsExactly("state0", "state1", "state3"); in testConstruction()
170 assertThat(newConfig.getStateNames()).isEqualTo(new String[]{"state0", "state1", "state2"}); in testCreateAndReadConfigFromParcel()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java16476 if (config != null && Arrays.equals(config.getStateNames(),