Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DBluetoothEventManagerTest.java310 assertThat(mCachedDevice1.isActiveDevice(BluetoothProfile.HEARING_AID)).isFalse(); in dispatchActiveDeviceChanged_withA2dpAndHearingAid()
313 assertThat(mCachedDevice2.isActiveDevice(BluetoothProfile.HEARING_AID)).isFalse(); in dispatchActiveDeviceChanged_withA2dpAndHearingAid()
321 assertThat(mCachedDevice1.isActiveDevice(BluetoothProfile.HEARING_AID)).isFalse(); in dispatchActiveDeviceChanged_withA2dpAndHearingAid()
324 assertThat(mCachedDevice2.isActiveDevice(BluetoothProfile.HEARING_AID)).isFalse(); in dispatchActiveDeviceChanged_withA2dpAndHearingAid()
330 .dispatchActiveDeviceChanged(mCachedDevice2, BluetoothProfile.HEARING_AID); in dispatchActiveDeviceChanged_withA2dpAndHearingAid()
333 assertThat(mCachedDevice1.isActiveDevice(BluetoothProfile.HEARING_AID)).isFalse(); in dispatchActiveDeviceChanged_withA2dpAndHearingAid()
336 assertThat(mCachedDevice2.isActiveDevice(BluetoothProfile.HEARING_AID)).isTrue(); in dispatchActiveDeviceChanged_withA2dpAndHearingAid()
339 mBluetoothEventManager.dispatchActiveDeviceChanged(null, BluetoothProfile.HEARING_AID); in dispatchActiveDeviceChanged_withA2dpAndHearingAid()
345 assertThat(mCachedDevice2.isActiveDevice(BluetoothProfile.HEARING_AID)).isFalse(); in dispatchActiveDeviceChanged_withA2dpAndHearingAid()
DCachedBluetoothDeviceTest.java343 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getConnectionSummary_testSingleProfileActiveDeviceHearingAid()
347 mCachedDevice.onActiveDeviceChanged(false, BluetoothProfile.HEARING_AID); in getConnectionSummary_testSingleProfileActiveDeviceHearingAid()
373 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getConnectionSummary_testHearingAidBatteryWithoutInCall_returnActiveBattery()
387 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getConnectionSummary_testHearingAidInCall_returnActive()
402 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getConnectionSummary_testHearingAidBatteryInCall_returnActiveBattery()
481 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getConnectionSummary_trueWirelessActiveDeviceWithBattery_returnActiveWithBattery()
646 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getCarConnectionSummary_singleProfileActiveDeviceHearingAid()
650 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.java114 case BluetoothProfile.HEARING_AID:
233 case BluetoothProfile.HEARING_AID: in setProfileConnectedStatus()
537 case BluetoothProfile.HEARING_AID: in onActiveDeviceChanged()
570 case BluetoothProfile.HEARING_AID: in isActiveDevice()
678 } else if (ArrayUtils.contains(uuids, BluetoothUuid.HEARING_AID)) { in onUuidChanged()
DLocalBluetoothProfileManager.java179 if (mHearingAidProfile == null && supportedList.contains(BluetoothProfile.HEARING_AID)) { in updateLocalProfiles()
557 if (ArrayUtils.contains(uuids, BluetoothUuid.HEARING_AID) && mHearingAidProfile != null) { in updateProfiles()
DBluetoothEventManager.java444 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.java2341 supportedProfiles.add(BluetoothProfile.HEARING_AID); in getSupportedProfiles()
2847 } else if (profile == BluetoothProfile.HEARING_AID) { in getProfileProxy()
2934 case BluetoothProfile.HEARING_AID: in closeProfileProxy()
/frameworks/base/services/core/java/com/android/server/media/
DBluetoothRouteProvider.java108 mBluetoothAdapter.getProfileProxy(mContext, mProfileListener, BluetoothProfile.HEARING_AID); in start()
281 newBtRoute.connectedProfiles.put(BluetoothProfile.HEARING_AID, true); in createBluetoothRoute()
387 if (connectedProfiles.get(BluetoothProfile.HEARING_AID, false)) { in getRouteType()
404 case BluetoothProfile.HEARING_AID: in onServiceConnected()
429 case BluetoothProfile.HEARING_AID: in onServiceDisconnected()
492 handleConnectionStateChanged(BluetoothProfile.HEARING_AID, intent, device); in onReceive()
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/backup/
DSystemSettings.java62 Settings.System.HEARING_AID,
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DBluetoothMediaDeviceTest.java53 when(mDevice.isActiveDevice(BluetoothProfile.HEARING_AID)).thenReturn(true); in setUp()
/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.java244 mBluetoothProfileServiceListener, BluetoothProfile.HEARING_AID); in onSystemReady()
683 case BluetoothProfile.HEARING_AID:
708 case BluetoothProfile.HEARING_AID:
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
DSystemSettingsValidators.java183 VALIDATORS.put(System.HEARING_AID, BOOLEAN_VALIDATOR); in VALIDATORS.put() argument
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java2682 Settings.System.HEARING_AID, in dumpProtoSystemSettingsLocked()
2683 SystemSettingsProto.HEARING_AID); in dumpProtoSystemSettingsLocked()
DDatabaseHelper.java2251 loadSetting(stmt, Settings.System.HEARING_AID, 0); in loadSystemSettings()
/frameworks/base/core/java/android/provider/
DSettings.java4538 public static final String HEARING_AID = "hearing_aid"; field in Settings.System
4879 PRIVATE_SETTINGS.add(HEARING_AID);
/frameworks/base/cmds/statsd/src/
Datoms.proto1917 // The profile whose active device has changed. Eg. A2DP, HEADSET, HEARING_AID
/frameworks/base/non-updatable-api/
Dsystem-current.txt1566 field @NonNull public static final android.os.ParcelUuid HEARING_AID;
/frameworks/base/api/
Dsystem-current.txt1618 field @NonNull public static final android.os.ParcelUuid HEARING_AID;
Dcurrent.txt9071 field public static final int HEARING_AID = 21; // 0x15