/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 1437 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()
|
D | InvocationContextTest.java | 131 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/ |
D | InvocationExecution.java | 169 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()
|
D | InvocationContext.java | 182 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()
|
D | ShardMainResultForwarder.java | 189 IBuildInfo shardBuild = shard.getBuildInfo(deviceName); in copyShardBuildInfoToMain() 190 IBuildInfo mainBuild = main.getBuildInfo(deviceName); in copyShardBuildInfoToMain()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ITestSuite.java | 401 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
|
D | TfSuiteRunner.java | 98 if (getBuildInfo() instanceof IDeviceBuildInfo) { in loadTests() 99 IDeviceBuildInfo deviceBuildInfo = (IDeviceBuildInfo) getBuildInfo(); in loadTests()
|
D | BaseTestSuite.java | 299 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/ |
D | MixImageZipPreparerTest.java | 152 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/ |
D | ParentSandboxInvocationExecutionTest.java | 248 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/ |
D | MixImageZipPreparer.java | 191 IDeviceBuildInfo deviceBuildInfo = (IDeviceBuildInfo) context.getBuildInfo(device); in setUp() 195 (IDeviceBuildInfo) context.getBuildInfo(systemNullDevice); in setUp() 200 resourceBuildInfo = context.getBuildInfo(resourceNullDevice); in setUp()
|
D | MergeMultiBuildTargetPreparer.java | 64 IBuildInfo providerInfo = context.getBuildInfo(mProvider); in setUp() 72 IBuildInfo receiverInfo = context.getBuildInfo(mReceiver); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | ITargetPreparer.java | 67 setUp(testInformation.getDevice(), testInformation.getBuildInfo()); in setUp() 96 tearDown(testInformation.getDevice(), testInformation.getBuildInfo(), e); in tearDown()
|
D | TestAppInstallSetup.java | 241 testInfo.getBuildInfo(), in getLocalPathForFilename() 251 apkFileName, testInfo.getBuildInfo().toString()), in getLocalPathForFilename()
|
D | DeviceBuildInfoBootStrapper.java | 57 testInfo.getBuildInfo(), in setUp()
|
D | BuildInfoRecorder.java | 50 IBuildInfo buildInfo = testInfo.getBuildInfo(); in setUp()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/ |
D | IInvocationContext.java | 123 public IBuildInfo getBuildInfo(String deviceName); in getBuildInfo() method 128 public IBuildInfo getBuildInfo(ITestDevice testDevice); in getBuildInfo() method
|
D | TestInformation.java | 102 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/ |
D | DeviceSuite.java | 66 ((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/ |
D | ExecutableHostTest.java | 74 if (getTestInfo().getBuildInfo() instanceof IDeviceBuildInfo) { in findBinary() 75 IDeviceBuildInfo deviceBuild = (IDeviceBuildInfo) getTestInfo().getBuildInfo(); in findBinary()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | ShardHelper.java | 192 .cleanUp(context.getBuildInfo(deviceName)); in shardConfig() 290 ((IBuildReceiver) test).setBuild(testInfo.getBuildInfo()); in shardTest()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/python/ |
D | PythonBinaryHostTest.java | 218 if (mTestInfo.getBuildInfo() instanceof IDeviceBuildInfo) { in findParFiles() 219 testsDir = ((IDeviceBuildInfo) mTestInfo.getBuildInfo()).getTestsDir(); in findParFiles()
|
/tools/tradefederation/contrib/src/com/android/tradefed/ |
D | HelloWorldMultiDevices.java | 46 device.getSerialNumber(), context.getBuildInfo(device)); in run()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | TearDownPassThroughPreparer.java | 67 cleaner.cleanUp(testInfo.getBuildInfo(), e); in tearDown()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/app/ |
D | NoApkTestSkipper.java | 44 if (testInfo.getBuildInfo().getAppPackageFiles().isEmpty()) { in setUp()
|