/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/ |
D | HandsFreeProfileOutputPreferenceControllerTest.java | 204 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in setActiveBluetoothDevice_btDeviceWithHisyncId_shouldSetBtDeviceActive() 364 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in updateState_oneHapBtDeviceAreAvailable_shouldSetActivatedDeviceName() 389 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in updateState_moreThanOneHapBtDevicesAreAvailable_shouldSetActivatedDeviceName() 390 when(mHearingAidProfile.getHiSyncId(mRightBluetoothHapDevice)).thenReturn(HISYNCID2); in updateState_moreThanOneHapBtDevicesAreAvailable_shouldSetActivatedDeviceName() 420 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in updateState_hapBtDeviceWithSameId_shouldSetActivatedDeviceName() 421 when(mHearingAidProfile.getHiSyncId(mRightBluetoothHapDevice)).thenReturn(HISYNCID1); in updateState_hapBtDeviceWithSameId_shouldSetActivatedDeviceName() 453 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in updateState_hapBtDeviceWithSameIdButDifferentOrder_shouldSetActivatedDeviceName() 454 when(mHearingAidProfile.getHiSyncId(mRightBluetoothHapDevice)).thenReturn(HISYNCID1); in updateState_hapBtDeviceWithSameIdButDifferentOrder_shouldSetActivatedDeviceName() 484 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in updateState_hapBtDeviceWithDifferentId_shouldSetActivatedDeviceName() 485 when(mHearingAidProfile.getHiSyncId(mRightBluetoothHapDevice)).thenReturn(HISYNCID2); in updateState_hapBtDeviceWithDifferentId_shouldSetActivatedDeviceName() [all …]
|
D | AudioOutputSwitchPreferenceControllerTest.java | 402 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in getConnectedHearingAidDevices_deviceHisyncIdIsDifferent_shouldAddBothToList() 403 when(mHearingAidProfile.getHiSyncId(mRightBluetoothHapDevice)).thenReturn(HISYNCID2); in getConnectedHearingAidDevices_deviceHisyncIdIsDifferent_shouldAddBothToList() 422 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in getConnectedHearingAidDevices_deviceHisyncIdIsSame_shouldAddOneToList() 423 when(mHearingAidProfile.getHiSyncId(mRightBluetoothHapDevice)).thenReturn(HISYNCID1); in getConnectedHearingAidDevices_deviceHisyncIdIsSame_shouldAddOneToList()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 357 long hiSyncId = getHiSyncId(device); in isConnectedPeerDevices() 529 public long getHiSyncId(BluetoothDevice device) { in getHiSyncId() method in HearingAidService 881 if (getHiSyncId(peerDevice) == hiSyncId) { in getConnectedPeerDevices() 901 long myHiSyncId = getHiSyncId(device); in connectionStateChanged() 914 long myHiSyncId = getHiSyncId(device); in connectionStateChanged() 1079 public long getHiSyncId(BluetoothDevice device, AttributionSource source) { in getHiSyncId() method in HearingAidService.BluetoothHearingAidBinder 1085 return service.getHiSyncId(device); in getHiSyncId()
|
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/ |
D | IBluetoothHearingAid.aidl | 52 long getHiSyncId(in BluetoothDevice device, in AttributionSource attributionSource); in getHiSyncId() method
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | ActiveDeviceManager.java | 740 long hiSyncId = hearingAidService.getHiSyncId(device); in handleHearingAidActiveDeviceChanged() 964 long hiSyncId = hearingAidService.getHiSyncId(device); in setHearingAidActiveDevice() 1218 return hearingAidService.getHiSyncId(mHearingAidActiveDevices.iterator().next()); in getHearingAidActiveHiSyncIdLocked()
|
D | AudioRoutingManager.java | 655 long hiSyncId = hearingAidService.getHiSyncId(device); in canActivateTogether() 657 && hiSyncId == hearingAidService.getHiSyncId(group.get(0))) { in canActivateTogether()
|
/packages/apps/Settings/src/com/android/settings/sound/ |
D | HandsFreeProfileOutputPreferenceController.java | 176 && hapProfile.getHiSyncId(device) != HI_SYNC_ID_INVALID) { in setActiveBluetoothDevice()
|
D | AudioSwitchPreferenceController.java | 285 final long hiSyncId = hapProfile.getHiSyncId(device); in getConnectedHearingAidDevices()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothHearingAid.java | 707 public long getHiSyncId(@NonNull BluetoothDevice device) { in getHiSyncId() method in BluetoothHearingAid 716 return service.getHiSyncId(device, mAttributionSource); in getHiSyncId()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | AudioRoutingManagerTest.java | 161 when(mHearingAidService.getHiSyncId(mHearingAidDevice)).thenReturn(HEARING_AID_HISYNC_ID); in setUp() 529 when(mHearingAidService.getHiSyncId(mSecondaryAudioDevice)) in twoHearingAidDevicesConnected_WithTheSameHiSyncId() 887 when(mHearingAidService.getHiSyncId(mSecondaryAudioDevice)) in hearingAidSecondDeviceDisconnected_fallbackDeviceActive()
|
D | ActiveDeviceManagerTest.java | 170 when(mHearingAidService.getHiSyncId(mHearingAidDevice)).thenReturn(mHearingAidHiSyncId); in setUp() 598 when(mHearingAidService.getHiSyncId(mSecondaryAudioDevice)).thenReturn(mHearingAidHiSyncId); in twoHearingAidDevicesConnected_WithTheSameHiSyncId() 962 when(mHearingAidService.getHiSyncId(mSecondaryAudioDevice)) in hearingAidSecondDeviceDisconnected_fallbackDeviceActive()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidServiceTest.java | 1127 long id = mServiceBinder.getHiSyncId(mLeftDevice, null); in getHiSyncIdFromNative_addToMap() 1130 id = mServiceBinder.getHiSyncId(mRightDevice, null); in getHiSyncIdFromNative_addToMap() 1133 id = mServiceBinder.getHiSyncId(mSingleDevice, null); in getHiSyncIdFromNative_addToMap()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BluetoothDeviceManagerTest.java | 109 when(mBluetoothHearingAid.getHiSyncId(device2)).thenReturn(100L); in setUp() 110 when(mBluetoothHearingAid.getHiSyncId(device4)).thenReturn(100L); in setUp()
|
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
D | BluetoothDeviceManager.java | 503 long hiSyncId = mBluetoothHearingAid.getHiSyncId(device); in onDeviceConnected()
|
/packages/modules/Bluetooth/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 669 Landroid/bluetooth/BluetoothHearingAid;->getHiSyncId(Landroid/bluetooth/BluetoothDevice;)J 1929 Landroid/bluetooth/IBluetoothHearingAid$Stub$Proxy;->getHiSyncId(Landroid/bluetooth/BluetoothDevice… 1964 Landroid/bluetooth/IBluetoothHearingAid;->getHiSyncId(Landroid/bluetooth/BluetoothDevice;)J
|
/packages/modules/Bluetooth/framework/api/ |
D | system-current.txt | 419 …ONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public long getHiSyncId(@NonNull androi…
|