Searched refs:onProfileServiceStateChanged (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | AdapterServiceTest.java | 206 mAdapterService.onProfileServiceStateChanged(mMockGattService, BluetoothAdapter.STATE_ON); in doEnable() 222 mAdapterService.onProfileServiceStateChanged(mMockService, BluetoothAdapter.STATE_ON); in doEnable() 223 mAdapterService.onProfileServiceStateChanged(mMockService2, BluetoothAdapter.STATE_ON); in doEnable() 251 mAdapterService.onProfileServiceStateChanged(mMockService, BluetoothAdapter.STATE_OFF); in doDisable() 252 mAdapterService.onProfileServiceStateChanged(mMockService2, BluetoothAdapter.STATE_OFF); in doDisable() 266 mAdapterService.onProfileServiceStateChanged(mMockGattService, BluetoothAdapter.STATE_OFF); in doDisable() 366 mAdapterService.onProfileServiceStateChanged(mMockService, BluetoothAdapter.STATE_OFF); in testGattStopTimeout() 367 mAdapterService.onProfileServiceStateChanged(mMockService2, BluetoothAdapter.STATE_OFF); in testGattStopTimeout() 402 mAdapterService.onProfileServiceStateChanged(mMockGattService, BluetoothAdapter.STATE_ON); in testProfileStartTimeout() 416 mAdapterService.onProfileServiceStateChanged(mMockService, BluetoothAdapter.STATE_ON); in testProfileStartTimeout() [all …]
|
D | ProfileServiceTest.java | 70 mProfiles.length * invocationNumber)).onProfileServiceStateChanged( in setAllProfilesState() 155 timeout(PROFILE_START_MILLIS).times(invocationNumber)).onProfileServiceStateChanged( in testEnableDisableInterleaved() 158 timeout(PROFILE_START_MILLIS).times(invocationNumber)).onProfileServiceStateChanged( in testEnableDisableInterleaved() 184 NUM_REPEATS * profileNumber + i + 1)).onProfileServiceStateChanged( in testRepeatedEnableDisableSingly() 189 NUM_REPEATS * profileNumber + i + 1)).onProfileServiceStateChanged( in testRepeatedEnableDisableSingly()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | ProfileService.java | 268 mAdapterService.onProfileServiceStateChanged(this, BluetoothAdapter.STATE_ON); in doStart() 277 mAdapterService.onProfileServiceStateChanged(this, BluetoothAdapter.STATE_OFF); in doStop()
|
D | AdapterService.java | 268 public void onProfileServiceStateChanged(ProfileService profile, int state) { in onProfileServiceStateChanged() method in AdapterService
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/ |
D | TestUtils.java | 148 verify(adapterService, timeout(SERVICE_TOGGLE_TIMEOUT_MS)).onProfileServiceStateChanged( in startService() 179 verify(adapterService, timeout(SERVICE_TOGGLE_TIMEOUT_MS)).onProfileServiceStateChanged( in stopService()
|