/packages/services/Car/packages/ScriptExecutor/tests/functional/src/com/android/car/scriptexecutortest/functional/ |
D | ScriptExecutorFunctionalTest.java | 237 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/ |
D | VvmPhoneStateListener.java | 36 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/ |
D | StateFatal.java | 38 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()
|
D | StateIntentCompleted.java | 45 State previousState, in from() argument 48 previousState, resourceConstructed, Optional.<Intent>absent()); in from() 52 State previousState, in StateIntentCompleted() argument 55 super(previousState); in StateIntentCompleted()
|
D | StateForegroundWithSurfaceTexture.java | 40 State previousState, in from() argument 44 previousState, in from() 50 State previousState, in StateForegroundWithSurfaceTexture() argument 53 super(previousState); in StateForegroundWithSurfaceTexture()
|
D | StateBackgroundWithSurfaceTexture.java | 47 State previousState, in from() argument 51 previousState, resourceConstructed, resourceSurfaceTexture); in from() 55 State previousState, in StateBackgroundWithSurfaceTexture() argument 58 super(previousState); in StateBackgroundWithSurfaceTexture()
|
D | StateForeground.java | 42 State previousState, in from() argument 44 return new StateForeground(previousState, resourceConstructed); in from() 48 State previousState, in StateForeground() argument 50 super(previousState); in StateForeground()
|
D | StateBackground.java | 48 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()
|
D | StateStartingPreview.java | 56 State previousState, in from() argument 66 previousState, in from() 78 State previousState, in StateStartingPreview() argument 87 super(previousState); in StateStartingPreview()
|
D | StateOpeningCamera.java | 102 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()
|
D | StateSavingPicture.java | 55 State previousState, in StateSavingPicture() argument 58 super(previousState); in StateSavingPicture()
|
D | StateReadyForCapture.java | 107 State previousState, in StateReadyForCapture() argument 111 super(previousState); in StateReadyForCapture() 122 State previousState, in StateReadyForCapture() argument 124 super(previousState); in StateReadyForCapture()
|
D | StateReviewingPicture.java | 72 State previousState, in StateReviewingPicture() argument 76 super(previousState); in StateReviewingPicture()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/ |
D | StateImpl.java | 39 protected StateImpl(State previousState) { in StateImpl() argument 40 this(previousState.getStateMachine()); in StateImpl()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothA2dpConnector.java | 104 int previousState = intent.getIntExtra( 110 Log.d(TAG, "Connection states: old = " + previousState + ", new = " + state); 113 if (previousState == BluetoothA2dp.STATE_CONNECTING) {
|
D | BluetoothLeAudioConnector.java | 103 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/ |
D | AllAppsState.java | 202 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/ |
D | MetricsTest.kt | 66 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/ |
D | CallsManagerCallSequencingAdapter.java | 117 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/ |
D | TestUtil.java | 81 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/ |
D | StateMachine.java | 726 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/ |
D | CallSequencingTests.java | 621 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/ |
D | BaseState.java | 43 T getHistoryForState(T previousState); in getHistoryForState() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | PrivateProfileManager.java | 234 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/ |
D | RangingUtils.java | 108 E previousState = mState; in getAndSet() local 110 return previousState; in getAndSet()
|