Searched refs:CachedBluetoothDevice (Results 1 - 14 of 14) sorted by relevance
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | BluetoothCallback.java | 26 void onDeviceAdded(CachedBluetoothDevice cachedDevice); 27 void onDeviceDeleted(CachedBluetoothDevice cachedDevice); 28 void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState);
|
H A D | CachedBluetoothDeviceManager.java | 35 private final List<CachedBluetoothDevice> mCachedDevices = 36 new ArrayList<CachedBluetoothDevice>(); 42 public synchronized Collection<CachedBluetoothDevice> getCachedDevicesCopy() { 43 return new ArrayList<CachedBluetoothDevice>(mCachedDevices); 46 public static boolean onDeviceDisappeared(CachedBluetoothDevice cachedDevice) { 52 CachedBluetoothDevice cachedDevice = findDevice(device); 59 * Search for existing {@link CachedBluetoothDevice} or return null 61 * to create and return a new {@link CachedBluetoothDevice} for 68 CachedBluetoothDevice findDevice(BluetoothDevice device) { 69 for (CachedBluetoothDevice cachedDevic [all...] |
H A D | DeviceListPreferenceFragment.java | 58 final WeakHashMap<CachedBluetoothDevice, BluetoothDevicePreference> mDevicePreferenceMap = 59 new WeakHashMap<CachedBluetoothDevice, BluetoothDevicePreference>(); 124 Collection<CachedBluetoothDevice> cachedDevices = 126 for (CachedBluetoothDevice cachedDevice : cachedDevices) { 141 CachedBluetoothDevice device = btPreference.getCachedDevice(); 154 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { 167 void createDevicePreference(CachedBluetoothDevice cachedDevice) { 184 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) {
|
H A D | BluetoothDevicePreference.java | 46 CachedBluetoothDevice.Callback, OnClickListener { 51 private final CachedBluetoothDevice mCachedDevice; 57 public BluetoothDevicePreference(Context context, CachedBluetoothDevice cachedDevice) { 77 CachedBluetoothDevice getCachedDevice() { 213 final CachedBluetoothDevice cachedDevice = mCachedDevice;
|
H A D | BluetoothPermissionRequest.java | 139 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice); 148 if (phonebookPermission == CachedBluetoothDevice.PHONEBOOK_ACCESS_UNKNOWN) { 153 if (phonebookPermission == CachedBluetoothDevice.PHONEBOOK_ACCESS_ALLOWED) { 156 } else if (phonebookPermission == CachedBluetoothDevice.PHONEBOOK_ACCESS_REJECTED) {
|
H A D | BluetoothEventManager.java | 197 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); 200 Log.d(TAG, "DeviceFoundHandler created new CachedBluetoothDevice: " 212 private void dispatchDeviceAdded(CachedBluetoothDevice cachedDevice) { 223 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); 254 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); 256 Log.w(TAG, "CachedBluetoothDevice for device " + device + 350 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); 362 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); 379 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
|
H A D | BluetoothSettings.java | 345 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { 354 if (v.getTag() instanceof CachedBluetoothDevice) { 355 CachedBluetoothDevice device = (CachedBluetoothDevice) v.getTag(); 375 CachedBluetoothDevice cachedDevice = preference.getCachedDevice();
|
H A D | CachedBluetoothDevice.java | 36 * CachedBluetoothDevice represents a remote Bluetooth device. It contains 41 final class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice> { class in inherits:Comparable 42 private static final String TAG = "CachedBluetoothDevice"; 143 CachedBluetoothDevice(Context context, method in class:CachedBluetoothDevice 562 if ((o == null) || !(o instanceof CachedBluetoothDevice)) { 565 return mDevice.equals(((CachedBluetoothDevice) o).mDevice); 576 public int compareTo(CachedBluetoothDevice another) {
|
H A D | DevicePickerFragment.java | 81 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice,
|
H A D | BluetoothPermissionActivity.java | 184 savePhonebookPermissionChoice(CachedBluetoothDevice.PHONEBOOK_ACCESS_ALLOWED); 195 savePhonebookPermissionChoice(CachedBluetoothDevice.PHONEBOOK_ACCESS_REJECTED); 253 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice);
|
H A D | DeviceProfilesSettings.java | 50 implements CachedBluetoothDevice.Callback, Preference.OnPreferenceChangeListener { 60 private CachedBluetoothDevice mCachedDevice; 271 final CachedBluetoothDevice device = mCachedDevice;
|
H A D | DockService.java | 400 Collection<CachedBluetoothDevice> cachedDevices = mDeviceManager.getCachedDevicesCopy(); 410 for (CachedBluetoothDevice deviceUI : cachedDevices) { 733 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice( 745 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice( 793 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice( 844 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice(device); 848 private CachedBluetoothDevice getCachedBluetoothDevice(BluetoothDevice device) { 849 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
|
H A D | HeadsetProfile.java | 69 CachedBluetoothDevice device = mDeviceManager.findDevice(firstDevice);
|
H A D | LocalBluetoothProfileManager.java | 209 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
|
Completed in 691 milliseconds