Searched refs:cachedDevice (Results 1 – 7 of 7) sorted by relevance
133 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in addCachedDevices()134 onDeviceAdded(cachedDevice); in addCachedDevices()161 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { in onDeviceAdded() argument162 if (mDevicePreferenceMap.get(cachedDevice) != null) { in onDeviceAdded()169 if (mFilter.matches(cachedDevice.getDevice())) { in onDeviceAdded()170 createDevicePreference(cachedDevice); in onDeviceAdded()174 void createDevicePreference(CachedBluetoothDevice cachedDevice) { in createDevicePreference() argument182 getActivity(), cachedDevice); in createDevicePreference()186 mDevicePreferenceMap.put(cachedDevice, preference); in createDevicePreference()197 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { in onDeviceDeleted() argument[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()
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()
61 public BluetoothDevicePreference(Context context, CachedBluetoothDevice cachedDevice) { in BluetoothDevicePreference() argument70 mCachedDevice = cachedDevice; in BluetoothDevicePreference()74 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) { in BluetoothDevicePreference()
436 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument468 CachedBluetoothDevice cachedDevice = preference.getCachedDevice(); in initDevicePreference() local469 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) { in initDevicePreference()
126 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, in onDeviceBondStateChanged() argument129 BluetoothDevice device = cachedDevice.getDevice(); in onDeviceBondStateChanged()