Home
last modified time | relevance | path

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

123

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java1437 assertEquals(1, context.getBuildInfo("device1").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice()
1440 context.getBuildInfo("device1") in testLogDeviceBatteryLevel_physicalDevice()
1470 assertEquals(1, context.getBuildInfo("device1").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_multi()
1471 assertEquals(1, context.getBuildInfo("device2").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_multi()
1474 context.getBuildInfo("device1") in testLogDeviceBatteryLevel_physicalDevice_multi()
1479 context.getBuildInfo("device2") in testLogDeviceBatteryLevel_physicalDevice_multi()
1517 assertEquals(1, context.getBuildInfo("device1").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_stub_multi()
1518 assertEquals(1, context.getBuildInfo("device2").getBuildAttributes().size()); in testLogDeviceBatteryLevel_physicalDevice_stub_multi()
1521 context.getBuildInfo("device1") in testLogDeviceBatteryLevel_physicalDevice_stub_multi()
1526 context.getBuildInfo("device2") in testLogDeviceBatteryLevel_physicalDevice_stub_multi()
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.java169 IBuildInfo errorBuild = e.getBuildInfo(); in fetchBuild()
190 if (context.getBuildInfo(cleanUpDevice) != null) { in cleanUpBuilds()
194 .cleanUp(context.getBuildInfo(cleanUpDevice)); in cleanUpBuilds()
348 device.preInvocationSetup(context.getBuildInfo(deviceName)); in runDevicePreInvocationSetup()
550 cleaner.cleanUp(context.getBuildInfo(deviceName), exception); in doCleanUp()
573 ((IBuildReceiver) test).setBuild(info.getBuildInfo()); in runTests()
DInvocationContext.java182 public IBuildInfo getBuildInfo(String deviceName) { in getBuildInfo() method in InvocationContext
199 public IBuildInfo getBuildInfo(ITestDevice testDevice) { in getBuildInfo() method in InvocationContext
266 if (info.equals(getBuildInfo(name))) { in getBuildInfoName()
DShardMainResultForwarder.java189 IBuildInfo shardBuild = shard.getBuildInfo(deviceName); in copyShardBuildInfoToMain()
190 IBuildInfo mainBuild = main.getBuildInfo(deviceName); in copyShardBuildInfoToMain()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java401 IBuildInfo build = getBuildInfo(); in getTestsDir()
664 .addDeviceBuildInfo(deviceName, mContext.getBuildInfo(deviceName)); in run()
932 setBuild(testInfo.getBuildInfo()); in split()
989 ((IBuildReceiver) test).setBuild(testInfo.getBuildInfo()); in injectInfo()
1034 public IBuildInfo getBuildInfo() { in getBuildInfo() method in ITestSuite
DTfSuiteRunner.java98 if (getBuildInfo() instanceof IDeviceBuildInfo) { in loadTests()
99 IDeviceBuildInfo deviceBuildInfo = (IDeviceBuildInfo) getBuildInfo(); in loadTests()
DBaseTestSuite.java299 File hostSubDir = getBuildInfo().getFile(BuildInfoFileKey.HOST_LINKED_DIR); in loadTests()
304 File targetSubDir = getBuildInfo().getFile(BuildInfoFileKey.TARGET_LINKED_DIR); in loadTests()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/
DMixImageZipPreparerTest.java152 Mockito.when(mMockContext.getBuildInfo(mockSystem)).thenReturn(mSystemBuild); in setUpPreparerAndSystem()
187 Mockito.when(mMockContext.getBuildInfo(mockDevice)).thenReturn(mDeviceBuild); in setUpDevice()
201 Mockito.when(mMockContext.getBuildInfo(mockDevice)).thenReturn(mDeviceBuild); in setUpDeviceWithSuper()
248 Mockito.when(mMockContext.getBuildInfo(mockResource)).thenReturn(mResourceBuild); in setUpResource()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/sandbox/
DParentSandboxInvocationExecutionTest.java248 testInfo.getBuildInfo().addBuildAttribute(GceManager.GCE_INSTANCE_NAME_KEY, "ins-gce"); in testParentSandbox_shutdown()
250 testInfo.getBuildInfo() in testParentSandbox_shutdown()
261 testInfo.getBuildInfo() in testParentSandbox_shutdown()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/
DMixImageZipPreparer.java191 IDeviceBuildInfo deviceBuildInfo = (IDeviceBuildInfo) context.getBuildInfo(device); in setUp()
195 (IDeviceBuildInfo) context.getBuildInfo(systemNullDevice); in setUp()
200 resourceBuildInfo = context.getBuildInfo(resourceNullDevice); in setUp()
DMergeMultiBuildTargetPreparer.java64 IBuildInfo providerInfo = context.getBuildInfo(mProvider); in setUp()
72 IBuildInfo receiverInfo = context.getBuildInfo(mReceiver); in setUp()
/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()
DTestAppInstallSetup.java241 testInfo.getBuildInfo(), in getLocalPathForFilename()
251 apkFileName, testInfo.getBuildInfo().toString()), in getLocalPathForFilename()
DDeviceBuildInfoBootStrapper.java57 testInfo.getBuildInfo(), in setUp()
DBuildInfoRecorder.java50 IBuildInfo buildInfo = testInfo.getBuildInfo(); 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.java102 public IBuildInfo getBuildInfo() { in getBuildInfo() method in TestInformation
221 file = getBuildInfo().stageRemoteFile(fileName, testsDir); in getFromTestsDir()
/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/testtype/binary/
DExecutableHostTest.java74 if (getTestInfo().getBuildInfo() instanceof IDeviceBuildInfo) { in findBinary()
75 IDeviceBuildInfo deviceBuild = (IDeviceBuildInfo) getTestInfo().getBuildInfo(); in findBinary()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DShardHelper.java192 .cleanUp(context.getBuildInfo(deviceName)); in shardConfig()
290 ((IBuildReceiver) test).setBuild(testInfo.getBuildInfo()); in shardTest()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/python/
DPythonBinaryHostTest.java218 if (mTestInfo.getBuildInfo() instanceof IDeviceBuildInfo) { in findParFiles()
219 testsDir = ((IDeviceBuildInfo) mTestInfo.getBuildInfo()).getTestsDir(); in findParFiles()
/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/
DTearDownPassThroughPreparer.java67 cleaner.cleanUp(testInfo.getBuildInfo(), e); in tearDown()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/app/
DNoApkTestSkipper.java44 if (testInfo.getBuildInfo().getAppPackageFiles().isEmpty()) { in setUp()

123