Home
last modified time | relevance | path

Searched refs:SCOPES (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGoogleApiClientUtilTest.java45 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/
DGceManager.java64 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/
DGCSFileDownloader.java53 private static final Collection<String> SCOPES = field in GCSFileDownloader
87 return getStorage(SCOPES); in getStorage()