Home
last modified time | relevance | path

Searched refs:BluetoothHearingAid (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityHearingAidPreferenceControllerTest.java30 import android.bluetooth.BluetoothHearingAid;
136 Intent intent = new Intent(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED); in getSummary_connectedAshaHearingAidRightSide_connectedRightSideSummary()
137 intent.putExtra(BluetoothHearingAid.EXTRA_STATE, BluetoothHearingAid.STATE_CONNECTED); in getSummary_connectedAshaHearingAidRightSide_connectedRightSideSummary()
154 Intent intent = new Intent(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED); in getSummary_connectedAshaHearingAidBothSide_connectedBothSideSummary()
155 intent.putExtra(BluetoothHearingAid.EXTRA_STATE, BluetoothHearingAid.STATE_CONNECTED); in getSummary_connectedAshaHearingAidBothSide_connectedBothSideSummary()
172 intent.putExtra(BluetoothHearingAid.EXTRA_STATE, BluetoothHapClient.STATE_CONNECTED); in getSummary_connectedLeAudioHearingAidLeftSide_connectedLeftSideSummary()
189 intent.putExtra(BluetoothHearingAid.EXTRA_STATE, BluetoothHapClient.STATE_CONNECTED); in getSummary_connectedLeAudioHearingAidRightSide_connectedRightSideSummary()
206 intent.putExtra(BluetoothHearingAid.EXTRA_STATE, BluetoothHapClient.STATE_CONNECTED); in getSummary_connectedLeAudioHearingAidLeftAndRightSide_connectedSummary()
222 intent.putExtra(BluetoothHearingAid.EXTRA_STATE, BluetoothHapClient.STATE_CONNECTED); in getSummary_connectedLeAudioHearingAidBothSide_connectedBothSideSummary()
238 Intent intent = new Intent(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED); in getSummary_connectedMultipleHearingAids_connectedMultipleDevicesSummary()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/
DHearingAidService.java26 import android.bluetooth.BluetoothHearingAid;
27 import android.bluetooth.BluetoothHearingAid.AdvertisementServiceData;
87 private long mActiveDeviceHiSyncId = BluetoothHearingAid.HI_SYNC_ID_INVALID;
255 mDeviceHiSyncIdMap.getOrDefault(device, BluetoothHearingAid.HI_SYNC_ID_INVALID); in connect()
258 && hiSyncId != BluetoothHearingAid.HI_SYNC_ID_INVALID in connect()
259 && mActiveDeviceHiSyncId != BluetoothHearingAid.HI_SYNC_ID_INVALID) { in connect()
278 storedDevice, BluetoothHearingAid.HI_SYNC_ID_INVALID) in connect()
288 if (hiSyncId == BluetoothHearingAid.HI_SYNC_ID_INVALID in connect()
312 mDeviceHiSyncIdMap.getOrDefault(device, BluetoothHearingAid.HI_SYNC_ID_INVALID); in disconnect()
316 storedDevice, BluetoothHearingAid.HI_SYNC_ID_INVALID) in disconnect()
[all …]
DHearingAidStateMachine.java35 import android.bluetooth.BluetoothHearingAid;
552 Intent intent = new Intent(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED); in broadcastConnectionState()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothStateReceiver.java32 import android.bluetooth.BluetoothHearingAid;
61 INTENT_FILTER.addAction(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED);
62 INTENT_FILTER.addAction(BluetoothHearingAid.ACTION_ACTIVE_DEVICE_CHANGED);
86 case BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED: in onReceive()
91 case BluetoothHearingAid.ACTION_ACTIVE_DEVICE_CHANGED: in onReceive()
182 } else if (BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED.equals(intent.getAction())) { in handleConnectionStateChanged()
224 } else if (BluetoothHearingAid.ACTION_ACTIVE_DEVICE_CHANGED.equals(intent.getAction())) { in handleActiveDeviceChanged()
DBluetoothDeviceManager.java28 import android.bluetooth.BluetoothHearingAid;
132 mBluetoothHearingAid = (BluetoothHearingAid) proxy;
290 private BluetoothHearingAid mBluetoothHearingAid;
445 public BluetoothHearingAid getBluetoothHearingAid() { in getBluetoothHearingAid()
457 public void setHearingAidServiceForTesting(BluetoothHearingAid bluetoothHearingAid) { in setHearingAidServiceForTesting()
DBluetoothRouteManager.java23 import android.bluetooth.BluetoothHearingAid;
1073 BluetoothHearingAid bluetoothHearingAid = mDeviceManager.getBluetoothHearingAid();
/packages/modules/Bluetooth/android/pandora/server/src/
DAsha.kt20 import android.bluetooth.BluetoothHearingAid
61 getProfileProxy<BluetoothHearingAid>(context, BluetoothProfile.HEARING_AID)
71 intentFilter.addAction(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED)
96 it.getAction() == BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED in waitPeripheral()
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DBluetoothHearingAid.aidl19 parcelable BluetoothHearingAid.AdvertisementServiceData;
DIBluetoothHearingAid.aidl20 import android.bluetooth.BluetoothHearingAid.AdvertisementServiceData;
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityHearingAidPreferenceController.java21 import android.bluetooth.BluetoothHearingAid;
93 filter.addAction(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED); in onStart()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DOWNERS1 per-file BluetoothHearingAid.java=file:/OWNERS_hearingaid
DBluetoothHearingAid.java54 public final class BluetoothHearingAid implements BluetoothProfile { class
334 /* package */ BluetoothHearingAid(Context context, BluetoothAdapter adapter) { in BluetoothHearingAid() method in BluetoothHearingAid
DBluetoothAdapter.java833 Map.entry(BluetoothProfile.HEARING_AID, BluetoothHearingAid::new),
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java37 import android.bluetooth.BluetoothHearingAid;
182 hasAction(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED), in verifyConnectionStateIntent()
1128 assertThat(id).isNotEqualTo(BluetoothHearingAid.HI_SYNC_ID_INVALID); in getHiSyncIdFromNative_addToMap()
1131 assertThat(id).isNotEqualTo(BluetoothHearingAid.HI_SYNC_ID_INVALID); in getHiSyncIdFromNative_addToMap()
1134 assertThat(id).isNotEqualTo(BluetoothHearingAid.HI_SYNC_ID_INVALID); in getHiSyncIdFromNative_addToMap()
1149 assertThat(mode).isEqualTo(BluetoothHearingAid.MODE_UNKNOWN); in serviceBinder_callGetDeviceMode()
1157 assertThat(side).isEqualTo(BluetoothHearingAid.SIDE_UNKNOWN); in serviceBinder_callGetDeviceSide()
1261 hasAction(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED)), in generateUnexpectedConnectionMessageFromNative()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothDeviceManagerTest.java39 import android.bluetooth.BluetoothHearingAid;
76 @Mock BluetoothHearingAid mBluetoothHearingAid;
375 new Intent(BluetoothHearingAid.ACTION_ACTIVE_DEVICE_CHANGED); in testHearingAidChangesIgnoredWhenNotInCall()
840 intentString = BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED; in buildConnectionActionIntent()
864 intentString = BluetoothHearingAid.ACTION_ACTIVE_DEVICE_CHANGED; in buildActiveDeviceChangeActionIntent()
DBluetoothRouteManagerTest.java33 import android.bluetooth.BluetoothHearingAid;
80 @Mock private BluetoothHearingAid mBluetoothHearingAid;
DBluetoothRouteTransitionTests.java37 import android.bluetooth.BluetoothHearingAid;
264 @Mock private BluetoothHearingAid mBluetoothHearingAid;
/packages/modules/Bluetooth/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt658 Landroid/bluetooth/BluetoothHearingAid;-><init>(Landroid/content/Context;Landroid/bluetooth/Bluetoo…
659 Landroid/bluetooth/BluetoothHearingAid;->ACTION_CONNECTION_STATE_CHANGED:Ljava/lang/String;
660 Landroid/bluetooth/BluetoothHearingAid;->ACTION_PLAYING_STATE_CHANGED:Ljava/lang/String;
661 Landroid/bluetooth/BluetoothHearingAid;->adjustVolume(I)V
662 Landroid/bluetooth/BluetoothHearingAid;->close()V
663 Landroid/bluetooth/BluetoothHearingAid;->connect(Landroid/bluetooth/BluetoothDevice;)Z
664 Landroid/bluetooth/BluetoothHearingAid;->DBG:Z
665 Landroid/bluetooth/BluetoothHearingAid;->disconnect(Landroid/bluetooth/BluetoothDevice;)Z
666 Landroid/bluetooth/BluetoothHearingAid;->doBind()V
667 Landroid/bluetooth/BluetoothHearingAid;->getDeviceMode(Landroid/bluetooth/BluetoothDevice;)I
[all …]
/packages/apps/Settings/src/com/android/settings/sound/
DHandsFreeProfileOutputPreferenceController.java19 import static android.bluetooth.BluetoothHearingAid.HI_SYNC_ID_INVALID;
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterProperties.java34 import android.bluetooth.BluetoothHearingAid;
172 case BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED:
266 filter.addAction(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED); in init()
DAudioRoutingManager.java27 import android.bluetooth.BluetoothHearingAid;
656 if (hiSyncId != BluetoothHearingAid.HI_SYNC_ID_INVALID in canActivateTogether()
DActiveDeviceManager.java26 import android.bluetooth.BluetoothHearingAid;
1220 return BluetoothHearingAid.HI_SYNC_ID_INVALID; in getHearingAidActiveHiSyncIdLocked()
/packages/modules/Bluetooth/framework/api/
Dsystem-current.txt414 public final class BluetoothHearingAid implements android.bluetooth.BluetoothProfile {
415 …anifest.permission.BLUETOOTH_PRIVILEGED}) public android.bluetooth.BluetoothHearingAid.Advertiseme…
432 …public static final class BluetoothHearingAid.AdvertisementServiceData implements android.os.Parce…
438 …IVILEGED}) public boolean isInPairWith(@Nullable android.bluetooth.BluetoothHearingAid.Advertiseme…
440 …ublic static final android.os.Parcelable.Creator<android.bluetooth.BluetoothHearingAid.Advertiseme…
Dcurrent.txt858 public final class BluetoothHearingAid implements android.bluetooth.BluetoothProfile {