Home
last modified time | relevance | path

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

/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DCompanionDeviceActivity.java93 final DeviceFilterPair selectedDevice = getService().mDevicesFound.get(0); in onCreate() local
98 selectedDevice.getDisplayName()), 0)); in onCreate()
101 getService().mSelectedDevice = selectedDevice; in onCreate()
104 onDeviceConfirmed(selectedDevice); in onCreate()
241 DeviceFilterPair selectedDevice = getService().mSelectedDevice; in onSelectionUpdate() local
242 if (mPairButton.getVisibility() != View.VISIBLE && selectedDevice != null) { in onSelectionUpdate()
243 onDeviceConfirmed(selectedDevice); in onSelectionUpdate()
245 mPairButton.setEnabled(selectedDevice != null); in onSelectionUpdate()
253 protected void onDeviceConfirmed(DeviceFilterPair selectedDevice) { in onDeviceConfirmed() argument
254 Log.i(LOG_TAG, "onDeviceConfirmed(selectedDevice = " + selectedDevice + ")"); in onDeviceConfirmed()
[all …]