/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | CachedBluetoothDeviceManager.java | 36 private final List<CachedBluetoothDevice> mCachedDevices = 37 new ArrayList<CachedBluetoothDevice>(); 43 public synchronized Collection<CachedBluetoothDevice> getCachedDevicesCopy() { in getCachedDevicesCopy() 44 return new ArrayList<CachedBluetoothDevice>(mCachedDevices); in getCachedDevicesCopy() 47 public static boolean onDeviceDisappeared(CachedBluetoothDevice cachedDevice) { in onDeviceDisappeared() 53 CachedBluetoothDevice cachedDevice = findDevice(device); in onDeviceNameUpdated() 69 CachedBluetoothDevice findDevice(BluetoothDevice device) { in findDevice() 70 for (CachedBluetoothDevice cachedDevice : mCachedDevices) { in findDevice() 84 CachedBluetoothDevice addDevice(LocalBluetoothAdapter adapter, in addDevice() 87 CachedBluetoothDevice newDevice = new CachedBluetoothDevice(mContext, adapter, in addDevice() [all …]
|
D | DeviceProfilesSettings.java | 54 implements CachedBluetoothDevice.Callback, Preference.OnPreferenceChangeListener { 61 private CachedBluetoothDevice mCachedDevice; 132 public void setDevice(CachedBluetoothDevice cachedDevice) { in setDevice() 151 if (pbapPermission != CachedBluetoothDevice.ACCESS_UNKNOWN) { in addPreferencesForProfiles() 159 if (mapPermission != CachedBluetoothDevice.ACCESS_UNKNOWN) { in addPreferencesForProfiles() 224 == CachedBluetoothDevice.ACCESS_ALLOWED ? CachedBluetoothDevice.ACCESS_REJECTED in onProfileClicked() 225 : CachedBluetoothDevice.ACCESS_ALLOWED; in onProfileClicked() 227 profilePref.setChecked(newPermission == CachedBluetoothDevice.ACCESS_ALLOWED); in onProfileClicked() 256 final CachedBluetoothDevice device = mCachedDevice; in askDisconnect() 329 == CachedBluetoothDevice.ACCESS_ALLOWED); in refreshProfilePreference() [all …]
|
D | DeviceListPreferenceFragment.java | 57 final WeakHashMap<CachedBluetoothDevice, BluetoothDevicePreference> mDevicePreferenceMap = 58 new WeakHashMap<CachedBluetoothDevice, BluetoothDevicePreference>(); 126 Collection<CachedBluetoothDevice> cachedDevices = in addCachedDevices() 128 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in addCachedDevices() 143 CachedBluetoothDevice device = btPreference.getCachedDevice(); in onPreferenceTreeClick() 156 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { in onDeviceAdded() 169 void createDevicePreference(CachedBluetoothDevice cachedDevice) { in createDevicePreference() 192 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { in onDeviceDeleted()
|
D | BluetoothPermissionRequest.java | 206 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice); in checkUserChoice() 217 if (phonebookPermission == CachedBluetoothDevice.ACCESS_UNKNOWN) { in checkUserChoice() 219 } else if (phonebookPermission == CachedBluetoothDevice.ACCESS_ALLOWED) { in checkUserChoice() 222 } else if (phonebookPermission == CachedBluetoothDevice.ACCESS_REJECTED) { in checkUserChoice() 231 if (messagePermission == CachedBluetoothDevice.ACCESS_UNKNOWN) { in checkUserChoice() 233 } else if (messagePermission == CachedBluetoothDevice.ACCESS_ALLOWED) { in checkUserChoice() 236 } else if (messagePermission == CachedBluetoothDevice.ACCESS_REJECTED) { in checkUserChoice()
|
D | BluetoothEventManager.java | 199 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() 214 private void dispatchDeviceAdded(CachedBluetoothDevice cachedDevice) { in dispatchDeviceAdded() 225 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() 256 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() 352 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() 364 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() 380 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in readPairedDevices()
|
D | CachedBluetoothDevice.java | 43 final class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice> { class 161 CachedBluetoothDevice(Context context, in CachedBluetoothDevice() method in CachedBluetoothDevice 623 if ((o == null) || !(o instanceof CachedBluetoothDevice)) { in equals() 626 return mDevice.equals(((CachedBluetoothDevice) o).mDevice); in equals() 637 public int compareTo(CachedBluetoothDevice another) { in compareTo() 784 setPhonebookPermissionChoice(CachedBluetoothDevice.ACCESS_ALLOWED); in processPhonebookAccess()
|
D | DockService.java | 419 Collection<CachedBluetoothDevice> cachedDevices = mDeviceManager.getCachedDevicesCopy(); in hasOtherConnectedDevices() 429 for (CachedBluetoothDevice deviceUI : cachedDevices) { in hasOtherConnectedDevices() 784 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice( in handleUnexpectedDisconnect() 796 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice( in connectIfEnabled() 844 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice( in applyBtSettings() 897 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice(device); in handleUndocked() 902 private CachedBluetoothDevice getCachedBluetoothDevice(BluetoothDevice device) { in getCachedBluetoothDevice() 903 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in getCachedBluetoothDevice()
|
D | BluetoothDevicePreference.java | 48 CachedBluetoothDevice.Callback, OnClickListener { 53 private final CachedBluetoothDevice mCachedDevice; 59 public BluetoothDevicePreference(Context context, CachedBluetoothDevice cachedDevice) { in BluetoothDevicePreference() 84 CachedBluetoothDevice getCachedDevice() { in getCachedDevice() 231 final CachedBluetoothDevice cachedDevice = mCachedDevice; in getConnectionSummary()
|
D | BluetoothSettings.java | 386 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() 395 if (!(v.getTag() instanceof CachedBluetoothDevice)) { 400 final CachedBluetoothDevice device = (CachedBluetoothDevice) v.getTag(); 481 CachedBluetoothDevice cachedDevice = preference.getCachedDevice(); in initDevicePreference()
|
D | BluetoothCallback.java | 26 void onDeviceAdded(CachedBluetoothDevice cachedDevice); in onDeviceAdded() 27 void onDeviceDeleted(CachedBluetoothDevice cachedDevice); in onDeviceDeleted() 28 void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState); in onDeviceBondStateChanged()
|
D | DevicePickerFragment.java | 118 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, in onDeviceBondStateChanged()
|
D | HidProfile.java | 61 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
D | MapProfile.java | 69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
D | A2dpProfile.java | 66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
D | HeadsetProfile.java | 69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
D | BluetoothPermissionActivity.java | 198 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice); in onNegative()
|
D | LocalBluetoothProfileManager.java | 227 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
|