Home
last modified time | relevance | path

Searched refs:mDevice (Results 1 – 9 of 9) sorted by relevance

/cts/tools/host/src/com/android/cts/
DTestSession.java29 private TestDevice mDevice; field in TestSession
57 mDevice = null; in TestSession()
144 if (mDevice == null) { in getDeviceId()
147 return mDevice.getSerialNumber(); in getDeviceId()
156 return mDevice; in getDevice()
335 mDevice = device; in setTestDevice()
399 pkg.runTest(mDevice, mTest); in run()
402 mTestPackage.run(mDevice, mJavaPackageName, mSessionLog); in run()
407 pkg.run(mDevice, null, mSessionLog); in run()
DDeviceManager.java210 private IDevice mDevice; field in DeviceManager.DeviceServiceMonitor
213 mDevice = device; in DeviceServiceMonitor()
219 while (mDevice.getSyncService() == null || mDevice.getPropertyCount() == 0) { in run()
226 CUIOutputStream.println("Device(" + mDevice + ") connected"); in run()
230 appendDevice(mDevice); in run()
DTest.java39 protected TestDevice mDevice; field in Test
303 mDevice.killProcess(packageName); in killDeviceProcess()
334 mDevice = device; in run()
373 mDevice.runTest(this); in runImpl()
DTestPackage.java62 protected TestDevice mDevice; field in TestPackage
100 mDevice = null; in TestPackage()
652 mDevice = device; in setTestDevice()
727 mDevice.uninstallAPK(packageName); in uninstallAPK()
739 mDevice.installAPK(apkPath); in installAPK()
877 mDevice.runInBatchMode(this, javaPkgName); in runInBatchModeImpl()
910 mCurrentTestSuite.run(mDevice, javaPkgName); in runInIndividualMode()
952 mDevice.killProcess(packageName); in killDeviceProcess()
1134 mCurrentTestSuite.run(mDevice, test); in runTestImpl()
DTestDevice.java86 private IDevice mDevice; field in TestDevice
106 mDevice.runLogService("main", logReceiver); in run()
140 mDevice = device; in TestDevice()
142 mSyncService = mDevice.getSyncService(); in TestDevice()
199 return mDevice; in getDevice()
882 if (mDevice == null) { in getSerialNumber()
885 return mDevice.getSerialNumber(); in getSerialNumber()
972 return mDevice.getClients(); in getClients()
1734 mDevice.executeShellCommand(cmd, receiver, 0); in executeShellCommand()
1737 mDevice.getSerialNumber()), e); in executeShellCommand()
[all …]
DHostSideOnlyPackage.java70 mCurrentTestSuite.run(mDevice, test); in runTestImpl()
DHostUnitTestRunner.java65 deviceTest.setDevice(mTest.mDevice.getDevice()); in runTest()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DPlanTest.java50 private ITestDevice mDevice; field in PlanTest
67 return mDevice; in getDevice()
74 mDevice = device; in setDevice()
DJarHostTest.java50 private ITestDevice mDevice; field in JarHostTest
110 return mDevice; in getDevice()
118 mDevice = device; in setDevice()
277 if (mDevice == null) { in checkFields()