HomeSort by relevance Sort by last modified time
    Searched refs:devices (Results 101 - 125 of 1444) sorted by null

1 2 3 45 6 7 8 91011>>

  /packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/
UsbUtil.java 28 * Util methods to work with USB devices.
36 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); local
38 for (UsbDevice device : devices.values()) {
84 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); local
85 for (UsbDevice dev : devices.values()) {
  /prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/
test_environment.h 42 const std::vector<Device *> &devices() { return devs_; } function in class:vk_testing::Environment
  /external/chromium-trace/catapult/devil/devil/android/tools/
screenshot.py 38 devices = script_common.GetDevices(args.devices, args.blacklist_file)
49 device_utils.DeviceUtils.parallel(devices).pMap(screenshot)
script_common_test.py 27 devices = [
32 return_value=devices):
34 devices,
38 devices = [
43 return_value=devices):
keyboard.py 84 def __init__(self, devices):
86 'More than one device found: %s' % ', '.join(str(d) for d in devices))
98 devices = script_common.GetDevices(args.devices, None)
99 if len(devices) > 1:
100 raise MultipleDevicesError(devices)
117 Keyboard(devices[0], next_char())
  /external/libmojo/third_party/catapult/devil/devil/android/
device_blacklist.py 22 A dict containing bad devices.
40 blacklist: list of bad devices to write to the blacklist file.
46 def Extend(self, devices, reason='unknown'):
47 """Adds devices to blacklist file.
50 devices: list of bad devices to be added to the blacklist file.
58 device_dicts = {device: event_info for device in devices}
60 ','.join(devices), self._path, reason)
  /external/libmojo/third_party/catapult/devil/devil/android/perf/
perf_control_devicetest.py 22 devices = device_utils.DeviceUtils.HealthyDevices(blacklist=None)
23 self.assertGreater(len(devices), 0, 'No device attached!')
24 self._device = devices[0]
  /external/libmojo/third_party/catapult/devil/devil/android/tools/
screenshot.py 23 parser.add_argument('-d', '--device', dest='devices', action='append',
41 devices = script_common.GetDevices(args.devices, args.blacklist_file)
52 device_utils.DeviceUtils.parallel(devices).pMap(screenshot)
  /external/syslinux/gpxe/src/core/
device.c 34 /** Registered root devices */
35 static LIST_HEAD ( devices );
67 * Probe all devices
69 * This initiates probing for all devices in the system. After this
78 list_add ( &rootdev->dev.siblings, &devices );
86 * Remove all devices
94 DBG ( "Refusing to remove devices on shutdown\n" );
98 list_for_each_entry_safe ( rootdev, tmp, &devices, dev.siblings ) {
  /external/tensorflow/tensorflow/core/common_runtime/
device_set.cc 42 std::vector<Device*>* devices) const {
43 // TODO(jeff): If we are going to repeatedly lookup the set of devices
45 devices->clear();
48 devices->push_back(d);
device_mgr.cc 27 DeviceMgr::DeviceMgr(const std::vector<Device*>& devices)
29 for (Device* d : devices) {
59 std::vector<DeviceAttributes>* devices) const {
60 devices->reserve(devices_.size());
62 devices->emplace_back(dev->attributes());
98 << " all devices: " << str_util::Join(device_names, ", ");
  /external/webrtc/webrtc/sound/
alsasoundsystem.h 42 bool EnumeratePlaybackDevices(SoundDeviceLocatorList *devices) override;
43 bool EnumerateCaptureDevices(SoundDeviceLocatorList *devices) override;
60 bool EnumerateDevices(SoundDeviceLocatorList *devices,
pulseaudiosoundsystem.h 47 virtual bool EnumeratePlaybackDevices(SoundDeviceLocatorList *devices);
48 virtual bool EnumerateCaptureDevices(SoundDeviceLocatorList *devices);
74 bool EnumerateDevices(SoundDeviceLocatorList *devices,
100 SoundDeviceLocatorList *devices,
105 SoundDeviceLocatorList *devices,
  /frameworks/av/services/audioflinger/
AudioHwDevice.cpp 37 audio_devices_t devices,
53 status_t status = outputStream->open(handle, devices, config, address);
78 status = outputStream->open(handle, devices, &originalConfig, address);
  /device/google/cuttlefish_common/host/libs/vm_manager/
libvirt_manager.cpp 159 void ConfigureSerialPort(xmlNode* devices, int port, DeviceSourceType type,
161 auto tty = xmlNewChild(devices, nullptr, xc("serial"), nullptr);
175 // This section adds <disk> elements to <devices> node.
176 void ConfigureDisk(xmlNode* devices, const std::string& name,
178 auto ch = xmlNewChild(devices, nullptr, xc("disk"), nullptr);
195 // This section adds <channel> elements to <devices> node.
196 void ConfigureVirtioChannel(xmlNode* devices, int port, const std::string& name,
201 auto vch = xmlNewChild(devices, nullptr, xc("channel"), nullptr);
216 // This section adds <interface> elements to <devices> node.
217 void ConfigureNIC(xmlNode* devices, const std::string& name
298 auto devices = xmlNewChild(root, nullptr, xc("devices"), nullptr); local
    [all...]
  /external/tensorflow/tensorflow/python/client/
virtual_gpu_test.py 57 self.devices = ['/cpu:0'] + gpu_devices
58 self._num_devices = len(self.devices)
84 logging.info('devices: %s', str(self.devices))
88 # Creates virtual GPU devices
129 devices,
135 for i in range(len(devices)):
136 with ops.device(devices[i]):
144 with ops.device(devices[op[2]]):
175 sess, random_seed, op_placement, self.devices, debug_mode=debug_mode
    [all...]
  /external/autotest/client/cros/cellular/mbim_compliance/
mbim_device_context.py 108 devices = core.find(
115 if not devices:
119 elif len(devices) > 1:
123 len(devices))
125 device = devices[0]
  /external/autotest/server/cros/network/
rf_switch_client_box_test.py 24 """Test to get all devices from a Client Box."""
33 devices = client_box.get_devices()
34 self.assertEqual(len(devices), 1)
35 device = devices[0]
40 """Test for no devices in the Client Box."""
45 devices = client_box.get_devices()
46 self.assertEqual(len(devices), 0)
64 """Test to get Devices when using wrong list of labels."""
  /external/tensorflow/tensorflow/stream_executor/
platform.cc 111 auto devices = access.first; local
113 StreamExecutor *from = ExecutorForDevice(devices.first).ValueOrDie();
114 StreamExecutor *to = ExecutorForDevice(devices.second).ValueOrDie();
121 << devices.first << " to device ordinal " << devices.second;
  /packages/services/Car/car-usb-handler/src/android/car/usb/handler/
UsbUtil.java 28 * Util methods to work with USB devices.
32 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); local
33 ArrayList<UsbDevice> androidDevices = new ArrayList<>(devices.size());
34 for (UsbDevice device : devices.values()) {
83 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); local
84 for (UsbDevice dev : devices.values()) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DeviceMenuListener.java 30 import com.android.sdklib.devices.Device;
104 // Group the devices by manufacturer, then put them in the menu.
105 // If we don't have anything but Nexus devices, group them together rather than
112 List<Device> devices; local
119 devices = manufacturers.get(device.getManufacturer());
121 devices = new ArrayList<Device>();
122 manufacturers.put(device.getManufacturer(), devices); local
124 devices.add(device);
127 for (List<Device> devices : manufacturers.values()) {
131 item.setText(devices.get(0).getManufacturer())
    [all...]
  /external/chromium-trace/catapult/systrace/bin/
adb_profile_chrome_startup 69 devices = [a.GetDeviceSerial() for a in adb_wrapper.AdbWrapper.Devices()]
70 if len(devices) == 0:
71 raise RuntimeError('No ADB devices connected.')
72 elif len(devices) >= 2:
73 raise RuntimeError('Multiple devices connected, serial number required')
74 options.device_serial_number = devices[0]
79 devices = device_utils.DeviceUtils.HealthyDevices()
80 if len(devices) != 1:
83 device = devices[0
    [all...]
  /tools/test/connectivity/tools/lab/metrics/
usb_metric.py 40 DEVICES = 'devices'
111 A dictionary with the devices 'bus:device' as key, and name of the
115 devices = {}
129 devices[dev_id] = dev_name
130 return devices
143 devices = []
146 devices.append(
149 devices.append(Device(dev, 0, dev_name_dict[dev]))
150 return devices
    [all...]
  /hardware/interfaces/camera/device/
README.md 7 individual camera devices. Instances of camera.device HAL interface can be obtained
17 [source.android.com](http://source.android.com/devices/camera/index.html).
23 HIDL version of the legacy camera device HAL. Intended as a shim for devices
26 May be used in HIDL passthrough mode for devices upgrading to the Android O
27 release; must be used in binderized mode for devices launching in the O release.
29 It is strongly recommended to not use this interface for new devices, as new
30 devices may not use this interface starting with the Android P release, and all
59 May be used in passthrough mode for devices upgrading to the Android O release;
60 must be used in binderized mode for all new devices launching with Android O or
  /external/skia/infra/cts/
run_testlab.go 34 // loads a file with the whitelisted devices and versions. Make sure to include
35 // human readable names for the devices.
40 // latest version. To see available devices and version run with
113 // Get list of all available devices.
114 devices, ignoredDevices, err := getAvailableDevices(WHITELIST_DEV_IDS, *minAPIVersion, *maxAPIVersion)
116 sklog.Fatalf("Unable to retrieve available devices: %s", err)
119 sklog.Infof("Selected devices:")
120 logDevices(devices)
122 if err := runTests(apk_path, devices, ignoredDevices, client, *dryRun); err != nil {
128 // available devices and then returns a list of devices to be tested and the lis
    [all...]

Completed in 427 milliseconds

1 2 3 45 6 7 8 91011>>