Home
last modified time | relevance | path

Searched refs:HEADSET (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DPhonePolicyTest.java131 .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 …]
DMetricsLoggerTest.java79 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/
DHeadsetServiceTest.java235 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 …]
DHeadsetServiceAndStateMachineTest.java282 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/
DSilenceDeviceManager.java164 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()
DPhonePolicy.java111 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()
DConfig.java69 (1 << BluetoothProfile.HEADSET)),
DAdapterService.java829 if (profile == BluetoothProfile.HEADSET) { in isSupported()
957 BluetoothProfile.HEADSET, device) && mHeadsetService.getConnectionPolicy(device) in connectEnabledProfiles()
2425 BluetoothProfile.HEADSET, device)) { in connectAllEnabledProfiles()
DAdapterProperties.java129 sendConnectionStateChange(BluetoothProfile.HEADSET, intent);
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothDeviceManager.java50 if (profile == BluetoothProfile.HEADSET) {
77 if (profile == BluetoothProfile.HEADSET) {
129 BluetoothProfile.HEADSET); in BluetoothDeviceManager()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DAvailableMediaBluetoothDeviceUpdater.java60 currentAudioProfile = BluetoothProfile.HEADSET; in isFilterMatched()
86 case BluetoothProfile.HEADSET: in isFilterMatched()
DConnectedBluetoothDeviceUpdater.java60 currentAudioProfile = BluetoothProfile.HEADSET; in isFilterMatched()
87 case BluetoothProfile.HEADSET: in isFilterMatched()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DAvailableMediaBluetoothDeviceUpdater.java60 currentAudioProfile = BluetoothProfile.HEADSET; in isFilterMatched()
86 case BluetoothProfile.HEADSET: in isFilterMatched()
DConnectedBluetoothDeviceUpdater.java60 currentAudioProfile = BluetoothProfile.HEADSET; in isFilterMatched()
87 case BluetoothProfile.HEADSET: in isFilterMatched()
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java335 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/
DMetadata.java83 case BluetoothProfile.HEADSET: in setProfileConnectionPolicy()
124 case BluetoothProfile.HEADSET: in getProfileConnectionPolicy()
DDatabaseManager.java879 data.setProfileConnectionPolicy(BluetoothProfile.HEADSET, headsetConnectionPolicy); in migrateSettingsGlobal()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothDeviceManagerTest.java91 serviceCaptor.capture(), eq(BluetoothProfile.HEADSET)); in setUp()
170 serviceListenerUnderTest.onServiceDisconnected(BluetoothProfile.HEADSET); in testHeadsetServiceDisconnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java869 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/
DDatabaseManagerTest.java985 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/
DUtils.java70 sProfileNames.put(BluetoothProfile.HEADSET, "HFP Server"); in sProfileNames.put() argument
/packages/services/Telephony/src/com/android/phone/
DCallNotifier.java143 BluetoothProfile.HEADSET); in CallNotifier()
/packages/services/Telecomm/src/com/android/server/telecom/
DBluetoothPhoneServiceImpl.java484 mBluetoothAdapter.getProfileProxy(context, mProfileListener, BluetoothProfile.HEADSET); in BluetoothPhoneServiceImpl()