Searched refs:lastState (Results 1 – 7 of 7) sorted by relevance
168 ListenableFuture<Integer> lastState = in startWork() local176 return Futures.whenAllSucceed(mClient, lastState, isMandatory).call(() -> { in startWork()186 Futures.getDone(lastState), in startWork()
175 PreciseDataConnectionState lastState = getLastPreciseDataConnectionState(netCapability); in notifyPreciseDataConnectionStateChanged() local176 if (lastState == null || !lastState.equals(connectionState)) { in notifyPreciseDataConnectionStateChanged()688 PreciseDataConnectionState lastState = in validatePreciseDataConnectionStateChanged() local693 if (archiveState.equals(newState) && lastState == null) { in validatePreciseDataConnectionStateChanged()
192 public int lastState; field in Tethering.TetherState201 lastState = IpServer.STATE_AVAILABLE; in TetherState()207 switch (lastState) { in isCurrentlyServing()992 if (tetherState.lastState != IpServer.STATE_AVAILABLE) { in tether()1099 } else if (tetherState.lastState == IpServer.STATE_AVAILABLE) { in sendTetherStateChangedBroadcast()1101 } else if (tetherState.lastState == IpServer.STATE_LOCAL_ONLY) { in sendTetherStateChangedBroadcast()1103 } else if (tetherState.lastState == IpServer.STATE_TETHERED) { in sendTetherStateChangedBroadcast()1622 if (tetherState.lastState == IpServer.STATE_TETHERED) { in getTetheredIfaces()1633 if (tetherState.lastState == IpServer.STATE_AVAILABLE) { in getTetherableIfacesForTest()2629 switch (tetherState.lastState) { in doDump()[all …]
444 LauncherState lastState = lsm.getLastState();445 lsm.goToState(lastState, forEndCallback(this::onBackAnimationCompleted));
661 private void assertStateReceivedForShutdownOrSleepWithoutPostpone(int lastState, in assertStateReceivedForShutdownOrSleepWithoutPostpone() argument672 if (state[0] == lastState) { in assertStateReceivedForShutdownOrSleepWithoutPostpone()2775 private void assertStateReceivedForShutdownOrSleepWithPostpone(int lastState, in assertStateReceivedForShutdownOrSleepWithPostpone() argument2786 if (state[0] == lastState) { in assertStateReceivedForShutdownOrSleepWithPostpone()2793 private void assertStateReceivedForShutdownOrSleepWithPostpone(int lastState) throws Exception { in assertStateReceivedForShutdownOrSleepWithPostpone() argument2795 (lastState == MockedPowerHalService.SET_DEEP_SLEEP_ENTRY in assertStateReceivedForShutdownOrSleepWithPostpone()2796 || lastState == MockedPowerHalService.SET_SHUTDOWN_START in assertStateReceivedForShutdownOrSleepWithPostpone()2797 || lastState == MockedPowerHalService.SET_HIBERNATION_ENTRY) in assertStateReceivedForShutdownOrSleepWithPostpone()2799 assertStateReceivedForShutdownOrSleepWithPostpone(lastState, expectedSecondParameter); in assertStateReceivedForShutdownOrSleepWithPostpone()
509 int lastState, int stateParameter) throws Exception { in assertStateReceivedForShutdownOrSleepWithPostpone() argument513 if (state[0] == lastState) { in assertStateReceivedForShutdownOrSleepWithPostpone()
2189 int lastState; in addActiveLog() local2192 lastState = BluetoothStatsLog.BLUETOOTH_ENABLED_STATE_CHANGED__STATE__UNKNOWN; in addActiveLog()2195 lastState = in addActiveLog()2210 lastState, in addActiveLog()