/external/autotest/client/common_lib/cros/fake_device_server/ |
D | devices.py | 53 def _handle_state_patch(self, device_id, api_key, data): argument 81 def create_device(self, api_key, device_config): argument 89 api_key, device_config) 91 new_device = self.resource.update_data_val(None, api_key, 109 id, api_key, _ = common_util.parse_common_args(args, kwargs) 110 if not api_key: 112 api_key = self._oauth.get_api_key_from_access_token(access_token) 114 return self.resource.get_data_val(id, api_key) 139 api_key = self._oauth.get_api_key_from_access_token(access_token) 140 self._handle_state_patch(device_id, api_key, data) [all …]
|
D | registration_tickets.py | 56 def _finalize(self, id, api_key, ticket): argument 65 updated_data_val = self.resource.update_data_val(id, api_key, new_data) 67 api_key, updated_data_val.get('deviceDraft')) 107 id, api_key, _ = common_util.parse_common_args(args, kwargs) 108 return self.resource.get_data_val(id, api_key) 126 id, api_key, operation = common_util.parse_common_args( 129 ticket = self.resource.get_data_val(id, api_key) 131 return self._finalize(id, api_key, ticket) 155 return self.resource.update_data_val(id, api_key, data_in=data) 171 id, api_key, _ = common_util.parse_common_args(args, kwargs) [all …]
|
D | resource_delegate.py | 33 def get_data_val(self, id, api_key): argument 42 key = (id, api_key) 57 def del_data_val(self, id, api_key): argument 66 key = (id, api_key) 75 def update_data_val(self, id, api_key, data_in=None, update=True): argument 98 self._data[(id, api_key)] = data_in 101 data_val = self.get_data_val(id, api_key) 114 self._data[(id, api_key)] = data_in
|
D | common_util_unittest.py | 51 id, api_key, op = common_util.parse_common_args( 55 self.assertEquals(key, api_key) 59 id, api_key, op = common_util.parse_common_args((id,), dict(key=key)) 61 self.assertEquals(key, api_key) 65 id, api_key, op = common_util.parse_common_args((id,), dict()) 67 self.assertIsNone(api_key) 71 id, api_key, op = common_util.parse_common_args(tuple(), dict()) 73 self.assertIsNone(api_key)
|
D | resource_method.py | 36 id, api_key, _ = common_util.parse_common_args(args, kwargs) 41 return self.resource.update_data_val(id, api_key, data_in=data) 56 id, api_key, _ = common_util.parse_common_args(args, kwargs) 62 id, api_key, data_in=data, update=False)
|
D | common_util.py | 73 api_key = kwargs.get('key') 90 return id, api_key, operation
|
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/ |
D | client_lib_test.py | 53 server_url, api_key = 'http://localhost:8080', None 61 server_url, api_key = SERVER_URL, API_KEY 66 api_key=api_key, 85 api_key=api_key, access_token=robot_token) 99 api_key=api_key,
|
D | common_client.py | 18 def __init__(self, method, server_url=_DEFAULT_SERVER_URL, api_key=None, argument 28 self.api_key = api_key 66 if self.api_key: 67 params.setdefault('key', self.api_key)
|
/external/grpc-grpc/tools/run_tests/python_utils/ |
D | upload_rbe_results.py | 111 def _get_resultstore_data(api_key, invocation_id): argument 126 % (invocation_id, api_key, page_token), 145 api_key = args.api_key or _get_api_key() variable 147 resultstore_actions = _get_resultstore_data(api_key, invocation_id)
|
/external/autotest/client/common_lib/cros/tendo/ |
D | buffet_tester.py | 96 api_key=buffet_config.TEST_API_KEY) 99 api_key=buffet_config.TEST_API_KEY) 102 api_key=buffet_config.TEST_API_KEY) 105 api_key=buffet_config.TEST_API_KEY) 108 api_key=buffet_config.TEST_API_KEY)
|
/external/python/apitools/apitools/gen/ |
D | util.py | 193 scope_ls, client_id, client_secret, user_agent, names, api_key): argument 211 'api_key': api_key,
|
D | gen_client.py | 88 args.user_agent, names, args.api_key)
|
D | service_registry.py | 234 printer('_API_KEY = {0!r}'.format(client_info.api_key))
|
/external/v8/tools/release/ |
D | common_includes.py | 260 def ReadClusterFuzzAPI(self, api_key, **params): argument 261 params["api_key"] = api_key.strip()
|
/external/python/apitools/apitools/base/py/ |
D | credentials_lib.py | 118 api_key=None, # pylint: disable=unused-argument argument
|