Home
last modified time | relevance | path

Searched refs:mCachedDevice (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/bluetooth/
DDeviceProfilesSettings.java62 private CachedBluetoothDevice mCachedDevice; field in DeviceProfilesSettings
88 mCachedDevice = deviceManager.findDevice(remoteDevice); in onCreate()
89 if (mCachedDevice == null) { in onCreate()
90 mCachedDevice = deviceManager.addDevice(mManager.getBluetoothAdapter(), in onCreate()
103 deviceName.setText(mCachedDevice.getName(), TextView.BufferType.EDITABLE); in onCreateDialog()
117 mCachedDevice.setName(deviceName.getText().toString()); in onClick()
120 mCachedDevice.unpair(); in onClick()
122 BluetoothSettings.class.getName(), mCachedDevice.getName(), in onClick()
136 if (mCachedDevice != null) { in onDestroy()
137 mCachedDevice.unregisterCallback(this); in onDestroy()
[all …]
DBluetoothDevicePreference.java58 private final CachedBluetoothDevice mCachedDevice; field in BluetoothDevicePreference
86 mCachedDevice = cachedDevice; in BluetoothDevicePreference()
97 mCachedDevice.registerCallback(this); in BluetoothDevicePreference()
107 return mCachedDevice; in getCachedDevice()
117 mCachedDevice.unregisterCallback(this); in onPrepareForRemoval()
130 setTitle(mCachedDevice.getName()); in onDeviceAttributesChanged()
132 int summaryResId = mCachedDevice.getConnectionSummary(); in onDeviceAttributesChanged()
147 setEnabled(!mCachedDevice.isBusy()); in onDeviceAttributesChanged()
160 if (mCachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) { in onBindViewHolder()
165 deviceDetails.setTag(mCachedDevice); in onBindViewHolder()
[all …]