/frameworks/base/services/core/java/com/android/server/media/ |
D | BluetoothProfileMonitor.java | 58 mBluetoothAdapter.getProfileProxy(mContext, mProfileListener, BluetoothProfile.HEARING_AID); in start() 73 case BluetoothProfile.HEARING_AID: in isProfileSupported() 97 case BluetoothProfile.HEARING_AID: in getGroupId() 115 case BluetoothProfile.HEARING_AID: in onServiceConnected() 132 case BluetoothProfile.HEARING_AID: in onServiceDisconnected()
|
D | LegacyBluetoothRouteController.java | 105 mBluetoothAdapter.getProfileProxy(mContext, mProfileListener, BluetoothProfile.HEARING_AID); in start() 301 newBtRoute.mConnectedProfiles.put(BluetoothProfile.HEARING_AID, true); in createBluetoothRoute() 416 if (mConnectedProfiles.get(BluetoothProfile.HEARING_AID, false)) { in getRouteType() 439 case BluetoothProfile.HEARING_AID: in onServiceConnected() 442 BluetoothProfile.HEARING_AID); in onServiceConnected() 470 case BluetoothProfile.HEARING_AID: in onServiceDisconnected() 543 handleConnectionStateChanged(BluetoothProfile.HEARING_AID, intent, device); in onReceive()
|
D | BluetoothDeviceRoutesManager.java | 274 if (mBluetoothProfileMonitor.isProfileSupported(BluetoothProfile.HEARING_AID, device)) { in getConnectedProfiles() 275 connectedProfiles.put(BluetoothProfile.HEARING_AID, true); in getConnectedProfiles() 289 if (mBluetoothProfileMonitor.isProfileSupported(BluetoothProfile.HEARING_AID, device)) { in getDeviceType() 305 BluetoothProfile.HEARING_AID, device); in getRouteIdForType()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | BluetoothEventManagerTest.java | 546 assertThat(mCachedDevice1.isActiveDevice(BluetoothProfile.HEARING_AID)).isFalse(); in dispatchActiveDeviceChanged_withA2dpAndHearingAid() 549 assertThat(mCachedDevice2.isActiveDevice(BluetoothProfile.HEARING_AID)).isFalse(); in dispatchActiveDeviceChanged_withA2dpAndHearingAid() 557 assertThat(mCachedDevice1.isActiveDevice(BluetoothProfile.HEARING_AID)).isFalse(); in dispatchActiveDeviceChanged_withA2dpAndHearingAid() 560 assertThat(mCachedDevice2.isActiveDevice(BluetoothProfile.HEARING_AID)).isFalse(); in dispatchActiveDeviceChanged_withA2dpAndHearingAid() 566 .dispatchActiveDeviceChanged(mCachedDevice2, BluetoothProfile.HEARING_AID); in dispatchActiveDeviceChanged_withA2dpAndHearingAid() 569 assertThat(mCachedDevice1.isActiveDevice(BluetoothProfile.HEARING_AID)).isFalse(); in dispatchActiveDeviceChanged_withA2dpAndHearingAid() 572 assertThat(mCachedDevice2.isActiveDevice(BluetoothProfile.HEARING_AID)).isTrue(); in dispatchActiveDeviceChanged_withA2dpAndHearingAid() 575 mBluetoothEventManager.dispatchActiveDeviceChanged(null, BluetoothProfile.HEARING_AID); in dispatchActiveDeviceChanged_withA2dpAndHearingAid() 581 assertThat(mCachedDevice2.isActiveDevice(BluetoothProfile.HEARING_AID)).isFalse(); in dispatchActiveDeviceChanged_withA2dpAndHearingAid() 592 BluetoothProfile.HEARING_AID); in dispatchActiveDeviceChanged_callExpectedOnActiveDeviceChanged() [all …]
|
D | HearingAidProfileTest.java | 80 mServiceListener.onServiceConnected(BluetoothProfile.HEARING_AID, mService); in onServiceConnected_isProfileReady() 88 mServiceListener.onServiceDisconnected(BluetoothProfile.HEARING_AID); in onServiceDisconnected_profileNotReady()
|
D | CachedBluetoothDeviceTest.java | 146 when(mHearingAidProfile.getProfileId()).thenReturn(BluetoothProfile.HEARING_AID); in setUp() 699 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getConnectionSummary_testSingleProfileActiveDeviceHearingAid() 703 mCachedDevice.onActiveDeviceChanged(false, BluetoothProfile.HEARING_AID); in getConnectionSummary_testSingleProfileActiveDeviceHearingAid() 718 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getTvConnectionSummary_testSingleProfileActiveDeviceHearingAid() 723 mCachedDevice.onActiveDeviceChanged(false, BluetoothProfile.HEARING_AID); in getTvConnectionSummary_testSingleProfileActiveDeviceHearingAid() 763 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getConnectionSummary_testHearingAidLeftEarBatteryNotInCall_returnActiveBattery() 779 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getTvConnectionSummary_testHearingAidLeftEarBatteryWithoutInCall_returnBattery() 795 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getConnectionSummary_testHearingAidLeftEarBatteryInCall_returnActiveBattery() 812 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getTvConnectionSummary_testHearingAidLeftEarBatteryInCall_returnBattery() 829 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getConnectionSummary_testHearingAidRightEarInCall_returnActiveRightEar() [all …]
|
D | LocalBluetoothProfileManagerTest.java | 210 new int[] {BluetoothProfile.HEARING_AID})); in stateChangedHandler_receiveHearingAidConnectionStateChanged_dispatchDeviceManager() 222 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.HEARING_AID); in stateChangedHandler_receiveHearingAidConnectionStateChanged_dispatchDeviceManager()
|
D | HearingAidDeviceManagerTest.java | 219 .setServiceData(BluetoothUuid.HEARING_AID, new byte[]{0}).build(); in initHearingAidDeviceIfNeeded_asha_scanFilterNotNull_setEmptyHearingAidInfo() 735 when(mCachedDevice1.isActiveDevice(BluetoothProfile.HEARING_AID)).thenReturn(true); in onActiveDeviceChanged_connected_callSetStrategies() 749 when(mCachedDevice1.isActiveDevice(BluetoothProfile.HEARING_AID)).thenReturn(false); in onActiveDeviceChanged_disconnected_callSetStrategiesWithAutoValue()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | HearingAidProfile.java | 130 return BluetoothProfile.HEARING_AID; in getProfileId() 140 new HearingAidServiceListener(), BluetoothProfile.HEARING_AID); in HearingAidProfile() 213 return mBluetoothAdapter.getActiveDevices(BluetoothProfile.HEARING_AID); in getActiveDevices() 342 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.HEARING_AID, in finalize()
|
D | HearingAidDeviceManager.java | 83 if (BluetoothUuid.HEARING_AID.equals(serviceUuid) in initHearingAidDeviceIfNeeded() 85 || BluetoothUuid.HEARING_AID.equals(serviceDataUuid) in initHearingAidDeviceIfNeeded() 272 if (device.isActiveDevice(BluetoothProfile.HEARING_AID) || device.isActiveDevice( in onActiveDeviceChanged()
|
D | CachedBluetoothDeviceManager.java | 186 || profileId == BluetoothProfile.HEARING_AID in syncDeviceWithinHearingAidSetIfNeeded() 375 if (profileId == BluetoothProfile.HEARING_AID) { in onProfileConnectionStateChangedIfProcessed()
|
D | CachedBluetoothDevice.java | 169 case BluetoothProfile.HEARING_AID: 351 case BluetoothProfile.HEARING_AID: in setProfileConnectedStatus() 811 case BluetoothProfile.HEARING_AID: in onActiveDeviceChanged() 856 case BluetoothProfile.HEARING_AID: in isActiveDevice() 971 } else if (ArrayUtils.contains(uuids, BluetoothUuid.HEARING_AID)) { in onUuidChanged()
|
D | LocalBluetoothProfileManager.java | 188 if (mHearingAidProfile == null && supportedList.contains(BluetoothProfile.HEARING_AID)) { in updateLocalProfiles() 707 if (ArrayUtils.contains(uuids, BluetoothUuid.HEARING_AID) && mHearingAidProfile != null) { in updateProfiles()
|
D | BluetoothEventManager.java | 515 bluetoothProfile = BluetoothProfile.HEARING_AID; in onReceive()
|
D | BluetoothUtils.java | 698 || cachedDevice.isActiveDevice(BluetoothProfile.HEARING_AID) in isActiveMediaDevice()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/spatial/domain/interactor/ |
D | SpatialAudioComponentInteractor.kt | 216 BluetoothProfile.HEARING_AID -> { in <lambda>() 239 setOf(BluetoothProfile.A2DP, BluetoothProfile.LE_AUDIO, BluetoothProfile.HEARING_AID) in <lambda>()
|
/frameworks/base/media/java/android/media/ |
D | BluetoothProfileConnectionInfo.java | 113 return new BluetoothProfileConnectionInfo(BluetoothProfile.HEARING_AID, suppressNoisyIntent, in createHearingAidInfo()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImplTest.java | 241 BluetoothProfile.HEARING_AID, /* isConnected= */ true, /* isActive= */ true); in isBluetoothAudioActive_hearingAidIsActive_true() 243 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.HEARING_AID); in isBluetoothAudioActive_hearingAidIsActive_true() 328 BluetoothProfile.HEARING_AID, /* isConnected= */ true, /* isActive= */ false); in isBluetoothAudioProfileOnly_onlyHearingAidConnected_true()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImpl.java | 166 + " active[HEARING_AID]=" + device.isActiveDevice(BluetoothProfile.HEARING_AID) in getDeviceString() 296 || device.isActiveDevice(BluetoothProfile.HEARING_AID) in updateActive() 319 || profileId == BluetoothProfile.HEARING_AID in updateAudioProfile()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | BtHelper.java | 235 mBluetoothProfileServiceListener, BluetoothProfile.HEARING_AID); in onSystemReady() 596 case BluetoothProfile.HEARING_AID: in onBtProfileDisconnected() 667 case BluetoothProfile.HEARING_AID: in onBtProfileConnected() 714 case BluetoothProfile.HEARING_AID: { in onBtProfileConnected() 771 case BluetoothProfile.HEARING_AID: in isProfilePoxyConnected() 962 case BluetoothProfile.HEARING_AID: 982 case BluetoothProfile.HEARING_AID:
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | BluetoothMediaDeviceTest.java | 56 when(mDevice.isActiveDevice(BluetoothProfile.HEARING_AID)).thenReturn(true); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/hearingaid/ |
D | HearingDevicesCheckerTest.java | 107 when(mCachedDevice.isActiveDevice(BluetoothProfile.HEARING_AID)).thenReturn(true); in isAnyActiveHearingDevice_hearingAidActiveAndConnected_returnTrue()
|
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/backup/ |
D | SystemSettings.java | 68 Settings.System.HEARING_AID, in getSettingsToBackUp()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/component/spatial/domain/interactor/ |
D | SpatialAudioComponentInteractorTest.kt | 79 whenever(profileId).thenReturn(BluetoothProfile.HEARING_AID) in <lambda>()
|
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/ |
D | SystemSettingsValidators.java | 195 VALIDATORS.put(System.HEARING_AID, BOOLEAN_VALIDATOR); in VALIDATORS.put() argument
|