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

  /packages/apps/Settings/src/com/android/settings/bluetooth/
CachedBluetoothDeviceManager.java 55 CachedBluetoothDevice cachedDevice = findDevice(device);
56 if (cachedDevice == null) {
57 cachedDevice = new CachedBluetoothDevice(mLocalManager.getContext(), device);
58 mCachedDevices.add(cachedDevice);
59 dispatchDeviceAdded(cachedDevice);
81 CachedBluetoothDevice cachedDevice = findDevice(device);
82 if (cachedDevice == null) {
83 cachedDevice = new CachedBluetoothDevice(mLocalManager.getContext(), device);
84 mCachedDevices.add(cachedDevice);
87 cachedDevice.setRssi(rssi)
    [all...]
BluetoothDevicePreference.java 44 public BluetoothDevicePreference(Context context, CachedBluetoothDevice cachedDevice) {
53 mCachedDevice = cachedDevice;
57 cachedDevice.registerCallback(this);
59 onDeviceAttributesChanged(cachedDevice);
72 public void onDeviceAttributesChanged(CachedBluetoothDevice cachedDevice) {
BluetoothSettings.java 216 for (CachedBluetoothDevice cachedDevice : cachedDevices) {
217 onDeviceAdded(cachedDevice);
261 CachedBluetoothDevice cachedDevice = getDeviceFromMenuInfo(menuInfo);
262 if (cachedDevice == null) return;
264 cachedDevice.onCreateContextMenu(menu);
269 CachedBluetoothDevice cachedDevice = getDeviceFromMenuInfo(item.getMenuInfo());
270 if (cachedDevice == null) return false;
272 cachedDevice.onContextItemSelected(item);
291 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) {
293 if (mDevicePreferenceMap.get(cachedDevice) != null)
    [all...]
CachedBluetoothDevice.java 98 private String describe(CachedBluetoothDevice cachedDevice, Profile profile) {
100 sb.append("Address:").append(cachedDevice.mDevice);
162 private boolean disconnectInt(CachedBluetoothDevice cachedDevice, Profile profile) {
165 int status = profileManager.getConnectionStatus(cachedDevice.mDevice);
166 if (profileManager.disconnect(cachedDevice.mDevice)) {
284 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(btDevice);
286 if (cachedDevice != null && !cachedDevice.equals(device)) {
287 disconnectInt(cachedDevice, profile);
292 private boolean connectInt(CachedBluetoothDevice cachedDevice, Profile profile)
    [all...]
LocalBluetoothManager.java 279 CachedBluetoothDevice cachedDevice = mCachedDeviceManager.findDevice(device);
281 if (cachedDevice == null) {
288 name = cachedDevice.getName();
308 void onDeviceAdded(CachedBluetoothDevice cachedDevice);
309 void onDeviceDeleted(CachedBluetoothDevice cachedDevice);
DockService.java 638 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice(mContext,
640 cachedDevice.connect(profile);
651 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice(mContext, mBtManager, device);
652 List<Profile> profiles = cachedDevice.getConnectableProfiles();
666 cachedDevice.connect();
709 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice(mContext, mBtManager,
722 int status = profileManager.getConnectionStatus(cachedDevice.getDevice());
725 cachedDevice.disconnect(mProfiles[i]);
738 cachedDevice.connect();
    [all...]
ConnectSpecificProfilesActivity.java 194 public void onDeviceAttributesChanged(CachedBluetoothDevice cachedDevice) {

Completed in 46 milliseconds