/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientService.java | 49 private HeadsetClientStateMachine mStateMachine; field in HeadsetClientService 64 mStateMachine = HeadsetClientStateMachine.make(this); in start() 83 mStateMachine.doQuit(); in stop() 89 if (mStateMachine != null) { in cleanup() 90 mStateMachine.cleanup(); in cleanup() 110 mStateMachine.sendMessage(mStateMachine.obtainMessage( 447 int connectionState = mStateMachine.getConnectionState(device); in connect() 453 mStateMachine.sendMessage(HeadsetClientStateMachine.CONNECT, device); in connect() 460 int connectionState = mStateMachine.getConnectionState(device); in disconnect() 466 mStateMachine.sendMessage(HeadsetClientStateMachine.DISCONNECT, device); in disconnect() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 50 private HeadsetStateMachine mStateMachine; field in HeadsetService 62 mStateMachine = HeadsetStateMachine.make(this); in start() 81 mStateMachine.doQuit(); in stop() 86 if (mStateMachine != null) { in cleanup() 87 mStateMachine.cleanup(); in cleanup() 98 mStateMachine.sendMessage(HeadsetStateMachine.INTENT_BATTERY_CHANGED, intent); 102 mStateMachine.sendMessage(HeadsetStateMachine.INTENT_SCO_VOLUME_CHANGED, 111 mStateMachine.handleAccessPermissionResult(intent); 338 int connectionState = mStateMachine.getConnectionState(device); in connect() 345 mStateMachine.sendMessage(HeadsetStateMachine.CONNECT, device); in connect() [all …]
|
D | AtPhonebook.java | 81 private HeadsetStateMachine mStateMachine; field in AtPhonebook 105 mStateMachine = headsetState; in AtPhonebook() 178 mStateMachine.atResponseCodeNative(atCommandResult, in handleCscsCommand() 198 mStateMachine.atResponseStringNative(atCommandResponse, getByteAddress(device)); in handleCscsCommand() 199 mStateMachine.atResponseCodeNative(atCommandResult, atCommandErrorCode, in handleCscsCommand() 259 mStateMachine.atResponseStringNative(atCommandResponse, getByteAddress(device)); in handleCpbsCommand() 260 mStateMachine.atResponseCodeNative(atCommandResult, atCommandErrorCode, in handleCpbsCommand() 284 mStateMachine.atResponseCodeNative(atCommandResult, in handleCpbrCommand() 300 mStateMachine.atResponseStringNative(atCommandResponse, in handleCpbrCommand() 302 mStateMachine.atResponseCodeNative(atCommandResult, atCommandErrorCode, in handleCpbrCommand() [all …]
|
D | HeadsetPhoneState.java | 37 private HeadsetStateMachine mStateMachine; field in HeadsetPhoneState 88 mStateMachine = stateMachine; in HeadsetPhoneState() 104 mStateMachine = null; in cleanup() 226 HeadsetStateMachine sm = mStateMachine; in sendDeviceStateChanged()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpSinkService.java | 38 private A2dpSinkStateMachine mStateMachine; field in A2dpSinkService 50 mStateMachine = A2dpSinkStateMachine.make(this, this); in start() 56 mStateMachine.doQuit(); in stop() 61 if (mStateMachine!= null) { in cleanup() 62 mStateMachine.cleanup(); in cleanup() 108 int connectionState = mStateMachine.getConnectionState(device); in connect() 114 mStateMachine.sendMessage(A2dpSinkStateMachine.CONNECT, device); in connect() 121 int connectionState = mStateMachine.getConnectionState(device); in disconnect() 127 mStateMachine.sendMessage(A2dpSinkStateMachine.DISCONNECT, device); in disconnect() 133 return mStateMachine.getConnectedDevices(); in getConnectedDevices() [all …]
|
D | A2dpService.java | 44 private A2dpStateMachine mStateMachine; field in A2dpService 65 mStateMachine = A2dpStateMachine.make(this, this); in start() 71 if (mStateMachine != null) { in stop() 72 mStateMachine.doQuit(); in stop() 81 if (mStateMachine!= null) { in cleanup() 82 mStateMachine.cleanup(); in cleanup() 142 int connectionState = mStateMachine.getConnectionState(device); in connect() 148 mStateMachine.sendMessage(A2dpStateMachine.CONNECT, device); in connect() 155 int connectionState = mStateMachine.getConnectionState(device); in disconnect() 161 mStateMachine.sendMessage(A2dpStateMachine.DISCONNECT, device); in disconnect() [all …]
|
/packages/apps/Camera2/src/com/android/camera/captureintent/ |
D | CaptureIntentModule.java | 75 private final StateMachine mStateMachine; field in CaptureIntentModule 86 mStateMachine = new StateMachineImpl(); in CaptureIntentModule() 101 final State initialState = StateBackground.create(mStateMachine, mResourceConstructed); in CaptureIntentModule() 103 mStateMachine.setInitialState(initialState); in CaptureIntentModule() 123 mStateMachine.processEvent(new EventTapOnShutterButton(mTouchPointInsideShutterButton)); in onShutterButtonClick() 143 mStateMachine.processEvent(new EventTapOnCancelShutterButton()); in init() 152 mStateMachine.processEvent(new EventResume()); in resume() 159 mStateMachine.processEvent(new EventPause()); in pause() 218 mStateMachine.processEvent(new EventClickOnCameraKey()); in onKeyDown() 233 mStateMachine.processEvent(new EventClickOnCameraKey()); in onKeyUp() [all …]
|
/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/ |
D | StateImpl.java | 31 private final StateMachine mStateMachine; field in StateImpl 35 mStateMachine = stateMachine; in StateImpl() 45 return mStateMachine; in getStateMachine()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/ |
D | AETriggerResult.java | 63 private final TriggerStateMachine mStateMachine; field in AETriggerResult 67 mStateMachine = new TriggerStateMachine( in AETriggerResult() 76 boolean done = mStateMachine.update( in update()
|
D | AFTriggerResult.java | 60 private final TriggerStateMachine mStateMachine; field in AFTriggerResult 65 mStateMachine = new TriggerStateMachine( in AFTriggerResult() 73 boolean done = mStateMachine.update( in update()
|