/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | PhonePolicyTest.java | 131 .setProfileConnectionPolicy(device, BluetoothProfile.HEADSET, in testProcessInitProfilePriorities() 248 updateProfileConnectionStateHelper(connectionOrder.get(1), BluetoothProfile.HEADSET, in testDisconnectNoAutoConnect() 292 updateProfileConnectionStateHelper(bondedDevices[0], BluetoothProfile.HEADSET, in testReconnectOnPartialConnect() 333 updateProfileConnectionStateHelper(connectionOrder.get(0), BluetoothProfile.HEADSET, in testReconnectOnPartialConnect_PreviousPartialFail() 351 updateProfileConnectionStateHelper(connectionOrder.get(0), BluetoothProfile.HEADSET, in testReconnectOnPartialConnect_PreviousPartialFail() 360 updateProfileConnectionStateHelper(connectionOrder.get(0), BluetoothProfile.HEADSET, in testReconnectOnPartialConnect_PreviousPartialFail() 367 updateProfileConnectionStateHelper(connectionOrder.get(0), BluetoothProfile.HEADSET, in testReconnectOnPartialConnect_PreviousPartialFail() 425 updateProfileConnectionStateHelper(a2dpNotConnectedDevice1, BluetoothProfile.HEADSET, in testAutoConnectMultipleDevices() 430 updateProfileConnectionStateHelper(a2dpNotConnectedDevice2, BluetoothProfile.HEADSET, in testAutoConnectMultipleDevices() 524 updateProfileConnectionStateHelper(testDevices[1], BluetoothProfile.HEADSET, in testSetConnectionPolicyMultipleDevices() [all …]
|
D | MetricsLoggerTest.java | 79 MetricsLogger.logProfileConnectionEvent(ProfileId.HEADSET); in testLogProfileConnectionEventMultipleProfile() 90 Assert.assertTrue(profileConnectionCountMap.containsKey(ProfileId.HEADSET)); in testLogProfileConnectionEventMultipleProfile() 92 profileConnectionCountMap.get(ProfileId.HEADSET).getNumTimesConnected()); in testLogProfileConnectionEventMultipleProfile()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetServiceTest.java | 235 eq(BluetoothProfile.HEADSET))) in testConnectDevice_connectDeviceBelowLimit() 347 eq(BluetoothProfile.HEADSET))) in testConnectDevice_connectDeviceAboveLimit() 399 eq(BluetoothProfile.HEADSET))) in testConnectAudio_withOneDevice() 451 eq(BluetoothProfile.HEADSET))) in testConnectAudio_withMultipleDevices() 527 eq(BluetoothProfile.HEADSET))) in testConnectAudio_connectTwoAudioChannelsShouldFail() 599 eq(BluetoothProfile.HEADSET))) in testConnectAudio_firstConnectedAudioDevice() 666 eq(BluetoothProfile.HEADSET))) in testConnectAudio_deviceDisconnected() 723 eq(BluetoothProfile.HEADSET))) in testPhoneStateChange_oneDeviceSaveState() 782 eq(BluetoothProfile.HEADSET))) in testPhoneStateChange_multipleDevicesSaveState() 840 eq(BluetoothProfile.HEADSET))) in testSetSilenceMode() [all …]
|
D | HeadsetServiceAndStateMachineTest.java | 282 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.HEADSET)) in testConnectFromApi() 325 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.HEADSET)) in testUnbondDevice_disconnectBeforeUnbond() 368 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.HEADSET)) in testUnbondDevice_disconnectAfterUnbond() 1153 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.HEADSET)) in connectTestDevice()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | SilenceDeviceManager.java | 164 addConnectedDevice(device, BluetoothProfile.HEADSET); in handleMessage() 170 removeConnectedDevice(device, BluetoothProfile.HEADSET); in handleMessage() 304 case BluetoothProfile.HEADSET: in addConnectedDevice() 322 case BluetoothProfile.HEADSET: in removeConnectedDevice()
|
D | PhonePolicy.java | 111 BluetoothProfile.HEADSET, -1, // No-op argument 126 BluetoothProfile.HEADSET, -1, // No-op argument 279 BluetoothProfile.HEADSET, BluetoothProfile.CONNECTION_POLICY_ALLOWED); in processInitProfilePriorities() 312 if (((profileId == BluetoothProfile.A2DP) || (profileId == BluetoothProfile.HEADSET))) { in processProfileStateChanged() 318 case BluetoothProfile.HEADSET: in processProfileStateChanged()
|
D | Config.java | 69 (1 << BluetoothProfile.HEADSET)),
|
D | AdapterService.java | 829 if (profile == BluetoothProfile.HEADSET) { in isSupported() 957 BluetoothProfile.HEADSET, device) && mHeadsetService.getConnectionPolicy(device) in connectEnabledProfiles() 2425 BluetoothProfile.HEADSET, device)) { in connectAllEnabledProfiles()
|
D | AdapterProperties.java | 129 sendConnectionStateChange(BluetoothProfile.HEADSET, intent);
|
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
D | BluetoothDeviceManager.java | 50 if (profile == BluetoothProfile.HEADSET) { 77 if (profile == BluetoothProfile.HEADSET) { 129 BluetoothProfile.HEADSET); in BluetoothDeviceManager()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | AvailableMediaBluetoothDeviceUpdater.java | 60 currentAudioProfile = BluetoothProfile.HEADSET; in isFilterMatched() 86 case BluetoothProfile.HEADSET: in isFilterMatched()
|
D | ConnectedBluetoothDeviceUpdater.java | 60 currentAudioProfile = BluetoothProfile.HEADSET; in isFilterMatched() 87 case BluetoothProfile.HEADSET: in isFilterMatched()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | AvailableMediaBluetoothDeviceUpdater.java | 60 currentAudioProfile = BluetoothProfile.HEADSET; in isFilterMatched() 86 case BluetoothProfile.HEADSET: in isFilterMatched()
|
D | ConnectedBluetoothDeviceUpdater.java | 60 currentAudioProfile = BluetoothProfile.HEADSET; in isFilterMatched() 87 case BluetoothProfile.HEADSET: in isFilterMatched()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | BluetoothPeripheralHandover.java | 335 if(!mBluetoothAdapter.getProfileProxy(mContext, this, BluetoothProfile.HEADSET)) in getProfileProxys() 545 mBluetoothAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mHeadset); in complete() 677 case BluetoothProfile.HEADSET: in onServiceConnected()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/ |
D | Metadata.java | 83 case BluetoothProfile.HEADSET: in setProfileConnectionPolicy() 124 case BluetoothProfile.HEADSET: in getProfileConnectionPolicy()
|
D | DatabaseManager.java | 879 data.setProfileConnectionPolicy(BluetoothProfile.HEADSET, headsetConnectionPolicy); in migrateSettingsGlobal()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BluetoothDeviceManagerTest.java | 91 serviceCaptor.capture(), eq(BluetoothProfile.HEADSET)); in setUp() 170 serviceListenerUnderTest.onServiceDisconnected(BluetoothProfile.HEADSET); in testHeadsetServiceDisconnect()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 869 if (!mDatabaseManager.setProfileConnectionPolicy(device, BluetoothProfile.HEADSET, in setConnectionPolicy() 895 .getProfileConnectionPolicy(device, BluetoothProfile.HEADSET); in getConnectionPolicy() 1663 MetricsLogger.logProfileConnectionEvent(BluetoothMetricsProto.ProfileId.HEADSET); in onConnectionStateChangedFromStateMachine() 1761 BluetoothProfile.HEADSET, mAdapterService.obfuscateAddress(device), in broadcastActiveDevice()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/storage/ |
D | DatabaseManagerTest.java | 985 BluetoothProfile.HEADSET, connectionPolicy)); in testSetGetProfileConnectionPolicyCase() 987 mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.HEADSET)); in testSetGetProfileConnectionPolicyCase() 1007 mDatabaseManager.getProfileConnectionPolicy(mTestDevice, BluetoothProfile.HEADSET)); in testSetGetProfileConnectionPolicyCase()
|
/packages/services/Car/service/src/com/android/car/ |
D | Utils.java | 70 sProfileNames.put(BluetoothProfile.HEADSET, "HFP Server"); in sProfileNames.put() argument
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallNotifier.java | 143 BluetoothProfile.HEADSET); in CallNotifier()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | BluetoothPhoneServiceImpl.java | 484 mBluetoothAdapter.getProfileProxy(context, mProfileListener, BluetoothProfile.HEADSET); in BluetoothPhoneServiceImpl()
|