HomeSort by relevance Sort by last modified time
    Searched refs:CachedBluetoothDevice (Results 1 - 16 of 16) 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 36 private final List<CachedBluetoothDevice> mCachedDevices =
37 new ArrayList<CachedBluetoothDevice>();
43 public synchronized Collection<CachedBluetoothDevice> getCachedDevicesCopy() {
44 return new ArrayList<CachedBluetoothDevice>(mCachedDevices);
47 public static boolean onDeviceDisappeared(CachedBluetoothDevice cachedDevice) {
53 CachedBluetoothDevice cachedDevice = findDevice(device);
60 * Search for existing {@link CachedBluetoothDevice} or return null
62 * to create and return a new {@link CachedBluetoothDevice} for
69 CachedBluetoothDevice findDevice(BluetoothDevice device) {
70 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) {
80 CachedBluetoothDevice getCachedDevice() {
216 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 199 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
202 Log.d(TAG, "DeviceFoundHandler created new CachedBluetoothDevice: "
214 private void dispatchDeviceAdded(CachedBluetoothDevice cachedDevice) {
225 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
256 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
258 Log.w(TAG, "CachedBluetoothDevice for device " + device +
352 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
364 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
380 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
BluetoothSettings.java 359 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) {
368 if (v.getTag() instanceof CachedBluetoothDevice) {
371 CachedBluetoothDevice device = (CachedBluetoothDevice) v.getTag();
391 CachedBluetoothDevice cachedDevice = preference.getCachedDevice();
CachedBluetoothDevice.java 37 * CachedBluetoothDevice represents a remote Bluetooth device. It contains
42 final class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice> {
43 private static final String TAG = "CachedBluetoothDevice";
148 CachedBluetoothDevice(Context context,
588 if ((o == null) || !(o instanceof CachedBluetoothDevice)) {
591 return mDevice.equals(((CachedBluetoothDevice) o).mDevice);
602 public int compareTo(CachedBluetoothDevice another) {
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;
277 final CachedBluetoothDevice device = mCachedDevice;
DevicePickerFragment.java 87 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice,
DockService.java 419 Collection<CachedBluetoothDevice> cachedDevices = mDeviceManager.getCachedDevicesCopy();
429 for (CachedBluetoothDevice deviceUI : cachedDevices) {
784 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice(
796 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice(
    [all...]
A2dpProfile.java 66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice);
HidProfile.java 61 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice);
HeadsetProfile.java 69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice);
LocalBluetoothProfileManager.java 219 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);

Completed in 103 milliseconds