Home
last modified time | relevance | path

Searched refs:client_id (Results 1 – 25 of 42) sorted by relevance

12

/external/autotest/site_utils/tester_feedback/
Dfeedback_delegate.py24 def _get_client(self, client_id): argument
34 if client_id not in self._clients:
35 raise xmlrpclib.Fault('Unknown client (%s)' % client_id)
36 return self._clients[client_id]
56 def new_client(self, client_id): argument
71 if client_id in self._clients:
73 'instance did not shutdown properly?', client_id)
74 self._clients[client_id] = {}
78 def delete_client(self, client_id): argument
85 del self._clients[client_id]
[all …]
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/
Doauth_helpers.py19 def get_oauth2_auth_url(client_id, scope=DEFAULT_SCOPE): argument
21 params = dict(client_id=client_id,
28 def get_oauth2_user_token(client_id, client_secret, code): argument
33 client_id=client_id,
46 def get_oauth2_robot_token(client_id, client_secret, code): argument
51 client_id=client_id,
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
Dsignurl.py161 def _GenSignedUrl(key, client_id, method, md5, argument
173 .format(gcs_path, client_id, expiration,
181 client_id = (ks.get_certificate()
186 return ks, client_id
251 def _ProbeObjectAccessWithClient(self, key, client_id, gcs_path): argument
254 signed_url = _GenSignedUrl(key, client_id, 'HEAD', '', '',
294 ks, client_id = _ReadKeystore(open(self.args[0], 'rb').read(), passwd)
308 final_url = _GenSignedUrl(ks.get_privatekey(), client_id,
320 client_id, gcs_path)
337 client_id, url)
/external/chromium-trace/catapult/dashboard/dashboard/
Dmock_oauth2_decorator.py14 def __init__(self, client_id, client_secret, scope, message, callback_path): argument
15 self.client_id = client_id
36 client_id='client_id',
Doauth2_decorator.py12 client_id='425761728072.apps.googleusercontent.com',
/external/chromium-trace/catapult/third_party/gsutil/third_party/gcs-oauth2-boto-plugin/gcs_oauth2_boto_plugin/
Doauth2_helper.py117 client_id = config.get('OAuth2', 'client_id',
119 if not client_id:
140 provider_token_uri, client_id, client_secret,
155 client.client_id, client.client_secret, scopes, auth_uri=client.auth_uri,
188 def SetFallbackClientIdAndSecret(client_id, client_secret): argument
192 CLIENT_ID = client_id
Doauth2_client.py371 def __init__(self, client_id, access_token_cache=None, auth_uri=None, argument
378 cache_key_base=client_id, auth_uri=auth_uri, token_uri=token_uri,
384 self._client_id = client_id
397 def __init__(self, client_id, private_key, password, argument
416 client_id, auth_uri=auth_uri, token_uri=token_uri,
476 def __init__(self, client_id, service_account_email, private_key_id, argument
496 client_id, auth_uri=auth_uri, token_uri=token_uri,
535 def __init__(self, token_uri, client_id, client_secret, refresh_token, argument
572 self.client_id = client_id
580 access_token.token, self.client_id, self.client_secret,
[all …]
Dtest_oauth2_client.py54 def __init__(self, client_id, private_key, password, auth_uri, token_uri, argument
57 client_id, private_key, password, auth_uri=auth_uri,
76 def __init__(self, token_uri, client_id, client_secret, refresh_token, argument
79 token_uri, client_id, client_secret, refresh_token, auth_uri=auth_uri,
/external/autotest/contrib/
Dcrbug_shell.py48 client_id = global_config.global_config.get_config_value(
54 if not client_secret and not client_id:
58 'implemented ATM ;).', client_id, client_secret)
60 input_flow = client.OAuth2WebServerFlow(client_id=client_id,
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dtest_signurl.py176 ks, client_id = (gslib.commands.signurl
180 client_id, 'PUT', '',
200 ks, client_id = (gslib.commands.signurl
205 client_id, 'PUT', '',
226 ks, client_id = (gslib.commands.signurl
231 client_id, 'GET', '',
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/
Dgen_client.py139 client_id = web.get('client_id')
145 client_id = FLAGS.client_id
148 if not client_id:
150 client_id = ''
157 discovery_doc, FLAGS.scope, client_id, client_secret,
Dutil.py162 scope_ls, client_id, client_secret, user_agent, names, api_key): argument
172 'client_id': client_id,
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
Dtest_keyring.py56 client_id = 'some_client_id'
63 access_token, client_id, client_secret,
90 self.assertEqual('some_client_id', restored.client_id)
Dtest_file.py68 def create_test_credentials(self, client_id='some_client_id', argument
78 access_token, client_id, client_secret,
250 credentials.client_id,
291 credentials.client_id,
375 credentials = self.create_test_credentials(client_id='client1')
385 credentials = self.create_test_credentials(client_id='client2')
Dtest_oauth2client.py200 self.assertEqual('123', credentials.client_id)
574 client_id = 'some_client_id'
580 access_token, client_id, client_secret,
657 client_id = u'some_client_id'
664 credentials = OAuth2Credentials(access_token, client_id, client_secret,
688 client_id = u'some_client_id'
695 credentials = OAuth2Credentials(access_token, client_id, client_secret,
877 client_id='client_id+1',
899 client_id='client_id+1',
1090 self.client_id = 'client_id_abc'
[all …]
Dtest_appengine.py270 self.assertEqual('foo_client_id', retrieved.flow.client_id)
297 self.assertEqual('foo_client_id', retrieved.flow.client_id)
317 client_id = 'some_client_id'
323 access_token, client_id, client_secret,
491 decorator = OAuth2Decorator(client_id='foo_client_id',
707 decorator = OAuth2Decorator(client_id='foo_client_id',
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dclient.py459 def __init__(self, access_token, client_id, client_secret, refresh_token, argument
489 self.client_id = client_id
737 'client_id': self.client_id,
1038 def __init__(self, access_token, client_id, client_secret, refresh_token, argument
1060 access_token, client_id, client_secret, refresh_token, token_expiry,
1083 'client_id': self.client_id,
1347 client_id=client_credentials['client_id'],
1657 def credentials_from_code(client_id, client_secret, scope, code, argument
1690 flow = OAuth2WebServerFlow(client_id, client_secret, scope,
1788 def __init__(self, client_id, client_secret, scope, argument
[all …]
Dmultistore_file.py76 def get_credential_storage(filename, client_id, user_agent, scope, argument
92 key = {'clientId': client_id, 'userAgent': user_agent,
/external/libweave/src/
Dconfig_unittest.cc60 EXPECT_EQ("", GetSettings().client_id); in TEST_F()
134 "client_id": "state_client_id", in TEST_F()
157 EXPECT_EQ("state_client_id", GetSettings().client_id); in TEST_F()
192 EXPECT_EQ("set_client_id", GetSettings().client_id); in TEST_F()
/external/mesa3d/src/glx/apple/
Dappledri.c245 XAppleDRICreateSurface(dpy, screen, drawable, client_id, key, uid) in XAppleDRICreateSurface() argument
249 unsigned int client_id;
266 req->client_id = client_id;
/external/ppp/pppd/plugins/radius/
Dbuildreq.c26 UINT4 client_id; in rc_get_nas_id() local
44 if ((client_id = rc_own_ipaddress()) == 0) in rc_get_nas_id()
47 if (rc_avpair_add(sendpairs, PW_NAS_IP_ADDRESS, &client_id, in rc_get_nas_id()
/external/libweave/include/weave/
Dsettings.h44 std::string client_id; member
/external/google-breakpad/src/client/linux/sender/
Dgoogle_crash_report_sender.cc43 DEFINE_string(client_id, "",
/external/dnsmasq/contrib/dnslist/
Ddhcp.css54 .client_id { width: 15em; background: #DDD; }
/external/libweave/include/weave/provider/test/
Dmock_config_store.h35 settings->client_id = "TEST_CLIENT_ID";

12