/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilityHearingAidPreferenceControllerTest.java | 30 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/ |
D | HearingAidService.java | 26 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 …]
|
D | HearingAidStateMachine.java | 35 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/ |
D | BluetoothStateReceiver.java | 32 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()
|
D | BluetoothDeviceManager.java | 28 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()
|
D | BluetoothRouteManager.java | 23 import android.bluetooth.BluetoothHearingAid; 1073 BluetoothHearingAid bluetoothHearingAid = mDeviceManager.getBluetoothHearingAid();
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | Asha.kt | 20 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/ |
D | BluetoothHearingAid.aidl | 19 parcelable BluetoothHearingAid.AdvertisementServiceData;
|
D | IBluetoothHearingAid.aidl | 20 import android.bluetooth.BluetoothHearingAid.AdvertisementServiceData;
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilityHearingAidPreferenceController.java | 21 import android.bluetooth.BluetoothHearingAid; 93 filter.addAction(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED); in onStart()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | OWNERS | 1 per-file BluetoothHearingAid.java=file:/OWNERS_hearingaid
|
D | BluetoothHearingAid.java | 54 public final class BluetoothHearingAid implements BluetoothProfile { class 334 /* package */ BluetoothHearingAid(Context context, BluetoothAdapter adapter) { in BluetoothHearingAid() method in BluetoothHearingAid
|
D | BluetoothAdapter.java | 833 Map.entry(BluetoothProfile.HEARING_AID, BluetoothHearingAid::new),
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidServiceTest.java | 37 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/ |
D | BluetoothDeviceManagerTest.java | 39 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()
|
D | BluetoothRouteManagerTest.java | 33 import android.bluetooth.BluetoothHearingAid; 80 @Mock private BluetoothHearingAid mBluetoothHearingAid;
|
D | BluetoothRouteTransitionTests.java | 37 import android.bluetooth.BluetoothHearingAid; 264 @Mock private BluetoothHearingAid mBluetoothHearingAid;
|
/packages/modules/Bluetooth/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 658 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/ |
D | HandsFreeProfileOutputPreferenceController.java | 19 import static android.bluetooth.BluetoothHearingAid.HI_SYNC_ID_INVALID;
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | AdapterProperties.java | 34 import android.bluetooth.BluetoothHearingAid; 172 case BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED: 266 filter.addAction(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED); in init()
|
D | AudioRoutingManager.java | 27 import android.bluetooth.BluetoothHearingAid; 656 if (hiSyncId != BluetoothHearingAid.HI_SYNC_ID_INVALID in canActivateTogether()
|
D | ActiveDeviceManager.java | 26 import android.bluetooth.BluetoothHearingAid; 1220 return BluetoothHearingAid.HI_SYNC_ID_INVALID; in getHearingAidActiveHiSyncIdLocked()
|
/packages/modules/Bluetooth/framework/api/ |
D | system-current.txt | 414 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…
|
D | current.txt | 858 public final class BluetoothHearingAid implements android.bluetooth.BluetoothProfile {
|