Searched refs:selectedDevice (Results 1 – 1 of 1) sorted by relevance
61 final DeviceFilterPair selectedDevice = getService().mDevicesFound.get(0); in onCreate() local65 selectedDevice.getDisplayName()), 0)); in onCreate()68 getService().mSelectedDevice = selectedDevice; in onCreate()141 DeviceFilterPair selectedDevice = getService().mSelectedDevice; in onSelectionUpdate() local142 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() argument155 getCallingPackage(), getDeviceMacAddress(selectedDevice.device)); in onDeviceConfirmed()157 new Intent().putExtra(CompanionDeviceManager.EXTRA_DEVICE, selectedDevice.device)); in onDeviceConfirmed()