Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DAdapterServiceTest.java206 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 …]
DProfileServiceTest.java70 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/
DProfileService.java268 mAdapterService.onProfileServiceStateChanged(this, BluetoothAdapter.STATE_ON); in doStart()
277 mAdapterService.onProfileServiceStateChanged(this, BluetoothAdapter.STATE_OFF); in doStop()
DAdapterService.java268 public void onProfileServiceStateChanged(ProfileService profile, int state) { in onProfileServiceStateChanged() method in AdapterService
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java148 verify(adapterService, timeout(SERVICE_TOGGLE_TIMEOUT_MS)).onProfileServiceStateChanged( in startService()
179 verify(adapterService, timeout(SERVICE_TOGGLE_TIMEOUT_MS)).onProfileServiceStateChanged( in stopService()