/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_ftplib.py | 406 self.client = ftplib.FTP(timeout=10) 407 self.client.connect(self.server.host, self.server.port) 410 self.client.close() 414 self.assertEqual(self.client.getwelcome(), '220 welcome') 417 self.assertEqual(self.client.sanitize('foo'), repr('foo')) 418 self.assertEqual(self.client.sanitize('pass 12345'), repr('pass *****')) 419 self.assertEqual(self.client.sanitize('PASS 12345'), repr('PASS *****')) 422 self.assertRaises(ftplib.error_temp, self.client.sendcmd, 'echo 400') 423 self.assertRaises(ftplib.error_temp, self.client.sendcmd, 'echo 499') 424 self.assertRaises(ftplib.error_perm, self.client.sendcmd, 'echo 500' [all...] |
/external/autotest/server/site_tests/factory_InstallVM/ |
factory_InstallVM.py | 20 from autotest_lib.client.bin import utils as client_utils 69 Kills the KVM on the client machine. 76 if (self.client.run("pgrep -f '%s'" % pattern, ignore_status=True) 79 self.client.run("pkill -f '%s'" % (pattern)) 101 self.hda = os.path.join(self.client.get_tmp_dir(), _HDA_FILENAME) 104 self.client.run("cp %s %s" % (self.reuse_hda, self.hda)) 115 # On the client, create a nice big sparse file for hda 117 self.client.run("truncate -s %dM %s" % (_HDA_SIZE_MB, self.hda)) 118 hdb = os.path.join(self.client.get_tmp_dir(), "hdb.bin") 119 self.client.send_file(local_hdb, hdb [all...] |
/external/autotest/client/cros/cellular/mbim_compliance/tests/ |
cm_13.py | 14 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_channel 15 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_constants 16 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_control 17 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_data 18 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_errors 19 from autotest_lib.client.cros.cellular.mbim_compliance.sequences \ 21 from autotest_lib.client.cros.cellular.mbim_compliance.sequences \ 23 from autotest_lib.client.cros.cellular.mbim_compliance.sequences \ 25 from autotest_lib.client.cros.cellular.mbim_compliance.tests import test
|
/external/autotest/frontend/client/src/autotest/common/ |
XhrJsonRpcProxy.java | 4 import com.google.gwt.http.client.Request; 5 import com.google.gwt.http.client.RequestBuilder; 6 import com.google.gwt.http.client.RequestCallback; 7 import com.google.gwt.http.client.RequestException; 8 import com.google.gwt.http.client.Response; 9 import com.google.gwt.json.client.JSONException; 10 import com.google.gwt.json.client.JSONObject; 11 import com.google.gwt.json.client.JSONParser; 12 import com.google.gwt.json.client.JSONValue;
|
/external/autotest/server/site_tests/network_WiFi_MalformedProbeResp/ |
network_WiFi_MalformedProbeResp.py | 8 from autotest_lib.client.common_lib import error 9 from autotest_lib.client.common_lib.cros.network import xmlrpc_datatypes 37 client_mac = self.context.client.wifi_mac 39 pretest_reset_count = self.context.client.get_num_card_resets() 51 with self.context.client.assert_no_disconnects(): 63 bss_list = self.context.client.iw_runner.scan( 64 self.context.client.wifi_if, [2412]) 75 raise error.TestFail('Client failed to receive probe responses') 77 reset_count = self.context.client.get_num_card_resets() 86 raise error.TestFail('Client reset card' [all...] |
/external/autotest/server/site_tests/network_WiFi_RoamDbus/ |
network_WiFi_RoamDbus.py | 7 from autotest_lib.client.common_lib import error 8 from autotest_lib.client.common_lib.cros.network import iw_runner 9 from autotest_lib.client.common_lib.cros.network import xmlrpc_datatypes 14 """Tests an intentional client-driven roam between APs 35 runner = iw_runner.IwRunner(remote_host=self.context.client.host) 37 scan_results = runner.scan(self.context.client.wifi_if) 90 interface = self.context.client.wifi_if 91 current_bssid = self.context.client.iw_runner.get_current_bssid(interface) 98 self.context.client.request_roam_dbus(roam_to_bssid, interface) 101 if not self.context.client.wait_for_roam [all...] |
/external/libdrm/nouveau/ |
private.h | 37 nouveau_client(struct nouveau_client *client) 39 return (struct nouveau_client_priv *)client; 43 cli_kref_get(struct nouveau_client *client, struct nouveau_bo *bo) 45 struct nouveau_client_priv *pcli = nouveau_client(client); 53 cli_push_get(struct nouveau_client *client, struct nouveau_bo *bo) 55 struct nouveau_client_priv *pcli = nouveau_client(client); 63 cli_kref_set(struct nouveau_client *client, struct nouveau_bo *bo, 67 struct nouveau_client_priv *pcli = nouveau_client(client); 101 uint32_t *client; member in struct:nouveau_device_priv
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
CookiesTest.java | 32 import org.apache.http.client.HttpClient; 33 import org.apache.http.client.methods.HttpGet; 35 import org.apache.http.impl.client.DefaultHttpClient; 67 HttpClient client = new DefaultHttpClient(); local 68 client.execute(new HttpGet(server.getUrl("/").toURI())); 97 HttpClient client = new DefaultHttpClient(); local 98 client.getParams().setParameter( 101 HttpResponse getCookies = client.execute(new HttpGet("http://my.t-mobile.com/")); 105 HttpResponse sendCookies = client.execute(new HttpGet("http://my.t-mobile.com/"));
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestSSLSocketPair.java | 29 * a pair of connected and handshaked client and server SSLSockets for 35 public final SSLSocket client; field in class:TestSSLSocketPair 39 SSLSocket client) { 42 this.client = client; 49 client.close(); 65 * Create a new connected server/client socket pair within a 75 final SSLSocket client = (SSLSocket) local 92 client.setEnabledCipherSuites(clientCipherSuites); 94 client.startHandshake() [all...] |
/prebuilts/tools/common/m2/repository/com/google/api-client/google-api-client/1.22.0/ |
google-api-client-1.22.0.jar | |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
HttpAuthHandlerTest.java | 112 ProceedHttpAuthClient client = new ProceedHttpAuthClient(1, WRONG_USERNAME, WRONG_PASSWORD); local 113 mOnUiThread.setWebViewClient(client); 119 assertEquals(CtsTestServer.AUTH_REALM, client.realm); 124 ProceedHttpAuthClient client = new ProceedHttpAuthClient(1, null, null); local 125 mOnUiThread.setWebViewClient(client); 131 assertEquals(CtsTestServer.AUTH_REALM, client.realm); 136 ProceedHttpAuthClient client = new ProceedHttpAuthClient(1, CORRECT_USERNAME, CORRECT_PASSWORD); local 137 mOnUiThread.setWebViewClient(client); 143 assertEquals(CtsTestServer.AUTH_REALM, client.realm); 166 CancelHttpAuthClient client = new CancelHttpAuthClient() local 184 ProceedHttpAuthClient client = new ProceedHttpAuthClient(1, WRONG_USERNAME, WRONG_PASSWORD); local [all...] |
/external/autotest/client/cros/image_comparison/ |
image_comparison_factory.py | 7 from autotest_lib.client.cros.image_comparison import pdiff_image_comparer 8 from autotest_lib.client.cros.image_comparison import publisher 9 from autotest_lib.client.cros.image_comparison import rgb_image_comparer 10 from autotest_lib.client.cros.image_comparison import verifier 11 from autotest_lib.client.cros.video import method_logger
|
/external/autotest/client/site_tests/audio_CrasLoopback/ |
audio_CrasLoopback.py | 7 from autotest_lib.client.bin import utils 8 from autotest_lib.client.common_lib import error 9 from autotest_lib.client.cros.audio import audio_helper 10 from autotest_lib.client.cros.audio import cmd_utils 11 from autotest_lib.client.cros.audio import cras_utils
|
/external/autotest/client/site_tests/cellular_MbimComplianceControlRequest/ |
cellular_MbimComplianceCM03.py | 6 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_constants 7 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_errors 8 from autotest_lib.client.cros.cellular.mbim_compliance \ 10 from autotest_lib.client.cros.cellular.mbim_compliance.sequences \ 12 from autotest_lib.client.cros.cellular.mbim_compliance.sequences \
|
cellular_MbimComplianceCM04.py | 6 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_errors 7 from autotest_lib.client.cros.cellular.mbim_compliance \ 9 from autotest_lib.client.cros.cellular.mbim_compliance.sequences \ 11 from autotest_lib.client.cros.cellular.mbim_compliance.sequences \ 13 from autotest_lib.client.cros.cellular.mbim_compliance.sequences \
|
cellular_MbimComplianceCM09.py | 6 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_errors 7 from autotest_lib.client.cros.cellular.mbim_compliance \ 9 from autotest_lib.client.cros.cellular.mbim_compliance.sequences \ 11 from autotest_lib.client.cros.cellular.mbim_compliance.sequences \ 13 from autotest_lib.client.cros.cellular.mbim_compliance.sequences \
|
/external/autotest/client/site_tests/cellular_MbimComplianceDataTransfer/ |
cellular_MbimComplianceDTS0208.py | 6 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_constants 7 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_data_transfer 8 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_dts_test_base 9 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_errors 10 from autotest_lib.client.cros.cellular.mbim_compliance.sequences \
|
cellular_MbimComplianceDTS0410.py | 6 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_constants 7 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_data_transfer 8 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_dts_test_base 9 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_errors 10 from autotest_lib.client.cros.cellular.mbim_compliance.sequences \
|
cellular_MbimComplianceDTS1420.py | 6 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_constants 7 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_data_transfer 8 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_dts_test_base 9 from autotest_lib.client.cros.cellular.mbim_compliance import mbim_errors 10 from autotest_lib.client.cros.cellular.mbim_compliance.sequences \
|
/external/autotest/client/site_tests/cellular_Smoke/ |
cellular_Smoke.py | 5 from autotest_lib.client.bin import test, utils 6 from autotest_lib.client.common_lib import error 7 from autotest_lib.client.cros import backchannel, network 9 from autotest_lib.client.cros.cellular import cellular, cell_tools, environment 13 from autotest_lib.client.cros import flimflam_test_path
|
/external/autotest/client/site_tests/cellular_Throughput/ |
cellular_Throughput.py | 6 from autotest_lib.client.bin import test, utils 7 from autotest_lib.client.common_lib import error 8 from autotest_lib.client.cros import backchannel, http_speed, network 10 from autotest_lib.client.cros.cellular import cellular, cell_tools, environment 12 from autotest_lib.client.cros import flimflam_test_path
|
/external/autotest/client/site_tests/graphics_PerfControl/ |
graphics_PerfControl.py | 7 from autotest_lib.client.bin import test, utils 8 from autotest_lib.client.common_lib import error 9 from autotest_lib.client.cros import perf 10 from autotest_lib.client.cros import service_stopper 11 from autotest_lib.client.cros.graphics import graphics_utils
|
/external/autotest/client/site_tests/login_GaiaLogin/ |
login_GaiaLogin.py | 6 from autotest_lib.client.bin import test 7 from autotest_lib.client.cros import cryptohome 8 from autotest_lib.client.common_lib import error 9 from autotest_lib.client.common_lib import file_utils 10 from autotest_lib.client.common_lib.cros import chrome
|
/external/autotest/client/site_tests/network_8021xEapDetection/ |
network_8021xEapDetection.py | 8 from autotest_lib.client.bin import test 9 from autotest_lib.client.common_lib import error 10 from autotest_lib.client.common_lib.cros import virtual_ethernet_pair 11 from autotest_lib.client.cros import hostapd_server 12 from autotest_lib.client.cros.networking import shill_proxy
|
/external/autotest/client/site_tests/network_ChromeCellularNetworkPresent/ |
network_ChromeCellularNetworkPresent.py | 5 from autotest_lib.client.bin import test 6 from autotest_lib.client.common_lib import error 7 from autotest_lib.client.cros.cellular.pseudomodem import pm_constants 8 from autotest_lib.client.cros.cellular.pseudomodem import pseudomodem_context 9 from autotest_lib.client.cros.networking.chrome_testing \ 15 client/cros/networking/chrome_testing. It uses telemetry and pseudomodem to
|