Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java132 IBuildInfo errorBuild = e.getBuildInfo(); in fetchBuild()
148 if (context.getBuildInfo(cleanUpDevice) != null) { in cleanUpBuilds()
152 .cleanUp(context.getBuildInfo(cleanUpDevice)); in cleanUpBuilds()
209 preparer.setUp(device, context.getBuildInfo(deviceName)); in doSetup()
249 context.getBuildInfo(deviceName), in runDevicePreInvocationSetup()
375 cleaner.tearDown(device, context.getBuildInfo(deviceName), exception); in doTeardown()
427 cleaner.cleanUp(context.getBuildInfo(deviceName), exception); in doCleanUp()
450 .setBuild(context.getBuildInfo(context.getDevices().get(0))); in runTests()
515 .buildNotTested(context.getBuildInfo(deviceName)); in resetBuildAndReschedule()
DIInvocationContext.java122 public IBuildInfo getBuildInfo(String deviceName); in getBuildInfo() method
127 public IBuildInfo getBuildInfo(ITestDevice testDevice); in getBuildInfo() method
DInvocationContext.java179 public IBuildInfo getBuildInfo(String deviceName) { in getBuildInfo() method in InvocationContext
196 public IBuildInfo getBuildInfo(ITestDevice testDevice) { in getBuildInfo() method in InvocationContext
279 if (info.equals(getBuildInfo(name))) { in getBuildInfoName()
DShardMasterResultForwarder.java179 IBuildInfo shardBuild = shard.getBuildInfo(deviceName); in copyShardBuildInfoToMain()
180 IBuildInfo mainBuild = main.getBuildInfo(deviceName); in copyShardBuildInfoToMain()
DTestInvocation.java427 .cleanUp(context.getBuildInfo(deviceName)); in resume()
551 context.getBuildInfo(testDevice) in logDeviceBatteryLevel()
/tools/tradefederation/core/tests/src/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()
DTestInvocationTest.java1323 assertEquals(1, context.getBuildInfo("device1").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice()
1326 context.getBuildInfo("device1") in testLogDeviceBatteryLevel_physicalDevice()
1356 assertEquals(1, context.getBuildInfo("device1").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_multi()
1357 assertEquals(1, context.getBuildInfo("device2").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_multi()
1360 context.getBuildInfo("device1") in testLogDeviceBatteryLevel_physicalDevice_multi()
1365 context.getBuildInfo("device2") in testLogDeviceBatteryLevel_physicalDevice_multi()
1403 assertEquals(1, context.getBuildInfo("device1").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_stub_multi()
1404 assertEquals(1, context.getBuildInfo("device2").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_stub_multi()
1407 context.getBuildInfo("device1") in testLogDeviceBatteryLevel_physicalDevice_stub_multi()
1412 context.getBuildInfo("device2") in testLogDeviceBatteryLevel_physicalDevice_stub_multi()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/multi/
DMergeMultiBuildTargetPreparer.java64 IBuildInfo providerInfo = context.getBuildInfo(mProvider); in setUp()
72 IBuildInfo receiverInfo = context.getBuildInfo(mReceiver); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DBaseTestSuite.java200 File hostSubDir = getBuildInfo().getFile(BuildInfoFileKey.HOST_LINKED_DIR); in loadTests()
205 File targetSubDir = getBuildInfo().getFile(BuildInfoFileKey.TARGET_LINKED_DIR); in loadTests()
254 IBuildInfo build = getBuildInfo(); in getTestsDir()
DTfSuiteRunner.java98 if (getBuildInfo() instanceof IDeviceBuildInfo) { in loadTests()
99 IDeviceBuildInfo deviceBuildInfo = (IDeviceBuildInfo) getBuildInfo(); in loadTests()
DTestMappingSuiteRunner.java103 getBuildInfo(), mTestGroup, getPrioritizeHostConfig(), mKeywords); in loadTests()
DModuleDefinition.java370 mModuleInvocationContext.getBuildInfo(deviceName), in run()
850 mModuleInvocationContext.getBuildInfo(deviceName), in runTearDown()
DITestSuite.java585 .addDeviceBuildInfo(deviceName, mContext.getBuildInfo(deviceName)); in run()
915 public IBuildInfo getBuildInfo() { in getBuildInfo() method in ITestSuite
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java127 installer.tearDown(device, mContext.getBuildInfo(device), null); in autoTearDown()
164 installer.setUp(device, mContext.getBuildInfo(device)); in installPackage()
209 installer.setUp(device, mContext.getBuildInfo(device)); in installPackageAsUser()
/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildRetrievalError.java67 public IBuildInfo getBuildInfo() { in getBuildInfo() method in BuildRetrievalError
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DShardBuildCloner.java41 IBuildInfo toBuild = context.getBuildInfo(deviceName).clone(); in cloneBuildInfos()
DShardHelper.java158 .cleanUp(context.getBuildInfo(deviceName)); in shardConfig()
/tools/tradefederation/contrib/src/com/android/tradefed/
DHelloWorldMultiDevices.java71 device.getSerialNumber(), mContext.getBuildInfo(device)); in run()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DResultsPlayer.java77 moduleContext.addDeviceBuildInfo(deviceName, mContext.getBuildInfo(deviceName)); in run()
/tools/tradefederation/core/src/com/android/tradefed/result/
DCollectingTestListener.java116 public IBuildInfo getBuildInfo() { in getBuildInfo() method in CollectingTestListener
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java422 IBuildInfo endInvocationInfo = endInvocationContext.getBuildInfo(name); in mergeInvocationContext()