HomeSort by relevance Sort by last modified time
    Searched refs:CachedBluetoothDevice (Results 1 - 14 of 14) sorted by null

  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothCallback.java 26 void onDeviceAdded(CachedBluetoothDevice cachedDevice);
27 void onDeviceDeleted(CachedBluetoothDevice cachedDevice);
28 void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState);
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 cachedDevice : mCachedDevices)
    [all...]
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) {
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;
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) {
BluetoothEventManager.java 195 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
198 Log.d(TAG, "DeviceFoundHandler created new CachedBluetoothDevice: "
210 private void dispatchDeviceAdded(CachedBluetoothDevice cachedDevice) {
221 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
252 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
254 Log.w(TAG, "CachedBluetoothDevice for device " + device +
348 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
360 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
377 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
BluetoothSettings.java 346 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) {
355 if (v.getTag() instanceof CachedBluetoothDevice) {
356 CachedBluetoothDevice device = (CachedBluetoothDevice) v.getTag();
376 CachedBluetoothDevice cachedDevice = preference.getCachedDevice();
CachedBluetoothDevice.java 36 * CachedBluetoothDevice represents a remote Bluetooth device. It contains
41 final class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice> {
42 private static final String TAG = "CachedBluetoothDevice";
143 CachedBluetoothDevice(Context context,
562 if ((o == null) || !(o instanceof CachedBluetoothDevice)) {
565 return mDevice.equals(((CachedBluetoothDevice) o).mDevice);
576 public int compareTo(CachedBluetoothDevice another) {
DevicePickerFragment.java 81 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice,
BluetoothPermissionActivity.java 184 savePhonebookPermissionChoice(CachedBluetoothDevice.PHONEBOOK_ACCESS_ALLOWED);
195 savePhonebookPermissionChoice(CachedBluetoothDevice.PHONEBOOK_ACCESS_REJECTED);
253 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice);
DeviceProfilesSettings.java 50 implements CachedBluetoothDevice.Callback, Preference.OnPreferenceChangeListener {
60 private CachedBluetoothDevice mCachedDevice;
271 final CachedBluetoothDevice device = mCachedDevice;
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(
    [all...]
HeadsetProfile.java 69 CachedBluetoothDevice device = mDeviceManager.findDevice(firstDevice);
LocalBluetoothProfileManager.java 209 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);

Completed in 433 milliseconds