Home
last modified time | relevance | path

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

/cts/hostsidetests/incident/src/com/android/server/cts/
DBatteryStatsIncidentTest.java94 private static void testBatteryLevelStep(SystemProto.BatteryLevelStep bls) throws Exception { in testBatteryLevelStep() argument
95 assertNotNull(bls); in testBatteryLevelStep()
97 assertTrue(0 < bls.getDurationMs()); in testBatteryLevelStep()
98 assertTrue(0 <= bls.getLevel()); in testBatteryLevelStep()
99 assertTrue(100 >= bls.getLevel()); in testBatteryLevelStep()
102 .contains(bls.getDisplayState().getValueDescriptor())); in testBatteryLevelStep()
104 .contains(bls.getPowerSaveMode().getValueDescriptor())); in testBatteryLevelStep()
106 .contains(bls.getIdleMode().getValueDescriptor())); in testBatteryLevelStep()
168 for (SystemProto.BatteryLevelStep bls : s.getChargeStepList()) { in testSystemProto()
169 testBatteryLevelStep(bls); in testSystemProto()
[all …]