/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | ShardMainResultForwarderTest.java | 70 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 …]
|
D | TestInvocationTest.java | 255 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/ |
D | DeviceBuildDescriptor.java | 50 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()
|
D | BuildInfo.java | 157 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()
|
D | OtaDeviceBuildInfo.java | 154 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/ |
D | ProtoResultParserTest.java | 184 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/ |
D | GceManagerTest.java | 162 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()
|
D | GceSshTunnelMonitorTest.java | 162 mMockBuildInfo.getBuildAttributes().get(GceSshTunnelMonitor.VIRTUAL_DEVICE_SERIAL)); in testCreateSshTunnel()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/sandbox/ |
D | ParentSandboxInvocationExecution.java | 124 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/ |
D | GceManager.java | 293 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/ |
D | BuildInfoTest.java | 69 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/ |
D | ParentSandboxInvocationExecutionTest.java | 251 .getBuildAttributes() in testParentSandbox_shutdown() 262 .getBuildAttributes() in testParentSandbox_shutdown()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | IsolatedHostTest.java | 372 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/ |
D | BuildInfoRecorder.java | 52 String alias = buildInfo.getBuildAttributes().get("build_alias"); in setUp()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/build/ |
D | IBuildInfo.java | 133 public Map<String, String> getBuildAttributes(); in getBuildAttributes() method
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | ShardMainResultForwarder.java | 192 for (Entry<String, String> entry : shardBuild.getBuildAttributes().entrySet()) { in copyShardBuildInfoToMain()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/ |
D | SuiteApkInstallerTest.java | 84 verify(mMockBuildInfo, times(0)).getBuildAttributes(); in testGetLocalPathForFilename_withVariable()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | EmailResultReporter.java | 223 for (Map.Entry<String, String> buildAttr : build.getBuildAttributes().entrySet()) { in generateEmailBody()
|
/tools/tradefederation/core/src/com/android/tradefed/result/proto/ |
D | ProtoResultParser.java | 566 info.addBuildAttributes(endInvocationInfo.getBuildAttributes()); in mergeBuildInfo()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | SubprocessTestResultsParserTest.java | 434 Map<String, String> attributes = info.getBuildAttributes(); in testParse_testInvocationEnded()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ITestSuiteTest.java | 1772 String randomSeed = mMockInfo.getBuildAttributes().get(ITestSuite.RANDOM_SEED); in testSeedwhenRandomization()
|