Searched refs:onProfileServiceStateChanged (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | AdapterServiceTest.java | 244 mAdapterService.onProfileServiceStateChanged(mMockGattService, BluetoothAdapter.STATE_ON); in doEnable() 260 mAdapterService.onProfileServiceStateChanged(mMockService, BluetoothAdapter.STATE_ON); in doEnable() 261 mAdapterService.onProfileServiceStateChanged(mMockService2, BluetoothAdapter.STATE_ON); in doEnable() 290 mAdapterService.onProfileServiceStateChanged(mMockService, BluetoothAdapter.STATE_OFF); in doDisable() 291 mAdapterService.onProfileServiceStateChanged(mMockService2, BluetoothAdapter.STATE_OFF); in doDisable() 305 mAdapterService.onProfileServiceStateChanged(mMockGattService, BluetoothAdapter.STATE_OFF); in doDisable() 405 mAdapterService.onProfileServiceStateChanged(mMockService, BluetoothAdapter.STATE_OFF); in testGattStopTimeout() 406 mAdapterService.onProfileServiceStateChanged(mMockService2, BluetoothAdapter.STATE_OFF); in testGattStopTimeout() 441 mAdapterService.onProfileServiceStateChanged(mMockGattService, BluetoothAdapter.STATE_ON); in testProfileStartTimeout() 455 mAdapterService.onProfileServiceStateChanged(mMockService, BluetoothAdapter.STATE_ON); in testProfileStartTimeout() [all …]
|
D | ProfileServiceTest.java | 83 mProfiles.length * invocationNumber)).onProfileServiceStateChanged( in setAllProfilesState() 171 timeout(PROFILE_START_MILLIS).times(invocationNumber)).onProfileServiceStateChanged( in testEnableDisableInterleaved() 174 timeout(PROFILE_START_MILLIS).times(invocationNumber)).onProfileServiceStateChanged( in testEnableDisableInterleaved() 200 NUM_REPEATS * profileNumber + i + 1)).onProfileServiceStateChanged( in testRepeatedEnableDisableSingly() 205 NUM_REPEATS * profileNumber + i + 1)).onProfileServiceStateChanged( in testRepeatedEnableDisableSingly()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | ProfileService.java | 314 mAdapterService.onProfileServiceStateChanged(this, BluetoothAdapter.STATE_ON); in doStart() 327 mAdapterService.onProfileServiceStateChanged(this, BluetoothAdapter.STATE_OFF); in doStop()
|
D | AdapterService.java | 322 public void onProfileServiceStateChanged(ProfileService profile, int state) { in onProfileServiceStateChanged() method in AdapterService
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/ |
D | TestUtils.java | 149 verify(adapterService, timeout(SERVICE_TOGGLE_TIMEOUT_MS)).onProfileServiceStateChanged( in startService() 180 verify(adapterService, timeout(SERVICE_TOGGLE_TIMEOUT_MS)).onProfileServiceStateChanged( in stopService()
|