Home
last modified time | relevance | path

Searched refs:client (Results 1 – 25 of 44) sorted by relevance

12

/test/framework/harnesses/host_controller/build/
Dbuild_provider_pab_test.py33 self.client = build_provider_pab.BuildProviderPAB()
34 self.client.XSRF_STORE = None
37 del self.client
48 self.client.Authenticate()
64 self.client.Authenticate()
81 self.client.Authenticate()
91 self.client._credentials = mock_creds
96 self.client.DownloadArtifact(
98 self.client._credentials.apply.assert_called_with({})
107 self.client._xsrf = 'disable'
[all …]
DREADME.md6 * Click "Create credentials" and select "OAuth client ID"
8 * Click the download button for the client you just created,
/test/vts-testcase/nbu/src/
Dble_test.py191 def Connect(client, server): argument
220 client.client_callback = client.android.bleConnectGatt(
221 client.connect_to_address)
223 start_client_results = client.client_callback.getAll(
229 client.log.info('BLE client connected')
232 def CancelOpen(client, server): argument
263 client.client_callback = client.android.bleConnectGatt(
264 client.connect_to_address)
266 start_client_results = client.client_callback.getAll(
269 client.android.bleDisconnect()
[all …]
/test/vts/agents/hal/
DAgentRequestHandler.cpp236 VtsDriverSocketClient* client = local
238 if (!client) {
240 android::sp<android::vts::IVtsFuzzer> client =
242 if (!client.get()) {
254 int32_t driver_id = client->LoadHal(
276 driver_client_ = client;
292 VtsDriverSocketClient* client = driver_client_; local
293 if (!client) {
295 android::sp<android::vts::IVtsFuzzer> client =
297 if (!client.get()) {
[all …]
DSocketClientToDriver.cpp234 VtsDriverSocketClient* client = GetDriverSocketClient(service_name); in IsDriverRunning() local
235 if (client) { in IsDriverRunning()
236 client->Exit(); in IsDriverRunning()
237 delete client; in IsDriverRunning()
248 VtsDriverSocketClient* client = new VtsDriverSocketClient(); in GetDriverSocketClient() local
249 if (!client->Connect(socket_port_file_path)) { in GetDriverSocketClient()
251 delete client; in GetDriverSocketClient()
254 return client; in GetDriverSocketClient()
/test/vts/utils/python/mirror/
Dmirror_tracker.py118 client=None): argument
151 if client is None:
152 client = vts_tcp_client.VtsTcpClient()
153 client.Connect(
185 mirror = resource_mirror.ResourceFmqMirror(data_type, sync, client)
197 def InitHidlMemory(self, mem_size=0, client=None, mem_name=None): argument
220 if client is None:
221 client = vts_tcp_client.VtsTcpClient()
222 client.Connect(
227 mirror = resource_mirror.ResourceHidlMemoryMirror(client)
[all …]
Dresource_mirror.py43 def __init__(self, data_type, sync, client, queue_id=-1): argument
54 super(ResourceFmqMirror, self).__init__(client)
397 def __init__(self, client, mem_id=-1): argument
398 super(ResourceHidlMemoryMirror, self).__init__(client)
657 def __init__(self, client, handle_id=-1): argument
658 super(ResourceHidlHandleMirror, self).__init__(client)
Dmirror_object.py74 def __init__(self, client, caller_uid=None): argument
75 self._client = client
Dshell_mirror.py37 def __init__(self, client, adb): argument
38 super(ShellMirror, self).__init__(client)
Dhal_mirror.py53 client, argument
58 super(HalMirror, self).__init__(client, hal_driver_id, if_spec_message,
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/util/
DVtsDashboardApiTransportTest.java22 import com.google.api.client.http.HttpHeaders;
23 import com.google.api.client.http.HttpRequest;
24 import com.google.api.client.http.HttpRequestFactory;
25 import com.google.api.client.http.HttpResponse;
26 import com.google.api.client.http.HttpTransport;
27 import com.google.api.client.http.LowLevelHttpRequest;
28 import com.google.api.client.http.LowLevelHttpResponse;
29 import com.google.api.client.json.Json;
30 import com.google.api.client.json.jackson2.JacksonFactory;
31 import com.google.api.client.testing.http.HttpTesting;
[all …]
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/
DVtsDashboardApiTransport.java19 import com.google.api.client.http.ByteArrayContent;
20 import com.google.api.client.http.FileContent;
21 import com.google.api.client.http.GenericUrl;
22 import com.google.api.client.http.HttpContent;
23 import com.google.api.client.http.HttpHeaders;
24 import com.google.api.client.http.HttpRequest;
25 import com.google.api.client.http.HttpRequestFactory;
26 import com.google.api.client.http.HttpResponse;
27 import com.google.api.client.http.HttpTransport;
28 import com.google.api.client.http.MultipartContent;
[all …]
DVtsDashboardUtil.java36 import com.google.api.client.auth.oauth2.Credential;
37 import com.google.api.client.googleapis.auth.oauth2.GoogleCredential;
38 import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport;
39 import com.google.api.client.json.jackson2.JacksonFactory;
40 import com.google.api.client.json.JsonFactory;
45 import com.google.api.client.http.javanet.NetHttpTransport;
/test/vts/utils/python/gcs/
Dgcs_api_utils.py114 client = storage.Client(credentials=self._credentials)
115 bucket = client.get_bucket(self._bucket_name)
164 client = storage.Client(credentials=self._credentials)
165 bucket = client.get_bucket(self._bucket_name)
183 client = storage.Client(credentials=self._credentials)
184 bucket = client.get_bucket(self._bucket_name)
258 client = storage.Client(credentials=self._credentials)
259 bucket = client.get_bucket(self._bucket_name)
307 client = storage.Client(credentials=self._credentials)
308 bucket = client.get_bucket(self._bucket_name)
[all …]
/test/vts/utils/python/controllers/
Dandroid.py66 self.client = None # prevent close errors on connect failure
87 self.client = self.conn.makefile(mode="brw")
107 self.client.write(json.dumps({'cmd': command,
109 self.client.flush()
110 return self.client.readline()
118 self.client.write(request.encode("utf8") + b'\n')
119 self.client.flush()
120 response = self.client.readline()
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsSpreadSheetSyncServlet.java21 import com.google.api.client.auth.oauth2.Credential;
22 import com.google.api.client.extensions.appengine.datastore.AppEngineDataStoreFactory;
23 import com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp;
24 import com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver;
25 import com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeFlow;
26 import com.google.api.client.googleapis.auth.oauth2.GoogleClientSecrets;
27 import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport;
28 import com.google.api.client.http.javanet.NetHttpTransport;
29 import com.google.api.client.json.JsonFactory;
30 import com.google.api.client.json.jackson2.JacksonFactory;
/test/vts/testcases/codelab/fmq_test/
DVtsCodelabFmqTest.py85 client=self.dut.hal.GetTcpClient("audio"))
93 client=self.dut.hal.GetTcpClient("audio"))
103 client=self.dut.hal.GetTcpClient("audio"))
111 client=self.dut.hal.GetTcpClient("audio"))
121 client=self.dut.hal.GetTcpClient("audio"))
129 client=self.dut.hal.GetTcpClient("audio"))
137 client=self.dut.hal.GetTcpClient("audio"))
151 client=self.dut.hal.GetTcpClient("audio"))
159 client=self.dut.hal.GetTcpClient("audio"))
/test/vti/dashboard/
Dbuild.gradle78 …compile group: 'com.google.http-client', name: 'google-http-client', version: "${googleHttpClientV…
79 …compile group: 'com.google.http-client', name: 'google-http-client-protobuf', version: "${googleHt…
84 …compile(group: 'com.google.api-client', name: 'google-api-client', version: "${googleHttpClientVer…
87 …compile group: 'com.google.oauth-client', name: 'google-oauth-client-jetty', version: "${googleHtt…
/test/vti/dashboard/src/main/java/com/android/vts/api/
DBigtableLegacyJsonServlet.java22 import com.google.api.client.googleapis.auth.oauth2.GoogleCredential;
23 import com.google.api.client.http.javanet.NetHttpTransport;
24 import com.google.api.client.json.jackson.JacksonFactory;
DTestSuiteResultRestServlet.java22 import com.google.api.client.googleapis.auth.oauth2.GoogleCredential;
23 import com.google.api.client.http.javanet.NetHttpTransport;
24 import com.google.api.client.json.jackson.JacksonFactory;
/test/vts/testcases/codelab/hidl_handle_test/
DVtsCodelabHidlHandleTest.py138 client=self.dut.hal.GetTcpClient("dumpstate"))
142 client=self.dut.hal.GetTcpClient("dumpstate"))
195 client=self.dut.hal.GetTcpClient("dumpstate"))
/test/vti/test_serving/gae/
Drequirements.txt1 google-api-python-client
/test/vts/proto/
DVtsProfilingMessage.proto29 // Entry event on the client side of a binderized HAL.
31 // Exit event on the client side of a binderized HAL.
/test/framework/harnesses/host_controller/script/
Dpip_requirements.txt5 google-api-python-client
/test/vti/test_serving/gae/frontend/src/
Dkarma.conf.js15 client: { property

12