Home
last modified time | relevance | path

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

/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DDeviceScanActivity.java230 viewHolder.deviceName = (TextView) view.findViewById(R.id.device_name); in getView()
237 final String deviceName = device.getName(); in getView() local
238 if (deviceName != null && deviceName.length() > 0) in getView()
239 viewHolder.deviceName.setText(deviceName); in getView()
241 viewHolder.deviceName.setText(R.string.unknown_device); in getView()
265 TextView deviceName; field in DeviceScanActivity.ViewHolder
/development/samples/VirtualDeviceManager/demos/src/com/example/android/vdmdemo/demos/
DVibrationDemoActivity.java75 String deviceName = DEVICE_NAME_UNKNOWN; in updateCurrentDeviceTextView() local
77 deviceName = DEVICE_NAME_DEFAULT; in updateCurrentDeviceTextView()
80 deviceName = Objects.requireNonNull(device).getName(); in updateCurrentDeviceTextView()
84 deviceName = virtualDevice.getName(); in updateCurrentDeviceTextView()
90 currentDevice.setText(context.getString(R.string.current_device, deviceName)); in updateCurrentDeviceTextView()
DSensorDemoActivity.java76 String deviceName = DEVICE_NAME_UNKNOWN; in updateCurrentDeviceTextView() local
78 deviceName = DEVICE_NAME_DEFAULT; in updateCurrentDeviceTextView()
81 deviceName = Objects.requireNonNull(device).getName(); in updateCurrentDeviceTextView()
85 deviceName = virtualDevice.getName(); in updateCurrentDeviceTextView()
91 currentDevice.setText(context.getString(R.string.current_device, deviceName)); in updateCurrentDeviceTextView()
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DDeviceListFragment.java130 top.setText(device.deviceName); in getView()
150 view.setText(device.deviceName); in updateThisDevice()
/development/samples/USB/AdbTest/src/com/android/adb/
DAdbTestActivity.java187 String deviceName = device.getDeviceName();
188 if (mDevice != null && mDevice.equals(deviceName)) {
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DWiFiDirectServicesList.java78 nameText.setText(service.device.deviceName + " - " + service.instanceName); in getView()
DWiFiServiceDiscoveryActivity.java276 device.deviceName + " is " in discoverService()