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

/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DDeviceListPreferenceFragment.java132 for (CachedBluetoothDevice cachedDevice : cachedDevices) {
133 onDeviceAdded(cachedDevice);
159 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { argument
160 if (mDevicePreferenceMap.get(cachedDevice) != null) {
167 if (mFilter.matches(cachedDevice.getDevice())) {
168 createDevicePreference(cachedDevice);
172 void createDevicePreference(CachedBluetoothDevice cachedDevice) { argument
179 String key = cachedDevice.getDevice().getAddress();
183 preference = new BluetoothDevicePreference(getPrefContext(), cachedDevice);
193 mDevicePreferenceMap.put(cachedDevice, preferenc
204 onDeviceDeleted(CachedBluetoothDevice cachedDevice) argument
227 onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) argument
[all...]
H A DDockService.java792 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice(
794 cachedDevice.connectProfile(profile);
804 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice(
806 List<LocalBluetoothProfile> profiles = cachedDevice.getConnectableProfiles();
809 cachedDevice.connect(false);
852 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice(
863 int status = profile.getConnectionStatus(cachedDevice.getDevice());
866 cachedDevice.disconnect(mProfiles[i]);
879 cachedDevice.connect(false);
905 CachedBluetoothDevice cachedDevice
938 onDeviceAdded(CachedBluetoothDevice cachedDevice) argument
939 onDeviceDeleted(CachedBluetoothDevice cachedDevice) argument
940 onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) argument
950 onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) argument
[all...]
H A DBluetoothPermissionRequest.java226 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice);
227 if (cachedDevice == null) {
228 cachedDevice = cachedDeviceManager.addDevice(bluetoothManager.getBluetoothAdapter(),
235 int phonebookPermission = cachedDevice.getPhonebookPermissionChoice();
249 int messagePermission = cachedDevice.getMessagePermissionChoice();
263 int simPermission = cachedDevice.getSimPermissionChoice();
H A DDevicePickerFragment.java126 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, argument
129 BluetoothDevice device = cachedDevice.getDevice();
H A DBluetoothPermissionActivity.java214 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice);
215 if (cachedDevice == null) {
216 cachedDevice = cachedDeviceManager.addDevice(bluetoothManager.getBluetoothAdapter(),
220 always = cachedDevice.checkAndIncreaseMessageRejectionCount();
H A DBluetoothSettings.java455 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { argument
487 CachedBluetoothDevice cachedDevice = preference.getCachedDevice();
488 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) {
543 public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { argument
554 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { argument
559 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { argument
564 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { argument
H A DBluetoothDevicePreference.java77 public BluetoothDevicePreference(Context context, CachedBluetoothDevice cachedDevice) { argument
86 mCachedDevice = cachedDevice;
90 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) {

Completed in 79 milliseconds