Searched refs:SCOPES (Results 1 – 3 of 3) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | GoogleApiClientUtilTest.java | 45 private static final Collection<String> SCOPES = Collections.singleton("ascope"); field in GoogleApiClientUtilTest 106 GoogleCredential credentail = mUtil.doCreateCredential(SCOPES, mKey, null); in testCreateCredential() 121 GoogleCredential credentail = mUtil.doCreateCredential(SCOPES, null, HOST_OPTION_JSON_KEY); in testCreateCredential_useHostOptions() 130 GoogleCredential credentail = mUtil.doCreateCredential(SCOPES, null, "not-exist-key", mKey); in testCreateCredential_useFallbackKeyFile() 139 GoogleCredential credentail = mUtil.doCreateCredential(SCOPES, null, "not-exist-key"); in testCreateCredential_useDefault()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | GceManager.java | 64 private static final List<String> SCOPES = Arrays.asList(ComputeScopes.COMPUTE_READONLY); field in GceManager 547 return GoogleApiClientUtil.createCredentialFromJsonKeyFile(jsonKeyFile, SCOPES); in createCredential() 551 return GoogleApiClientUtil.createCredentialFromJsonKeyFile(jsonKeyFile, SCOPES); in createCredential() 556 serviceAccount, new File(serviceKey), SCOPES); in createCredential()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | GCSFileDownloader.java | 53 private static final Collection<String> SCOPES = field in GCSFileDownloader 87 return getStorage(SCOPES); in getStorage()
|