Home
last modified time | relevance | path

Searched refs:nextState (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/
DStateMachineImpl.java62 Optional<State> nextState = mState.onEnter(); in jumpToState() local
63 while (nextState.isPresent()) { in jumpToState()
64 Log.d(TAG, "Forward state : " + mState + " => " + nextState.get()); in jumpToState()
66 mState = nextState.get(); in jumpToState()
67 nextState = mState.onEnter(); in jumpToState()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/android/
DImsMediaAudioPlayer.cpp181 aaudio_stream_state_t nextState = AAUDIO_STREAM_STATE_UNINITIALIZED; in Start() local
198 mAudioStream, inputState, &nextState, AAUDIO_STATE_TIMEOUT_NANO); in Start()
213 IMLOGI1("[Start] start stream state[%s]", AAudio_convertStreamStateToText(nextState)); in Start()
253 aaudio_stream_state_t nextState = AAUDIO_STREAM_STATE_UNINITIALIZED; in Stop() local
263 mAudioStream, inputState, &nextState, AAUDIO_STATE_TIMEOUT_NANO); in Stop()
270 IMLOGI1("[Stop] stream state[%s]", AAudio_convertStreamStateToText(nextState)); in Stop()
473 aaudio_stream_state_t nextState = AAUDIO_STREAM_STATE_UNINITIALIZED; in restartAudioStream() local
482 mAudioStream, inputState, &nextState, 3 * AAUDIO_STATE_TIMEOUT_NANO); in restartAudioStream()
491 AAudio_convertStreamStateToText(nextState)); in restartAudioStream()
DImsMediaAudioSource.cpp148 aaudio_stream_state_t nextState = AAUDIO_STREAM_STATE_UNINITIALIZED; in Start() local
150 mAudioStream, inputState, &nextState, 10 * AAUDIO_STATE_TIMEOUT_NANO); in Start()
167 IMLOGI1("[Start] start stream state[%s]", AAudio_convertStreamStateToText(nextState)); in Start()
190 aaudio_stream_state_t nextState = AAUDIO_STREAM_STATE_UNINITIALIZED; in Stop() local
200 mAudioStream, inputState, &nextState, AAUDIO_STATE_TIMEOUT_NANO); in Stop()
207 IMLOGI1("[Stop] stream state[%s]", AAudio_convertStreamStateToText(nextState)); in Stop()
391 aaudio_stream_state_t nextState = AAUDIO_STREAM_STATE_UNINITIALIZED; in restartAudioStream() local
401 mAudioStream, inputState, &nextState, 10 * AAUDIO_STATE_TIMEOUT_NANO); in restartAudioStream()
410 AAudio_convertStreamStateToText(nextState)); in restartAudioStream()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDocsSelectionPredicate.java61 public boolean canSetStateForKey(String id, boolean nextState) { in canSetStateForKey() argument
62 if (nextState) { in canSetStateForKey()
80 public boolean canSetStateAtPosition(int position, boolean nextState) { in canSetStateAtPosition() argument
85 assert nextState == true; in canSetStateAtPosition()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/worker/
DReportDeviceProvisionStateWorker.java204 int nextState = response.getNextClientProvisionState(); in startWork() local
205 Futures.getUnchecked(globalParametersClient.setLastReceivedProvisionState(nextState)); in startWork()
208 onNextProvisionStateReceived(nextState, daysLeftUntilReset); in startWork()
209 if (nextState == PROVISION_STATE_FACTORY_RESET) { in startWork()
211 } else if (nextState != PROVISION_STATE_SUCCESS) { in startWork()
/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateForeground.java82 State nextState = StateForegroundWithSurfaceTexture.from( in registerEventHandlers()
89 return Optional.of(nextState); in registerEventHandlers()
DStateBackground.java96 State nextState = StateBackgroundWithSurfaceTexture.from( in registerEventHandlers()
103 return Optional.of(nextState); in registerEventHandlers()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterProperties.java853 private static boolean isNormalStateTransition(int prevState, int nextState) { in isNormalStateTransition() argument
856 return nextState == BluetoothProfile.STATE_CONNECTING; in isNormalStateTransition()
858 return nextState == BluetoothProfile.STATE_DISCONNECTING; in isNormalStateTransition()
861 return (nextState == BluetoothProfile.STATE_DISCONNECTED) in isNormalStateTransition()
862 || (nextState == BluetoothProfile.STATE_CONNECTED); in isNormalStateTransition()
DSilenceDeviceManager.java137 int nextState = msg.arg2; in handleMessage() local
139 if (nextState == BluetoothProfile.STATE_CONNECTED) { in handleMessage()
DPhonePolicy.java696 BluetoothDevice device, int profileId, int nextState, int prevState) { in processProfileStateChanged() argument
705 + nextState); in processProfileStateChanged()
712 if (nextState == BluetoothProfile.STATE_CONNECTED) { in processProfileStateChanged()
726 if (nextState == BluetoothProfile.STATE_DISCONNECTED) { in processProfileStateChanged()
/packages/apps/Camera2/src/com/android/camera/
DMultiToggleImageButton.java243 private void nextState() { in nextState() method in MultiToggleImageButton
256 nextState(); in init()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/
DPreferenceCompat.java390 public void setNextState(Integer nextState) { in setNextState() argument
391 mNextState = nextState; in setNextState()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java972 private void changeState(int nextState) { in changeState() argument
973 if (nextState != mState) { in changeState()
975 Log.v(TAG, "Changing state from " + mState + " -> " + nextState); in changeState()
977 mState = nextState; in changeState()
/packages/modules/Bluetooth/system/test/mock/
Dmock_frameworks_libaudio.cc114 aaudio_stream_state_t* nextState, int64_t timeoutNanoseconds) { in AAudioStream_waitForStateChange() argument
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DPhonePolicyTest.java1616 BluetoothDevice device, int profileId, int nextState, int prevState) { in updateProfileConnectionStateHelper() argument
1619 when(mA2dpService.getConnectionState(device)).thenReturn(nextState); in updateProfileConnectionStateHelper()
1622 when(mHeadsetService.getConnectionState(device)).thenReturn(nextState); in updateProfileConnectionStateHelper()
1627 mPhonePolicy.profileConnectionStateChanged(profileId, device, prevState, nextState); in updateProfileConnectionStateHelper()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
DFlingUpDownMethod.java901 int nextState = afterSettleAnimationState; in onSettleAnimationDone() local
905 setAnimationState(nextState); in onSettleAnimationDone()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java5284 State nextState = mIdle; in processStateMessage() local
5293 nextState = mDeleteIkeLocalDelete; in processStateMessage()
5303 transitionTo(nextState); in processStateMessage()