Home
last modified time | relevance | path

Searched refs:AdapterState (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterState.java56 final class AdapterState extends StateMachine { class
58 private static final String TAG = AdapterState.class.getSimpleName();
89 private AdapterState(AdapterService service) { in AdapterState() method in AdapterState
120 public static AdapterState make(AdapterService service) { in make()
122 AdapterState as = new AdapterState(service); in make()
DAdapterService.java168 private AdapterState mAdapterStateMachine;
297 mAdapterStateMachine.sendMessage(AdapterState.BREDR_STARTED); in processProfileServiceStateChanged()
313 mAdapterStateMachine.sendMessage(AdapterState.BREDR_STOPPED); in processProfileServiceStateChanged()
394 mAdapterStateMachine = AdapterState.make(this); in onCreate()
550 mAdapterStateMachine.sendMessage(AdapterState.BLE_STOPPED); in stateChangeCallback()
552 mAdapterStateMachine.sendMessage(AdapterState.BLE_STARTED); in stateChangeCallback()
592 mAdapterStateMachine.sendMessage(AdapterState.BREDR_STARTED); in startProfileServices()
604 mAdapterStateMachine.sendMessage(AdapterState.BREDR_STOPPED); in stopProfileServices()
614 mAdapterStateMachine.sendMessage(AdapterState.BLE_STOPPED); in stopGattProfileService()
655 mAdapterStateMachine.sendMessage(AdapterState.BLE_TURN_OFF); in updateAdapterState()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DAdapterServiceTest.java329 AdapterState.BLE_START_TIMEOUT_DELAY + CONTEXT_SWITCH_MS); in testGattStartTimeout()
332 verify(mMockContext, timeout(AdapterState.BLE_STOP_TIMEOUT_DELAY + CONTEXT_SWITCH_MS) in testGattStartTimeout()
372 AdapterState.BLE_STOP_TIMEOUT_DELAY + NATIVE_DISABLE_MS); in testGattStopTimeout()
410 AdapterState.BREDR_START_TIMEOUT_DELAY + CONTEXT_SWITCH_MS); in testProfileStartTimeout()
441 AdapterState.BREDR_STOP_TIMEOUT_DELAY + CONTEXT_SWITCH_MS); in testProfileStopTimeout()
448 AdapterState.BLE_STOP_TIMEOUT_DELAY + NATIVE_DISABLE_MS); in testProfileStopTimeout()