Home
last modified time | relevance | path

Searched refs:onProfileServiceStateChanged (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DProfileServiceTest.java112 verify(mAdapterService, never()).onProfileServiceStateChanged(any(), anyInt()); in setAllProfilesState()
117 .onProfileServiceStateChanged(argument.capture(), eq(state)); in setAllProfilesState()
140 doNothing().when(mAdapterService).onProfileServiceStateChanged(any(), anyInt()); in setUp()
237 .onProfileServiceStateChanged(starts.capture(), eq(BluetoothAdapter.STATE_ON)); in testEnableDisableInterleaved()
239 .onProfileServiceStateChanged(stops.capture(), eq(BluetoothAdapter.STATE_OFF)); in testEnableDisableInterleaved()
263 .onProfileServiceStateChanged( in testRepeatedEnableDisableSingly()
268 .onProfileServiceStateChanged( in testRepeatedEnableDisableSingly()
DAdapterServiceTest.java444 adapter.onProfileServiceStateChanged(service, STATE_OFF); in onToBleOn()
501 adapter.onProfileServiceStateChanged(service, STATE_ON); in doEnable()
785 mAdapterService.onProfileServiceStateChanged(service, STATE_ON); in startBrDr_whenOnlyStartScanDuringBleOnFlagIsOn_startAndStopScanController()
802 mAdapterService.onProfileServiceStateChanged(service, STATE_OFF); in startBrDr_whenOnlyStartScanDuringBleOnFlagIsOn_startAndStopScanController()
838 mAdapterService.onProfileServiceStateChanged(mMockService, STATE_ON); in testProfileStartTimeout()
849 mAdapterService.onProfileServiceStateChanged(mMockService, STATE_OFF); in testProfileStartTimeout()
870 mAdapterService.onProfileServiceStateChanged(mMockService, STATE_OFF); in testProfileStopTimeout()
/packages/modules/Bluetooth/android/app/tests/instrumentation/com/android/bluetooth/btservice/
DAdapterServiceTest.java400 mAdapterService.onProfileServiceStateChanged(service, STATE_OFF); in onToBleOn()
437 mAdapterService.onProfileServiceStateChanged(service, STATE_ON); in doEnable()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterService.java448 public void onProfileServiceStateChanged(ProfileService profile, int state) { in onProfileServiceStateChanged() method in AdapterService
1111 onProfileServiceStateChanged(mGattService, BluetoothAdapter.STATE_ON); in startGattProfileService()
1132 onProfileServiceStateChanged(mGattService, BluetoothAdapter.STATE_OFF); in stopGattProfileService()
1556 onProfileServiceStateChanged(profileService, BluetoothAdapter.STATE_ON); in setProfileServiceState()
1565 onProfileServiceStateChanged(profileService, BluetoothAdapter.STATE_OFF); in setProfileServiceState()