Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DShardMainResultForwarderTest.java70 assertTrue(mainBuild.getBuildAttributes().isEmpty()); in testForwardBuildInfo()
90 assertEquals("value1", mainBuild.getBuildAttributes().get("shard1")); in testForwardBuildInfo()
91 assertEquals("value2", mainBuild.getBuildAttributes().get("shard2")); in testForwardBuildInfo()
104 assertTrue(mainBuild1.getBuildAttributes().isEmpty()); in testForwardBuildInfo_multiDevice()
109 assertTrue(mainBuild2.getBuildAttributes().isEmpty()); in testForwardBuildInfo_multiDevice()
139 assertEquals("value1", mainBuild1.getBuildAttributes().get("shard1")); in testForwardBuildInfo_multiDevice()
140 assertEquals("value2", mainBuild1.getBuildAttributes().get("shard2")); in testForwardBuildInfo_multiDevice()
141 assertEquals(2, mainBuild1.getBuildAttributes().size()); in testForwardBuildInfo_multiDevice()
142 assertEquals("value1_device2", mainBuild2.getBuildAttributes().get("shard1_device2")); in testForwardBuildInfo_multiDevice()
143 assertEquals("value2_device2", mainBuild2.getBuildAttributes().get("shard2_device2")); in testForwardBuildInfo_multiDevice()
[all …]
DTestInvocationTest.java255 EasyMock.expect(mMockBuildInfo.getBuildAttributes()).andStubReturn(EMPTY_MAP); in setUp()
1437 assertEquals(1, context.getBuildInfo("device1").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice()
1441 .getBuildAttributes() in testLogDeviceBatteryLevel_physicalDevice()
1470 assertEquals(1, context.getBuildInfo("device1").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_multi()
1471 assertEquals(1, context.getBuildInfo("device2").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_multi()
1475 .getBuildAttributes() in testLogDeviceBatteryLevel_physicalDevice_multi()
1480 .getBuildAttributes() in testLogDeviceBatteryLevel_physicalDevice_multi()
1517 assertEquals(1, context.getBuildInfo("device1").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_stub_multi()
1518 assertEquals(1, context.getBuildInfo("device2").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_stub_multi()
1522 .getBuildAttributes() in testLogDeviceBatteryLevel_physicalDevice_stub_multi()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/build/
DDeviceBuildDescriptor.java50 return build.getBuildAttributes().containsKey(DEVICE_BUILD_ID); in describesDeviceBuild()
57 return mBuild.getBuildAttributes().get(DEVICE_BUILD_ID); in getDeviceBuildId()
65 return mBuild.getBuildAttributes().get(DEVICE_BUILD_ALIAS); in getDeviceBuildAlias()
72 return mBuild.getBuildAttributes().get(DEVICE_BUILD_FLAVOR); in getDeviceBuildFlavor()
83 return mBuild.getBuildAttributes().get(DEVICE_DESC); in getDeviceUserDescription()
90 return mBuild.getBuildAttributes().get(DEVICE_PRODUCT); in getDeviceProduct()
DBuildInfo.java157 public Map<String, String> getBuildAttributes() { in getBuildAttributes() method in BuildInfo
552 .add("build_alias", getBuildAttributes().get(BUILD_ALIAS_KEY)) in toString()
575 protoBuilder.putAllAttributes(getBuildAttributes()); in toProto()
DOtaDeviceBuildInfo.java154 public Map<String, String> getBuildAttributes() { in getBuildAttributes() method in OtaDeviceBuildInfo
155 return getReportedBuild().getBuildAttributes(); in getBuildAttributes()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/
DProtoResultParserTest.java184 assertFalse(context.getBuildInfos().get(0).getBuildAttributes().containsKey(TEST_KEY)); in testEvents()
188 context.getBuildInfos().get(0).getBuildAttributes().get("early_key")); in testEvents()
191 assertFalse(context.getBuildInfos().get(0).getBuildAttributes().containsKey("after_start")); in testEvents()
196 context.getBuildInfos().get(0).getBuildAttributes().get("after_start")); in testEvents()
237 "build_value", context.getBuildInfos().get(0).getBuildAttributes().get(TEST_KEY)); in testEvents()
241 context.getBuildInfos().get(0).getBuildAttributes().get("early_key")); in testEvents()
245 context.getBuildInfos().get(0).getBuildAttributes().get("after_start")); in testEvents()
643 context.getBuildInfos().get(0).getBuildAttributes().get(TEST_KEY)); in testEvents_subprocess()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DGceManagerTest.java162 EasyMock.expect(mMockBuildInfo.getBuildAttributes()) in testBuildGceCommand()
198 EasyMock.expect(mMockBuildInfo.getBuildAttributes()) in testBuildGceCommand_withServiceAccountJsonKeyFile()
238 EasyMock.expect(mMockBuildInfo.getBuildAttributes()) in testBuildGceCommandWithEmulatorBuild()
287 EasyMock.expect(mMockBuildInfo.getBuildAttributes()) in testBuildGceCommandWithGceDriverParam()
374 EasyMock.expect(mMockBuildInfo.getBuildAttributes()) in testBuildGceCommandWithKernelBuild()
603 .getBuildAttributes() in testShutdownGce()
DGceSshTunnelMonitorTest.java162 mMockBuildInfo.getBuildAttributes().get(GceSshTunnelMonitor.VIRTUAL_DEVICE_SERIAL)); in testCreateSshTunnel()
/tools/tradefederation/core/src/com/android/tradefed/invoker/sandbox/
DParentSandboxInvocationExecution.java124 if (build.getBuildAttributes().get(GceManager.GCE_INSTANCE_NAME_KEY) != null) { in runTests()
126 build.getBuildAttributes().get(GceManager.GCE_INSTANCE_NAME_KEY); in runTests()
128 if (build.getBuildAttributes().get(GceManager.GCE_INSTANCE_CLEANED_KEY) in runTests()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceManager.java293 if (b.getBuildAttributes().containsKey("build_target")) { in buildGceCmd()
295 gceArgs.add(b.getBuildAttributes().get("build_target")); in buildGceCmd()
363 instanceName = mBuildInfo.getBuildAttributes().get(GCE_INSTANCE_NAME_KEY); in shutdownGce()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DBuildInfoTest.java69 assertEquals(mBuildInfo.getBuildAttributes().get(ATTRIBUTE_KEY), in testClone()
70 copy.getBuildAttributes().get(ATTRIBUTE_KEY)); in testClone()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/sandbox/
DParentSandboxInvocationExecutionTest.java251 .getBuildAttributes() in testParentSandbox_shutdown()
262 .getBuildAttributes() in testParentSandbox_shutdown()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DIsolatedHostTest.java372 if (buildInfo.getBuildAttributes().get(ROOT_DIR) != null) { in getJarFile()
374 searchJarFile(new File(buildInfo.getBuildAttributes().get(ROOT_DIR)), jarName); in getJarFile()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DBuildInfoRecorder.java52 String alias = buildInfo.getBuildAttributes().get("build_alias"); in setUp()
/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/invoker/
DShardMainResultForwarder.java192 for (Entry<String, String> entry : shardBuild.getBuildAttributes().entrySet()) { in copyShardBuildInfoToMain()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/
DSuiteApkInstallerTest.java84 verify(mMockBuildInfo, times(0)).getBuildAttributes(); in testGetLocalPathForFilename_withVariable()
/tools/tradefederation/core/src/com/android/tradefed/result/
DEmailResultReporter.java223 for (Map.Entry<String, String> buildAttr : build.getBuildAttributes().entrySet()) { in generateEmailBody()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java566 info.addBuildAttributes(endInvocationInfo.getBuildAttributes()); in mergeBuildInfo()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSubprocessTestResultsParserTest.java434 Map<String, String> attributes = info.getBuildAttributes(); in testParse_testInvocationEnded()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteTest.java1772 String randomSeed = mMockInfo.getBuildAttributes().get(ITestSuite.RANDOM_SEED); in testSeedwhenRandomization()