/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | PhonePolicyTest.java | 130 .setProfileConnectionPolicy(device, BluetoothProfile.HEADSET, in testProcessInitProfilePriorities() 249 updateProfileConnectionStateHelper(connectionOrder.get(1), BluetoothProfile.HEADSET, in testDisconnectNoAutoConnect() 293 updateProfileConnectionStateHelper(bondedDevices[0], BluetoothProfile.HEADSET, in testReconnectOnPartialConnect() 335 updateProfileConnectionStateHelper(connectionOrder.get(0), BluetoothProfile.HEADSET, in testReconnectOnPartialConnect_PreviousPartialFail() 353 updateProfileConnectionStateHelper(connectionOrder.get(0), BluetoothProfile.HEADSET, in testReconnectOnPartialConnect_PreviousPartialFail() 362 updateProfileConnectionStateHelper(connectionOrder.get(0), BluetoothProfile.HEADSET, in testReconnectOnPartialConnect_PreviousPartialFail() 369 updateProfileConnectionStateHelper(connectionOrder.get(0), BluetoothProfile.HEADSET, in testReconnectOnPartialConnect_PreviousPartialFail() 427 updateProfileConnectionStateHelper(a2dpNotConnectedDevice1, BluetoothProfile.HEADSET, in testAutoConnectMultipleDevices() 432 updateProfileConnectionStateHelper(a2dpNotConnectedDevice2, BluetoothProfile.HEADSET, in testAutoConnectMultipleDevices() 526 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 | 236 eq(BluetoothProfile.HEADSET))) in testConnectDevice_connectDeviceBelowLimit() 348 eq(BluetoothProfile.HEADSET))) in testConnectDevice_connectDeviceAboveLimit() 400 eq(BluetoothProfile.HEADSET))) in testConnectAudio_withOneDevice() 452 eq(BluetoothProfile.HEADSET))) in testConnectAudio_withMultipleDevices() 528 eq(BluetoothProfile.HEADSET))) in testConnectAudio_connectTwoAudioChannelsShouldFail() 600 eq(BluetoothProfile.HEADSET))) in testConnectAudio_firstConnectedAudioDevice() 667 eq(BluetoothProfile.HEADSET))) in testConnectAudio_deviceDisconnected() 724 eq(BluetoothProfile.HEADSET))) in testPhoneStateChange_oneDeviceSaveState() 783 eq(BluetoothProfile.HEADSET))) in testPhoneStateChange_multipleDevicesSaveState() 841 eq(BluetoothProfile.HEADSET))) in testSetSilenceMode() [all …]
|
D | HeadsetServiceAndStateMachineTest.java | 282 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.HEADSET)) in testConnectFromApi() 326 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.HEADSET)) in testUnbondDevice_disconnectBeforeUnbond() 370 when(mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.HEADSET)) in testUnbondDevice_disconnectAfterUnbond() 1156 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 | 108 BluetoothProfile.HEADSET, -1, // No-op argument 123 BluetoothProfile.HEADSET, -1, // No-op argument 274 BluetoothProfile.HEADSET, BluetoothProfile.CONNECTION_POLICY_ALLOWED); in processInitProfilePriorities() 307 if (((profileId == BluetoothProfile.A2DP) || (profileId == BluetoothProfile.HEADSET))) { in processProfileStateChanged() 313 case BluetoothProfile.HEADSET: in processProfileStateChanged()
|
D | Config.java | 75 (1 << BluetoothProfile.HEADSET)),
|
D | AdapterService.java | 843 if (profile == BluetoothProfile.HEADSET) { in isSupported() 971 BluetoothProfile.HEADSET, device) && mHeadsetService.getConnectionPolicy(device) in connectEnabledProfiles() 2465 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/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/Settings/src/com/android/settings/bluetooth/ |
D | AvailableMediaBluetoothDeviceUpdater.java | 62 currentAudioProfile = BluetoothProfile.HEADSET; in isFilterMatched() 88 case BluetoothProfile.HEADSET: in isFilterMatched()
|
D | ConnectedBluetoothDeviceUpdater.java | 62 currentAudioProfile = BluetoothProfile.HEADSET; in isFilterMatched() 89 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 | 865 .setProfileConnectionPolicy(device, BluetoothProfile.HEADSET, connectionPolicy); in setConnectionPolicy() 888 .getProfileConnectionPolicy(device, BluetoothProfile.HEADSET); in getConnectionPolicy() 1656 MetricsLogger.logProfileConnectionEvent(BluetoothMetricsProto.ProfileId.HEADSET); in onConnectionStateChangedFromStateMachine() 1754 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()
|