Searched refs:currentState (Results 1 – 8 of 8) sorted by relevance
86 int currentState = Integer.parseInt(getDevice() in testDeviceStateChanges() local89 int currentStateIndex = availableStates.indexOf(currentState); in testDeviceStateChanges()95 CLog.d("testDeviceStateChange: from " + currentState + " to " + nextState); in testDeviceStateChanges()98 currentState = nextState; in testDeviceStateChanges()
73 String currentState = Environment.getExternalStorageState(); in getTopDir() local74 if (Environment.MEDIA_MOUNTED.equals(currentState)) { in getTopDir()
70 String currentState = Environment.getExternalStorageState(); in getTopDir() local71 if (Environment.MEDIA_MOUNTED.equals(currentState)) { in getTopDir()
61 final int currentState = packageManager.getComponentEnabledSetting(componentName); in enableAndGetOldState() local67 return currentState; in enableAndGetOldState()
76 String currentState = activityLog.get(activityLog.size() - 1); in waitForActivityCurrentState()77 return expectedState.equals(currentState); in waitForActivityCurrentState()
82 boolean forcedSilentMode, int currentState) { in CpmsFrameworkLayerStateInfo() argument97 mCurrentState = currentState; in CpmsFrameworkLayerStateInfo()205 int currentState = -1; in parse() local228 currentState = parser.getIntData(CURRENT_STATE_HDR); in parse()294 monitoringHw, silentModeByHw, forcedSilentMode, currentState); in parse()475 int currentState = proto.getCurrentState().getCarPowerManagerState(); in parseProto() local523 forcedSilentMode, currentState); in parseProto()
447 private static int calculateDifferentState(int currentState, Set<Integer> possibleStates) { in calculateDifferentState() argument451 if (possibleStates.size() == 1 && possibleStates.contains(currentState)) { in calculateDifferentState()455 if (state != currentState) { in calculateDifferentState()
878 int currentState; field in WifiManagerTest.TestSoftApCallback962 return currentState; in getCurrentState()1011 currentState = state; in onStateChanged()