Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationContextTest.java102 assertEquals(info, mContext.getBuildInfo(device)); in testSerialize()
111 assertEquals(info, deserialized.getBuildInfo("test-device")); in testSerialize()
117 assertEquals(info, mContext.getBuildInfo(device)); in testSerialize()
DTestInvocationTest.java1373 assertEquals(1, context.getBuildInfo("device1").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice()
1376 context.getBuildInfo("device1") 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()
1409 context.getBuildInfo("device1") in testLogDeviceBatteryLevel_physicalDevice_multi()
1414 context.getBuildInfo("device2") 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()
1453 context.getBuildInfo("device1") in testLogDeviceBatteryLevel_physicalDevice_stub_multi()
1458 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/invoker/
DInvocationExecution.java120 context.addDeviceBuildInfo(currentDeviceName, e.getBuildInfo()); in fetchBuild()
132 if (context.getBuildInfo(cleanUpDevice) != null) { in cleanUpBuilds()
136 .cleanUp(context.getBuildInfo(cleanUpDevice)); in cleanUpBuilds()
181 device.preInvocationSetup(context.getBuildInfo(deviceName)); in doSetup()
196 preparer.setUp(device, context.getBuildInfo(deviceName)); in doSetup()
295 cleaner.tearDown(device, context.getBuildInfo(deviceName), exception); in doTeardown()
340 cleaner.cleanUp(context.getBuildInfo(deviceName), exception); in doCleanUp()
356 ((IBuildReceiver) test).setBuild(context.getBuildInfo(context.getDevices().get(0))); in runTests()
399 .buildNotTested(context.getBuildInfo(deviceName)); in resetBuildAndReschedule()
DIInvocationContext.java110 public IBuildInfo getBuildInfo(String deviceName); in getBuildInfo() method
115 public IBuildInfo getBuildInfo(ITestDevice testDevice); in getBuildInfo() method
DShardMasterResultForwarder.java186 IBuildInfo shardBuild = shard.getBuildInfo(deviceName); in copyShardBuildInfoToMain()
187 IBuildInfo mainBuild = main.getBuildInfo(deviceName); in copyShardBuildInfoToMain()
DInvocationContext.java170 public IBuildInfo getBuildInfo(String deviceName) { in getBuildInfo() method in InvocationContext
187 public IBuildInfo getBuildInfo(ITestDevice testDevice) { in getBuildInfo() method in InvocationContext
DTestInvocation.java404 .cleanUp(context.getBuildInfo(deviceName)); in resume()
535 context.getBuildInfo(testDevice) in logDeviceBatteryLevel()
/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.java136 .cleanUp(context.getBuildInfo(deviceName)); in shardConfig()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunner.java70 Set<TestMapping.TestInfo> testsToRun = TestMapping.getTests(getBuildInfo(), mTestGroup); in loadTests()
DTfSuiteRunner.java98 if (getBuildInfo() instanceof IDeviceBuildInfo) { in loadTests()
99 IDeviceBuildInfo deviceBuildInfo = (IDeviceBuildInfo) getBuildInfo(); in loadTests()
DBaseTestSuite.java192 IBuildInfo build = getBuildInfo(); in getTestsDir()
DModuleDefinition.java311 mModuleInvocationContext.getBuildInfo(deviceName), in run()
654 device, mModuleInvocationContext.getBuildInfo(deviceName), null); in runTearDown()
DITestSuite.java431 .addDeviceBuildInfo(deviceName, mContext.getBuildInfo(deviceName)); in run()
710 public IBuildInfo getBuildInfo() { in getBuildInfo() method in ITestSuite
/tools/tradefederation/core/prod-tests/src/com/android/tradefed/
DHelloWorldMultiDevices.java71 device.getSerialNumber(), mContext.getBuildInfo(device)); in run()
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java119 installer.tearDown(device, mContext.getBuildInfo(device), null); in autoTearDown()
156 installer.setUp(device, mContext.getBuildInfo(device)); in installPackage()
201 installer.setUp(device, mContext.getBuildInfo(device)); in installPackageAsUser()
/tools/tradefederation/core/src/com/android/tradefed/result/
DCollectingTestListener.java107 public IBuildInfo getBuildInfo() { in getBuildInfo() method in CollectingTestListener