/tools/acloud/internal/lib/ |
D | auth.py | 66 def _CreateOauthServiceAccountCreds(email, private_key_path, scopes): argument 83 email, private_key_path, scopes=scopes) 92 def _CreateOauthServiceAccountCredsWithJsonKey(json_private_key_path, scopes, argument 113 json_private_key_path, scopes=scopes) 118 scope=scopes) 138 def _RunAuthFlow(storage, client_id, client_secret, user_agent, scopes): argument 156 scope=scopes, 165 user_agent, scopes): argument 189 scope=scopes) 200 return _RunAuthFlow(storage, client_id, client_secret, user_agent, scopes) [all …]
|
D | gcompute_client.py | 1277 scopes = [] 1278 scopes.extend(self.DEFAULT_INSTANCE_SCOPE) 1280 scopes.extend(extra_scopes) 1294 "scopes": scopes,
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | GoogleApiClientUtil.java | 68 public static Credentials createCredentialFromJsonKeyFile(File file, Collection<String> scopes) in createCredentialFromJsonKeyFile() argument 70 return getInstance().doCreateCredentialFromJsonKeyFile(file, scopes); in createCredentialFromJsonKeyFile() 74 Credentials doCreateCredentialFromJsonKeyFile(File file, Collection<String> scopes) in doCreateCredentialFromJsonKeyFile() argument 77 GoogleCredentials.fromStream(new FileInputStream(file)).createScoped(scopes); in doCreateCredentialFromJsonKeyFile() 98 Collection<String> scopes, in createCredential() argument 104 .doCreateCredential(scopes, primaryKeyFile, hostOptionKeyFileName, backupKeyFiles); in createCredential() 126 Collection<String> scopes, in createCredential() argument 134 credential = getInstance().doCreateCredentialFromCredentialFactory(scopes); in createCredential() 142 .doCreateCredential(scopes, primaryKeyFile, hostOptionKeyFileName, backupKeyFiles); in createCredential() 147 Collection<String> scopes, in doCreateCredential() argument [all …]
|
D | GCSCommon.java | 55 protected Storage getStorage(Collection<String> scopes) throws IOException { in getStorage() argument 61 scopes, true, mJsonKeyFile, GCS_JSON_KEY); in getStorage()
|
D | RestApiHelper.java | 77 String baseUri, File jsonKeyFile, Collection<String> scopes) in newInstanceWithGoogleCredential() argument 81 GoogleApiClientUtil.createCredentialFromJsonKeyFile(jsonKeyFile, scopes); in newInstanceWithGoogleCredential()
|
/tools/tradefederation/core/src/com/android/tradefed/auth/ |
D | ServiceAccountKeyCredentialFactory.java | 53 public Credentials createCredential(Collection<String> scopes) throws IOException { in createCredential() argument 57 .createScoped(scopes); in createCredential()
|
D | ICredentialFactory.java | 39 public Credentials createCredential(Collection<String> scopes) throws IOException; in createCredential() argument
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | GoogleApiClientUtilTest.java | 60 Credentials doCreateCredentialFromJsonKeyFile(File file, Collection<String> scopes) in doCreateCredentialFromJsonKeyFile() argument 67 Credentials doCreateDefaultCredential(Collection<String> scopes) throws IOException { in doCreateDefaultCredential() argument 98 public Credentials createCredential(Collection<String> scopes) in setUp()
|
/tools/tradefederation/core/ |
D | tradefed.sh | 42 …gcloud auth application-default login --scopes=https://www.googleapis.com/auth/androidbuild.intern…
|
/tools/treble/fetcher/ |
D | fetcher_lib.py | 50 scopes=_SCOPE_URL) 124 filename=json_keyfile_name, scopes=_SCOPE_URL)
|
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/ |
D | TextTypeParserCacheTest.kt | 348 fun `Test same string, same type, different scopes`() { in <lambda>()
|
/tools/acloud/internal/proto/ |
D | user_config.proto | 100 // List of scopes that will be given to the instance
|