Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManagerTest.java470 assertThat(cachedDevice1.isActiveDevice(BluetoothProfile.HEARING_AID)).isFalse(); in onActiveDeviceChanged_withA2dpAndHearingAid()
473 assertThat(cachedDevice2.isActiveDevice(BluetoothProfile.HEARING_AID)).isFalse(); in onActiveDeviceChanged_withA2dpAndHearingAid()
480 assertThat(cachedDevice1.isActiveDevice(BluetoothProfile.HEARING_AID)).isFalse(); in onActiveDeviceChanged_withA2dpAndHearingAid()
483 assertThat(cachedDevice2.isActiveDevice(BluetoothProfile.HEARING_AID)).isFalse(); in onActiveDeviceChanged_withA2dpAndHearingAid()
488 mCachedDeviceManager.onActiveDeviceChanged(cachedDevice2, BluetoothProfile.HEARING_AID); in onActiveDeviceChanged_withA2dpAndHearingAid()
491 assertThat(cachedDevice1.isActiveDevice(BluetoothProfile.HEARING_AID)).isFalse(); in onActiveDeviceChanged_withA2dpAndHearingAid()
494 assertThat(cachedDevice2.isActiveDevice(BluetoothProfile.HEARING_AID)).isTrue(); in onActiveDeviceChanged_withA2dpAndHearingAid()
497 mCachedDeviceManager.onActiveDeviceChanged(null, BluetoothProfile.HEARING_AID); in onActiveDeviceChanged_withA2dpAndHearingAid()
503 assertThat(cachedDevice2.isActiveDevice(BluetoothProfile.HEARING_AID)).isFalse(); in onActiveDeviceChanged_withA2dpAndHearingAid()
DCachedBluetoothDeviceTest.java340 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getConnectionSummary_testSingleProfileActiveDeviceHearingAid()
344 mCachedDevice.onActiveDeviceChanged(false, BluetoothProfile.HEARING_AID); in getConnectionSummary_testSingleProfileActiveDeviceHearingAid()
370 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getConnectionSummary_testHearingAidBatteryWithoutInCall_returnActiveBattery()
384 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getConnectionSummary_testHearingAidInCall_returnActive()
399 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getConnectionSummary_testHearingAidBatteryInCall_returnActiveBattery()
478 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getConnectionSummary_trueWirelessActiveDeviceWithBattery_returnActiveWithBattery()
643 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getCarConnectionSummary_singleProfileActiveDeviceHearingAid()
647 mCachedDevice.onActiveDeviceChanged(false, BluetoothProfile.HEARING_AID); in getCarConnectionSummary_singleProfileActiveDeviceHearingAid()
DLocalBluetoothProfileManagerTest.java197 new int[] {BluetoothProfile.HEARING_AID})); in stateChangedHandler_receiveHAPConnectionStateChanged_shouldDispatchDeviceManager()
/frameworks/base/services/core/java/com/android/server/
DBluetoothAirplaneModeListener.java162 BluetoothProfile.HEARING_AID); in AirplaneModeHelper()
173 case BluetoothProfile.HEARING_AID:
188 case BluetoothProfile.HEARING_AID:
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHearingAidProfile.java94 return BluetoothProfile.HEARING_AID; in getProfileId()
104 new HearingAidServiceListener(), BluetoothProfile.HEARING_AID); in HearingAidProfile()
256 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.HEARING_AID, in finalize()
DCachedBluetoothDevice.java461 case BluetoothProfile.HEARING_AID: in onActiveDeviceChanged()
494 case BluetoothProfile.HEARING_AID: in isActiveDevice()
602 } else if (ArrayUtils.contains(uuids, BluetoothUuid.HEARING_AID)) { in onUuidChanged()
DLocalBluetoothProfileManager.java178 if (mHearingAidProfile == null && supportedList.contains(BluetoothProfile.HEARING_AID)) { in updateLocalProfiles()
552 if (ArrayUtils.contains(uuids, BluetoothUuid.HEARING_AID) && mHearingAidProfile != null) { in updateProfiles()
DBluetoothEventManager.java438 bluetoothProfile = BluetoothProfile.HEARING_AID; in onReceive()
/frameworks/base/core/java/android/bluetooth/
DBluetoothProfile.java206 int HEARING_AID = 21; field
411 case HEARING_AID: in getProfileName()
DBluetoothUuid.java154 public static final ParcelUuid HEARING_AID = field in BluetoothUuid
DBluetoothHearingAid.java130 new BluetoothProfileConnector(this, BluetoothProfile.HEARING_AID,
DBluetoothAdapter.java2295 supportedProfiles.add(BluetoothProfile.HEARING_AID); in getSupportedProfiles()
2774 } else if (profile == BluetoothProfile.HEARING_AID) { in getProfileProxy()
2861 case BluetoothProfile.HEARING_AID: in closeProfileProxy()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DBluetoothMediaDeviceTest.java52 when(mDevice.isActiveDevice(BluetoothProfile.HEARING_AID)).thenReturn(true); in setUp()
DBluetoothMediaManagerTest.java400 mMediaManager.onActiveDeviceChanged(device, BluetoothProfile.HEARING_AID); in onActiveDeviceChanged_isHapProfile_callOnActiveDeviceChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java266 || device.isActiveDevice(BluetoothProfile.HEARING_AID); in updateActive()
285 || profileId == BluetoothProfile.HEARING_AID) { in updateAudioProfile()
/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java193 mBluetoothProfileServiceListener, BluetoothProfile.HEARING_AID); in onSystemReady()
620 case BluetoothProfile.HEARING_AID:
645 case BluetoothProfile.HEARING_AID:
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java235 || device.isActiveDevice(BluetoothProfile.HEARING_AID); in isConnected()
DBluetoothMediaManager.java286 if (BluetoothProfile.HEARING_AID == bluetoothProfile) { in onActiveDeviceChanged()
/frameworks/base/core/java/android/provider/
DSettings.java4191 public static final String HEARING_AID = "hearing_aid"; field in Settings.System
4549 HEARING_AID,
4666 PRIVATE_SETTINGS.add(HEARING_AID);
4762 VALIDATORS.put(HEARING_AID, HEARING_AID_VALIDATOR); in VALIDATORS.put() argument
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java2585 Settings.System.HEARING_AID, in dumpProtoSystemSettingsLocked()
2586 SystemSettingsProto.HEARING_AID); in dumpProtoSystemSettingsLocked()
DDatabaseHelper.java2274 loadSetting(stmt, Settings.System.HEARING_AID, 0); in loadSystemSettings()
/frameworks/base/cmds/statsd/src/
Datoms.proto1653 // The profile whose active device has changed. Eg. A2DP, HEADSET, HEARING_AID
/frameworks/base/api/
Dsystem-current.txt1437 field @NonNull public static final android.os.ParcelUuid HEARING_AID;
/frameworks/base/non-updatable-api/
Dsystem-current.txt1437 field @NonNull public static final android.os.ParcelUuid HEARING_AID;
Dcurrent.txt8766 field public static final int HEARING_AID = 21; // 0x15

12