Home
last modified time | relevance | path

Searched refs:getBuildAttributes (Results 1 – 24 of 24) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/build/
DDeviceBuildDescriptor.java51 return build.getBuildAttributes().containsKey(DEVICE_BUILD_ID); in describesDeviceBuild()
58 return mBuild.getBuildAttributes().get(DEVICE_BUILD_ID); in getDeviceBuildId()
66 return mBuild.getBuildAttributes().get(DEVICE_BUILD_ALIAS); in getDeviceBuildAlias()
73 return mBuild.getBuildAttributes().get(DEVICE_BUILD_FLAVOR); in getDeviceBuildFlavor()
80 return mBuild.getBuildAttributes().get(DEVICE_BUILD_BRANCH); in getDeviceBuildBranch()
91 return mBuild.getBuildAttributes().get(DEVICE_DESC); in getDeviceUserDescription()
98 return mBuild.getBuildAttributes().get(DEVICE_PRODUCT); in getDeviceProduct()
DBuildInfo.java167 public Map<String, String> getBuildAttributes() { in getBuildAttributes() method in BuildInfo
581 .add("build_alias", getBuildAttributes().get(BUILD_ALIAS_KEY)) in toString()
604 protoBuilder.putAllAttributes(getBuildAttributes()); in toProto()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DShardMainResultForwarderTest.java80 assertTrue(mainBuild.getBuildAttributes().isEmpty()); in testForwardBuildInfo()
100 assertEquals("value1", mainBuild.getBuildAttributes().get("shard1")); in testForwardBuildInfo()
101 assertEquals("value2", mainBuild.getBuildAttributes().get("shard2")); in testForwardBuildInfo()
114 assertTrue(mainBuild1.getBuildAttributes().isEmpty()); in testForwardBuildInfo_multiDevice()
119 assertTrue(mainBuild2.getBuildAttributes().isEmpty()); in testForwardBuildInfo_multiDevice()
149 assertEquals("value1", mainBuild1.getBuildAttributes().get("shard1")); in testForwardBuildInfo_multiDevice()
150 assertEquals("value2", mainBuild1.getBuildAttributes().get("shard2")); in testForwardBuildInfo_multiDevice()
151 assertEquals(2, mainBuild1.getBuildAttributes().size()); in testForwardBuildInfo_multiDevice()
152 assertEquals("value1_device2", mainBuild2.getBuildAttributes().get("shard1_device2")); in testForwardBuildInfo_multiDevice()
153 assertEquals("value2_device2", mainBuild2.getBuildAttributes().get("shard2_device2")); in testForwardBuildInfo_multiDevice()
[all …]
DTestInvocationTest.java262 lenient().when(mMockBuildInfo.getBuildAttributes()).thenReturn(EMPTY_MAP); in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/
DGceManagerTest.java169 when(mockBuildInfo.getBuildAttributes()).thenReturn(Collections.<String, String>emptyMap()); in testBuildGceCommand()
209 when(mMockBuildInfo.getBuildAttributes()) in testBuildGceCommand_withServiceAccountJsonKeyFile()
249 when(mMockBuildInfo.getBuildAttributes()) in testBuildGceCommandWithIpDevice()
297 when(mMockBuildInfo.getBuildAttributes()) in testBuildGceCommandWithEmulatorBuild()
346 when(mMockBuildInfo.getBuildAttributes()) in testBuildGceCommandWithSpecifiedImages()
400 when(mMockBuildInfo.getBuildAttributes()) in testBuildGceCommand_withPreconfiguredVirtualDevice()
450 when(mMockBuildInfo.getBuildAttributes()) in testBuildGceCommandWithGceDriverParam()
491 when(mMockBuildInfo.getBuildAttributes()) in testBuildGceCommandWithExtraFiles()
595 when(mMockBuildInfo.getBuildAttributes()) in testBuildGceCommandWithKernelBuild()
890 .getBuildAttributes() in testShutdownGce()
DGceSshTunnelMonitorTest.java157 mMockBuildInfo.getBuildAttributes().get(GceSshTunnelMonitor.VIRTUAL_DEVICE_SERIAL)); in testCreateSshTunnel()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DOxygenClient.java246 if (b.getBuildAttributes().containsKey("build_target")) { in leaseDevice()
248 oxygenClientArgs.add(b.getBuildAttributes().get("build_target")); in leaseDevice()
308 if (b.getBuildAttributes().containsKey("build_target")) { in leaseMultipleDevices()
310 buildTargets.add(b.getBuildAttributes().get("build_target")); in leaseMultipleDevices()
DGceManager.java587 if (b.getBuildAttributes().containsKey("build_target")) { in buildGceCmd()
589 gceArgs.add(b.getBuildAttributes().get("build_target")); in buildGceCmd()
732 instanceName = mBuildInfo.getBuildAttributes().get(GCE_INSTANCE_NAME_KEY); in shutdownGceWithAcloud()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DBuildInfoRecorder.java52 String alias = buildInfo.getBuildAttributes().get("build_alias"); in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/build/
DBuildInfoTest.java75 assertEquals(mBuildInfo.getBuildAttributes().get(ATTRIBUTE_KEY), in testClone()
76 copy.getBuildAttributes().get(ATTRIBUTE_KEY)); in testClone()
/tools/tradefederation/core/javatests/com/android/tradefed/result/proto/
DProtoResultParserTest.java175 assertFalse(context.getBuildInfos().get(0).getBuildAttributes().containsKey(TEST_KEY)); in testEvents()
179 context.getBuildInfos().get(0).getBuildAttributes().get("early_key")); in testEvents()
182 assertFalse(context.getBuildInfos().get(0).getBuildAttributes().containsKey("after_start")); in testEvents()
187 context.getBuildInfos().get(0).getBuildAttributes().get("after_start")); in testEvents()
251 "build_value", context.getBuildInfos().get(0).getBuildAttributes().get(TEST_KEY)); in testEvents()
255 context.getBuildInfos().get(0).getBuildAttributes().get("early_key")); in testEvents()
259 context.getBuildInfos().get(0).getBuildAttributes().get("after_start")); in testEvents()
661 context.getBuildInfos().get(0).getBuildAttributes().get(TEST_KEY)); in testEvents_subprocess()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/build/
DIBuildInfo.java133 public Map<String, String> getBuildAttributes(); in getBuildAttributes() method
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DFormattedGeneratorReporter.java64 .getBuildAttributes() in invocationEnded()
DXmlSuiteResultFormatter.java761 String attributeValue = buildInfo.getBuildAttributes().get(attributeName); in addBuildInfoAttributesIfNotNull()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DBaseEmulatorPerfTest.java118 String emuBuildId = testInfo.getBuildInfo().getBuildAttributes().get("emulator-build-id"); in getBuildMetrics()
/tools/tradefederation/core/src/com/android/tradefed/result/skipped/
DArtifactsAnalyzer.java130 !"true".equals(build.getBuildAttributes().get(DEVICE_IMAGE_NOT_CHANGED)); in analyzeArtifact()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/suite/
DSuiteApkInstallerTest.java85 verify(mMockBuildInfo, times(0)).getBuildAttributes(); in testGetLocalPathForFilename_withVariable()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardMainResultForwarder.java237 for (Entry<String, String> entry : shardBuild.getBuildAttributes().entrySet()) { in copyShardBuildInfoToMain()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java529 || mBuildInfo.getBuildAttributes().get(SKIP_STAGING_ARTIFACTS) != null) { in stageAtInvocationLevel()
540 return mBuildInfo.getBuildAttributes().get(STAGE_MODULE_ARTIFACTS) != null; in stageModuleLevel()
569 if (mBuildInfo.getBuildAttributes().containsKey("ROOT_DIR")) { in stageTestArtifacts()
570 destination = mBuildInfo.getBuildAttributes().get("ROOT_DIR"); in stageTestArtifacts()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DIsolatedHostTest.java863 if (buildInfo.getBuildAttributes().get(ROOT_DIR) != null) { in getJarFile()
865 searchJarFile(new File(buildInfo.getBuildAttributes().get(ROOT_DIR)), jarName); in getJarFile()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/retry/
DResultsPlayerTest.java100 .getBuildAttributes() in testReplay()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DSubprocessTestResultsParserTest.java415 Map<String, String> attributes = info.getBuildAttributes(); in testParse_testInvocationEnded()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java695 info.addBuildAttributes(endInvocationInfo.getBuildAttributes()); in mergeBuildInfo()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DITestSuiteTest.java1820 String randomSeed = mMockInfo.getBuildAttributes().get(ITestSuite.RANDOM_SEED); in testSeedwhenRandomization()