Home
last modified time | relevance | path

Searched refs:getBuildId (Results 1 – 25 of 55) sorted by relevance

123

/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DBuildInfoRecorder.java54 alias = buildInfo.getBuildId(); in setUp()
57 "build_id", buildInfo.getBuildId(), in setUp()
DDeviceBuildInfoInjector.java59 buildInfo.addBuildAttribute(DeviceBuildDescriptor.DEVICE_BUILD_ID, device.getBuildId()); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/multi/
DHelloWorldMultiTargetPreparer.java44 entry.getKey().getSerialNumber(), entry.getValue().getBuildId()); in setUp()
56 entry.getKey().getSerialNumber(), entry.getValue().getBuildId()); in tearDown()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DBootstrapBuildProviderTest.java54 EasyMock.expect(mMockDevice.getBuildId()).andReturn("5"); in testGetBuild()
80 EasyMock.expect(mMockDevice.getBuildId()).andReturn("5"); in testGetBuild_stubDevice()
DOtaZipfileBuildProviderTest.java49 assertEquals(BUILD_ID, buildInfo.getBuildId()); in testGetBuild_Success()
DBuildInfoTest.java197 assertEquals("1", proto.getBuildId()); in testProtoSerialization()
204 assertEquals("1", deserialized.getBuildId()); in testProtoSerialization()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DSystemUpdaterDeviceFlasher.java89 if (!mForceSystemFlash && deviceBuild.getDeviceBuildId().equals(device.getBuildId())) { in installUpdate()
90 CLog.i("System is already version %s, skipping install" , device.getBuildId()); in installUpdate()
DCdmaDeviceFlasher.java77 device.getSerialNumber(), deviceBuild.getBuildId())); in flash()
80 String systemBuildId = device.getBuildId(); in flash()
/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildInfo.java104 this(buildToCopy.getBuildId(), buildToCopy.getBuildTargetName()); in BuildInfo()
117 public String getBuildId() { in getBuildId() method in BuildInfo
448 .newInstance(getBuildId(), getBuildTargetName()); in clone()
565 if (getBuildId() != null) { in toProto()
566 protoBuilder.setBuildId(getBuildId()); in toProto()
644 if (!protoBuild.getBuildId().isEmpty()) { in fromProto()
645 buildInfo.setBuildId(protoBuild.getBuildId()); in fromProto()
DLocalDeviceBuildProvider.java107 DeviceBuildInfo buildInfo = new DeviceBuildInfo(stubBuild.getBuildId(), in getBuild()
159 buildInfo.setDeviceImageFile(deviceImgFile, buildInfo.getBuildId()); in setDeviceImageFile()
217 buildInfo.setTestsDir(testsDir, buildInfo.getBuildId()); in setTestsDir()
DLocalAppBuildProvider.java51 parentBuild.addAppPackageFile(apkPath, parentBuild.getBuildId()); in getBuild()
DDeviceBuildDescriptor.java101 b.addBuildAttribute(DEVICE_BUILD_ID, device.getBuildId()); in injectDeviceAttributes()
DOtaDeviceBuildInfo.java66 public String getBuildId() { in getBuildId() method in OtaDeviceBuildInfo
67 return getReportedBuild().getBuildId(); in getBuildId()
DBootstrapBuildProvider.java117 info.setFile("testsdir", mTestsDir, info.getBuildId()); in getBuild()
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DDeviceDescriptor.java201 d.getBuildId(), in DeviceDescriptor()
223 d.getBuildId(), in DeviceDescriptor()
276 public String getBuildId() { in getBuildId() method in DeviceDescriptor
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDeviceFlashPreparerTest.java149 EasyMock.expect(mMockDevice.getBuildId()).andReturn(mMockBuildInfo.getBuildId()); in doSetupExpectations()
204 EasyMock.expect(mMockDevice.getBuildId()).andReturn(mMockBuildInfo.getBuildId()); in testSetup_buildError()
DSystemUpdaterDeviceFlasherTest.java102 EasyMock.expect(mMockDevice.getBuildId()).andReturn(A_BUILD_ID).anyTimes(); in yieldDifferentBuilds()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java992 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice()
1000 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice()
1010 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice()
1061 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
1072 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
1085 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
1117 config.getDeviceConfigByName("device1").getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_singletag()
1131 config.getDeviceConfigByName("device2").getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_singletag()
1145 config.getDeviceConfigByName("device3").getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_singletag()
1167 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_applyCommandLineGlobal()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DBuildInfoUtil.java64 buildId = device.getBuildId(); in bootstrapDeviceBuildAttributes()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DLogFileSaverTest.java72 EasyMock.expect(mockBuild.getBuildId()).andReturn(buildId).anyTimes(); in testGetFileDir()
107 EasyMock.expect(mockBuild.getBuildId()).andReturn(buildId).anyTimes(); in testGetFileDir_nobranch()
132 EasyMock.expect(mockBuild.getBuildId()).andReturn(buildId).anyTimes(); in testGetFileDir_retention()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterDeviceInfo.java87 json.put("build_id", mDeviceDescriptor.getBuildId()); in toJSON()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/
DMainlineModuleHandler.java57 String buildId = buildInfo.getBuildId(); in buildDynamicBaseLink()
/tools/tradefederation/core/src/com/android/tradefed/result/
DJsonHttpTestResultReporter.java184 buildInfo.getBuildId(), postData); in postResults()
253 result.put(KEY_BUILD_ID, buildInfo.getBuildId()); in convertMetricsToJson()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DSubprocessTfLauncher.java239 mTmpDir = FileUtil.createTempDir("subprocess-" + tfBuild.getBuildId()); in preRun()
399 CLog.d("Successfully ran TF tests for build %s", mBuildInfo.getBuildId()); in run()
403 mBuildInfo.getBuildId(), result.getStatus()); in run()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/build/
DIBuildInfo.java57 public String getBuildId(); in getBuildId() method

123