Home
last modified time | relevance | path

Searched refs:previousState (Results 1 – 25 of 36) sorted by relevance

12

/packages/services/Car/packages/ScriptExecutor/tests/functional/src/com/android/car/scriptexecutortest/functional/
DScriptExecutorFunctionalTest.java237 PersistableBundle previousState = new PersistableBundle(); in invokeScript_processPreviousStateAndReturnResult() local
238 previousState.putInt("x", 1); in invokeScript_processPreviousStateAndReturnResult()
240 runScriptAndWaitForResponse(script, "update", mEmptyPublishedData, previousState); in invokeScript_processPreviousStateAndReturnResult()
261 PersistableBundle previousState = new PersistableBundle(); in invokeScript_allSupportedPrimitiveTypesWorkRoundTripWithKeyNamesPreserved() local
262 previousState.putInt("integer", 1); in invokeScript_allSupportedPrimitiveTypesWorkRoundTripWithKeyNamesPreserved()
263 previousState.putDouble("number", 0.1); in invokeScript_allSupportedPrimitiveTypesWorkRoundTripWithKeyNamesPreserved()
264 previousState.putBoolean("boolean", false); in invokeScript_allSupportedPrimitiveTypesWorkRoundTripWithKeyNamesPreserved()
265 previousState.putString("string", "ABRA"); in invokeScript_allSupportedPrimitiveTypesWorkRoundTripWithKeyNamesPreserved()
267 runScriptAndWaitForResponse(script, "update_all", mEmptyPublishedData, previousState); in invokeScript_allSupportedPrimitiveTypesWorkRoundTripWithKeyNamesPreserved()
292 PersistableBundle previousState = new PersistableBundle(); in invokeScript_allSupportedArrayTypesWorkRoundTripWithKeyNamesPreserved() local
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/
DVvmPhoneStateListener.java36 private int previousState = -1; field in VvmPhoneStateListener
58 if (state == previousState in onServiceStateChanged()
60 && previousState != ServiceState.STATE_IN_SERVICE)) { in onServiceStateChanged()
63 previousState = state; in onServiceStateChanged()
101 previousState = state; in onServiceStateChanged()
/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateFatal.java38 State previousState, RefCountBase<ResourceConstructed> resourceConstructed) { in from() argument
39 return new StateFatal(previousState, resourceConstructed); in from()
42 private StateFatal(State previousState, RefCountBase<ResourceConstructed> resourceConstructed) { in StateFatal() argument
43 super(previousState); in StateFatal()
DStateIntentCompleted.java45 State previousState, in from() argument
48 previousState, resourceConstructed, Optional.<Intent>absent()); in from()
52 State previousState, in StateIntentCompleted() argument
55 super(previousState); in StateIntentCompleted()
DStateForegroundWithSurfaceTexture.java40 State previousState, in from() argument
44 previousState, in from()
50 State previousState, in StateForegroundWithSurfaceTexture() argument
53 super(previousState); in StateForegroundWithSurfaceTexture()
DStateBackgroundWithSurfaceTexture.java47 State previousState, in from() argument
51 previousState, resourceConstructed, resourceSurfaceTexture); in from()
55 State previousState, in StateBackgroundWithSurfaceTexture() argument
58 super(previousState); in StateBackgroundWithSurfaceTexture()
DStateForeground.java42 State previousState, in from() argument
44 return new StateForeground(previousState, resourceConstructed); in from()
48 State previousState, in StateForeground() argument
50 super(previousState); in StateForeground()
DStateBackground.java48 State previousState, in from() argument
50 return new StateBackground(previousState, resourceConstructed); in from()
62 private StateBackground(State previousState, in StateBackground() argument
64 super(previousState); in StateBackground()
DStateStartingPreview.java56 State previousState, in from() argument
66 previousState, in from()
78 State previousState, in StateStartingPreview() argument
87 super(previousState); in StateStartingPreview()
DStateOpeningCamera.java102 State previousState, in from() argument
108 return new StateOpeningCamera(previousState, resourceConstructed, in from()
112 private StateOpeningCamera(State previousState, in StateOpeningCamera() argument
118 super(previousState); in StateOpeningCamera()
DStateSavingPicture.java55 State previousState, in StateSavingPicture() argument
58 super(previousState); in StateSavingPicture()
DStateReadyForCapture.java107 State previousState, in StateReadyForCapture() argument
111 super(previousState); in StateReadyForCapture()
122 State previousState, in StateReadyForCapture() argument
124 super(previousState); in StateReadyForCapture()
DStateReviewingPicture.java72 State previousState, in StateReviewingPicture() argument
76 super(previousState); in StateReviewingPicture()
/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/
DStateImpl.java39 protected StateImpl(State previousState) { in StateImpl() argument
40 this(previousState.getStateMachine()); in StateImpl()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothA2dpConnector.java104 int previousState = intent.getIntExtra(
110 Log.d(TAG, "Connection states: old = " + previousState + ", new = " + state);
113 if (previousState == BluetoothA2dp.STATE_CONNECTING) {
DBluetoothLeAudioConnector.java103 int previousState = intent.getIntExtra(
109 Log.d(TAG, "Connection states: old = " + previousState + ", new = " + state);
112 if (previousState == BluetoothLeAudio.STATE_CONNECTING) {
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
DAllAppsState.java202 public LauncherState getHistoryForState(LauncherState previousState) {
203 return previousState == BACKGROUND_APP ? QUICK_SWITCH_FROM_HOME
204 : previousState == OVERVIEW ? OVERVIEW : NORMAL;
/packages/modules/Bluetooth/framework/tests/metrics/host/android/bluetooth/
DMetricsTest.kt66 assertThat(previousState).isEqualTo(BluetoothEnabledStateChanged.State.ENABLED) in testBluetoothDisableEnable_shouldProduceEnabledStateChanged()
71 assertThat(previousState).isEqualTo(BluetoothEnabledStateChanged.State.DISABLED) in testBluetoothDisableEnable_shouldProduceEnabledStateChanged()
/packages/services/Telecomm/src/com/android/server/telecom/callsequencing/
DCallsManagerCallSequencingAdapter.java117 int previousState = call.getState(); in disconnectCall() local
119 mSequencingController.disconnectCall(call, previousState); in disconnectCall()
121 mCallsManager.disconnectCallOld(call, previousState); in disconnectCall()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DTestUtil.java81 Context context, int apState, int previousState, int error, String ifaceName, in sendWifiApStateChanged() argument
85 intent.putExtra(WifiManager.EXTRA_PREVIOUS_WIFI_AP_STATE, previousState); in sendWifiApStateChanged()
/packages/services/Car/service/src/com/android/car/evs/
DStateMachine.java726 int previousState, newState; in execute() local
728 previousState = mState; in execute()
729 Slogf.i(mLogTag, "Transition requested: %s -> %s", stateToString(previousState), in execute()
750 "CarEvsService is in the unknown state, " + previousState); in execute()
757 if (previousState != newState) { in execute()
763 addTransitionLogLocked(mLogTag, previousState, newState, in execute()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallSequencingTests.java621 int previousState = CallState.ACTIVE; in testDisconnectCallSuccess() local
622 mController.disconnectCall(mActiveCall, previousState); in testDisconnectCallSuccess()
624 .processDisconnectCallAndCleanup(eq(mActiveCall), eq(previousState)); in testDisconnectCallSuccess()
631 int previousState = CallState.ACTIVE; in testDisconnectCallFail() local
632 mController.disconnectCall(mActiveCall, previousState); in testDisconnectCallFail()
634 .processDisconnectCallAndCleanup(eq(mActiveCall), eq(previousState)); in testDisconnectCallFail()
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/
DBaseState.java43 T getHistoryForState(T previousState); in getHistoryForState() argument
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DPrivateProfileManager.java234 int previousState = getCurrentState(); in reset() local
243 mIsStateTransitioning = previousState != STATE_UNKNOWN && previousState != updatedState; in reset()
244 if (previousState == STATE_DISABLED && updatedState == STATE_ENABLED) { in reset()
246 } else if (previousState == STATE_ENABLED && updatedState == STATE_DISABLED){ in reset()
/packages/modules/Uwb/ranging/service/java/com/android/server/ranging/
DRangingUtils.java108 E previousState = mState; in getAndSet() local
110 return previousState; in getAndSet()

12