Home
last modified time | relevance | path

Searched refs:device_info (Results 1 – 25 of 28) sorted by relevance

12

/external/libmojo/third_party/catapult/devil/devil/utils/
Dreset_usb.py38 for device_info in lsusb_info:
39 device_serial = lsusb.get_lsusb_serial(device_info)
41 bus = int(device_info.get('bus'))
42 device = int(device_info.get('device'))
58 for device_info in lsusb_info:
59 if int(device_info.get('device')) != 1 and condition(device_info):
60 bus = int(device_info.get('bus'))
61 device = int(device_info.get('device'))
64 serial = lsusb.get_lsusb_serial(device_info)
/external/chromium-trace/catapult/devil/devil/utils/
Dreset_usb.py46 for device_info in lsusb_info:
47 device_serial = lsusb.get_lsusb_serial(device_info)
49 bus = int(device_info.get('bus'))
50 device = int(device_info.get('device'))
67 for device_info in lsusb_info:
68 if int(device_info.get('device')) != 1 and condition(device_info):
69 bus = int(device_info.get('bus'))
70 device = int(device_info.get('device'))
73 serial = lsusb.get_lsusb_serial(device_info)
/external/libxcam/modules/ocl/
Dcl_device.cpp105 CLDevieInfo device_info; in init() local
122 if (!query_device_info (device_id, device_info)) { in init()
133 device_info.max_compute_unit, in init()
134 device_info.max_work_item_dims, in init()
135device_info.max_work_item_sizes[0], device_info.max_work_item_sizes[1], device_info.max_work_item_… in init()
136 device_info.max_work_group_size, in init()
137 device_info.image_pitch_alignment); in init()
160 _device_info = device_info; in init()
/external/tensorflow/tensorflow/core/graph/
Dsubgraph.cc56 static Status FeedInputs(Graph* g, const DeviceAttributes& device_info, in FeedInputs() argument
86 .Attr("send_device", device_info.name()) in FeedInputs()
87 .Attr("recv_device", device_info.name()) in FeedInputs()
89 static_cast<int64>(device_info.incarnation())) in FeedInputs()
104 recv_node->set_assigned_device_name(device_info.name()); in FeedInputs()
188 Status FetchOutputs(Graph* g, const DeviceAttributes& device_info, in FetchOutputs() argument
233 .Attr("send_device", device_info.name()) in FetchOutputs()
234 .Attr("recv_device", device_info.name()) in FetchOutputs()
236 static_cast<int64>(device_info.incarnation())) in FetchOutputs()
252 send_node->set_assigned_device_name(device_info.name()); in FetchOutputs()
[all …]
Dsubgraph_test.cc347 DeviceAttributes device_info; in BM_SubgraphHelper() local
348 device_info.set_name("/job:a/replica:0/task:0/cpu:0"); in BM_SubgraphHelper()
349 device_info.set_device_type(DeviceType(DEVICE_CPU).type()); in BM_SubgraphHelper()
350 device_info.set_incarnation(0); in BM_SubgraphHelper()
380 subgraph, fed, fetch, targets, device_info, use_function_convention, in BM_SubgraphHelper()
Dsubgraph.h71 const DeviceAttributes& device_info, bool use_function_convention,
84 Status FetchOutputs(Graph* g, const DeviceAttributes& device_info,
/external/tensorflow/tensorflow/tools/test/
Dsystem_info_lib.py54 config.device_info.add().Pack(gpu)
132 device_info = test_log_pb2.AvailableDeviceInfo()
133 device_info.name = d.name
134 device_info.type = d.device_type
135 device_info.memory_limit = d.memory_limit
136 device_info.physical_description = d.physical_device_desc
137 device_info_list.append(device_info)
/external/libcups/cups/
Dgetdevices.c49 *device_info, /* device-info value */ in cupsGetDevices() local
172 device_info = NULL; in cupsGetDevices()
202 if (device_class && device_id && device_info && device_make_and_model && in cupsGetDevices()
204 (*callback)(device_class, device_id, device_info, in cupsGetDevices()
210 device_info = NULL; in cupsGetDevices()
223 device_info = attr->values[0].string.text; in cupsGetDevices()
239 if (device_class && device_id && device_info && device_make_and_model && in cupsGetDevices()
241 (*callback)(device_class, device_id, device_info, in cupsGetDevices()
Dbackend.c96 const char *device_info, /* I - device-info string or @code NULL@ */ in cupsBackendReport() argument
108 quote_string(device_info); in cupsBackendReport()
Dbackend.h62 const char *device_info,
Dadminutil.h52 const char *device_id, const char *device_info,
/external/webrtc/webrtc/test/
Dvcm_capturer.cc24 VideoCaptureModule::DeviceInfo* device_info = in Init() local
29 if (device_info->GetDeviceName(0, device_name, sizeof(device_name), in Init()
39 device_info->GetCapability(vcm_->CurrentDeviceName(), 0, capability_); in Init()
40 delete device_info; in Init()
/external/f2fs-tools/lib/
Dlibf2fs_zoned.c29 struct device_info *dev = c.devices + i; in f2fs_get_zoned_model()
64 struct device_info *dev = c.devices + i; in f2fs_get_zone_blocks()
109 struct device_info *dev = c.devices + j; in f2fs_check_zones()
217 struct device_info *dev = c.devices + j; in f2fs_reset_zones()
281 struct device_info *dev = c.devices + i; in f2fs_get_zoned_model()
289 struct device_info *dev = c.devices + i; in f2fs_get_zone_blocks()
Dlibf2fs.c610 memset(&c.devices[i], 0, sizeof(struct device_info)); in f2fs_init_configuration()
797 struct device_info *dev = c.devices + i; in get_device_info()
1015 struct device_info *dev = c.devices + i; in get_device_info()
/external/webrtc/talk/media/webrtc/
Dfakewebrtcvcmfactory.h42 if (!device_info.GetDeviceById(device_id)) return NULL; in Create()
49 return &device_info; in CreateDeviceInfo()
56 FakeWebRtcDeviceInfo device_info; variable
Dwebrtcvideocapturer_unittest.cc52 factory_->device_info.AddDevice(kTestDeviceName, kTestDeviceId); in WebRtcVideoCapturerTest()
59 factory_->device_info.AddCapability(kTestDeviceId, vga); in WebRtcVideoCapturerTest()
/external/autotest/client/site_tests/hardware_TouchScreenPowerCycles/
Dhardware_TouchScreenPowerCycles.py59 device_info = f.read()
65 for line in device_info.splitlines():
/external/autotest/client/common_lib/cros/
Dpower_cycle_usb_util.py196 device_info = bus_info.strip(target_bus_token).split(TOKEN_ROOT_DEVICE)
197 for device in device_info:
/external/tensorflow/tensorflow/tools/graph_transforms/
Dsummarize_graph_main.cc237 for (const auto& device_info : device_counts) { in SummarizeGraph() local
238 std::cout << device_info.second << " nodes assigned to device '" in SummarizeGraph()
239 << device_info.first << "'"; in SummarizeGraph()
/external/autotest/client/site_tests/firmware_TouchMTB/
Dvalidators.py1320 device_info=None): argument
1323 if device_info:
1324 self.device_info = device_info
1328 self.device_info = input_device.InputDevice(self.device.device_node)
1332 self.number_fingers = self.device_info.get_num_fingers()
1333 self.slot_dict = self.device_info.get_slots()
/external/autotest/server/site_tests/firmware_Mosys/
Dfirmware_Mosys.py157 device_info = 'adb devices -l'
158 lines = self.faft_client.host.run_shell_command_get_output(device_info)
/external/f2fs-tools/mkfs/
Df2fs_format_utils.c49 struct device_info *dev = c.devices + i; in trim_device()
/external/vulkan-validation-layers/include/vulkan/
Dvk_layer.h102 void *device_info; member
/external/autotest/server/hosts/
Dcros_host.py1296 device_info = {}
1303 info[device_name] = device_info
1305 device_info = {}
1307 device_info[pair[0]] = pair[1]
1309 info[device_name] = device_info
/external/tensorflow/tensorflow/core/common_runtime/
Ddirect_session.cc140 const DeviceAttributes& device_info, in GetRendezvousKey() argument
142 return strings::StrCat(device_info.name(), ";", in GetRendezvousKey()
143 strings::FpToString(device_info.incarnation()), ";", in GetRendezvousKey()
144 device_info.name(), ";", tensor_name, ";", in GetRendezvousKey()

12