Home
last modified time | relevance | path

Searched refs:HEARING_AID (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java122 doReturn(new ParcelUuid[]{BluetoothUuid.HEARING_AID}).when(mAdapterService) in setUp()
221 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testGetSetPriority()
227 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testGetSetPriority()
233 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testGetSetPriority()
287 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectMissingHearingAidUuid()
290 .getProfileConnectionPolicy(mRightDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectMissingHearingAidUuid()
293 .getProfileConnectionPolicy(mSingleDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectMissingHearingAidUuid()
316 .getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectPriorityOff()
330 .getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectTimeout()
333 .getProfileConnectionPolicy(mRightDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectTimeout()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidService.java252 if (!ArrayUtils.contains(featureUuids, BluetoothUuid.HEARING_AID)) { in connect()
411 if (!ArrayUtils.contains(featureUuids, BluetoothUuid.HEARING_AID)) { in getDevicesMatchingConnectionStates()
498 if (!mDatabaseManager.setProfileConnectionPolicy(device, BluetoothProfile.HEARING_AID, in setConnectionPolicy()
527 .getProfileConnectionPolicy(device, BluetoothProfile.HEARING_AID); in getConnectionPolicy()
690 BluetoothProfile.HEARING_AID, mAdapterService.obfuscateAddress(device), in reportActiveDevice()
813 BluetoothMetricsProto.ProfileId.HEARING_AID); in connectionStateChanged()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothDeviceManager.java54 } else if (profile == BluetoothProfile.HEARING_AID) {
83 } else if (profile == BluetoothProfile.HEARING_AID) {
131 BluetoothProfile.HEARING_AID); in BluetoothDeviceManager()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DPhonePolicy.java140 BluetoothProfile.HEARING_AID, -1, // No-op argument
319 BluetoothUuid.HEARING_AID) && (hearingAidService.getConnectionPolicy(device) in processInitProfilePriorities()
323 BluetoothProfile.HEARING_AID, BluetoothProfile.CONNECTION_POLICY_ALLOWED); in processInitProfilePriorities()
DConfig.java109 (1 << BluetoothProfile.HEARING_AID))
DAdapterService.java1007 if (profile == BluetoothProfile.HEARING_AID) { in isSupported()
1008 return ArrayUtils.contains(remoteDeviceUuids, BluetoothUuid.HEARING_AID); in isSupported()
1134 BluetoothProfile.HEARING_AID, device) in connectEnabledProfiles()
2936 BluetoothProfile.HEARING_AID, device)) { in connectAllEnabledProfiles()
DAdapterProperties.java150 sendConnectionStateChange(BluetoothProfile.HEARING_AID, intent);
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DAvailableMediaBluetoothDeviceUpdaterTest.java219 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.HEARING_AID); in onProfileConnectionStateChanged_hearingAidDeviceConnected_notInCall_addPreference()
232 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.HEARING_AID); in onProfileConnectionStateChanged_hearingAidDeviceConnected_inCall_addPreference()
DConnectedBluetoothDeviceUpdaterTest.java218 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.HEARING_AID); in onProfileConnectionStateChanged_hearingAidDeviceConnected_inCall_removePreference()
232 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.HEARING_AID); in onProfileConnectionStateChanged_hearingAidDeviceConnected_notInCall_removePreference()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
DMetadata.java110 case BluetoothProfile.HEARING_AID: in setProfileConnectionPolicy()
145 case BluetoothProfile.HEARING_AID: in getProfileConnectionPolicy()
DDatabaseManager.java874 data.setProfileConnectionPolicy(BluetoothProfile.HEARING_AID, in migrateSettingsGlobal()
/packages/services/Telephony/src/com/android/phone/settings/
DAccessibilitySettingsFragment.java113 Settings.System.HEARING_AID, SettingsConstants.HAC_DISABLED); in onCreate()
171 Settings.System.putInt(mContext.getContentResolver(), Settings.System.HEARING_AID, hac); in onPreferenceTreeClick()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DUtilsGetProfileNameTest.java71 {BluetoothProfile.HEARING_AID, "Hearing Aid"}, in provideParams()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityHearingAidPreferenceController.java176 if (supportedList.contains(BluetoothProfile.HEARING_AID)) { in isHearingAidProfileSupported()
/packages/services/Car/service/src/com/android/car/
DUtils.java92 sProfileNames.put(BluetoothProfile.HEARING_AID, "Hearing Aid"); in sProfileNames.put() argument
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityHearingAidPreferenceControllerTest.java208 mShadowBluetoothAdapter.addSupportedProfiles(BluetoothProfile.HEARING_AID); in setupHearingAidEnvironment()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothDeviceManagerTest.java189 serviceListenerUnderTest.onServiceDisconnected(BluetoothProfile.HEARING_AID); in testHearingAidServiceDisconnect()
/packages/services/Telephony/src/com/android/phone/
DPhoneGlobals.java528 android.provider.Settings.System.HEARING_AID, in onCreate()