Home
last modified time | relevance | path

Searched refs:A2DP (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java263 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testGetPriority()
269 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testGetPriority()
275 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testGetPriority()
330 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testOutgoingConnectMissingAudioSinkUuid()
352 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testOutgoingConnectPriorityOff()
365 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testOutgoingConnectTimeout()
395 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testOutgoingConnectDisconnectSuccess()
465 when(mDatabaseManager.getProfileConnectionPolicy(testDevice, BluetoothProfile.A2DP)) in testMaxConnectDevices()
492 when(mDatabaseManager.getProfileConnectionPolicy(extraTestDevice, BluetoothProfile.A2DP)) in testMaxConnectDevices()
507 when(mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.A2DP)) in testCreateStateMachineStackEvents()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DPhonePolicy.java116 BluetoothProfile.A2DP, -1, // No-op argument
121 BluetoothProfile.A2DP, -1, // No-op argument
287 BluetoothProfile.A2DP, BluetoothProfile.CONNECTION_POLICY_ALLOWED); in processInitProfilePriorities()
312 if (((profileId == BluetoothProfile.A2DP) || (profileId == BluetoothProfile.HEADSET))) { in processProfileStateChanged()
315 case BluetoothProfile.A2DP: in processProfileStateChanged()
325 if (profileId == BluetoothProfile.A2DP) { in processProfileStateChanged()
343 mDatabaseManager.setConnection(device, profileId == BluetoothProfile.A2DP); in processActiveDeviceChanged()
DSilenceDeviceManager.java140 addConnectedDevice(device, BluetoothProfile.A2DP); in handleMessage()
146 removeConnectedDevice(device, BluetoothProfile.A2DP); in handleMessage()
299 case BluetoothProfile.A2DP: in addConnectedDevice()
317 case BluetoothProfile.A2DP: in removeConnectedDevice()
DConfig.java71 (1 << BluetoothProfile.A2DP)),
DAdapterService.java839 if (profile == BluetoothProfile.A2DP) { in isSupported()
945 BluetoothProfile.A2DP, device) && mA2dpService.getConnectionPolicy(device) in connectEnabledProfiles()
2411 BluetoothProfile.A2DP, device)) { in connectAllEnabledProfiles()
DAdapterProperties.java132 sendConnectionStateChange(BluetoothProfile.A2DP, intent);
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DAvailableMediaBluetoothDeviceUpdaterTest.java159 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in onProfileConnectionStateChanged_a2dpDeviceConnected_notInCall_addPreference()
172 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in onProfileConnectionStateChanged_a2dpDeviceConnected_inCall_removePreference()
185 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in onProfileConnectionStateChanged_hfpDeviceConnected_notInCall_removePreference()
198 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in onProfileConnectionStateChanged_hfpDeviceConnected_inCall_addPreference()
233 BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.A2DP); in onProfileConnectionStateChanged_deviceDisconnected_removePreference()
DConnectedBluetoothDeviceUpdaterTest.java159 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in onProfileConnectionStateChanged_a2dpDeviceConnected_inCall_addPreference()
172 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in onProfileConnectionStateChanged_a2dpDeviceConnected_notInCall_removePreference()
185 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in onProfileConnectionStateChanged_hfpDeviceConnected_inCall_removePreference()
198 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in onProfileConnectionStateChanged_hfpDeviceConnected_notInCall_addPreference()
234 BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.A2DP); in onProfileConnectionStateChanged_deviceDisconnected_removePreference()
DSavedBluetoothDeviceUpdaterTest.java105 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in onProfileConnectionStateChanged_deviceConnected_removePreference()
115 BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.A2DP); in onProfileConnectionStateChanged_deviceDisconnected_addPreference()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java471 BluetoothProfile.A2DP, suppressNoisyIntent, -1); in removeActiveDevice()
568 BluetoothProfile.A2DP, true, -1); in setActiveDevice()
595 newActiveDevice, BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP, in setActiveDevice()
649 if (!mDatabaseManager.setProfileConnectionPolicy(device, BluetoothProfile.A2DP, in setConnectionPolicy()
675 .getProfileConnectionPolicy(device, BluetoothProfile.A2DP); in getConnectionPolicy()
1003 BluetoothProfile.A2DP, mAdapterService.obfuscateAddress(device), in updateAndBroadcastActiveDevice()
1149 MetricsLogger.logProfileConnectionEvent(BluetoothMetricsProto.ProfileId.A2DP); in connectionStateChanged()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DAvailableMediaBluetoothDeviceUpdater.java63 currentAudioProfile = BluetoothProfile.A2DP; in isFilterMatched()
83 case BluetoothProfile.A2DP: in isFilterMatched()
DConnectedBluetoothDeviceUpdater.java63 currentAudioProfile = BluetoothProfile.A2DP; in isFilterMatched()
84 case BluetoothProfile.A2DP: in isFilterMatched()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DAvailableMediaBluetoothDeviceUpdater.java63 currentAudioProfile = BluetoothProfile.A2DP; in isFilterMatched()
83 case BluetoothProfile.A2DP: in isFilterMatched()
DConnectedBluetoothDeviceUpdater.java63 currentAudioProfile = BluetoothProfile.A2DP; in isFilterMatched()
84 case BluetoothProfile.A2DP: in isFilterMatched()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothA2dpConnector.java126 if (!adapter.getProfileProxy(mContext, mServiceConnection, BluetoothProfile.A2DP)) { in openConnection()
135 adapter.closeProfileProxy(BluetoothProfile.A2DP, mA2dpProfile); in closeA2dpProfileProxy()
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java338 if(!mBluetoothAdapter.getProfileProxy(mContext, this, BluetoothProfile.A2DP)) in getProfileProxys()
542 mBluetoothAdapter.closeProfileProxy(BluetoothProfile.A2DP, mA2dp); in complete()
683 case BluetoothProfile.A2DP: in onServiceConnected()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DPhonePolicyTest.java134 .setProfileConnectionPolicy(device, BluetoothProfile.A2DP, in testProcessInitProfilePriorities()
342 updateProfileConnectionStateHelper(connectionOrder.get(0), BluetoothProfile.A2DP, in testReconnectOnPartialConnect_PreviousPartialFail()
558 updateProfileConnectionStateHelper(testDevices[2], BluetoothProfile.A2DP, in testSetConnectionPolicyMultipleDevices()
772 case BluetoothProfile.A2DP: in updateProfileConnectionStateHelper()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
DMetadata.java77 case BluetoothProfile.A2DP: in setProfileConnectionPolicy()
120 case BluetoothProfile.A2DP: in getProfileConnectionPolicy()
DDatabaseManager.java877 data.setProfileConnectionPolicy(BluetoothProfile.A2DP, a2dpConnectionPolicy); in migrateSettingsGlobal()
/packages/apps/Settings/src/com/android/settings/media/
DMediaOutputIndicatorWorker.java77 if (bluetoothProfile == BluetoothProfile.A2DP) { in onActiveDeviceChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/media/
DMediaOutputIndicatorWorker.java77 if (bluetoothProfile == BluetoothProfile.A2DP) { in onActiveDeviceChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DDevelopmentSettingsDashboardFragment.java191 BluetoothProfile.A2DP); in onCreateView()
203 adapter.closeProfileProxy(BluetoothProfile.A2DP, mBluetoothA2dp); in onDestroyView()
/packages/apps/Settings/src/com/android/settings/development/
DDevelopmentSettingsDashboardFragment.java191 BluetoothProfile.A2DP); in onCreateView()
203 adapter.closeProfileProxy(BluetoothProfile.A2DP, mBluetoothA2dp); in onDestroyView()
/packages/services/Car/service/src/com/android/car/
DUtils.java71 sProfileNames.put(BluetoothProfile.A2DP, "A2DP Source"); in sProfileNames.put() argument
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DA2dpReceiver.java128 BluetoothProfile.A2DP); in A2dpReceiver()

12