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.java195 private AdapterState mAdapterStateMachine;
341 mAdapterStateMachine.sendMessage(AdapterState.BREDR_STARTED); in processProfileServiceStateChanged()
357 mAdapterStateMachine.sendMessage(AdapterState.BREDR_STOPPED); in processProfileServiceStateChanged()
438 mAdapterStateMachine = AdapterState.make(this); in onCreate()
596 mAdapterStateMachine.sendMessage(AdapterState.BLE_STOPPED); in stateChangeCallback()
598 mAdapterStateMachine.sendMessage(AdapterState.BLE_STARTED); in stateChangeCallback()
627 mAdapterStateMachine.sendMessage(AdapterState.BREDR_STARTED); in startProfileServices()
642 mAdapterStateMachine.sendMessage(AdapterState.BREDR_STOPPED); in stopProfileServices()
652 mAdapterStateMachine.sendMessage(AdapterState.BLE_STOPPED); in stopGattProfileService()
693 mAdapterStateMachine.sendMessage(AdapterState.BLE_TURN_OFF); in updateAdapterState()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DAdapterServiceTest.java338 AdapterState.BLE_START_TIMEOUT_DELAY + CONTEXT_SWITCH_MS); in testGattStartTimeout()
341 verify(mMockContext, timeout(AdapterState.BLE_STOP_TIMEOUT_DELAY + CONTEXT_SWITCH_MS) in testGattStartTimeout()
381 AdapterState.BLE_STOP_TIMEOUT_DELAY + NATIVE_DISABLE_MS); in testGattStopTimeout()
419 AdapterState.BREDR_START_TIMEOUT_DELAY + CONTEXT_SWITCH_MS); in testProfileStartTimeout()
450 AdapterState.BREDR_STOP_TIMEOUT_DELAY + CONTEXT_SWITCH_MS); in testProfileStopTimeout()
457 AdapterState.BLE_STOP_TIMEOUT_DELAY + NATIVE_DISABLE_MS); in testProfileStopTimeout()