Home
last modified time | relevance | path

Searched refs:getHiSyncId (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DHandsFreeProfileOutputPreferenceControllerTest.java204 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 …]
DAudioOutputSwitchPreferenceControllerTest.java402 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/
DHearingAidService.java357 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/
DIBluetoothHearingAid.aidl52 long getHiSyncId(in BluetoothDevice device, in AttributionSource attributionSource); in getHiSyncId() method
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DActiveDeviceManager.java740 long hiSyncId = hearingAidService.getHiSyncId(device); in handleHearingAidActiveDeviceChanged()
964 long hiSyncId = hearingAidService.getHiSyncId(device); in setHearingAidActiveDevice()
1218 return hearingAidService.getHiSyncId(mHearingAidActiveDevices.iterator().next()); in getHearingAidActiveHiSyncIdLocked()
DAudioRoutingManager.java655 long hiSyncId = hearingAidService.getHiSyncId(device); in canActivateTogether()
657 && hiSyncId == hearingAidService.getHiSyncId(group.get(0))) { in canActivateTogether()
/packages/apps/Settings/src/com/android/settings/sound/
DHandsFreeProfileOutputPreferenceController.java176 && hapProfile.getHiSyncId(device) != HI_SYNC_ID_INVALID) { in setActiveBluetoothDevice()
DAudioSwitchPreferenceController.java285 final long hiSyncId = hapProfile.getHiSyncId(device); in getConnectedHearingAidDevices()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothHearingAid.java707 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/
DAudioRoutingManagerTest.java161 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()
DActiveDeviceManagerTest.java170 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/
DHearingAidServiceTest.java1127 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/
DBluetoothDeviceManagerTest.java109 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/
DBluetoothDeviceManager.java503 long hiSyncId = mBluetoothHearingAid.getHiSyncId(device); in onDeviceConnected()
/packages/modules/Bluetooth/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt669 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/
Dsystem-current.txt419 …ONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public long getHiSyncId(@NonNull androi…