/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidServiceTest.java | 145 doReturn(new ParcelUuid[] {BluetoothUuid.HEARING_AID}) in setUp() 217 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testGetSetPriority() 223 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testGetSetPriority() 228 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testGetSetPriority() 302 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectMissingHearingAidUuid() 305 mRightDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectMissingHearingAidUuid() 308 mSingleDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectMissingHearingAidUuid() 329 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectPriorityOff() 340 when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectTimeout() 343 mRightDevice, BluetoothProfile.HEARING_AID)) in testOutgoingConnectTimeout() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | HearingAidCompatibilityPreferenceControllerTest.java | 98 Settings.System.putInt(mContext.getContentResolver(), Settings.System.HEARING_AID, in isChecked_enabledHac_shouldReturnTrue() 108 Settings.System.putInt(mContext.getContentResolver(), Settings.System.HEARING_AID, in isChecked_disabledHac_shouldReturnFalse() 121 Settings.System.HEARING_AID, HAC_DISABLED)).isEqualTo(HAC_ENABLED); in setChecked_enabled_shouldEnableHac() 130 Settings.System.HEARING_AID, HAC_DISABLED)).isEqualTo(HAC_DISABLED); in setChecked_disabled_shouldDisableHac()
|
D | HearingAidHelperTest.java | 100 mShadowBluetoothAdapter.addSupportedProfiles(BluetoothProfile.HEARING_AID); in isHearingAidSupported_ashaSupported_returnTrue() 140 mShadowBluetoothAdapter.addSupportedProfiles(BluetoothProfile.HEARING_AID); in getConnectedHearingAidDeviceList_oneDeviceAdded_getOneDevice() 151 mShadowBluetoothAdapter.addSupportedProfiles(BluetoothProfile.HEARING_AID); in getConnectedHearingAidDeviceList_oneSubDeviceAdded_getZeroDevice() 164 mShadowBluetoothAdapter.addSupportedProfiles(BluetoothProfile.HEARING_AID); in getConnectedHearingAidDevice_getExpectedCachedBluetoothDevice()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 249 if (!Utils.arrayContains(featureUuids, BluetoothUuid.HEARING_AID)) { in connect() 408 if (!Utils.arrayContains(featureUuids, BluetoothUuid.HEARING_AID)) { in getDevicesMatchingConnectionStates() 493 device, BluetoothProfile.HEARING_AID, connectionPolicy)) { in setConnectionPolicy() 518 return mDatabaseManager.getProfileConnectionPolicy(device, BluetoothProfile.HEARING_AID); in getConnectionPolicy() 693 mAdapterService.handleActiveDeviceChange(BluetoothProfile.HEARING_AID, mActiveDevice); in notifyActiveDeviceChanged() 799 BluetoothProfile.HEARING_AID, in reportActiveDevice() 907 BluetoothMetricsProto.ProfileId.HEARING_AID); in connectionStateChanged() 927 BluetoothProfile.HEARING_AID, fromState, toState); in connectionStateChanged() 931 BluetoothProfile.HEARING_AID, device, fromState, toState); in connectionStateChanged() 933 device, BluetoothProfile.HEARING_AID, toState, fromState); in connectionStateChanged() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
D | BluetoothDeviceManager.java | 79 PROFILE_TO_AUDIO_ROUTE_MAP.put(BluetoothProfile.HEARING_AID, in PROFILE_TO_AUDIO_ROUTE_MAP.put() argument 131 } else if (profile == BluetoothProfile.HEARING_AID) { 199 } else if (profile == BluetoothProfile.HEARING_AID) { 317 BluetoothProfile.HEARING_AID); in BluetoothDeviceManager() 399 BluetoothProfile.HEARING_AID)) { in getUniqueConnectedDevices() 776 callProfile = BluetoothProfile.HEARING_AID; in connectAudio() 815 } else if (callProfile == BluetoothProfile.HEARING_AID) { in connectAudio() 863 callProfile = BluetoothProfile.HEARING_AID; in connectAudio() 875 || callProfile == BluetoothProfile.HEARING_AID) { in connectAudio() 902 BluetoothProfile.HEARING_AID)) { in cacheHearingAidDevice()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | AudioRoutingManager.java | 433 if (mDbManager.getProfileConnectionPolicy(device, BluetoothProfile.HEARING_AID) in getAudioRoutingDevice() 435 routingDevice.supportedProfiles.add(BluetoothProfile.HEARING_AID); in getAudioRoutingDevice() 437 routingDevice.supportedProfiles.remove(BluetoothProfile.HEARING_AID); in getAudioRoutingDevice() 543 || profilesToActivate.contains(BluetoothProfile.HEARING_AID)) { in activateDeviceProfile() 580 case BluetoothProfile.HEARING_AID -> { in setActiveDevice() 622 case BluetoothProfile.HEARING_AID -> { in removeActiveDevice() 649 case BluetoothProfile.HEARING_AID: in canActivateTogether() 742 removeActiveDevice(BluetoothProfile.HEARING_AID, true); in wiredAudioDeviceConnected()
|
D | Config.java | 114 HearingAidService.isEnabled(), BluetoothProfile.HEARING_AID), 159 HearingAidService.isEnabled(), BluetoothProfile.HEARING_AID), 230 setProfileEnabled(BluetoothProfile.HEARING_AID, false); in init() 247 setProfileEnabled(BluetoothProfile.HEARING_AID, false); in init()
|
D | PhonePolicy.java | 235 if (mAdapterService.isProfileSupported(dev, BluetoothProfile.HEARING_AID)) { in isLeAudioOnlyGroup() 270 if (Utils.arrayContains(uuids, BluetoothUuid.HEARING_AID)) { in isLeAudioOnlyDevice() 532 && Utils.arrayContains(uuids, BluetoothUuid.HEARING_AID) in processInitProfilePriorities() 541 BluetoothProfile.HEARING_AID, in processInitProfilePriorities() 553 BluetoothProfile.HEARING_AID, in processInitProfilePriorities()
|
D | ActiveDeviceManager.java | 189 case BluetoothProfile.HEARING_AID: in profileConnectionStateChanged() 207 case BluetoothProfile.HEARING_AID: in profileConnectionStateChanged() 234 case BluetoothProfile.HEARING_AID: in profileActiveDeviceChanged()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | HearingAidCompatibilityPreferenceController.java | 70 Settings.System.HEARING_AID, HAC_DISABLED); in isChecked() 77 return Settings.System.putInt(mContext.getContentResolver(), Settings.System.HEARING_AID, in setChecked()
|
D | HearingDevicePairingFragment.java | 409 new ScanFilter.Builder().setServiceUuid(BluetoothUuid.HEARING_AID).build()); in initHearingDeviceLeScanFilters() 411 .setServiceData(BluetoothUuid.HEARING_AID, new byte[0]).build()); in initHearingDeviceLeScanFilters() 433 if (uuids.contains(BluetoothUuid.HEARING_AID) || uuids.contains(BluetoothUuid.HAS)) { in isAndroidCompatibleHearingAid() 441 if (scanRecord.getServiceData(BluetoothUuid.HEARING_AID) != null in isAndroidCompatibleHearingAid() 487 if (gatt.getService(BluetoothUuid.HEARING_AID.getUuid()) != null in discoverServices()
|
D | AvailableHearingDevicePreferenceController.java | 105 if (bluetoothProfile == BluetoothProfile.HEARING_AID) { in onActiveDeviceChanged()
|
D | HearingAidHelper.java | 93 return supportedList.contains(BluetoothProfile.HEARING_AID) in isHearingAidSupported()
|
D | AccessibilityHearingAidPreferenceController.java | 187 if (bluetoothProfile == BluetoothProfile.HEARING_AID) { in onActiveDeviceChanged()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothProfile.java | 188 int HEARING_AID = 21; field 464 case HEARING_AID: in getProfileName()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | AudioRoutingManagerTest.java | 539 assertThat(mAudioRoutingManager.getActiveDevices(BluetoothProfile.HEARING_AID)) in twoHearingAidDevicesConnected_WithTheSameHiSyncId() 583 assertThat(mAudioRoutingManager.getActiveDevices(BluetoothProfile.HEARING_AID)).isEmpty(); in hearingAidActive_setA2dpActiveExplicitly() 598 assertThat(mAudioRoutingManager.getActiveDevices(BluetoothProfile.HEARING_AID)).isEmpty(); in hearingAidActive_setHeadsetActiveExplicitly() 605 assertThat(mAudioRoutingManager.getActiveDevices(BluetoothProfile.HEARING_AID)).isEmpty(); in hearingAidActiveWithNull_clearHearingAidActiveDevices() 1057 assertThat(mAudioRoutingManager.getActiveDevices(BluetoothProfile.HEARING_AID)).isEmpty(); in setActiveDeviceFailsUponConnection() 1242 device, BluetoothProfile.HEARING_AID, BluetoothProfile.CONNECTION_POLICY_ALLOWED); in hearingAidConnected() 1248 BluetoothProfile.HEARING_AID, in hearingAidConnected() 1263 BluetoothProfile.HEARING_AID, in hearingAidDisconnected() 1276 mAudioRoutingManager.removeActiveDevice(BluetoothProfile.HEARING_AID, false); in switchHearingAidActiveDevice() 1280 device, BluetoothProfile.HEARING_AID); in switchHearingAidActiveDevice()
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | uuid.rs | 34 pub const HEARING_AID: &str = "0000FDF0-0000-1000-8000-00805f9b34fb"; constant 142 (Uuid::from_string(HEARING_AID).unwrap(), Profile::HearingAid),
|
/packages/modules/Bluetooth/system/blueberry/utils/ |
D | bt_constants.py | 130 HEARING_AID = 21 variable in BluetoothProfile
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | AccessibilitySettingsFragment.java | 113 Settings.System.HEARING_AID, SettingsConstants.HAC_DISABLED); in onCreate() 171 Settings.System.putInt(mContext.getContentResolver(), Settings.System.HEARING_AID, hac); in onPreferenceTreeClick()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsSpatialAudioController.java | 76 BluetoothProfile.A2DP, BluetoothProfile.LE_AUDIO, BluetoothProfile.HEARING_AID); 333 case BluetoothProfile.HEARING_AID: in getAvailableDeviceByProfileState()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | Server.kt | 59 BluetoothProfile.HEARING_AID to ::Asha,
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/ |
D | Metadata.java | 179 case BluetoothProfile.HEARING_AID: in setProfileConnectionPolicy() 233 case BluetoothProfile.HEARING_AID: in getProfileConnectionPolicy()
|
/packages/modules/Bluetooth/framework/tests/util/src/android/bluetooth/cts/ |
D | TestUtils.java | 80 case BluetoothProfile.HEARING_AID -> { in isProfileEnabled()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | ConnectedBluetoothDeviceUpdaterTest.java | 245 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.HEARING_AID); in onProfileConnectionStateChanged_ashaHearingAidConnected_inCall_removePreference() 259 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.HEARING_AID); in onProfileConnectionStateChanged_ashaHearingAidConnected_notInCall_removePreference()
|
D | AvailableMediaBluetoothDeviceUpdaterTest.java | 249 BluetoothProfile.HEARING_AID); in onProfileConnectionStateChanged_ashaHearingAidConnected_notInCall_addPreference() 264 BluetoothProfile.HEARING_AID); in onProfileConnectionStateChanged_ashaHearingAidConnected_inCall_addPreference()
|