Home
last modified time | relevance | path

Searched refs:mSelectedDevice (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDevicePickerPreferenceController.java57 private CachedBluetoothDevice mSelectedDevice; field in BluetoothDevicePickerPreferenceController
92 mSelectedDevice = cachedDevice; in onDeviceClickedInternal()
113 mSelectedDevice = null; in onStartInternal()
119 if (mSelectedDevice == null) { in onDestroyInternal()
128 if (bondState == BluetoothDevice.BOND_BONDED && cachedDevice.equals(mSelectedDevice)) { in onDeviceBondStateChanged()
129 sendDevicePickedIntent(mSelectedDevice.getDevice()); in onDeviceBondStateChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DDevicePickerFragment.java94 mSelectedDevice = null; in onStart()
114 if (mSelectedDevice == null) { in onDestroy()
123 getActivity(), mSelectedDevice.getAddress()); in onDevicePreferenceClick()
126 sendDevicePickedIntent(mSelectedDevice); in onDevicePreferenceClick()
143 if (!device.equals(mSelectedDevice)) { in onDeviceBondStateChanged()
DBluetoothPairingDetail.java183 if (mSelectedDevice != null && cachedDevice != null) { in onDeviceBondStateChanged()
185 if (device != null && mSelectedDevice.equals(device) in onDeviceBondStateChanged()
195 if (mSelectedDevice != null) { in onConnectionStateChanged()
197 if (device != null && mSelectedDevice.equals(device) in onConnectionStateChanged()
DDeviceListPreferenceFragment.java65 BluetoothDevice mSelectedDevice; field in DeviceListPreferenceFragment
156 mSelectedDevice = device.getDevice(); in onPreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DDevicePickerFragment.java94 mSelectedDevice = null; in onStart()
114 if (mSelectedDevice == null) { in onDestroy()
123 getActivity(), mSelectedDevice.getAddress()); in onDevicePreferenceClick()
126 sendDevicePickedIntent(mSelectedDevice); in onDevicePreferenceClick()
143 if (!device.equals(mSelectedDevice)) { in onDeviceBondStateChanged()
DBluetoothPairingDetail.java183 if (mSelectedDevice != null && cachedDevice != null) { in onDeviceBondStateChanged()
185 if (device != null && mSelectedDevice.equals(device) in onDeviceBondStateChanged()
195 if (mSelectedDevice != null) { in onConnectionStateChanged()
197 if (device != null && mSelectedDevice.equals(device) in onConnectionStateChanged()
DDeviceListPreferenceFragment.java65 BluetoothDevice mSelectedDevice; field in DeviceListPreferenceFragment
156 mSelectedDevice = device.getDevice(); in onPreferenceTreeClick()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothPairingDetailTest.java222 mFragment.mSelectedDevice = mBluetoothDevice; in onConnectionStateChanged_connected_finish()