Searched refs:hiSyncId (Results 1 – 5 of 5) sorted by relevance
251 long hiSyncId = mDeviceHiSyncIdMap.getOrDefault(device, in connect() local254 if (hiSyncId != mActiveDeviceHiSyncId in connect()255 && hiSyncId != BluetoothHearingAid.HI_SYNC_ID_INVALID in connect()275 BluetoothHearingAid.HI_SYNC_ID_INVALID) == hiSyncId) { in connect()284 if (hiSyncId == BluetoothHearingAid.HI_SYNC_ID_INVALID in connect()308 long hiSyncId = mDeviceHiSyncIdMap.getOrDefault(device, in disconnect() local313 BluetoothHearingAid.HI_SYNC_ID_INVALID) == hiSyncId) { in disconnect()323 if (hiSyncId == BluetoothHearingAid.HI_SYNC_ID_INVALID in disconnect()353 long hiSyncId = getHiSyncId(device); in isConnectedPeerDevices() local354 if (getConnectedPeerDevices(hiSyncId).isEmpty()) { in isConnectedPeerDevices()[all …]
163 private void onDeviceAvailable(byte capabilities, long hiSyncId, byte[] address) { in onDeviceAvailable() argument168 event.valueLong2 = hiSyncId; in onDeviceAvailable()
233 final long hiSyncId = hapProfile.getHiSyncId(device); in getConnectedHearingAidDevices() local236 if (!devicesHiSyncIds.contains(hiSyncId) && device.isConnected()) { in getConnectedHearingAidDevices()237 devicesHiSyncIds.add(hiSyncId); in getConnectedHearingAidDevices()258 final long hiSyncId = hapProfile.getHiSyncId(device); in getConnectableHearingAidDevices() local261 if (!devicesHiSyncIds.contains(hiSyncId)) { in getConnectableHearingAidDevices()262 devicesHiSyncIds.add(hiSyncId); in getConnectableHearingAidDevices()
174 long hiSyncId = mHearingAidDeviceSyncIds.getOrDefault(d, -1L); in getUniqueConnectedDevices() local175 if (seenHiSyncIds.contains(hiSyncId)) { in getUniqueConnectedDevices()179 seenHiSyncIds.add(hiSyncId); in getUniqueConnectedDevices()211 long hiSyncId = mBluetoothHearingAidService.getHiSyncId(device); in onDeviceConnected() local212 mHearingAidDeviceSyncIds.put(device, hiSyncId); in onDeviceConnected()
229 final long hiSyncId = hapProfile.getHiSyncId(device); in getConnectedHearingAidDevices() local232 if (!devicesHiSyncIds.contains(hiSyncId) && device.isConnected()) { in getConnectedHearingAidDevices()233 devicesHiSyncIds.add(hiSyncId); in getConnectedHearingAidDevices()