Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DProfileServiceTest.java108 verify(mAdapterService, never()).onProfileServiceStateChanged(any(), anyInt()); in setAllProfilesState()
113 .onProfileServiceStateChanged(argument.capture(), eq(state)); in setAllProfilesState()
136 doNothing().when(mAdapterService).onProfileServiceStateChanged(any(), anyInt()); in setUp()
221 .onProfileServiceStateChanged(starts.capture(), eq(BluetoothAdapter.STATE_ON)); in testEnableDisableInterleaved()
223 .onProfileServiceStateChanged(stops.capture(), eq(BluetoothAdapter.STATE_OFF)); in testEnableDisableInterleaved()
247 .onProfileServiceStateChanged( in testRepeatedEnableDisableSingly()
252 .onProfileServiceStateChanged( in testRepeatedEnableDisableSingly()
DAdapterServiceTest.java442 adapter.onProfileServiceStateChanged(service, STATE_OFF); in onToBleOn()
499 adapter.onProfileServiceStateChanged(service, STATE_ON); in doEnable()
788 mAdapterService.onProfileServiceStateChanged(service, STATE_ON); in startBrDr_whenScanManagerRefactorFlagIsOn_startAndStopScanController()
805 mAdapterService.onProfileServiceStateChanged(service, STATE_OFF); in startBrDr_whenScanManagerRefactorFlagIsOn_startAndStopScanController()
839 mAdapterService.onProfileServiceStateChanged(mMockService, STATE_ON); in testProfileStartTimeout()
850 mAdapterService.onProfileServiceStateChanged(mMockService, STATE_OFF); in testProfileStartTimeout()
869 mAdapterService.onProfileServiceStateChanged(mMockService, STATE_OFF); in testProfileStopTimeout()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterService.java439 public void onProfileServiceStateChanged(ProfileService profile, int state) { in onProfileServiceStateChanged() method in AdapterService
1120 onProfileServiceStateChanged(mGattService, BluetoothAdapter.STATE_ON); in startGattProfileService()
1138 onProfileServiceStateChanged(mGattService, BluetoothAdapter.STATE_OFF); in stopGattProfileService()
1549 onProfileServiceStateChanged(profileService, BluetoothAdapter.STATE_ON); in setProfileServiceState()
1561 onProfileServiceStateChanged(profileService, BluetoothAdapter.STATE_OFF); in setProfileServiceState()