Home
last modified time | relevance | path

Searched refs:nextState (Results 1 – 12 of 12) 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/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/apps/Bluetooth/src/com/android/bluetooth/btservice/
DActiveDeviceManager.java194 int nextState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in handleMessage() local
195 if (prevState == nextState) { in handleMessage()
199 if (nextState == BluetoothProfile.STATE_CONNECTED) { in handleMessage()
253 int nextState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in handleMessage() local
254 if (prevState == nextState) { in handleMessage()
258 if (nextState == BluetoothProfile.STATE_CONNECTED) { in handleMessage()
DPhonePolicy.java190 int nextState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in handleMessage() local
191 processProfileStateChanged(device, msg.arg1, nextState, prevState); in handleMessage()
308 private void processProfileStateChanged(BluetoothDevice device, int profileId, int nextState, in processProfileStateChanged() argument
311 + prevState + " -> " + nextState); in processProfileStateChanged()
313 if (nextState == BluetoothProfile.STATE_CONNECTED) { in processProfileStateChanged()
324 if (nextState == BluetoothProfile.STATE_DISCONNECTED) { in processProfileStateChanged()
DSilenceDeviceManager.java136 int nextState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in handleMessage() local
138 if (nextState == BluetoothProfile.STATE_CONNECTED) { in handleMessage()
160 int nextState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in handleMessage() local
162 if (nextState == BluetoothProfile.STATE_CONNECTED) { in handleMessage()
DAdapterProperties.java652 private static boolean isNormalStateTransition(int prevState, int nextState) { in isNormalStateTransition() argument
655 return nextState == BluetoothProfile.STATE_CONNECTING; in isNormalStateTransition()
657 return nextState == BluetoothProfile.STATE_DISCONNECTING; in isNormalStateTransition()
660 return (nextState == BluetoothProfile.STATE_DISCONNECTED) || (nextState in isNormalStateTransition()
/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/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DPhonePolicyTest.java769 int nextState, int prevState) { in updateProfileConnectionStateHelper() argument
773 when(mA2dpService.getConnectionState(device)).thenReturn(nextState); in updateProfileConnectionStateHelper()
777 when(mHeadsetService.getConnectionState(device)).thenReturn(nextState); in updateProfileConnectionStateHelper()
786 intent.putExtra(BluetoothProfile.EXTRA_STATE, nextState); in updateProfileConnectionStateHelper()
/packages/apps/Camera2/src/com/android/camera/
DMultiToggleImageButton.java243 private void nextState() { in nextState() method in MultiToggleImageButton
256 nextState(); in init()
/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.java4231 State nextState = mIdle; in processStateMessage() local
4240 nextState = mDeleteIkeLocalDelete; in processStateMessage()
4250 transitionTo(nextState); in processStateMessage()