Home
last modified time | relevance | path

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

/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/worker/
DReportDeviceProvisionStateWorker.java168 ListenableFuture<Integer> lastState = in startWork() local
176 return Futures.whenAllSucceed(mClient, lastState, isMandatory).call(() -> { in startWork()
186 Futures.getDone(lastState), in startWork()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsTelephonyListener.java175 PreciseDataConnectionState lastState = getLastPreciseDataConnectionState(netCapability); in notifyPreciseDataConnectionStateChanged() local
176 if (lastState == null || !lastState.equals(connectionState)) { in notifyPreciseDataConnectionStateChanged()
688 PreciseDataConnectionState lastState = in validatePreciseDataConnectionStateChanged() local
693 if (archiveState.equals(newState) && lastState == null) { in validatePreciseDataConnectionStateChanged()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java192 public int lastState; field in Tethering.TetherState
201 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 …]
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherState.java444 LauncherState lastState = lsm.getLastState();
445 lsm.goToState(lastState, forEndCallback(this::onBackAnimationCompleted));
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java661 private void assertStateReceivedForShutdownOrSleepWithoutPostpone(int lastState, in assertStateReceivedForShutdownOrSleepWithoutPostpone() argument
672 if (state[0] == lastState) { in assertStateReceivedForShutdownOrSleepWithoutPostpone()
2775 private void assertStateReceivedForShutdownOrSleepWithPostpone(int lastState, in assertStateReceivedForShutdownOrSleepWithPostpone() argument
2786 if (state[0] == lastState) { in assertStateReceivedForShutdownOrSleepWithPostpone()
2793 private void assertStateReceivedForShutdownOrSleepWithPostpone(int lastState) throws Exception { in assertStateReceivedForShutdownOrSleepWithPostpone() argument
2795 (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()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DCarPowerManagerUnitTest.java509 int lastState, int stateParameter) throws Exception { in assertStateReceivedForShutdownOrSleepWithPostpone() argument
513 if (state[0] == lastState) { in assertStateReceivedForShutdownOrSleepWithPostpone()
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/
DBluetoothManagerService.java2189 int lastState; in addActiveLog() local
2192 lastState = BluetoothStatsLog.BLUETOOTH_ENABLED_STATE_CHANGED__STATE__UNKNOWN; in addActiveLog()
2195 lastState = in addActiveLog()
2210 lastState, in addActiveLog()