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.java55 private final CachedBluetoothDevice mCachedDevice; field in BluetoothDevicePreference
70 mCachedDevice = cachedDevice; in BluetoothDevicePreference()
81 mCachedDevice.registerCallback(this); in BluetoothDevicePreference()
87 return mCachedDevice; in getCachedDevice()
97 mCachedDevice.unregisterCallback(this); in onPrepareForRemoval()
110 setTitle(mCachedDevice.getName()); in onDeviceAttributesChanged()
112 int summaryResId = mCachedDevice.getConnectionSummary(); in onDeviceAttributesChanged()
125 setEnabled(!mCachedDevice.isBusy()); in onDeviceAttributesChanged()
138 if (mCachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) { in onBindView()
143 deviceDetails.setTag(mCachedDevice); in onBindView()
[all …]