Home
last modified time | relevance | path

Searched refs:_client (Results 1 – 25 of 58) sorted by relevance

123

/external/autotest/server/site_tests/kernel_MemoryRamoop/
Dkernel_MemoryRamoop.py43 self._client = hosts.create_host(client_ip)
44 self._client_at = autotest.Autotest(self._client)
48 if self._client.check_for_lkdtm():
70 self._client.run(cmd)
75 ramoop = self._client.run(cmd).stdout
85 self._client.reboot()
94 self._client.suspend(suspend_time=15)
98 self._client.reboot()
110 boot_id = self._client.get_boot_id()
111 self._client.run(cmd, ignore_status=True)
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/qps/
Dclient_runner.py31 self._client = client
53 self._client.start()
58 self._client.stop()
60 self._client = None
64 self._client.send_request()
75 self._client.add_response_callback(self._send_request)
79 self._client.start()
81 self._client.send_request()
85 self._client.stop()
86 self._client = None
/external/autotest/server/cros/
Dwatchdog_tester.py18 return self._client.run('test -c "%s"' % self.WD_DEV,
24 self._client.run('stop daisydog', ignore_status=True)
27 self._client.run('start daisydog', ignore_status=True)
31 output = self._client.run('daisydog -c').stdout
36 self._client = client
53 self._client.run('echo "z" > %s' % self.WD_DEV)
59 self._client.hostname, self._hw_interval)
64 if not self._client.wait_down(timeout=wait_down):
70 if not self._client.wait_up(timeout=timeout):
Dgoofy_client.py149 self._client = self._host.rpc_server_tracker.jsonrpc_connect(
176 status = self._client.GetGoofyStatus().get('status')
231 self._client.SwitchTestList(next_list, 'full')
245 self._client.StopTest()
256 test_all = set([test['path'] for test in self._client.GetTests()
289 for test in self._client.GetTests():
305 return self._client.GetTestRunStatus(run_id)
347 run_id = self._client.RunTest(suite_name)
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_client.py915 self._client = c_api.ComputationBuilder(name.encode('utf8'))
930 return Computation(self._client.BuildWithRoot(root), backend=backend)
932 return Computation(self._client.Build(), backend=backend)
936 self._client.SetOpMetadata(op_metadata)
940 self._client.ClearOpMetadata()
951 return self._client.Infeed(shape)
959 self._client.Outfeed(operand, self.GetShape(operand), ''.encode('utf-8'))
972 return self._client.ConstantLiteral(value)
1048 return self._client.Parameter(parameter_num, shape, name.encode('utf8'))
1076 return self._client.Iota(element_type, size)
[all …]
/external/autotest/server/cros/multimedia/
Dremote_facade_factory.py87 self._client = host
198 full_command = '%s "%s"' % (self._client.ssh_command(), command)
230 self._xmlrpc_proxy = self._client.rpc_server_tracker.xmlrpc_connect(
271 self._client.reboot()
289 self._client.rpc_server_tracker.disconnect(
314 self._client = host
318 client_at = autotest.Autotest(self._client)
322 host=self._client,
340 self._client, self._proxy)
346 self._client, self._proxy)
[all …]
Daudio_facade_adapter.py30 self._client = host
80 self._client.send_file(path, client_file_path)
153 self._client.get_file(remote_path, local_path)
222 self._client.get_file(remote_path, file_path)
/external/walt/ios/WALT/
DMenuController.m25 WALTClient *_client;
36 _client = ((WALTAppDelegate *)[UIApplication sharedApplication].delegate).client;
42 [_client addObserver:self
49 [_client removeObserver:self forKeyPath:@"connected"];
56 if (_client.isConnected) {
61 _client.minError, _client.maxError];
127 cell.accessoryType = (_client.isConnected ?
138 if (![_client checkConnectionWithError:&error] ||
139 ![_client syncClocksWithError:&error]) {
145 _client.minError, _client.maxError];
[all …]
DSettingsController.m24 WALTClient *_client;
31 _client = ((WALTAppDelegate *)[UIApplication sharedApplication].delegate).client;
42 NSTimeInterval start = _client.currentTime;
44 if (![_client sendCommand:WALTPingCommand error:&error]) {
48 NSData *response = [_client readResponseWithTimeout:kWALTReadTimeout];
52 NSTimeInterval delta = _client.currentTime - start;
61 if (![_client updateSyncBoundsWithError:&error]) {
66 _client.minError, _client.maxError];
DScreenResponseController.m37 WALTClient *_client;
59 _client = ((WALTAppDelegate *)[UIApplication sharedApplication].delegate).client;
75 if (![_client sendCommand:WALTSendLastScreenCommand error:&error]) {
81 WALTTrigger trigger = [_client readTriggerWithTimeout:kWALTReadTimeout];
134 if (![_client syncClocksWithError:&error]) {
147 if (![_client sendCommand:WALTScreenOnCommand error:&error]) {
153 NSData *response = [_client readResponseWithTimeout:kWALTReadTimeout];
154 if (![_client checkResponse:response forCommand:WALTScreenOnCommand]) {
171 atomic_store(&_lastFlashTime, _client.currentTime);
177 WALTTrigger response = [_client readTriggerWithTimeout:kWALTReadTimeout];
[all …]
DWALTClient.m87 MIDIClient *_client;
142 if (_client.source.isOnline && _client.destination.isOnline && _syncCompleted) {
152 _client.delegate = nil;
153 _client = [[MIDIClient alloc] initWithName:@"WALT" error:error];
154 _client.delegate = self;
155 if (!_client) {
160 if (!_client.source.isOnline) {
165 if (![_client connectToSource:sources.firstObject error:error]) {
172 if (!_client.destination.isOnline) {
177 if (![_client connectToDestination:destinations.firstObject error:error]) {
[all …]
DTapLatencyController.m34 WALTClient *_client;
54 _client = ((WALTAppDelegate *)[UIApplication sharedApplication].delegate).client;
84 NSTimeInterval callbackTime = _client.currentTime;
87 NSTimeInterval physicalTime = [_client lastShockTimeWithError:&error];
124 actionString, _client.baseTime, physicalToKernel, kernelToCallback];
148 if (![_client syncClocksWithError:&error]) {
/external/autotest/server/site_tests/hardware_MemoryIntegrity/
Dhardware_MemoryIntegrity.py39 self._client.run('mkdir -p /tmp/ramdisk')
40 self._client.run('mount -t ramfs ramfs /tmp/ramdisk')
59 self._client.suspend(suspend_time=seconds)
80 if not self._client.ping_wait_up(30):
87 self._client.run('umount /tmp/ramdisk')
106 self._client = hosts.create_host(client_ip)
107 self._client_at = autotest.Autotest(self._client)
/external/autotest/server/site_tests/hardware_DiskFirmwareUpgrade/
Dhardware_DiskFirmwareUpgrade.py23 return self._client.run('ls "%s"' % f,
28 return self._client.run(
33 return self._client.run(
50 self._client = host
51 self._client_at = autotest.Autotest(self._client)
78 self._tmpdir = self._client.get_tmp_dir()
79 self._client.send_file(os.path.join(self.bindir, p),
/external/autotest/server/site_tests/security_kASLR/
Dsecurity_kASLR.py24 boot_id = self._client.get_boot_id()
25 self._client.run('reboot &')
26 self._client.wait_for_restart(old_boot_id=boot_id,
38 self._client.run('cat /proc/kallsyms', stdout_tee=f)
65 self._client = host
68 kernel_ver = self._client.run('uname -r').stdout.rstrip()
69 arch = utils.get_arch(self._client.run)
/external/autotest/server/site_tests/kernel_BootMessagesServer/
Dkernel_BootMessagesServer.py76 self._client.run('dmesg -r', stdout_tee=f)
86 self._client.run('reboot')
87 self._client.wait_down()
88 self._client.wait_up()
97 self._client.run('cat /proc/meminfo', stdout_tee=f)
161 self._client = host
164 cs = utils.Crossystem(self._client)
/external/autotest/server/site_tests/cellular_ChromeEndToEnd/
Dcellular_ChromeEndToEnd.py26 self._client.wait_for_restart(old_boot_id=boot_id)
37 self._client = host
44 boot_id = self._client.get_boot_id()
47 client_at = autotest.Autotest(self._client)
/external/autotest/server/site_tests/network_DiskFull/
Dnetwork_DiskFull.py45 output = self._client.run('df -P %s' % mount_point).stdout
79 self._client = hosts.create_host(client_addr)
80 client_autotest = autotest.Autotest(self._client)
85 self._client.send_file(disk_filler_src, disk_filler_dst)
90 with remote_command.Command(self._client, disk_filler_command) \
/external/autotest/server/cros/faft/
Drpc_proxy.py51 self._client = host
85 autotest.Autotest(self._client).install()
86 self._faft_client = self._client.rpc_server_tracker.xmlrpc_connect(
98 self._client.rpc_server_tracker.disconnect(self._client_config.rpc_port)
/external/autotest/server/site_tests/network_EthCapsServer/
Dnetwork_EthCapsServer.py122 client_tmpdir = self._client.get_tmp_dir()
127 self._client.run(cmd)
132 self._client.get_file(client_results, server_tmpfile.name)
152 self._client = hosts.create_host(client_ip)
153 client_at = autotest.Autotest(self._client)
/external/autotest/server/site_tests/cellular_StaleModemReboot/
Dcellular_StaleModemReboot.py153 modem_status = self._client.run('modem status').stdout.strip()
174 self._client.wait_for_restart(old_boot_id=boot_id)
212 self._client = host
221 if 'gobi' in self._client.run('modem status').stdout.strip().lower():
234 boot_id = self._client.get_boot_id()
/external/nos/host/generic/libnos/include/nos/
DAppClient.h40 : _client(client), _appId(appId) {} in AppClient()
51 return _client.CallApp(_appId, arg, request, response); in Call()
56 NuggetClientInterface& _client;
/external/autotest/server/site_tests/enterprise_CFM_HuddlyUpdater/
Denterprise_CFM_HuddlyUpdater.py78 result = self._client.run(cmd)
95 self._client.send_file(
143 self._client = host
201 self._client.run(cmd)
205 self._client.reboot()
/external/autotest/server/site_tests/network_WiFi_DisableEnable/
Dnetwork_WiFi_DisableEnable.py64 self._client = client
69 self._client.set_device_enabled(self._interface, False)
73 self._client.set_device_enabled(self._interface, True)
/external/autotest/server/site_tests/platform_USBHIDWake/
Dplatform_USBHIDWake.py45 self._client.run("(echo mem > /sys/power/state &)")
83 rval = self._client.run(cmd, ignore_status=True)
95 self._client = hosts.create_host(client_ip)

123