Home
last modified time | relevance | path

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

/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/devicestate/
DDeviceStateStatsTests.java86 int currentState = Integer.parseInt(getDevice() in testDeviceStateChanges() local
89 int currentStateIndex = availableStates.indexOf(currentState); in testDeviceStateChanges()
95 CLog.d("testDeviceStateChange: from " + currentState + " to " + nextState); in testDeviceStateChanges()
98 currentState = nextState; in testDeviceStateChanges()
/cts/tests/media/common/src/android/mediav2/common/cts/
DWorkDirBase.java73 String currentState = Environment.getExternalStorageState(); in getTopDir() local
74 if (Environment.MEDIA_MOUNTED.equals(currentState)) { in getTopDir()
/cts/tests/tests/media/common/src/android/media/cts/
DWorkDirBase.java70 String currentState = Environment.getExternalStorageState(); in getTopDir() local
71 if (Environment.MEDIA_MOUNTED.equals(currentState)) { in getTopDir()
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/
DPhotoPickerComponentUtils.java61 final int currentState = packageManager.getComponentEnabledSetting(componentName); in enableAndGetOldState() local
67 return currentState; in enableAndGetOldState()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/activity/lifecycle/
DEventTracker.java76 String currentState = activityLog.get(activityLog.size() - 1); in waitForActivityCurrentState()
77 return expectedState.equals(currentState); in waitForActivityCurrentState()
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DCpmsFrameworkLayerStateInfo.java82 boolean forcedSilentMode, int currentState) { in CpmsFrameworkLayerStateInfo() argument
97 mCurrentState = currentState; in CpmsFrameworkLayerStateInfo()
205 int currentState = -1; in parse() local
228 currentState = parser.getIntData(CURRENT_STATE_HDR); in parse()
294 monitoringHw, silentModeByHw, forcedSilentMode, currentState); in parse()
475 int currentState = proto.getCurrentState().getCarPowerManagerState(); in parseProto() local
523 forcedSilentMode, currentState); in parseProto()
/cts/tests/devicestate/src/android/hardware/devicestate/cts/
DDeviceStateManagerTests.java447 private static int calculateDifferentState(int currentState, Set<Integer> possibleStates) { in calculateDifferentState() argument
451 if (possibleStates.size() == 1 && possibleStates.contains(currentState)) { in calculateDifferentState()
455 if (state != currentState) { in calculateDifferentState()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiManagerTest.java878 int currentState; field in WifiManagerTest.TestSoftApCallback
962 return currentState; in getCurrentState()
1011 currentState = state; in onStateChanged()