/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 | IBuildInfo.java | 122 public Map<String, String> getBuildAttributes(); in getBuildAttributes() method
|
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/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 | 210 EasyMock.expect(mMockBuildInfo.getBuildAttributes()).andStubReturn(EMPTY_MAP); in setUp() 1373 assertEquals(1, context.getBuildInfo("device1").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice() 1377 .getBuildAttributes() in testLogDeviceBatteryLevel_physicalDevice() 1405 assertEquals(1, context.getBuildInfo("device1").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_multi() 1406 assertEquals(1, context.getBuildInfo("device2").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_multi() 1410 .getBuildAttributes() in testLogDeviceBatteryLevel_physicalDevice_multi() 1415 .getBuildAttributes() in testLogDeviceBatteryLevel_physicalDevice_multi() 1449 assertEquals(1, context.getBuildInfo("device1").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_stub_multi() 1450 assertEquals(1, context.getBuildInfo("device2").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_stub_multi() 1454 .getBuildAttributes() in testLogDeviceBatteryLevel_physicalDevice_stub_multi() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/ |
D | SuiteApkInstallerTest.java | 66 doReturn(new HashMap<String, String>()).when(mMockBuildInfo).getBuildAttributes(); in testGetTestsDir_noVar_noRootDir() 92 doReturn(attributes).when(mMockBuildInfo).getBuildAttributes(); in testGetTestsDir_noVar() 119 verify(mMockBuildInfo, times(0)).getBuildAttributes(); in testGetLocalPathForFilename_withVariable() 147 doReturn(attributes).when(mMockBuildInfo).getBuildAttributes(); in testGetTestsDir_notDir()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/suite/ |
D | SuiteApkInstaller.java | 55 if (buildInfo.getBuildAttributes().get(ROOT_DIR) != null) { in getTestsDir() 56 return new File(buildInfo.getBuildAttributes().get(ROOT_DIR)); in getTestsDir()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | BuildInfoAttributePreparerTest.java | 48 Map<String, String> map = build.getBuildAttributes(); in testSimple()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | BuildInfoTest.java | 64 assertEquals(mBuildInfo.getBuildAttributes().get(ATTRIBUTE_KEY), in testClone() 65 copy.getBuildAttributes().get(ATTRIBUTE_KEY)); in testClone()
|
/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/invoker/ |
D | ShardMasterResultForwarder.java | 189 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()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4TestTest.java | 333 EasyMock.expect(mMockBuild.getBuildAttributes()).andReturn(properties).times(2);
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | HostTest.java | 1121 if (buildInfo.getBuildAttributes().get(ROOT_DIR) != null) { in getJarFile() 1123 searchJarFile(new File(buildInfo.getBuildAttributes().get(ROOT_DIR)), jarName); in getJarFile()
|