Home
last modified time | relevance | path

Searched refs:mainDevice (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHearingAidDeviceManager.java127 CachedBluetoothDevice mainDevice; in onHiSyncIdChanged() local
135 mainDevice = cachedDevice; in onHiSyncIdChanged()
139 mainDevice = mCachedDevices.get(firstMatchedIndex); in onHiSyncIdChanged()
144 mainDevice.setSubDevice(subDevice); in onHiSyncIdChanged()
161 CachedBluetoothDevice mainDevice = findMainDevice(cachedDevice); in onProfileConnectionStateChangedIfProcessed() local
162 if (mainDevice != null){ in onProfileConnectionStateChangedIfProcessed()
163 if (mainDevice.isConnected()) { in onProfileConnectionStateChangedIfProcessed()
166 mainDevice.refresh(); in onProfileConnectionStateChangedIfProcessed()
171 mBtManager.getEventManager().dispatchDeviceRemoved(mainDevice); in onProfileConnectionStateChangedIfProcessed()
172 mainDevice.switchSubDeviceContent(); in onProfileConnectionStateChangedIfProcessed()
[all …]
DCachedBluetoothDeviceManager.java238 CachedBluetoothDevice mainDevice = mHearingAidDeviceManager.findMainDevice(device); in onDeviceUnpaired() local
244 } else if (mainDevice != null) { in onDeviceUnpaired()
246 mainDevice.unpair(); in onDeviceUnpaired()
247 mainDevice.setSubDevice(null); in onDeviceUnpaired()