/external/autotest/server/cros/ |
D | watchdog_tester.py | 20 return self._client.run('test -c "%s"' % self.WD_DEV, 22 self._client.run('test -x "%s"' % self.DAISYDOG_PATH, 27 self._client.run('stop daisydog', ignore_status=True) 30 self._client.run('start daisydog', ignore_status=True) 34 output = self._client.run('daisydog -c').stdout 39 self._client = client 56 self._client.run('echo "z" > %s' % self.WD_DEV) 62 self._client.hostname, self._hw_interval) 67 if not self._client.wait_down(timeout=wait_down): 73 if not self._client.wait_up(timeout=timeout):
|
D | goofy_client.py | 150 self._client = self._host.rpc_server_tracker.jsonrpc_connect( 177 status = self._client.GetGoofyStatus().get('status') 232 self._client.SwitchTestList(next_list, 'full') 246 self._client.StopTest() 257 test_all = set([test['path'] for test in self._client.GetTests() 290 for test in self._client.GetTests(): 306 return self._client.GetTestRunStatus(run_id) 348 run_id = self._client.RunTest(suite_name)
|
/external/autotest/server/site_tests/kernel_MemoryRamoop/ |
D | kernel_MemoryRamoop.py | 43 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/ |
D | client_runner.py | 31 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/faft/ |
D | firmware_test_unittest.py | 164 self._client = mock.MagicMock() 170 self.test._client.host_info_store.get.return_value.build = "dummy_build" 171 self.test._client._servo_host.validate_image_usbkey.return_value = ( 174 self.test._client.stage_build_to_usb.assert_called_with("dummy_build") 177 self.test._client.host_info_store.get.return_value.build = "dummy_build" 178 self.test._client._servo_host.validate_image_usbkey.return_value = ( 181 self.test._client.stage_build_to_usb.assert_not_called() 184 self.test._client.host_info_store.get.return_value.build = None 186 self.test._client.stage_build_to_usb.assert_not_called() 189 self.test._client.host_info_store.get.return_value.build = "dummy_build" [all …]
|
D | rpc_proxy.py | 65 self._client = host 100 autotest.Autotest(self._client).install() 101 self._faft_client = self._client.rpc_server_tracker.xmlrpc_connect( 118 self._client.rpc_server_tracker.disconnect( 138 self._client.rpc_server_tracker.disconnect( 144 return '%s(%s)' % (self.__class__.__name__, self._client) 150 self._client.hostname,
|
/external/pigweed/pw_rpc/py/tests/ |
D | client_test.py | 166 self._protos, self._client = _test_setup(self._save_packet) 178 self.assertEqual(self._client.channel(1).channel.id, 1) 179 self.assertEqual(self._client.channel(2).channel.id, 2) 182 self.assertEqual(self._client.channel().channel.id, 1) 186 self._client.channel(404) 189 services = self._client.services 199 self.assertEqual(set(self._client.methods()), all_methods) 203 self._client.method('pw.test1.PublicService.SomeUnary'), self. 204 _client.services['pw.test1.PublicService'].methods['SomeUnary']) 206 self._client.method('pw.test1.PublicService/SomeUnary'), self. [all …]
|
/external/autotest/server/site_tests/cellular_ChromeEndToEnd/ |
D | cellular_ChromeEndToEnd.py | 23 self._client.power_off_via_servo() 24 self._client.power_on_via_servo() 26 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/cros/multimedia/ |
D | remote_facade_factory.py | 100 self._client = host 229 full_command = '%s "%s"' % (self._client.ssh_command(), command) 261 self._xmlrpc_proxy = self._client.rpc_server_tracker.xmlrpc_connect( 304 self._client.reboot() 322 self._client.rpc_server_tracker.disconnect( 353 self._client = host 357 client_at = autotest.Autotest(self._client) 361 host=self._client, 379 self._client, self._proxy) 384 self._client, self._proxy) [all …]
|
D | audio_facade_adapter.py | 30 self._client = host 83 self._client.send_file(path, client_file_path) 164 self._client.get_file(remote_path, local_path) 233 self._client.get_file(remote_path, file_path)
|
/external/autotest/server/site_tests/hardware_MemoryIntegrity/ |
D | hardware_MemoryIntegrity.py | 39 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/walt/ios/WALT/ |
D | MenuController.m | 25 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 …]
|
D | SettingsController.m | 24 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];
|
D | ScreenResponseController.m | 37 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 …]
|
D | WALTClient.m | 87 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 …]
|
/external/autotest/server/site_tests/hardware_DiskFirmwareUpgrade/ |
D | hardware_DiskFirmwareUpgrade.py | 23 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/cellular_StaleModemReboot/ |
D | cellular_StaleModemReboot.py | 153 modem_status = self._client.run('modem status').stdout.strip() 171 self._client.power_off_via_servo() 172 self._client.power_on_via_servo() 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/autotest/server/site_tests/network_DiskFull/ |
D | network_DiskFull.py | 45 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/nos/host/generic/libnos/include/nos/ |
D | AppClient.h | 40 : _client(client), _appId(appId) {} in AppClient() 51 return _client.CallApp(_appId, arg, request, response); in Call() 56 NuggetClientInterface& _client;
|
/external/autotest/server/site_tests/network_EthCapsServer/ |
D | network_EthCapsServer.py | 122 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/firmware_FWupdateThenSleep/ |
D | firmware_FWupdateThenSleep.py | 30 ac_online = self._client.is_ac_connected() 31 battery_percentage = self._client.get_battery_display_percentage() 34 if not self._client.has_battery(): 39 PowerUtils.put_host_battery_in_range(self._client, 179 original_boot_id = self._client.get_boot_id() 188 if battery_only and self._client.is_ac_connected():
|
/external/autotest/server/site_tests/enterprise_CFM_HuddlyUpdater/ |
D | enterprise_CFM_HuddlyUpdater.py | 78 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/ |
D | network_WiFi_DisableEnable.py | 64 self._client = client 69 self._client.set_device_enabled(self._interface, False) 73 self._client.set_device_enabled(self._interface, True)
|
/external/webrtc/examples/objc/AppRTCMobile/ios/broadcast_extension/ |
D | ARDBroadcastSampleHandler.m | 22 ARDAppClient *_client; 44 _client = [[ARDAppClient alloc] initWithDelegate:self]; 45 _client.broadcast = YES; 54 [_client connectToRoomWithId:roomName settings:settingsModel isLoopback:NO]; 68 [_client disconnect];
|
/external/autotest/server/site_tests/platform_USBHIDWake/ |
D | platform_USBHIDWake.py | 45 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)
|