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.java523 String project = config.getValueForKey(AcloudKeys.PROJECT); in getInstanceSerialLog()
524 String zone = config.getValueForKey(AcloudKeys.ZONE); in getInstanceSerialLog()
548 } else if (config.getValueForKey(AcloudKeys.SERVICE_ACCOUNT_JSON_PRIVATE_KEY) != null) { in createCredential()
550 new File(config.getValueForKey(AcloudKeys.SERVICE_ACCOUNT_JSON_PRIVATE_KEY)); in createCredential()
553 String serviceAccount = config.getValueForKey(AcloudKeys.SERVICE_ACCOUNT_NAME); in createCredential()
554 String serviceKey = config.getValueForKey(AcloudKeys.SERVICE_ACCOUNT_PRIVATE_KEY); in createCredential()
603 if (config.getValueForKey(AcloudKeys.STABLE_HOST_IMAGE_NAME) != null) { in logStableHostImageInfos()
606 config.getValueForKey(AcloudKeys.STABLE_HOST_IMAGE_NAME)); in logStableHostImageInfos()
608 if (config.getValueForKey(AcloudKeys.STABLE_HOST_IMAGE_PROJECT) != null) { in logStableHostImageInfos()
611 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()