Searched refs:getCurrentState (Results 1 - 16 of 16) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/
H A DStateMachine.java32 public State getCurrentState(); method in interface:StateMachine
H A DStateMachineImpl.java78 public State getCurrentState() { method in class:StateMachineImpl
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientStateMachineTest.java74 assertTrue(mockSM.getCurrentState() instanceof HeadsetClientStateMachine.Disconnected);
115 assertTrue(mockSM.getCurrentState() instanceof HeadsetClientStateMachine.Connecting);
133 assertTrue(mockSM.getCurrentState() instanceof HeadsetClientStateMachine.Connected);
173 assertTrue(mockSM.getCurrentState() instanceof HeadsetClientStateMachine.Connecting);
184 assertTrue(mockSM.getCurrentState() instanceof HeadsetClientStateMachine.Disconnected);
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DDrawIdler.java53 public int getCurrentState() { method in class:DrawIdler
/packages/apps/Camera2/src/com/android/camera/ui/
H A DModeListView.java145 ModeListState getCurrentState() { method in class:ModeListView.CurrentStateManager
1040 mCurrentStateManager.getCurrentState().onScroll(e1, e2, distanceX, distanceY);
1047 mCurrentStateManager.getCurrentState().onSingleTapUp(ev);
1055 mCurrentStateManager.getCurrentState().onFling(e1, e2, velocityX, velocityY);
1062 mCurrentStateManager.getCurrentState().onDown(ev);
1076 mCurrentStateManager.getCurrentState().onItemSelected(selectedItem);
1184 if (mCurrentStateManager.getCurrentState() == null) {
1303 if (!mCurrentStateManager.getCurrentState().shouldHandleTouchEvent(ev)) {
1311 mCurrentStateManager.getCurrentState().onTouchEvent(ev);
1353 if (mCurrentStateManager.getCurrentState()
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
H A DMceStateMachine.java167 IState currentState = this.getCurrentState();
200 if (this.getCurrentState() == mConnected) {
242 if (this.getCurrentState() == mConnected) {
251 if (this.getCurrentState() == mConnected) {
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
H A DPendingAttachmentData.java89 public int getCurrentState() { method in class:PendingAttachmentData
H A DDraftMessageData.java160 Assert.equals(PendingAttachmentData.STATE_PENDING, data.getCurrentState());
416 Assert.equals(PendingAttachmentData.STATE_PENDING, pendingAttachment.getCurrentState());
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DPbapClientStateMachine.java356 IState currentState = getCurrentState();
408 if (getCurrentState() instanceof Disconnected) {
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpStateMachine.java733 if (getCurrentState() == mDisconnected) {
738 IState currentState = getCurrentState();
767 if (getCurrentState() == mConnected) {
817 && (getCurrentState() == mConnected)) {
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
H A DA2dpSinkStateMachine.java654 if (getCurrentState() == mDisconnected) {
659 IState currentState = getCurrentState();
692 if (getCurrentState() == mConnected) {
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetStateMachine.java776 IState CurrentAudioState = getCurrentState();
1181 IState CurrentAudioState = getCurrentState();
2027 if (getCurrentState() == mDisconnected) {
2033 IState currentState = getCurrentState();
2089 return (getCurrentState() == mAudioOn);
2099 if (getCurrentState() == mAudioOn && mCurrentDevice.equals(device)
2583 int flag = (getCurrentState() == mAudioOn) ? AudioManager.FLAG_SHOW_UI : 0;
2642 if (getCurrentState() != mDisconnected) {
2666 if (getCurrentState() != mDisconnected) {
3285 IState currentState = getCurrentState();
[all...]
/packages/services/Telecomm/src/com/android/server/telecom/
H A DCallAudioModeStateMachine.java496 IState currentState = getCurrentState();
H A DCallAudioRouteStateMachine.java1316 IState currentState = getCurrentState();
1429 AudioState currentState = (AudioState) getCurrentState();
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientStateMachine.java1604 IState currentState = getCurrentState();
1691 IState currentState = getCurrentState();
1733 return (getCurrentState() == mAudioOn);
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
H A DBluetoothRouteManager.java588 * This method needs be synchronized with the local looper because getCurrentState() depends
597 state[0] = getCurrentState();

Completed in 764 milliseconds