Home
last modified time | relevance | path

Searched refs:cachedDevice (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/bluetooth/
DDeviceListPreferenceFragment.java133 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in addCachedDevices()
134 onDeviceAdded(cachedDevice); in addCachedDevices()
161 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { in onDeviceAdded() argument
162 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() argument
182 getActivity(), cachedDevice); in createDevicePreference()
186 mDevicePreferenceMap.put(cachedDevice, preference); in createDevicePreference()
197 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { in onDeviceDeleted() argument
[all …]
DDockService.java792 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice( in handleUnexpectedDisconnect() local
794 cachedDevice.connectProfile(profile); in handleUnexpectedDisconnect()
804 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice( in connectIfEnabled() local
806 List<LocalBluetoothProfile> profiles = cachedDevice.getConnectableProfiles(); in connectIfEnabled()
809 cachedDevice.connect(false); in connectIfEnabled()
852 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice( in applyBtSettings() local
863 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 …]
DBluetoothPermissionRequest.java226 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice); in checkUserChoice() local
227 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()
DBluetoothPermissionActivity.java214 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice); in onNegative() local
215 if (cachedDevice == null) { in onNegative()
216 cachedDevice = cachedDeviceManager.addDevice(bluetoothManager.getBluetoothAdapter(), in onNegative()
220 always = cachedDevice.checkAndIncreaseMessageRejectionCount(); in onNegative()
DBluetoothDevicePreference.java61 public BluetoothDevicePreference(Context context, CachedBluetoothDevice cachedDevice) { in BluetoothDevicePreference() argument
70 mCachedDevice = cachedDevice; in BluetoothDevicePreference()
74 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) { in BluetoothDevicePreference()
DBluetoothSettings.java436 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument
468 CachedBluetoothDevice cachedDevice = preference.getCachedDevice(); in initDevicePreference() local
469 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) { in initDevicePreference()
DDevicePickerFragment.java126 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, in onDeviceBondStateChanged() argument
129 BluetoothDevice device = cachedDevice.getDevice(); in onDeviceBondStateChanged()