Searched refs:mainDevice (Results 1 – 2 of 2) sorted by relevance
127 CachedBluetoothDevice mainDevice; in onHiSyncIdChanged() local135 mainDevice = cachedDevice; in onHiSyncIdChanged()144 mainDevice.setSubDevice(subDevice); in onHiSyncIdChanged()162 if (mainDevice != null){ in onProfileConnectionStateChangedIfProcessed()163 if (mainDevice.isConnected()) { in onProfileConnectionStateChangedIfProcessed()166 mainDevice.refresh(); in onProfileConnectionStateChangedIfProcessed()172 mainDevice.switchSubDeviceContent(); in onProfileConnectionStateChangedIfProcessed()173 mainDevice.refresh(); in onProfileConnectionStateChangedIfProcessed()182 mainDevice = findMainDevice(cachedDevice); in onProfileConnectionStateChangedIfProcessed()186 if (mainDevice != null) { in onProfileConnectionStateChangedIfProcessed()[all …]
238 CachedBluetoothDevice mainDevice = mHearingAidDeviceManager.findMainDevice(device); in onDeviceUnpaired() local244 } else if (mainDevice != null) { in onDeviceUnpaired()246 mainDevice.unpair(); in onDeviceUnpaired()247 mainDevice.setSubDevice(null); in onDeviceUnpaired()