Home
last modified time | relevance | path

Searched refs:mA2dpProfile (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceTest.java91 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 …]
DCsipDeviceManagerTest.java75 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()
DBluetoothEventManagerTest.java84 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()
DCachedBluetoothDeviceManagerTest.java78 private A2dpProfile mA2dpProfile; field in CachedBluetoothDeviceManagerTest
128 when(mA2dpProfile.isProfileReady()).thenReturn(true); in setUp()
/frameworks/base/services/core/java/com/android/server/media/
DBluetoothProfileMonitor.java44 private BluetoothA2dp mA2dpProfile; field in BluetoothProfileMonitor
68 bluetoothProfile = mA2dpProfile; in isProfileSupported()
113 mA2dpProfile = (BluetoothA2dp) proxy; in onServiceConnected()
130 mA2dpProfile = null; in onServiceDisconnected()
DLegacyBluetoothRouteController.java80 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/
DLocalBluetoothProfileManager.java95 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/
DLocalMediaManagerTest.java87 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()
DMediaDeviceTest.java109 private A2dpProfile mA2dpProfile; field in MediaDeviceTest
168 when(mProfileManager.getA2dpProfile()).thenReturn(mA2dpProfile); in setUp()
170 when(mA2dpProfile.getActiveDevice()).thenReturn(mDevice); in setUp()