/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | ShardMasterResultForwarderTest.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 | 222 EasyMock.expect(mMockBuildInfo.getBuildAttributes()).andStubReturn(EMPTY_MAP); in setUp() 1323 assertEquals(1, context.getBuildInfo("device1").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice() 1327 .getBuildAttributes() in testLogDeviceBatteryLevel_physicalDevice() 1356 assertEquals(1, context.getBuildInfo("device1").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_multi() 1357 assertEquals(1, context.getBuildInfo("device2").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_multi() 1361 .getBuildAttributes() in testLogDeviceBatteryLevel_physicalDevice_multi() 1366 .getBuildAttributes() in testLogDeviceBatteryLevel_physicalDevice_multi() 1403 assertEquals(1, context.getBuildInfo("device1").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_stub_multi() 1404 assertEquals(1, context.getBuildInfo("device2").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_stub_multi() 1408 .getBuildAttributes() in testLogDeviceBatteryLevel_physicalDevice_stub_multi() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | DeviceBuildDescriptor.java | 49 return build.getBuildAttributes().containsKey(DEVICE_BUILD_ID); in describesDeviceBuild() 56 return mBuild.getBuildAttributes().get(DEVICE_BUILD_ID); in getDeviceBuildId() 64 return mBuild.getBuildAttributes().get(DEVICE_BUILD_ALIAS); in getDeviceBuildAlias() 71 return mBuild.getBuildAttributes().get(DEVICE_BUILD_FLAVOR); in getDeviceBuildFlavor() 82 return mBuild.getBuildAttributes().get(DEVICE_DESC); in getDeviceUserDescription() 89 return mBuild.getBuildAttributes().get(DEVICE_PRODUCT); in getDeviceProduct()
|
D | BuildInfo.java | 167 public Map<String, String> getBuildAttributes() { in getBuildAttributes() method in BuildInfo 545 .add("build_alias", getBuildAttributes().get(BUILD_ALIAS_KEY)) in toString() 568 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()
|
D | IBuildInfo.java | 128 public Map<String, String> getBuildAttributes(); in getBuildAttributes() method
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/ |
D | SuiteApkInstallerTest.java | 72 doReturn(new HashMap<String, String>()).when(mMockBuildInfo).getBuildAttributes(); in testGetTestsDir_noVar_noRootDir() 98 doReturn(attributes).when(mMockBuildInfo).getBuildAttributes(); in testGetTestsDir_noVar() 125 verify(mMockBuildInfo, times(0)).getBuildAttributes(); in testGetLocalPathForFilename_withVariable() 153 doReturn(attributes).when(mMockBuildInfo).getBuildAttributes(); in testGetTestsDir_notDir()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/ |
D | GceManagerTest.java | 160 EasyMock.expect(mMockBuildInfo.getBuildAttributes()) in testBuildGceCommand() 196 EasyMock.expect(mMockBuildInfo.getBuildAttributes()) in testBuildGceCommand_withServiceAccountJsonKeyFile() 236 EasyMock.expect(mMockBuildInfo.getBuildAttributes()) in testBuildGceCommandWithEmulatorBuild() 285 EasyMock.expect(mMockBuildInfo.getBuildAttributes()) in testBuildGceCommandWithGceDriverParam() 363 EasyMock.expect(mMockBuildInfo.getBuildAttributes()) in testBuildGceCommandWithKernelBuild()
|
D | GceSshTunnelMonitorTest.java | 162 mMockBuildInfo.getBuildAttributes().get(GceSshTunnelMonitor.VIRTUAL_DEVICE_SERIAL)); in testCreateSshTunnel()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/suite/ |
D | SuiteApkInstaller.java | 56 if (buildInfo.getBuildAttributes().get(ROOT_DIR) != null) { in getRootDir() 57 return new File(buildInfo.getBuildAttributes().get(ROOT_DIR)); in getRootDir()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | BuildInfoTest.java | 70 assertEquals(mBuildInfo.getBuildAttributes().get(ATTRIBUTE_KEY), in testClone() 71 copy.getBuildAttributes().get(ATTRIBUTE_KEY)); in testClone()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | BuildInfoAttributePreparerTest.java | 48 Map<String, String> map = build.getBuildAttributes(); in testSimple()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | BuildInfoRecorder.java | 53 String alias = buildInfo.getBuildAttributes().get("build_alias"); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | GceManager.java | 231 if (b.getBuildAttributes().containsKey("build_target")) { in buildGceCmd() 233 gceArgs.add(b.getBuildAttributes().get("build_target")); in buildGceCmd()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/ |
D | ProtoResultParserTest.java | 211 "build_value", context.getBuildInfos().get(0).getBuildAttributes().get(TEST_KEY)); in testEvents() 489 context.getBuildInfos().get(0).getBuildAttributes().get(TEST_KEY)); in testEvents_subprocess()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | ShardMasterResultForwarder.java | 182 for (Entry<String, String> entry : shardBuild.getBuildAttributes().entrySet()) { in copyShardBuildInfoToMain()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | EmailResultReporter.java | 223 for (Map.Entry<String, String> buildAttr : build.getBuildAttributes().entrySet()) { in generateEmailBody()
|
D | SubprocessResultsReporter.java | 222 new InvocationEndedEventInfo(mPrimaryBuildInfo.getBuildAttributes()); in invocationEnded()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | HostTest.java | 1191 if (buildInfo.getBuildAttributes().get(ROOT_DIR) != null) { in getJarFile() 1193 searchJarFile(new File(buildInfo.getBuildAttributes().get(ROOT_DIR)), jarName); in getJarFile()
|
/tools/tradefederation/core/src/com/android/tradefed/result/proto/ |
D | ProtoResultParser.java | 427 info.addBuildAttributes(endInvocationInfo.getBuildAttributes()); in mergeInvocationContext()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4TestTest.java | 371 EasyMock.expect(mMockBuild.getBuildAttributes()).andReturn(properties).times(2);
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | SubprocessTestResultsParserTest.java | 400 Map<String, String> attributes = info.getBuildAttributes(); in testParse_testInvocationEnded()
|