Home
last modified time | relevance | path

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

123

/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildInfo.java102 this(buildToCopy.getBuildId(), buildToCopy.getBuildTargetName()); in BuildInfo()
115 public String getBuildId() { in getBuildId() method in BuildInfo
442 .newInstance(getBuildId(), getBuildTargetName()); in clone()
558 if (getBuildId() != null) { in toProto()
559 protoBuilder.setBuildId(getBuildId()); in toProto()
628 if (!protoBuild.getBuildId().isEmpty()) { in fromProto()
629 buildInfo.setBuildId(protoBuild.getBuildId()); in fromProto()
DLocalDeviceBuildProvider.java99 DeviceBuildInfo buildInfo = new DeviceBuildInfo(stubBuild.getBuildId(), in getBuild()
149 buildInfo.setDeviceImageFile(deviceImgFile, buildInfo.getBuildId()); in setDeviceImageFile()
207 buildInfo.setTestsDir(testsDir, buildInfo.getBuildId()); in setTestsDir()
DBootstrapBuildProvider.java86 CLog.i("ignoring buildNotTested call, build = %s ", info.getBuildId()); in buildNotTested()
103 buildId = device.getBuildId(); in getBuild()
DOtaDeviceBuildInfo.java66 public String getBuildId() { in getBuildId() method in OtaDeviceBuildInfo
67 return getReportedBuild().getBuildId(); in getBuildId()
DLocalAppBuildProvider.java55 appBuild.addAppPackageFile(apkPath, parentBuild.getBuildId()); in getBuild()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java945 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice()
953 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice()
963 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice()
1014 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
1025 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
1038 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
1070 config.getDeviceConfigByName("device1").getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_singletag()
1084 config.getDeviceConfigByName("device2").getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_singletag()
1098 config.getDeviceConfigByName("device3").getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_singletag()
1120 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_applyCommandLineGlobal()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDeviceFlashPreparerTest.java140 EasyMock.expect(mMockDevice.getBuildId()).andReturn(mMockBuildInfo.getBuildId()); in doSetupExpectations()
176 EasyMock.expect(mMockDevice.getBuildId()).andReturn(mMockBuildInfo.getBuildId()); in testSetup_buildError()
/tools/tradefederation/contrib/src/com/android/ota/tests/
DOtaStabilityTest.java280 String currentBuildId = mDevice.getBuildId(); in waitForOta()
286 mDeviceBuild.getBuildId()); in waitForOta()
318 currentBuildId = mDevice.getBuildId(); in waitForOta()
325 mDeviceBuild.getBuildId()); in waitForOta()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DBuildInfoRecorder.java55 alias = buildInfo.getBuildId(); in setUp()
58 "build_id", buildInfo.getBuildId(), in setUp()
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()
DDeviceFlashPreparer.java218 buildInfo.getBuildId(), device.getSerialNumber(), queueTime, in setUp()
281 checkBuildAttribute(deviceBuild.getDeviceBuildId(), device.getBuildId(), in checkBuild()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/multi/
DHelloWorldMultiTargetPreparer.java46 entry.getKey().getSerialNumber(), entry.getValue().getBuildId()); in setUp()
59 entry.getKey().getSerialNumber(), entry.getValue().getBuildId()); in tearDown()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DBootstrapBuildProviderTest.java44 EasyMock.expect(mMockDevice.getBuildId()).andReturn("5"); in testGetBuild()
70 EasyMock.expect(mMockDevice.getBuildId()).andReturn("5"); in testGetBuild_stubDevice()
DBuildInfoTest.java188 assertEquals("1", proto.getBuildId()); in testProtoSerialization()
195 assertEquals("1", deserialized.getBuildId()); in testProtoSerialization()
DOtaZipfileBuildProviderTest.java49 assertEquals(BUILD_ID, buildInfo.getBuildId()); in testGetBuild_Success()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DGceManagerTest.java164 EasyMock.expect(mMockBuildInfo.getBuildId()).andReturn("BUILDID"); in testBuildGceCommand()
200 EasyMock.expect(mMockBuildInfo.getBuildId()).andReturn("BUILDID"); in testBuildGceCommand_withServiceAccountJsonKeyFile()
240 EasyMock.expect(mMockBuildInfo.getBuildId()).andReturn("BUILDID"); in testBuildGceCommandWithEmulatorBuild()
289 EasyMock.expect(mMockBuildInfo.getBuildId()).andReturn("BUILDID"); in testBuildGceCommandWithGceDriverParam()
367 EasyMock.expect(mMockBuildInfo.getBuildId()).andReturn("BUILDID"); in testBuildGceCommandWithKernelBuild()
DRemoteAndroidVirtualDeviceTest.java420 EasyMock.expect(mMockBuildInfo.getBuildId()).andStubReturn("id"); in testDeviceNotStoreShutdownState()
523 EasyMock.expect(mMockBuildInfo.getBuildId()).andStubReturn("id"); in testDevice_skipTearDown()
610 EasyMock.expect(mMockBuildInfo.getBuildId()).andStubReturn("id"); in testDeviceBoot_offline()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DSubprocessTfLauncher.java158 mTmpDir = FileUtil.createTempDir("subprocess-" + tfBuild.getBuildId()); in preRun()
285 CLog.d("Successfully ran TF tests for build %s", mBuildInfo.getBuildId()); in run()
289 mBuildInfo.getBuildId(), result.getStatus()); in run()
/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()
DFileSystemLogSaverTest.java70 EasyMock.expect(mMockBuild.getBuildId()).andReturn(BUILD_ID).anyTimes(); in setUp()
121 EasyMock.expect(mockBuild.getBuildId()).andReturn(BUILD_ID).anyTimes(); in testGetFileDir_nobranch()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DVersionedTfLauncherTest.java152 EasyMock.expect(mMockBuildInfo.getBuildId()).andReturn("FAKEID").times(2); in testRun_singleDevice()
216 EasyMock.expect(mMockBuildInfo.getBuildId()).andReturn("FAKEID").times(2); in testRun_nullDevice()
275 EasyMock.expect(mMockBuildInfo.getBuildId()).andReturn("FAKEID").times(2); in testRun_DeviceNoPreSetup()
361 EasyMock.expect(mMockBuildInfo.getBuildId()).andReturn("FAKEID").times(2); in testGetTestShard()
DTfTestLauncherTest.java130 EasyMock.expect(mMockBuildInfo.getBuildId()).andReturn(BUILD_ID).times(3); in testRun()
232 EasyMock.expect(mMockBuildInfo.getBuildId()).andReturn(BUILD_ID).times(2); in testRunCoverage()
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DDeviceDescriptor.java185 d.getBuildId(), in DeviceDescriptor()
230 public String getBuildId() { in getBuildId() method in DeviceDescriptor
/tools/tradefederation/core/src/com/android/tradefed/result/
DJsonHttpTestResultReporter.java142 buildInfo.getBuildId(), postData); in postResults()
212 result.put(KEY_BUILD_ID, buildInfo.getBuildId()); in convertMetricsToJson()

123