Home
last modified time | relevance | path

Searched refs:onProfileStateChanged (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceTest.java90 mCachedDevice.onProfileStateChanged(mPanProfile, BluetoothProfile.STATE_CONNECTED); in testGetConnectionSummary_testSingleProfileConnectDisconnect()
94 mCachedDevice.onProfileStateChanged(mPanProfile, BluetoothProfile.STATE_DISCONNECTED); in testGetConnectionSummary_testSingleProfileConnectDisconnect()
100 mCachedDevice.onProfileStateChanged(mPanProfile, BluetoothProfile.STATE_CONNECTED); in testGetConnectionSummary_testSingleProfileConnectDisconnect()
104 mCachedDevice.onProfileStateChanged(mPanProfile, BluetoothProfile.STATE_DISCONNECTED); in testGetConnectionSummary_testSingleProfileConnectDisconnect()
111 mCachedDevice.onProfileStateChanged(mPanProfile, BluetoothProfile.STATE_CONNECTED); in testGetConnectionSummary_testSingleProfileConnectDisconnect()
115 mCachedDevice.onProfileStateChanged(mPanProfile, BluetoothProfile.STATE_DISCONNECTED); in testGetConnectionSummary_testSingleProfileConnectDisconnect()
124 mCachedDevice.onProfileStateChanged(mHfpProfile, BluetoothProfile.STATE_CONNECTED); in testGetConnectionSummary_testMultipleProfileConnectDisconnect()
125 mCachedDevice.onProfileStateChanged(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in testGetConnectionSummary_testMultipleProfileConnectDisconnect()
126 mCachedDevice.onProfileStateChanged(mPanProfile, BluetoothProfile.STATE_CONNECTED); in testGetConnectionSummary_testMultipleProfileConnectDisconnect()
130 mCachedDevice.onProfileStateChanged(mHfpProfile, BluetoothProfile.STATE_DISCONNECTED); in testGetConnectionSummary_testMultipleProfileConnectDisconnect()
[all …]
DCachedBluetoothDeviceManagerTest.java280 cachedDevice1.onProfileStateChanged(mHearingAidProfile, BluetoothProfile.STATE_CONNECTED); in testOnHiSyncIdChanged_sameHiSyncIdAndOneConnected_chooseConnectedDevice()
281 cachedDevice2.onProfileStateChanged(mHearingAidProfile, BluetoothProfile.STATE_CONNECTED); in testOnHiSyncIdChanged_sameHiSyncIdAndOneConnected_chooseConnectedDevice()
350 cachedDevice1.onProfileStateChanged(mHearingAidProfile, BluetoothProfile.STATE_CONNECTED); in testOnProfileConnectionStateChanged_singleDeviceConnected_visible()
391 cachedDevice1.onProfileStateChanged(mHearingAidProfile, BluetoothProfile.STATE_CONNECTED); in testOnProfileConnectionStateChanged_twoDevicesConnected_oneDeviceVisible()
392 cachedDevice2.onProfileStateChanged(mHearingAidProfile, BluetoothProfile.STATE_CONNECTED); in testOnProfileConnectionStateChanged_twoDevicesConnected_oneDeviceVisible()
445 cachedDevice1.onProfileStateChanged(mHearingAidProfile, BluetoothProfile.STATE_CONNECTED); in testOnProfileConnectionStateChanged_twoDevicesDisconnected_oneDeviceVisible()
446 cachedDevice2.onProfileStateChanged(mHearingAidProfile, BluetoothProfile.STATE_CONNECTED); in testOnProfileConnectionStateChanged_twoDevicesDisconnected_oneDeviceVisible()
731 cachedDevice1.onProfileStateChanged(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in testOnActiveDeviceChanged_connectedDevices_activeDeviceChanged()
732 cachedDevice2.onProfileStateChanged(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in testOnActiveDeviceChanged_connectedDevices_activeDeviceChanged()
733 cachedDevice1.onProfileStateChanged(mHfpProfile, BluetoothProfile.STATE_CONNECTED); in testOnActiveDeviceChanged_connectedDevices_activeDeviceChanged()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHidDeviceProfile.java80 device.onProfileStateChanged(HidDeviceProfile.this, in onServiceConnected()
DHidProfile.java67 device.onProfileStateChanged(HidProfile.this, BluetoothProfile.STATE_CONNECTED); in onServiceConnected()
DMapClientProfile.java76 device.onProfileStateChanged(MapClientProfile.this, in onServiceConnected()
DPbapClientProfile.java74 … device.onProfileStateChanged(PbapClientProfile.this, BluetoothProfile.STATE_CONNECTED); in onServiceConnected()
DA2dpSinkProfile.java72 … device.onProfileStateChanged(A2dpSinkProfile.this, BluetoothProfile.STATE_CONNECTED); in onServiceConnected()
DMapProfile.java75 device.onProfileStateChanged(MapProfile.this, in onServiceConnected()
DSapProfile.java74 device.onProfileStateChanged(SapProfile.this, in onServiceConnected()
DHfpClientProfile.java76 device.onProfileStateChanged( in onServiceConnected()
DHearingAidProfile.java75 device.onProfileStateChanged(HearingAidProfile.this, in onServiceConnected()
DHeadsetProfile.java75 device.onProfileStateChanged(HeadsetProfile.this, in onServiceConnected()
DLocalBluetoothProfileManager.java380 cachedDevice.onProfileStateChanged(mProfile, newState); in onReceiveInternal()
402 cachedDevice.onProfileStateChanged(mProfile, BluetoothProfile.STATE_CONNECTED); in onReceiveInternal()
DA2dpProfile.java81 device.onProfileStateChanged(A2dpProfile.this, BluetoothProfile.STATE_CONNECTED); in onServiceConnected()
DCachedBluetoothDevice.java144 void onProfileStateChanged(LocalBluetoothProfile profile, int newProfileState) { in onProfileStateChanged() method in CachedBluetoothDevice