Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceManager.java21 import com.android.tradefed.device.cloud.AcloudConfigParser.AcloudKeys;
643 String project = config.getValueForKey(AcloudKeys.PROJECT); in getInstanceSerialLog()
644 String zone = config.getValueForKey(AcloudKeys.ZONE); in getInstanceSerialLog()
668 } else if (config.getValueForKey(AcloudKeys.SERVICE_ACCOUNT_JSON_PRIVATE_KEY) != null) { in createCredential()
670 new File(config.getValueForKey(AcloudKeys.SERVICE_ACCOUNT_JSON_PRIVATE_KEY)); in createCredential()
673 String serviceAccount = config.getValueForKey(AcloudKeys.SERVICE_ACCOUNT_NAME); in createCredential()
674 String serviceKey = config.getValueForKey(AcloudKeys.SERVICE_ACCOUNT_PRIVATE_KEY); in createCredential()
723 if (config.getValueForKey(AcloudKeys.STABLE_HOST_IMAGE_NAME) != null) { in logStableHostImageInfos()
725 AcloudKeys.STABLE_HOST_IMAGE_NAME.toString(), in logStableHostImageInfos()
726 config.getValueForKey(AcloudKeys.STABLE_HOST_IMAGE_NAME)); in logStableHostImageInfos()
[all …]
DAcloudConfigParser.java30 public enum AcloudKeys { enum in AcloudConfigParser
41 private AcloudKeys(String name) { in AcloudKeys() method in AcloudConfigParser.AcloudKeys
85 public String getValueForKey(AcloudKeys key) { in getValueForKey()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DAcloudConfigParserTest.java22 import com.android.tradefed.device.cloud.AcloudConfigParser.AcloudKeys;
56 assertEquals("us-central1-c", res.getValueForKey(AcloudKeys.ZONE)); in testParse()
57 assertEquals("android-treehugger", res.getValueForKey(AcloudKeys.PROJECT)); in testParse()
60 res.getValueForKey(AcloudKeys.SERVICE_ACCOUNT_NAME)); in testParse()
62 "/some/key.p12", res.getValueForKey(AcloudKeys.SERVICE_ACCOUNT_PRIVATE_KEY)); in testParse()