Searched refs:cachedDevice (Results 1 – 7 of 7) sorted by relevance
132 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in addCachedDevices()133 onDeviceAdded(cachedDevice); in addCachedDevices()159 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { in onDeviceAdded() argument160 if (mDevicePreferenceMap.get(cachedDevice) != null) { in onDeviceAdded()167 if (mFilter.matches(cachedDevice.getDevice())) { in onDeviceAdded()168 createDevicePreference(cachedDevice); in onDeviceAdded()172 void createDevicePreference(CachedBluetoothDevice cachedDevice) { in createDevicePreference() argument179 String key = cachedDevice.getDevice().getAddress(); in createDevicePreference()183 preference = new BluetoothDevicePreference(getPrefContext(), cachedDevice); in createDevicePreference()193 mDevicePreferenceMap.put(cachedDevice, preference); in createDevicePreference()[all …]
792 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice( in handleUnexpectedDisconnect() local794 cachedDevice.connectProfile(profile); in handleUnexpectedDisconnect()804 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice( in connectIfEnabled() local806 List<LocalBluetoothProfile> profiles = cachedDevice.getConnectableProfiles(); in connectIfEnabled()809 cachedDevice.connect(false); in connectIfEnabled()852 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice( in applyBtSettings() local863 int status = profile.getConnectionStatus(cachedDevice.getDevice()); in applyBtSettings()866 cachedDevice.disconnect(mProfiles[i]); in applyBtSettings()879 cachedDevice.connect(false); in applyBtSettings()905 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice(device); in handleUndocked() local[all …]
226 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice); in checkUserChoice() local227 if (cachedDevice == null) { in checkUserChoice()228 cachedDevice = cachedDeviceManager.addDevice(bluetoothManager.getBluetoothAdapter(), in checkUserChoice()235 int phonebookPermission = cachedDevice.getPhonebookPermissionChoice(); in checkUserChoice()249 int messagePermission = cachedDevice.getMessagePermissionChoice(); in checkUserChoice()263 int simPermission = cachedDevice.getSimPermissionChoice(); in checkUserChoice()
455 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument487 CachedBluetoothDevice cachedDevice = preference.getCachedDevice(); in initDevicePreference() local488 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) { in initDevicePreference()543 public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in onConnectionStateChanged() argument554 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { in onDeviceAdded() argument559 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { in onDeviceDeleted() argument564 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument
214 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice); in onNegative() local215 if (cachedDevice == null) { in onNegative()216 cachedDevice = cachedDeviceManager.addDevice(bluetoothManager.getBluetoothAdapter(), in onNegative()220 always = cachedDevice.checkAndIncreaseMessageRejectionCount(); in onNegative()
77 public BluetoothDevicePreference(Context context, CachedBluetoothDevice cachedDevice) { in BluetoothDevicePreference() argument86 mCachedDevice = cachedDevice; in BluetoothDevicePreference()90 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) { in BluetoothDevicePreference()
126 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, in onDeviceBondStateChanged() argument129 BluetoothDevice device = cachedDevice.getDevice(); in onDeviceBondStateChanged()