Searched refs:mA2dpProfile (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceTest.java | 71 private A2dpProfile mA2dpProfile; field in CachedBluetoothDeviceTest 95 when(mA2dpProfile.isProfileReady()).thenReturn(true); in setUp() 154 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in getConnectionSummary_testMultipleProfileConnectDisconnect() 165 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testMultipleProfileConnectDisconnect() 183 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in getConnectionSummary_testSingleProfileActiveDeviceA2dp() 196 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileActiveDeviceA2dp() 202 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in getConnectionSummary_testSingleProfileActiveDeviceA2dp() 207 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileActiveDeviceA2dp() 215 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in getConnectionSummary_shortSummary_returnShortSummary() 228 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_shortSummary_returnShortSummary() [all …]
|
D | BluetoothEventManagerTest.java | 69 private A2dpProfile mA2dpProfile; field in BluetoothEventManagerTest 101 when(mA2dpProfile.isProfileReady()).thenReturn(true); in setUp() 250 mCachedDevice1.onProfileStateChanged(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 251 mCachedDevice2.onProfileStateChanged(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 322 mCachedDevice2.onProfileStateChanged(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in dispatchActiveDeviceChanged_connectedMemberDevices_activeDeviceChanged() 353 mCachedDevice1.onProfileStateChanged(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in dispatchActiveDeviceChanged_withA2dpAndHearingAid()
|
D | CachedBluetoothDeviceManagerTest.java | 76 private A2dpProfile mA2dpProfile; field in CachedBluetoothDeviceManagerTest 126 when(mA2dpProfile.isProfileReady()).thenReturn(true); in setUp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothProfileManager.java | 93 private A2dpProfile mA2dpProfile; field in LocalBluetoothProfileManager 142 if (mA2dpProfile == null && supportedList.contains(BluetoothProfile.A2DP)) { in updateLocalProfiles() 144 mA2dpProfile = new A2dpProfile(mContext, mDeviceManager, this); in updateLocalProfiles() 145 addProfile(mA2dpProfile, A2dpProfile.NAME, in updateLocalProfiles() 472 profile = mA2dpProfile; in isManagerReady() 484 return mA2dpProfile; in getA2dpProfile() 611 if (BluetoothUuid.containsAnyUuid(uuids, A2dpProfile.SINK_UUIDS) && mA2dpProfile != null) { in updateProfiles() 612 profiles.add(mA2dpProfile); in updateProfiles() 613 removedProfiles.remove(mA2dpProfile); in updateProfiles()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | BluetoothRouteProvider.java | 68 BluetoothA2dp mA2dpProfile; field in BluetoothRouteProvider 297 if (mA2dpProfile != null && mA2dpProfile.getConnectedDevices().contains(device)) { in createBluetoothRoute() 454 mA2dpProfile = (BluetoothA2dp) proxy; in onServiceConnected() 486 mA2dpProfile = null; in onServiceDisconnected()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | LocalMediaManagerTest.java | 86 private A2dpProfile mA2dpProfile; field in LocalMediaManagerTest 116 when(mLocalProfileManager.getA2dpProfile()).thenReturn(mA2dpProfile); in setUp() 588 when(mA2dpProfile.getActiveDevice()).thenReturn(bluetoothDevice); in onDeviceListAdded_haveMutingExpectedDevice_addMutingExpectedDevice() 687 when(mA2dpProfile.getActiveDevice()).thenReturn(bluetoothDevice2); in updateCurrentConnectedDevice_bluetoothDeviceIsActive_returnBluetoothDevice() 715 when(mA2dpProfile.getActiveDevice()).thenReturn(null); in updateCurrentConnectedDevice_phoneDeviceIsActive_returnPhoneDevice()
|
D | MediaDeviceTest.java | 107 private A2dpProfile mA2dpProfile; field in MediaDeviceTest 167 when(mProfileManager.getA2dpProfile()).thenReturn(mA2dpProfile); in setUp() 169 when(mA2dpProfile.getActiveDevice()).thenReturn(mDevice); in setUp()
|