Home
last modified time | relevance | path

Searched refs:new_device (Results 1 – 17 of 17) sorted by relevance

/external/autotest/client/cros/input_playback/
Dinput_playback.py140 new_device = Device(input_type)
141 new_device.emulated = True
158 new_device.name = name_line[3:-1]
160 logging.info('Emulating %s %s (%s).', input_type, new_device.name,
163 new_device.emulation_process = subprocess.Popen(
166 self._emulated_device = new_device
405 new_device = Device(input_type)
406 new_device.node = event
420 new_device.emulated = True
422 new_device.emulation_process = process
[all …]
/external/autotest/client/common_lib/cros/fake_device_server/
Ddevices.py91 new_device = self.resource.update_data_val(None, api_key,
93 self.commands_instance.new_device(new_device['id'])
94 return new_device
183 new_device = self.resource.update_data_val(device_id, api_key,
Ddevices_unittest.py44 new_device = self.devices.create_device(None, good_device_config)
45 self.assertTrue('id' in new_device)
46 device_id = new_device['id']
83 self.commands.new_device(12345)
Dcommands_unittest.py53 self.commands.new_device(DEVICE_ID)
79 self.commands.new_device(DEVICE_ID)
98 self.commands.new_device(DEVICE_ID)
Dcommands.py46 def new_device(self, device_id): member in Commands
/external/tensorflow/tensorflow/tools/graph_transforms/
Dset_device.cc26 string new_device; in SetDevice() local
27 TF_RETURN_IF_ERROR(context.GetOneStringParameter("device", "", &new_device)); in SetDevice()
37 new_node->set_device(new_device); in SetDevice()
/external/libusb/libusb/os/
Ddarwin_usb.c871 struct darwin_cached_device *new_device; in darwin_get_cached_device() local
898 list_for_each_entry(new_device, &darwin_cached_devices, list, struct darwin_cached_device) { in darwin_get_cached_device()
899 …ID 0x%" PRIx64 " against cached device with sessionID 0x%" PRIx64, sessionID, new_device->session); in darwin_get_cached_device()
900 if (new_device->session == sessionID) { in darwin_get_cached_device()
902 *cached_out = new_device; in darwin_get_cached_device()
918 new_device = calloc (1, sizeof (*new_device)); in darwin_get_cached_device()
919 if (!new_device) { in darwin_get_cached_device()
925 list_add(&new_device->list, &darwin_cached_devices); in darwin_get_cached_device()
927 (*device)->GetDeviceAddress (device, (USBDeviceAddress *)&new_device->address); in darwin_get_cached_device()
930 darwin_ref_cached_device(new_device); in darwin_get_cached_device()
[all …]
/external/e2fsprogs/ext2ed/
Dgeneral_com.c152 char *ptr,new_device [80]; in set_device() local
154 ptr=parse_word (command_line,new_device); in set_device()
159 parse_word (ptr,new_device); in set_device()
160 check_mounted (new_device); in set_device()
175 if ( (device_handle=fopen (new_device,"rb"))==NULL) { in set_device()
176 wprintw (command_win,"Error - Can not open device %s\n",new_device);refresh_command_win (); in set_device()
180 strcpy (device_name,new_device); in set_device()
/external/chromium-trace/catapult/devil/devil/utils/
Dfind_usb_devices.py293 new_device = USBDeviceNode(bus_num=bus_num,
301 port_num, new_device)
303 tree[bus_num].AddChild(port_num, new_device)
/external/linux-kselftest/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink_in_netns.sh54 echo "$BUS_ADDR $PORT_COUNT" > /sys/bus/netdevsim/new_device
Ddevlink_trap.sh309 echo "$DEV_ADDR 0" > ${NETDEVSIM_PATH}/new_device
Ddevlink.sh449 echo "$BUS_ADDR $PORT_COUNT" > /sys/bus/netdevsim/new_device
/external/wpa_supplicant_8/wpa_supplicant/
Dnotify.h104 int new_device);
Dnotify.c644 int new_device) in wpas_notify_p2p_device_found() argument
646 if (new_device) { in wpas_notify_p2p_device_found()
Dp2p_supplicant.c2449 int new_device) in wpas_dev_found() argument
2527 new_device); in wpas_dev_found()
2534 wfd_dev_info_len, new_device); in wpas_dev_found()
/external/linux-kselftest/tools/testing/selftests/net/
Drtnetlink.sh744 if [ ! -w /sys/bus/netdevsim/new_device ] ; then
754 echo "0" > /sys/bus/netdevsim/new_device
/external/wpa_supplicant_8/src/p2p/
Dp2p.h757 int new_device);