/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()
|
/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 | 219 IInvocationContext context = testInfo.getContext(); in performInvocation() 430 logDeviceBatteryLevel(testInfo.getContext(), "initial -> setup"); in prepareAndRun() 433 logDeviceBatteryLevel(testInfo.getContext(), "setup -> test"); in prepareAndRun() 437 logDeviceBatteryLevel(testInfo.getContext(), "after test"); in prepareAndRun() 633 startInvocation(config, testInfo.getContext(), listener); in invokeFetchBuild() 636 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/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/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/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/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/contrib/src/com/android/tradefed/ |
D | HelloWorldMultiDevices.java | 40 IInvocationContext context = testInfo.getContext(); in run()
|
D | Sl4aBluetoothDiscovery.java | 88 setDeviceInfos(testInfo.getContext().getDeviceBuildMap()); 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/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/test_framework/com/android/tradefed/testtype/junit4/ |
D | DeviceParameterizedRunner.java | 78 .setInvocationContext(mTestInformation.getContext()); in methodInvoker()
|
D | LongevityHostRunner.java | 183 ((IInvocationContextReceiver) child).setInvocationContext(mTestInfo.getContext()); in run()
|
D | BaseHostJUnit4Test.java | 103 return mTestInfo.getContext(); in getInvocationContext() 107 return mTestInfo.getContext().getDevices(); in getListDevices()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/ |
D | ExecutableHostTestTest.java | 96 mTestInfo.getContext().addDeviceBuildInfo("device", new BuildInfo()); in testRunHostExecutable_doesNotExists() 217 mTestInfo.getContext().addDeviceBuildInfo("device", info); in testRunHostExecutable_search() 249 mTestInfo.getContext().addDeviceBuildInfo("device", info); in testRunHostExecutable_notFound()
|
/tools/tradefederation/core/src/com/android/tradefed/sandbox/ |
D | SandboxInvocationRunner.java | 56 Exception res = sandbox.prepareEnvironment(info.getContext(), config, listener); in prepareAndRun()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | ShardBuildCloner.java | 46 IInvocationContext context = testInfo.getContext(); in cloneBuildInfos()
|
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/invocation_interfaces/com/android/tradefed/invoker/ |
D | TestInformation.java | 87 public IInvocationContext getContext() { in getContext() method in TestInformation
|