/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | DeviceBuildDescriptor.java | 51 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()
|
D | BuildInfo.java | 167 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/ |
D | ShardMainResultForwarderTest.java | 80 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 …]
|
D | TestInvocationTest.java | 262 lenient().when(mMockBuildInfo.getBuildAttributes()).thenReturn(EMPTY_MAP); in setUp()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/ |
D | GceManagerTest.java | 169 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()
|
D | GceSshTunnelMonitorTest.java | 157 mMockBuildInfo.getBuildAttributes().get(GceSshTunnelMonitor.VIRTUAL_DEVICE_SERIAL)); in testCreateSshTunnel()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | OxygenClient.java | 246 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()
|
D | GceManager.java | 587 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/ |
D | BuildInfoRecorder.java | 52 String alias = buildInfo.getBuildAttributes().get("build_alias"); in setUp()
|
/tools/tradefederation/core/javatests/com/android/tradefed/build/ |
D | BuildInfoTest.java | 75 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/ |
D | ProtoResultParserTest.java | 175 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/ |
D | IBuildInfo.java | 133 public Map<String, String> getBuildAttributes(); in getBuildAttributes() method
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | FormattedGeneratorReporter.java | 64 .getBuildAttributes() in invocationEnded()
|
D | XmlSuiteResultFormatter.java | 761 String attributeValue = buildInfo.getBuildAttributes().get(attributeName); in addBuildInfoAttributesIfNotNull()
|
/tools/tradefederation/contrib/src/com/android/performance/tests/ |
D | BaseEmulatorPerfTest.java | 118 String emuBuildId = testInfo.getBuildInfo().getBuildAttributes().get("emulator-build-id"); in getBuildMetrics()
|
/tools/tradefederation/core/src/com/android/tradefed/result/skipped/ |
D | ArtifactsAnalyzer.java | 130 !"true".equals(build.getBuildAttributes().get(DEVICE_IMAGE_NOT_CHANGED)); in analyzeArtifact()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/suite/ |
D | SuiteApkInstallerTest.java | 85 verify(mMockBuildInfo, times(0)).getBuildAttributes(); in testGetLocalPathForFilename_withVariable()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | ShardMainResultForwarder.java | 237 for (Entry<String, String> entry : shardBuild.getBuildAttributes().entrySet()) { in copyShardBuildInfoToMain()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ITestSuite.java | 529 || 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/ |
D | IsolatedHostTest.java | 863 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/ |
D | ResultsPlayerTest.java | 100 .getBuildAttributes() in testReplay()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | SubprocessTestResultsParserTest.java | 415 Map<String, String> attributes = info.getBuildAttributes(); in testParse_testInvocationEnded()
|
/tools/tradefederation/core/src/com/android/tradefed/result/proto/ |
D | ProtoResultParser.java | 695 info.addBuildAttributes(endInvocationInfo.getBuildAttributes()); in mergeBuildInfo()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/ |
D | ITestSuiteTest.java | 1820 String randomSeed = mMockInfo.getBuildAttributes().get(ITestSuite.RANDOM_SEED); in testSeedwhenRandomization()
|