Searched refs:mainDevice (Results 1 – 2 of 2) sorted by relevance
127 CachedBluetoothDevice mainDevice; in onHiSyncIdChanged() local135 mainDevice = cachedDevice; in onHiSyncIdChanged()139 mainDevice = mCachedDevices.get(firstMatchedIndex); in onHiSyncIdChanged()144 mainDevice.setSubDevice(subDevice); in onHiSyncIdChanged()161 CachedBluetoothDevice mainDevice = findMainDevice(cachedDevice); in onProfileConnectionStateChangedIfProcessed() local162 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 …]
244 CachedBluetoothDevice mainDevice = mHearingAidDeviceManager.findMainDevice(device); in onDeviceUnpaired() local250 } else if (mainDevice != null) { in onDeviceUnpaired()252 mainDevice.unpair(); in onDeviceUnpaired()253 mainDevice.setSubDevice(null); in onDeviceUnpaired()