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/
DDeviceChooserActivity.java61 final DeviceFilterPair selectedDevice = getService().mDevicesFound.get(0); in onCreate() local
65 selectedDevice.getDisplayName()), 0)); in onCreate()
68 getService().mSelectedDevice = selectedDevice; in onCreate()
141 DeviceFilterPair selectedDevice = getService().mSelectedDevice; in onSelectionUpdate() local
142 if (mPairButton.getVisibility() != View.VISIBLE && selectedDevice != null) { in onSelectionUpdate()
143 onDeviceConfirmed(selectedDevice); in onSelectionUpdate()
145 mPairButton.setEnabled(selectedDevice != null); in onSelectionUpdate()
153 protected void onDeviceConfirmed(DeviceFilterPair selectedDevice) { in onDeviceConfirmed() argument
155 getCallingPackage(), getDeviceMacAddress(selectedDevice.device)); in onDeviceConfirmed()
157 new Intent().putExtra(CompanionDeviceManager.EXTRA_DEVICE, selectedDevice.device)); in onDeviceConfirmed()