Home
last modified time | relevance | path

Searched refs:getBuildInfo (Results 1 – 25 of 64) sorted by relevance

123

/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DITargetPreparer.java67 setUp(testInformation.getDevice(), testInformation.getBuildInfo()); in setUp()
96 tearDown(testInformation.getDevice(), testInformation.getBuildInfo(), e); in tearDown()
DDeviceBuildInfoBootStrapper.java59 testInfo.getBuildInfo(), in setUp()
DBuildInfoRecorder.java50 IBuildInfo buildInfo = testInfo.getBuildInfo(); in setUp()
DFastbootUpdateBootstrapPreparer.java80 IBuildInfo buildInfo = testInfo.getBuildInfo(); in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DInvocationContextTest.java131 assertEquals(info, mContext.getBuildInfo(device)); in testSerialize()
140 assertEquals(info, deserialized.getBuildInfo("test-device")); in testSerialize()
146 assertEquals(info, mContext.getBuildInfo(device)); in testSerialize()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java250 IBuildInfo errorBuild = e.getBuildInfo(); in fetchBuild()
265 copyRemoteFiles(config.getCommandOptions(), testInfo.getBuildInfo()); in fetchBuild()
273 if (context.getBuildInfo(cleanUpDevice) != null) { in cleanUpBuilds()
277 .cleanUp(context.getBuildInfo(cleanUpDevice)); in cleanUpBuilds()
744 context.getBuildInfo(firstDeviceName)); in runMultiVirtualDevicesPreInvocationSetup()
807 device.preInvocationSetup(context.getBuildInfo(deviceName), context.getAttributes()); in runSingleDevicePreInvocationSetup()
1130 cleaner.cleanUp(context.getBuildInfo(deviceName), exception); in doCleanUp()
1147 cleaner.cleanUp(context.getBuildInfo(deviceName), exception); in doCleanUp()
1190 ((IBuildReceiver) test).setBuild(info.getBuildInfo()); in runTests()
1726 info.getBuildInfo()
[all …]
DInvocationContext.java182 public IBuildInfo getBuildInfo(String deviceName) { in getBuildInfo() method in InvocationContext
190 public IBuildInfo getBuildInfo(ITestDevice testDevice) { in getBuildInfo() method in InvocationContext
266 if (info.equals(getBuildInfo(name))) { in getBuildInfoName()
DShardMainResultForwarder.java233 IBuildInfo shardBuild = shard.getBuildInfo(deviceName); in copyShardBuildInfoToMain()
234 IBuildInfo mainBuild = main.getBuildInfo(deviceName); in copyShardBuildInfoToMain()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/multi/
DMixImageZipPreparerTest.java176 Mockito.when(mMockContext.getBuildInfo(mockSystem)).thenReturn(mSystemBuild); in setUpPreparerAndSystem()
208 Mockito.when(mMockContext.getBuildInfo(mockSystem)).thenReturn(mSystemBuild); in setUpPreparerAndSystemWithFileMapping()
238 Mockito.when(mMockContext.getBuildInfo(mockDevice)).thenReturn(mDeviceBuild); in setUpDevice()
256 Mockito.when(mMockContext.getBuildInfo(mockDevice)).thenReturn(mDeviceBuild); in setUpDeviceWithSuper()
303 Mockito.when(mMockContext.getBuildInfo(mockResource)).thenReturn(mResourceBuild); in setUpResource()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/
DMergeMultiBuildTargetPreparer.java70 IBuildInfo providerInfo = context.getBuildInfo(mProvider); in setUp()
78 IBuildInfo receiverInfo = context.getBuildInfo(mReceiver); in setUp()
DMixImageZipPreparer.java194 IDeviceBuildInfo deviceBuildInfo = (IDeviceBuildInfo) context.getBuildInfo(device); in setUp()
198 (IDeviceBuildInfo) context.getBuildInfo(systemNullDevice); in setUp()
203 resourceBuildInfo = context.getBuildInfo(resourceNullDevice); in setUp()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/
DIInvocationContext.java123 public IBuildInfo getBuildInfo(String deviceName); in getBuildInfo() method
128 public IBuildInfo getBuildInfo(ITestDevice testDevice); in getBuildInfo() method
DTestInformation.java110 public IBuildInfo getBuildInfo() { in getBuildInfo() method in TestInformation
239 file = getBuildInfo().stageRemoteFile(fileName, testsDir); in getFromTestsDir()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DResolvePartialDownloadTest.java57 doReturn(new BuildInfo()).when(mTestInformation).getBuildInfo(); in testRemotePaths()
75 doReturn(new BuildInfo()).when(mTestInformation).getBuildInfo(); in testRemotePaths_multi()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DDeviceSuite.java66 ((IBuildReceiver) r).setBuild(mTestInfo.getBuildInfo()); in setTestInformation()
144 ((IBuildReceiver) testObj).setBuild(mTestInfo.getBuildInfo()); in injectValues()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DPythonVirtualenvPreparer.java68 startVirtualenv(testInformation.getBuildInfo(), testInformation.getDevice()); in setUp()
69 installDeps(testInformation.getBuildInfo(), testInformation.getDevice()); in setUp()
DRunHostCommandTargetPreparer.java173 IBuildInfo buildInfo = testInfo.getBuildInfo(); in setUp()
215 replaceExtraFile(mTearDownCommands, testInfo.getBuildInfo()); in tearDown()
DTearDownPassThroughPreparer.java67 cleaner.cleanUp(testInfo.getBuildInfo(), e); in tearDown()
DTestSystemAppInstallSetup.java61 IBuildInfo buildInfo = testInfo.getBuildInfo(); in setUp()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/
DExecutableHostTest.java78 if (getTestInfo().getBuildInfo() instanceof IDeviceBuildInfo) { in findBinary()
79 IDeviceBuildInfo deviceBuild = (IDeviceBuildInfo) getTestInfo().getBuildInfo(); in findBinary()
/tools/tradefederation/core/src/com/android/tradefed/build/content/
DTestContentAnalyzer.java125 results = xtsAnalysis(information.getBuildInfo(), ac); in evaluate()
128 results = fileAnalysis(information.getBuildInfo(), ac); in evaluate()
131 results = workdirAnalysis(information.getBuildInfo(), ac); in evaluate()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTfSuiteRunner.java98 if (getBuildInfo() instanceof IDeviceBuildInfo) { in loadTests()
99 IDeviceBuildInfo deviceBuildInfo = (IDeviceBuildInfo) getBuildInfo(); in loadTests()
/tools/tradefederation/contrib/src/com/android/tradefed/
DHelloWorldMultiDevices.java46 device.getSerialNumber(), context.getBuildInfo(device)); in run()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/app/
DNoApkTestSkipper.java44 if (testInfo.getBuildInfo().getAppPackageFiles().isEmpty()) { in setUp()
/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildRetrievalError.java110 public IBuildInfo getBuildInfo() { in getBuildInfo() method in BuildRetrievalError

123