Home
last modified time | relevance | path

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

123

/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/python/oauth2client/oauth2client/
Dservice_account.py101 client_id=None, argument
115 self.client_id = client_id
178 client_id = keyfile_dict['client_id']
189 client_id=client_id, token_uri=token_uri,
420 'client_id': self.client_id,
458 client_id=json_data['client_id'],
486 client_id=self.client_id,
513 client_id=self.client_id,
568 client_id=None, argument
579 client_id=client_id,
[all …]
Dclient.py470 def __init__(self, access_token, client_id, client_secret, refresh_token, argument
506 self.client_id = client_id
732 'client_id': self.client_id,
1095 def __init__(self, access_token, client_id, client_secret, refresh_token, argument
1119 access_token, client_id, client_secret, refresh_token,
1171 'client_id': self.client_id,
1424 client_id=client_credentials['client_id'],
1637 def credentials_from_code(client_id, client_secret, scope, code, argument
1676 flow = OAuth2WebServerFlow(client_id, client_secret, scope,
1807 def __init__(self, client_id, argument
[all …]
/external/perfetto/src/ipc/
Dhost_impl.cc89 ClientID client_id = ++last_client_id_; in OnNewIncomingConnection() local
91 client->id = client_id; in OnNewIncomingConnection()
93 clients_[client_id] = std::move(client); in OnNewIncomingConnection()
187 ClientID client_id = client->id; in OnInvokeMethod() local
190 deferred_reply.Bind([host_weak_ptr, client_id, in OnInvokeMethod()
194 host_weak_ptr->ReplyToMethodInvocation(client_id, request_id, in OnInvokeMethod()
206 void HostImpl::ReplyToMethodInvocation(ClientID client_id, in ReplyToMethodInvocation() argument
209 auto client_iter = clients_.find(client_id); in ReplyToMethodInvocation()
250 ClientID client_id = it->second->id; in OnDisconnect() local
251 ClientInfo client_info(client_id, sock->peer_uid()); in OnDisconnect()
[all …]
/external/python/oauth2client/oauth2client/contrib/
Dflask_util.py237 client_id=None, client_secret=None, authorize_callback=None, argument
273 self._load_config(client_secrets_file, client_id, client_secret)
277 def _load_config(self, client_secrets_file, client_id, client_secret): argument
290 if client_id and client_secret:
291 self.client_id, self.client_secret = client_id, client_secret
304 self.client_id, self.client_secret = (
323 self.client_id = client_info['client_id']
345 client_id=self.client_id,
/external/python/oauth2client/tests/
Dtest_service_account.py49 self.client_id = '123'
59 client_id=self.client_id,
116 client_id = 'id123'
122 'client_id': client_id,
142 self.assertEqual(creds.client_id, client_id)
184 self.assertIsNone(creds.client_id)
231 client_id=self.client_id,
281 client_id=self.client_id,
385 self.client_id = '123'
393 private_key_id=self.private_key_id, client_id=self.client_id,
[all …]
/external/python/oauth2client/tests/contrib/
Dtest_flask_util.py76 client_id='client_idz',
96 flask.Flask(__name__), client_id='id', client_secret='secret')
98 self.assertEqual(oauth2.client_id, 'id')
111 self.assertEqual(oauth2.client_id, 'id')
117 oauth2.init_app(app, client_id='id', client_secret='secret')
123 flask.Flask(__name__), storage=storage_mock, client_id='id',
129 flask.Flask(__name__), scopes=['1', '2'], client_id='id',
151 self.assertEqual(oauth2.client_id, 'id')
165 self.assertEqual(oauth2.client_id, 'id2')
179 self.assertEqual(flow.client_id, self.oauth2.client_id)
[all …]
Dtest_dictionary_storage.py76 self.assertEqual(returned.client_id, credentials.client_id)
92 self.assertEqual(returned.client_id, credentials.client_id)
Dtest_multistore_file.py92 def _create_test_credentials(self, client_id='some_client_id', argument
102 access_token, client_id, client_secret,
145 credentials.client_id,
211 credentials.client_id,
304 credentials = self._create_test_credentials(client_id='client1')
314 credentials = self._create_test_credentials(client_id='client2')
Dtest_sqlalchemy.py47 client_id='client_id',
62 self.assertEqual(result.client_id, self.credentials.client_id)
Dtest_keyring_storage.py124 client_id = 'some_client_id'
131 access_token, client_id, client_secret,
158 self.assertEqual('some_client_id', restored.client_id)
/external/perfetto/include/perfetto/ipc/
Dclient_info.h32 ClientInfo(ClientID client_id, uid_t uid) in ClientInfo() argument
33 : client_id_(client_id), uid_(uid) {} in ClientInfo()
49 ClientID client_id() const { return client_id_; } in client_id() function
/external/python/apitools/apitools/gen/
Dgen_client.py69 client_id = web.get('client_id')
75 client_id = args.client_id
78 if not client_id:
80 client_id = ''
87 discovery_doc, args.scope, client_id, client_secret,
/external/python/oauth2client/oauth2client/contrib/django_util/
D__init__.py276 client_id = getattr(settings_instance, "GOOGLE_OAUTH2_CLIENT_ID",
280 if client_id is not None and client_secret is not None:
281 return client_id, client_secret
338 self.client_id, self.client_secret = \
Dviews.py66 client_id=django_util.oauth2_settings.client_id,
/external/perfetto/src/tracing/ipc/service/
Dproducer_ipc_service.cc43 const ipc::ClientID ipc_client_id = ipc::Service::client_info().client_id(); in GetProducerForCurrentRequest()
56 const ipc::ClientID ipc_client_id = client_info.client_id(); in InitializeConnection()
125 ipc::ClientID client_id = ipc::Service::client_info().client_id(); in OnClientDisconnected() local
126 PERFETTO_DLOG("Client %" PRIu64 " disconnected", client_id); in OnClientDisconnected()
127 producers_.erase(client_id); in OnClientDisconnected()
Dconsumer_ipc_service.cc42 const ipc::ClientID ipc_client_id = ipc::Service::client_info().client_id(); in GetConsumerForCurrentRequest()
58 ipc::ClientID client_id = ipc::Service::client_info().client_id(); in OnClientDisconnected() local
59 consumers_.erase(client_id); in OnClientDisconnected()
/external/kernel-headers/original/uapi/linux/
Dvboxguest.h117 __u32 client_id; member
132 __u32 client_id; member
147 __u32 client_id; member
/external/tensorflow/tensorflow/core/platform/cloud/
Doauth_client.cc187 string private_key_serialized, private_key_id, client_id, client_email; in GetTokenFromServiceAccountJson() local
191 TF_RETURN_IF_ERROR(ReadJsonString(json, "client_id", &client_id)); in GetTokenFromServiceAccountJson()
242 string client_id, client_secret, refresh_token; in GetTokenFromRefreshTokenJson() local
243 TF_RETURN_IF_ERROR(ReadJsonString(json, "client_id", &client_id)); in GetTokenFromRefreshTokenJson()
248 "client_id=", client_id, "&client_secret=", client_secret, in GetTokenFromRefreshTokenJson()
/external/grpc-grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.cc64 !grpc_copy_json_string_property(json, "client_id", &result.client_id) || in grpc_auth_refresh_token_create_from_json()
90 if (refresh_token->client_id != nullptr) { in grpc_auth_refresh_token_destruct()
91 gpr_free(refresh_token->client_id); in grpc_auth_refresh_token_destruct()
92 refresh_token->client_id = nullptr; in grpc_auth_refresh_token_destruct()
418 c->refresh_token.client_id, c->refresh_token.client_secret, in refresh_token_fetch_oauth2()
464 token->type, token->client_id); in create_loggable_refresh_token()
/external/grpc-grpc/src/core/lib/security/credentials/jwt/
Djson_token.cc89 !grpc_copy_json_string_property(json, "client_id", &result.client_id) || in grpc_auth_json_key_create_from_json()
132 if (json_key->client_id != nullptr) { in grpc_auth_json_key_destruct()
133 gpr_free(json_key->client_id); in grpc_auth_json_key_destruct()
134 json_key->client_id = nullptr; in grpc_auth_json_key_destruct()
/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/grpc-grpc/test/core/security/
Djson_token_test.cc105 GPR_ASSERT(json_key.client_id != nullptr && in test_parse_json_key_success()
106 strcmp(json_key.client_id, in test_parse_json_key_success()
432 GPR_ASSERT(refresh_token.client_id != nullptr && in test_parse_refresh_token_success()
433 (strcmp(refresh_token.client_id, in test_parse_refresh_token_success()
/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()

123