Home
last modified time | relevance | path

Searched refs:mSelectedDevice (Results 1 – 5 of 5) 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/apps/Settings/src/com/android/settings/bluetooth/
DDevicePickerFragment.java111 mSelectedDevice = null; in onStart()
131 if (mSelectedDevice == null) { in onDestroy()
140 getActivity(), mSelectedDevice.getAddress()); in onDevicePreferenceClick()
143 sendDevicePickedIntent(mSelectedDevice); in onDevicePreferenceClick()
160 if (!device.equals(mSelectedDevice)) { in onDeviceBondStateChanged()
DDeviceListPreferenceFragment.java66 BluetoothDevice mSelectedDevice; field in DeviceListPreferenceFragment
158 mSelectedDevice = device.getDevice(); in onPreferenceTreeClick()
159 mSelectedList.add(mSelectedDevice); in onPreferenceTreeClick()
DBluetoothPairingDetail.java183 if (mSelectedDevice != null && cachedDevice != null) { in onDeviceBondStateChanged()
185 if (device != null && mSelectedDevice.equals(device) in onDeviceBondStateChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DDevicePickerFragmentTest.java77 mFragment.mSelectedDevice = bluetoothDevice; in callingPackageIsEqualToLaunchPackage_sendBroadcastToLaunchPackage()
96 mFragment.mSelectedDevice = bluetoothDevice; in callingPackageIsNotEqualToLaunchPackage_broadcastNotSend()