Home
last modified time | relevance | path

Searched refs:device_list (Results 1 – 18 of 18) sorted by relevance

/external/libmojo/third_party/catapult/devil/devil/android/
Ddevice_list.py41 def WritePersistentDeviceList(file_name, device_list): argument
43 assert isinstance(device_list, list)
46 device_list = [d for d in device_list if d != '(error)']
50 json.dump(device_list, f)
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_list.py43 def WritePersistentDeviceList(file_name, device_list): argument
45 assert isinstance(device_list, list)
48 device_list = [d for d in device_list if d != '(error)']
52 json.dump(device_list, f)
/external/libusb/tests/
Dstress.c59 libusb_device ** device_list; in test_get_device_list() local
60 ssize_t list_size = libusb_get_device_list(ctx, &device_list); in test_get_device_list()
61 if (list_size < 0 || device_list == NULL) { in test_get_device_list()
64 i, -list_size, device_list); in test_get_device_list()
67 libusb_free_device_list(device_list, 1); in test_get_device_list()
/external/tensorflow/tensorflow/core/common_runtime/sycl/
Dsycl_device.h37 auto device_list = Eigen::get_sycl_supported_devices(); in GSYCLInterface() local
39 for (const auto& device : device_list) { in GSYCLInterface()
53 for (const auto& device : device_list) { in GSYCLInterface()
66 for (const auto& device : device_list) { in GSYCLInterface()
81 for (int i = 0; i < device_list.size(); i++) { in GSYCLInterface()
/external/tensorflow/tensorflow/python/eager/
Dcontext.py183 device_list = pywrap_tensorflow.TFE_ContextListDevices(
187 for i in range(pywrap_tensorflow.TF_DeviceListCount(device_list)):
190 device_list, i, status)
194 device_list, i, status)
199 pywrap_tensorflow.TF_DeleteDeviceList(device_list)
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/
Dclient_lib_test.py90 device_list = d_client.list_devices()['devices']
91 device_ids = [device['id'] for device in device_list]
/external/adhd/cras/src/server/
Dcras_bt_device.c315 struct cras_bt_device **device_list = NULL; in cras_bt_device_get_list() local
321 tmp = realloc(device_list, in cras_bt_device_get_list()
322 sizeof(device_list[0]) * (num_devices + 1)); in cras_bt_device_get_list()
324 free(device_list); in cras_bt_device_get_list()
328 device_list = tmp; in cras_bt_device_get_list()
329 device_list[num_devices++] = device; in cras_bt_device_get_list()
332 *device_list_out = device_list; in cras_bt_device_get_list()
/external/chromium-trace/catapult/devil/devil/android/tools/
Ddevice_status.py22 from devil.android import device_list
219 expected_devices.update(device_list.GetPersistentDeviceList(path))
273 device_list.WritePersistentDeviceList(
/external/libmojo/third_party/catapult/devil/devil/android/tools/
Ddevice_status.py23 from devil.android import device_list
223 expected_devices.update(device_list.GetPersistentDeviceList(path))
296 device_list.WritePersistentDeviceList(
/external/autotest/server/hosts/
Dtestbed.py97 device_list = [self.teststation]
98 device_list.extend(self.adb_devices.values())
99 return device_list
/external/mesa3d/src/gallium/state_trackers/clover/api/
Ddispatch.hpp205 const cl_device_id *device_list,
220 const cl_device_id *device_list,
667 const cl_device_id *device_list,
674 const cl_device_id *device_list,
685 const cl_device_id *device_list,
/external/ImageMagick/MagickCore/
Dopencl-private.h136 cl_uint num_devices,const cl_device_id *device_list,const size_t *lengths,
146 cl_uint num_devices,const cl_device_id *device_list,const char *options,
/external/autotest/client/common_lib/cros/manual/
Dcfm_helper.py269 def gpio_usb_test(dut, gpio_list, device_list, pause, board): argument
282 for device in device_list:
/external/webrtc/talk/media/devices/
Ddevicemanager_unittest.cc238 const char* const device_list[], int list_size) { in CompareDeviceList() argument
243 if (devices[i].name.compare(device_list[i]) != 0) { in CompareDeviceList()
/external/syslinux/gpxe/src/util/Option/
DROM.pm397 device_list => { offset => 0x08, length => 0x02, pack => "S" },
/external/tensorflow/tensorflow/python/client/
Dsession.py672 device_list = []
678 device_list.append(_DeviceAttributes(name, device_type, memory))
680 return device_list
/external/tensorflow/tensorflow/c/
Dc_api_test.cc68 TF_DeviceList* device_list = list.get(); in GPUDeviceName() local
72 const int num_devices = TF_DeviceListCount(device_list); in GPUDeviceName()
75 const char* device_name = TF_DeviceListName(device_list, i, s); in GPUDeviceName()
77 const char* device_type = TF_DeviceListType(device_list, i, s); in GPUDeviceName()
/external/libmtp/src/
Dlibmtp.c2350 uint32_t LIBMTP_Number_Devices_In_List(LIBMTP_mtpdevice_t *device_list) in LIBMTP_Number_Devices_In_List() argument
2354 for(iter = device_list; iter != NULL; iter = iter->next) in LIBMTP_Number_Devices_In_List()
2368 LIBMTP_error_number_t LIBMTP_Get_Connected_Devices(LIBMTP_mtpdevice_t **device_list) in LIBMTP_Get_Connected_Devices() argument
2376 *device_list = NULL; in LIBMTP_Get_Connected_Devices()
2382 *device_list = NULL; in LIBMTP_Get_Connected_Devices()
2387 *device_list = create_usb_mtp_devices(devices, numdevs); in LIBMTP_Get_Connected_Devices()
2393 if (*device_list == NULL) in LIBMTP_Get_Connected_Devices()