/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceTest.java | 91 private A2dpProfile mA2dpProfile; field in CachedBluetoothDeviceTest 141 when(mA2dpProfile.isProfileReady()).thenReturn(true); in setUp() 142 when(mA2dpProfile.getProfileId()).thenReturn(BluetoothProfile.A2DP); in setUp() 183 testTransitionFromConnectingToDisconnected(mA2dpProfile, mLeAudioProfile, in onProfileStateChanged_testConnectingToDisconnected_policyAllowed_problem() 189 testTransitionFromConnectingToDisconnected(mLeAudioProfile, mA2dpProfile, in onProfileStateChanged_testConnectingToDisconnected_policyAllowed_problem() 195 testTransitionFromConnectingToDisconnected(mA2dpProfile, mLeAudioProfile, in onProfileStateChanged_testConnectingToDisconnected_policyForbidden_noProblem() 201 testTransitionFromConnectingToDisconnected(mLeAudioProfile, mA2dpProfile, in onProfileStateChanged_testConnectingToDisconnected_policyForbidden_noProblem() 207 testTransitionFromConnectingToDisconnected(mA2dpProfile, mLeAudioProfile, in onProfileStateChanged_testConnectingToDisconnected_policyUnknown_noProblem() 213 testTransitionFromConnectingToDisconnected(mLeAudioProfile, mA2dpProfile, in onProfileStateChanged_testConnectingToDisconnected_policyUnknown_noProblem() 311 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in getConnectionSummary_testMultipleProfileConnectDisconnect() [all …]
|
D | CsipDeviceManagerTest.java | 75 private A2dpProfile mA2dpProfile; field in CsipDeviceManagerTest 123 when(mLocalProfileManager.getA2dpProfile()).thenReturn(mA2dpProfile); in setUp() 146 profiles.add(mA2dpProfile); in setUp() 158 profiles.add(mA2dpProfile); in setUp()
|
D | BluetoothEventManagerTest.java | 84 private A2dpProfile mA2dpProfile; field in BluetoothEventManagerTest 123 when(mA2dpProfile.isProfileReady()).thenReturn(true); in setUp() 436 mCachedDevice1.onProfileStateChanged(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 437 mCachedDevice2.onProfileStateChanged(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 508 mCachedDevice2.onProfileStateChanged(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in dispatchActiveDeviceChanged_connectedMemberDevices_activeDeviceChanged() 539 mCachedDevice1.onProfileStateChanged(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in dispatchActiveDeviceChanged_withA2dpAndHearingAid()
|
D | CachedBluetoothDeviceManagerTest.java | 78 private A2dpProfile mA2dpProfile; field in CachedBluetoothDeviceManagerTest 128 when(mA2dpProfile.isProfileReady()).thenReturn(true); in setUp()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | BluetoothProfileMonitor.java | 44 private BluetoothA2dp mA2dpProfile; field in BluetoothProfileMonitor 68 bluetoothProfile = mA2dpProfile; in isProfileSupported() 113 mA2dpProfile = (BluetoothA2dp) proxy; in onServiceConnected() 130 mA2dpProfile = null; in onServiceDisconnected()
|
D | LegacyBluetoothRouteController.java | 80 private BluetoothA2dp mA2dpProfile; field in LegacyBluetoothRouteController 296 if (mA2dpProfile != null && mA2dpProfile.getConnectedDevices().contains(device)) { in createBluetoothRoute() 435 mA2dpProfile = (BluetoothA2dp) proxy; in onServiceConnected() 468 mA2dpProfile = null; in onServiceDisconnected()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothProfileManager.java | 95 private A2dpProfile mA2dpProfile; field in LocalBluetoothProfileManager 145 if (mA2dpProfile == null && supportedList.contains(BluetoothProfile.A2DP)) { in updateLocalProfiles() 147 mA2dpProfile = new A2dpProfile(mContext, mDeviceManager, this); in updateLocalProfiles() 148 addProfile(mA2dpProfile, A2dpProfile.NAME, in updateLocalProfiles() 503 profile = mA2dpProfile; in isManagerReady() 515 return mA2dpProfile; in getA2dpProfile() 645 if (BluetoothUuid.containsAnyUuid(uuids, A2dpProfile.SINK_UUIDS) && mA2dpProfile != null) { in updateProfiles() 646 profiles.add(mA2dpProfile); in updateProfiles() 647 removedProfiles.remove(mA2dpProfile); in updateProfiles()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | LocalMediaManagerTest.java | 87 private A2dpProfile mA2dpProfile; field in LocalMediaManagerTest 116 when(mLocalProfileManager.getA2dpProfile()).thenReturn(mA2dpProfile); in setUp() 476 when(mA2dpProfile.getActiveDevice()).thenReturn(bluetoothDevice); in onDeviceListAdded_haveMutingExpectedDevice_addMutingExpectedDevice() 565 when(mA2dpProfile.getActiveDevice()).thenReturn(bluetoothDevice2); in updateCurrentConnectedDevice_bluetoothDeviceIsActive_returnBluetoothDevice() 593 when(mA2dpProfile.getActiveDevice()).thenReturn(null); in updateCurrentConnectedDevice_phoneDeviceIsActive_returnPhoneDevice()
|
D | MediaDeviceTest.java | 109 private A2dpProfile mA2dpProfile; field in MediaDeviceTest 168 when(mProfileManager.getA2dpProfile()).thenReturn(mA2dpProfile); in setUp() 170 when(mA2dpProfile.getActiveDevice()).thenReturn(mDevice); in setUp()
|