/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | PushFilePreparerTest.java | 85 mTestInfo.getContext().addDeviceBuildInfo("device", new BuildInfo()); in testLocalNoExist() 105 mTestInfo.getContext().addDeviceBuildInfo("device", new BuildInfo()); in testRemoteNoExist() 133 mTestInfo.getContext().addDeviceBuildInfo("device", info); in testPushFile_RemoteIsDir() 164 mTestInfo.getContext().addDeviceBuildInfo("device", info); in testPushFile_duplicateKey() 192 mTestInfo.getContext().addDeviceBuildInfo("device", info); in testPushDir_RemoteIsDir() 214 mTestInfo.getContext().addDeviceBuildInfo("device", info); in testPushDir_RemoteIsFile() 251 mTestInfo.getContext().addDeviceBuildInfo("device", info); in testRemotePush_override() 285 mTestInfo.getContext().addDeviceBuildInfo("device", info); in testPushFileAndPush_override() 307 mTestInfo.getContext().addDeviceBuildInfo("device", new BuildInfo()); in testWarnOnFailure() 420 mTestInfo.getContext().addDeviceBuildInfo("device", info); in testPush_abiDirectory_noBitness() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | InvocationExecution.java | 120 for (int i = 0; i < testInfo.getContext().getDeviceConfigNames().size(); i++) { in fetchBuild() 121 currentDeviceName = testInfo.getContext().getDeviceConfigNames().get(i); in fetchBuild() 124 testInfo.getContext().addDeviceBuildInfo(currentDeviceName, buildReplicat); in fetchBuild() 128 ITestDevice device = testInfo.getContext().getDevice(currentDeviceName); in fetchBuild() 135 .setInvocationContext(testInfo.getContext()); in fetchBuild() 146 testInfo.getContext().addDeviceBuildInfo(currentDeviceName, info); in fetchBuild() 155 testInfo.getContext().addDeviceBuildInfo(currentDeviceName, notFoundStub); in fetchBuild() 171 testInfo.getContext().addDeviceBuildInfo(currentDeviceName, errorBuild); in fetchBuild() 178 testInfo.getContext().addDeviceBuildInfo(currentDeviceName, errorBuild); in fetchBuild() 182 setBinariesVersion(testInfo.getContext()); in fetchBuild() [all …]
|
D | TestInvocation.java | 223 IInvocationContext context = testInfo.getContext(); in performInvocation() 438 logDeviceBatteryLevel(testInfo.getContext(), "initial -> setup"); in prepareAndRun() 441 logDeviceBatteryLevel(testInfo.getContext(), "setup -> test"); in prepareAndRun() 445 logDeviceBatteryLevel(testInfo.getContext(), "after test"); in prepareAndRun() 645 startInvocation(config, testInfo.getContext(), listener); in invokeFetchBuild() 648 for (ITestDevice device : testInfo.getContext().getDevices()) { in invokeFetchBuild()
|
D | RemoteInvocationExecution.java | 120 testInfo.getContext().addDeviceBuildInfo(deviceName, info); in fetchBuild() 263 info.getContext(), in runTests() 290 super.runDevicePostInvocationTearDown(testInfo.getContext(), config, exception); in doTeardown()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/multi/ |
D | HelloWorldMultiTargetPreparer.java | 34 Map<ITestDevice, IBuildInfo> deviceBuildInfo = testInfo.getContext().getDeviceBuildMap(); in setUp() 36 ITestDevice device = testInfo.getContext().getDevices().get(0); in setUp() 48 CLog.i("The device names configured are: %s", testInfo.getContext().getDeviceConfigNames()); in setUp() 53 Map<ITestDevice, IBuildInfo> deviceBuildInfo = testInfo.getContext().getDeviceBuildMap(); in tearDown()
|
D | IMultiTargetPreparer.java | 62 setUp(testInformation.getContext()); in setUp() 91 tearDown(testInformation.getContext(), e); in tearDown()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/ |
D | ResultsPlayer.java | 72 for (ITestDevice device : testInfo.getContext().getDevices()) { in run() 92 for (String deviceName : testInfo.getContext().getDeviceConfigNames()) { in run() 94 deviceName, testInfo.getContext().getDevice(deviceName)); in run() 96 deviceName, testInfo.getContext().getBuildInfo(deviceName)); in run()
|
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/ |
D | WifiUtil.java | 175 … WifiManager wifiManager = (WifiManager) getContext().getSystemService(Context.WIFI_SERVICE); in onStart() 180 WifiConnector connector = new WifiConnector(getContext()); in onStart() 281 WifiMonitorService.enable(getContext(), interval, urlToCheck); in onStart() 286 final Context context = getContext(); in onStart()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/sandbox/ |
D | SandboxedInvocationExecution.java | 59 for (String deviceName : testInfo.getContext().getDeviceConfigNames()) { in fetchBuild() 64 ((IInvocationContextReceiver) provider).setInvocationContext(testInfo.getContext()); in fetchBuild() 69 for (IBuildInfo info : testInfo.getContext().getBuildInfos()) { in fetchBuild()
|
D | ParentSandboxInvocationExecution.java | 61 if (!testInfo.getContext().getBuildInfos().isEmpty()) { in fetchBuild() 65 testInfo.getContext().getBuildInfos()); in fetchBuild() 123 for (IBuildInfo build : info.getContext().getBuildInfos()) { in runTests()
|
/tools/test/graphicsbenchmark/performance_tests/deviceside/src/com/android/game/qualification/device/ |
D | GameQualificationTest.java | 89 InstrumentationRegistry.getContext().getPackageManager() in startApp() 134 InstrumentationRegistry.getContext().startActivity(intent); in startApp() 170 InstrumentationRegistry.getContext().registerReceiver(br, intentFilter); in registerReceiver()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/ |
D | ExecutableHostTestTest.java | 98 mTestInfo.getContext().addDeviceBuildInfo("device", new BuildInfo()); in testRunHostExecutable_doesNotExists() 228 mTestInfo.getContext().addDeviceBuildInfo("device", info); in testRunHostExecutable_search() 260 mTestInfo.getContext().addDeviceBuildInfo("device", info); in testRunHostExecutable_notFound()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/ |
D | SuiteApkInstallerTest.java | 156 mTestInfo.getContext().addDeviceBuildInfo("device", deviceBuildInfo); in testGetLocalPathForFileName_testsDir() 195 mTestInfo.getContext().addDeviceBuildInfo("device", deviceBuildInfo); in testGetLocalPathForFileName_remoteZip()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | TestsPoolPoller.java | 181 listenerWithCollectors = collector.init(info.getContext(), listenerWithCollectors); in run() 195 ((IInvocationContextReceiver) test).setInvocationContext(info.getContext()); in run()
|
D | ShardHelper.java | 107 IInvocationContext context = testInfo.getContext(); in shardConfig() 296 ((IInvocationContextReceiver) test).setInvocationContext(testInfo.getContext()); in shardTest()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4Test.java | 103 return mTestInfo.getContext(); in getInvocationContext() 107 return mTestInfo.getContext().getDevices(); in getListDevices()
|
D | DeviceParameterizedRunner.java | 78 .setInvocationContext(mTestInformation.getContext()); in methodInvoker()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ITestSuite.java | 934 setInvocationContext(testInfo.getContext()); in split() 995 ((IInvocationContextReceiver) test).setInvocationContext(testInfo.getContext()); in injectInfo()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | HostTest.java | 485 ((IInvocationContextReceiver) testObj).setInvocationContext(mTestInfo.getContext()); in setTestObjectInformation() 921 .getContext() in getClasses()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | TestMappingSuiteRunnerTest.java | 506 .getContext() in testLoadTests_shard() 552 .getContext() in testLoadTests_shardNoTest()
|
/tools/tradefederation/contrib/src/com/android/tradefed/ |
D | HelloWorldMultiDevices.java | 40 IInvocationContext context = testInfo.getContext(); in run()
|
/tools/test/graphicsbenchmark/functional_tests/java/src/com/android/game/qualification/tests/ |
D | SurfaceFlingerTest.java | 42 TestUtils.assumeGameCoreCertified(InstrumentationRegistry.getContext().getPackageManager()); in setUp()
|
D | ChoreoTest.java | 48 TestUtils.assumeGameCoreCertified(InstrumentationRegistry.getContext().getPackageManager()); in setUp()
|
/tools/tradefederation/contrib/src/com/android/monkey/ |
D | MonkeyPairedBase.java | 66 cwUtils.setUpMultiDevice(testInfo.getContext().getDeviceBuildMap(), mDeviceList); in run()
|
/tools/tradefederation/core/src/com/android/tradefed/sandbox/ |
D | SandboxInvocationRunner.java | 56 Exception res = sandbox.prepareEnvironment(info.getContext(), config, listener); in prepareAndRun()
|