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.java132 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in addCachedDevices()
133 onDeviceAdded(cachedDevice); in addCachedDevices()
159 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { in onDeviceAdded() argument
160 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() argument
179 String key = cachedDevice.getDevice().getAddress(); in createDevicePreference()
183 preference = new BluetoothDevicePreference(getPrefContext(), cachedDevice); in createDevicePreference()
193 mDevicePreferenceMap.put(cachedDevice, preference); in createDevicePreference()
[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()
DBluetoothSettings.java455 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument
487 CachedBluetoothDevice cachedDevice = preference.getCachedDevice(); in initDevicePreference() local
488 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) { in initDevicePreference()
543 public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in onConnectionStateChanged() argument
554 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { in onDeviceAdded() argument
559 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { in onDeviceDeleted() argument
564 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument
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.java77 public BluetoothDevicePreference(Context context, CachedBluetoothDevice cachedDevice) { in BluetoothDevicePreference() argument
86 mCachedDevice = cachedDevice; in BluetoothDevicePreference()
90 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) { in BluetoothDevicePreference()
DDevicePickerFragment.java126 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, in onDeviceBondStateChanged() argument
129 BluetoothDevice device = cachedDevice.getDevice(); in onDeviceBondStateChanged()