Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceManager.java643 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()
726 config.getValueForKey(AcloudKeys.STABLE_HOST_IMAGE_NAME)); in logStableHostImageInfos()
728 if (config.getValueForKey(AcloudKeys.STABLE_HOST_IMAGE_PROJECT) != null) { in logStableHostImageInfos()
731 config.getValueForKey(AcloudKeys.STABLE_HOST_IMAGE_PROJECT)); in logStableHostImageInfos()
DAcloudConfigParser.java85 public String getValueForKey(AcloudKeys key) { in getValueForKey() method in AcloudConfigParser
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DAcloudConfigParserTest.java56 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()