OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isCharging
(Results
1 - 4
of
4
) sorted by null
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowBatteryManager.java
14
private boolean
isCharging
= false;
19
protected boolean
isCharging
() {
20
return
isCharging
;
24
isCharging
= charging;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowBatteryManagerTest.java
35
assertThat(batteryManager.
isCharging
()).isFalse();
39
assertThat(batteryManager.
isCharging
()).isTrue();
43
assertThat(batteryManager.
isCharging
()).isFalse();
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
ConnectivityBackgroundTestActivity.java
168
if (!battMgr.
isCharging
()) {
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
AppStandbyTests.java
486
assertTrue("Battery could not be unplugged", waitUntil(() -> !bm.
isCharging
(), 5_000));
Completed in 8525 milliseconds