Home
last modified time | relevance | path

Searched refs:hiSyncId (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHearingAidDeviceManager.java95 final long hiSyncId = newDevice.getHiSyncId(); in setSubDeviceIfNeeded() local
96 if (isValidHiSyncId(hiSyncId)) { in setSubDeviceIfNeeded()
97 final CachedBluetoothDevice hearingAidDevice = getCachedDevice(hiSyncId); in setSubDeviceIfNeeded()
110 private boolean isValidHiSyncId(long hiSyncId) { in isValidHiSyncId() argument
111 return hiSyncId != BluetoothHearingAid.HI_SYNC_ID_INVALID; in isValidHiSyncId()
118 private CachedBluetoothDevice getCachedDevice(long hiSyncId) { in getCachedDevice() argument
121 if (cachedDevice.getHiSyncId() == hiSyncId) { in getCachedDevice()
151 void onHiSyncIdChanged(long hiSyncId) { in onHiSyncIdChanged() argument
156 if (cachedDevice.getHiSyncId() != hiSyncId) { in onHiSyncIdChanged()
195 + ", with hiSyncId=" + hiSyncId); in onHiSyncIdChanged()
[all …]
DHearingAidInfo.java67 private HearingAidInfo(int side, int mode, long hiSyncId) { in HearingAidInfo() argument
70 mHiSyncId = hiSyncId; in HearingAidInfo()
194 public Builder setHiSyncId(long hiSyncId) { in setHiSyncId() argument
195 mHiSyncId = hiSyncId; in setHiSyncId()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHearingAidDeviceManagerTest.java830 private HearingAidInfo getLeftAshaHearingAidInfo(long hiSyncId) { in getLeftAshaHearingAidInfo() argument
833 .setHiSyncId(hiSyncId) in getLeftAshaHearingAidInfo()
837 private HearingAidInfo getRightAshaHearingAidInfo(long hiSyncId) { in getRightAshaHearingAidInfo() argument
840 .setHiSyncId(hiSyncId) in getRightAshaHearingAidInfo()