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.java120 doReturn(new ParcelUuid[]{BluetoothUuid.HEARING_AID}).when(mAdapterService) in setUp()
220 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testGetSetPriority()
227 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testGetSetPriority()
234 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testGetSetPriority()
289 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectMissingHearingAidUuid()
292 .getProfileConnectionPolicy(mRightDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectMissingHearingAidUuid()
295 .getProfileConnectionPolicy(mSingleDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectMissingHearingAidUuid()
319 .getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectPriorityOff()
334 .getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectTimeout()
337 .getProfileConnectionPolicy(mRightDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectTimeout()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidService.java244 if (!ArrayUtils.contains(featureUuids, BluetoothUuid.HEARING_AID)) { in connect()
402 if (!ArrayUtils.contains(featureUuids, BluetoothUuid.HEARING_AID)) { in getDevicesMatchingConnectionStates()
489 .setProfileConnectionPolicy(device, BluetoothProfile.HEARING_AID, connectionPolicy); in setConnectionPolicy()
514 .getProfileConnectionPolicy(device, BluetoothProfile.HEARING_AID); in getConnectionPolicy()
678 BluetoothProfile.HEARING_AID, mAdapterService.obfuscateAddress(device), in reportActiveDevice()
799 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.java128 BluetoothProfile.HEARING_AID, -1, // No-op argument
295 BluetoothUuid.HEARING_AID) && (hearingAidService.getConnectionPolicy(device) in processInitProfilePriorities()
299 BluetoothProfile.HEARING_AID, BluetoothProfile.CONNECTION_POLICY_ALLOWED); in processInitProfilePriorities()
DConfig.java109 (1 << BluetoothProfile.HEARING_AID))
DAdapterService.java888 if (profile == BluetoothProfile.HEARING_AID) { in isSupported()
889 return ArrayUtils.contains(remoteDeviceUuids, BluetoothUuid.HEARING_AID); in isSupported()
1010 BluetoothProfile.HEARING_AID, device) in connectEnabledProfiles()
2504 BluetoothProfile.HEARING_AID, device)) { in connectAllEnabledProfiles()
DAdapterProperties.java138 sendConnectionStateChange(BluetoothProfile.HEARING_AID, intent);
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DAvailableMediaBluetoothDeviceUpdaterTest.java213 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.HEARING_AID); in onProfileConnectionStateChanged_hearingAidDeviceConnected_notInCall_addPreference()
226 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.HEARING_AID); in onProfileConnectionStateChanged_hearingAidDeviceConnected_inCall_addPreference()
DConnectedBluetoothDeviceUpdaterTest.java212 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.HEARING_AID); in onProfileConnectionStateChanged_hearingAidDeviceConnected_inCall_removePreference()
226 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.HEARING_AID); in onProfileConnectionStateChanged_hearingAidDeviceConnected_notInCall_removePreference()
/packages/services/Telephony/src/com/android/phone/settings/
DAccessibilitySettingsFragment.java113 Settings.System.HEARING_AID, SettingsConstants.HAC_DISABLED); in onCreate()
166 Settings.System.putInt(mContext.getContentResolver(), Settings.System.HEARING_AID, hac); in onPreferenceTreeClick()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
DMetadata.java110 case BluetoothProfile.HEARING_AID: in setProfileConnectionPolicy()
142 case BluetoothProfile.HEARING_AID: in getProfileConnectionPolicy()
DDatabaseManager.java890 data.setProfileConnectionPolicy(BluetoothProfile.HEARING_AID, in migrateSettingsGlobal()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DAccessibilityHearingAidPreferenceController.java176 if (supportedList.contains(BluetoothProfile.HEARING_AID)) { in isHearingAidProfileSupported()
/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.java88 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.java450 android.provider.Settings.System.HEARING_AID, in onCreate()