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.java130 .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 …]
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.java236 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 …]
DHeadsetServiceAndStateMachineTest.java282 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/
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.java108 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()
DConfig.java75 (1 << BluetoothProfile.HEADSET)),
DAdapterService.java843 if (profile == BluetoothProfile.HEADSET) { in isSupported()
971 BluetoothProfile.HEADSET, device) && mHeadsetService.getConnectionPolicy(device) in connectEnabledProfiles()
2465 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/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/Settings/src/com/android/settings/bluetooth/
DAvailableMediaBluetoothDeviceUpdater.java62 currentAudioProfile = BluetoothProfile.HEADSET; in isFilterMatched()
88 case BluetoothProfile.HEADSET: in isFilterMatched()
DConnectedBluetoothDeviceUpdater.java62 currentAudioProfile = BluetoothProfile.HEADSET; in isFilterMatched()
89 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.java865 .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/
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()