OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:hiSyncId
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
CachedBluetoothDeviceManager.java
143
* @param long
hiSyncId
146
private synchronized boolean isPairAddedInCache(long
hiSyncId
) {
147
if (
hiSyncId
== BluetoothHearingAid.HI_SYNC_ID_INVALID) {
150
if(mCachedDevicesMapForHearingAids.containsKey(
hiSyncId
)) {
187
* Updates the Hearing Aid devices; specifically the
HiSyncId
's. This routine is called when the
188
* Hearing Aid Service is connected and the
HiSyncId
's are now available.
319
public synchronized void onHiSyncIdChanged(long
hiSyncId
) {
324
if (cachedDevice.getHiSyncId() ==
hiSyncId
) {
332
//
hiSyncId
get updated, the system does not know it is a hearing aid, so we add
334
// of them after the
hiSyncId
is populated. We will choose the device tha
[
all
...]
/packages/apps/Settings/src/com/android/settings/sound/
AudioSwitchPreferenceController.java
288
* get hearing aid profile connected device, exclude other devices with same
hiSyncId
.
299
final long
hiSyncId
= hapProfile.getHiSyncId(device);
300
// device with same
hiSyncId
should not be shown in the UI.
302
if (!devicesHiSyncIds.contains(
hiSyncId
) && device.isConnected()) {
303
devicesHiSyncIds.add(
hiSyncId
);
329
// the right active device. And they will have same
hiSyncId
. If either
336
// the device(same
hiSyncId
) might not be shown in the UI.
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
HearingAidService.java
114
// Clear
HiSyncId
map and capabilities map
169
// Clear
HiSyncId
map and capabilities map
235
long
hiSyncId
= mDeviceHiSyncIdMap.getOrDefault(device,
238
if (
hiSyncId
!= mActiveDeviceHiSyncId
239
&&
hiSyncId
!= BluetoothHearingAid.HI_SYNC_ID_INVALID
259
BluetoothHearingAid.HI_SYNC_ID_INVALID) ==
hiSyncId
) {
268
if (
hiSyncId
== BluetoothHearingAid.HI_SYNC_ID_INVALID
285
long
hiSyncId
= mDeviceHiSyncIdMap.getOrDefault(device,
290
BluetoothHearingAid.HI_SYNC_ID_INVALID) ==
hiSyncId
) {
300
if (
hiSyncId
== BluetoothHearingAid.HI_SYNC_ID_INVALI
[
all
...]
Completed in 441 milliseconds