Home
last modified time | relevance | path

Searched refs:getDevice (Results 1 – 25 of 32) sorted by relevance

12

/test/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/
DKernelApiSysfsTest.java46 assertTrue(TargetFileUtils.isReadOnly(state, getDevice())); in testAndroidUSB()
47 String content = getDevice().pullFileContents(state).trim(); in testAndroidUSB()
63 assertTrue(TargetFileUtils.isReadOnly(filePath, getDevice())); in testCpuOnlineFormat()
64 String content = getDevice().pullFileContents(filePath).trim(); in testCpuOnlineFormat()
70 TargetFileUtils.isReadOnly(filePath, getDevice())); in isReadOnlyAndIntegerContent()
71 String content = getDevice().pullFileContents(filePath).trim(); in isReadOnlyAndIntegerContent()
78 TargetFileUtils.isReadWriteOnly(filePath, getDevice())); in isReadWriteAndIntegerContent()
79 String content = getDevice().pullFileContents(filePath).trim(); in isReadWriteAndIntegerContent()
91 assertTrue(TargetFileUtils.isReadOnly(filePath, getDevice())); in testPerCpuCpufreq()
92 String presentCpus = getDevice().pullFileContents(filePath).trim(); in testPerCpuCpufreq()
[all …]
/test/vts/testcases/host/selinux_test/src/com/android/tests/selinux/
DKernelSelinuxFileApiTest.java58 "%s: File does not exist.".format(filePath), getDevice().doesFileExist(filePath)); in testSelinuxCheckReqProt()
60 String permissionBits = TargetFileUtils.getPermission(filePath, getDevice()); in testSelinuxCheckReqProt()
65 getDevice().pullFile(filePath, selinuxTmpFile); in testSelinuxCheckReqProt()
76 "%s: File does not exist.".format(filePath), getDevice().doesFileExist(filePath)); in testSelinuxPolicy()
85 "%s: File does not exist.".format(filePath), getDevice().doesFileExist(filePath)); in testSelinuxNull()
87 String permissionBits = TargetFileUtils.getPermission(filePath, getDevice()); in testSelinuxNull()
/test/vts/testcases/host/fastboot_test/src/com/android/tests/
DFastbootVerifyUserspaceTest.java59 mDevice = getDevice(); in setUp()
87 testInfo.getDevice().reboot(); in tearDownClass()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DApkInstrumentationPreparer.java77 ITestDevice device = testInfo.getDevice(); in run()
118 ITestDevice device = testInfo.getDevice(); in instrument()
DDeviceInteractionHelperInstaller.java89 ITestDevice device = testInfo.getDevice(); in setUp()
137 ITestDevice device = testInfo.getDevice(); in tearDown()
DPackageDisabler.java40 ITestDevice device = testInfo.getDevice(); in run()
DLocationCheck.java46 if (!hasLocationFeature(testInfo.getDevice())) { in run()
DWifiCheck.java57 ITestDevice device = testInfo.getDevice(); in run()
DApkInstaller.java66 testInfo.getDevice().getDeviceDescriptor()); in getLocalPathForFilename()
DDynamicConfigPusher.java119 ITestDevice device = testInfo.getDevice(); in setUp()
175 testInfo.getDevice().deleteFile(mDeviceFilePushed); in tearDown()
DPropertyCheck.java56 ITestDevice device = testInfo.getDevice(); in run()
DBuildFingerPrintPreparer.java54 ITestDevice device = testInfo.getDevice(); in setUp()
DSettingsPreparer.java65 ITestDevice device = testInfo.getDevice(); in run()
DDeviceFileCollector.java69 ITestDevice device = testInfo.getDevice(); in run()
DReportLogCollector.java85 ITestDevice device = testInfo.getDevice(); in tearDown()
DMediaPreparer.java391 ITestDevice device = testInfo.getDevice(); in setUp()
427 ITestDevice device = testInfo.getDevice(); in setMaxRes()
DVtsDeviceInfoCollector.java92 ITestDevice device = testInfo.getDevice(); in setUp()
DPreconditionPreparer.java96 run(testInfo.getDevice(), testInfo.getBuildInfo()); in run()
DCrashReporter.java79 ITestDevice device = testInfo.getDevice(); in setUp()
/test/vts-testcase/kernel/dynamic_partitions/src/com/android/tests/kerneldynamicpartitions/
DKernelDynamicPartitionsTest.java36 mDevice = getDevice(); in setUp()
/test/vts/harnesses/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DVtsFilePusher.java188 ITestDevice device = testInfo.getDevice(); in setUp()
202 ITestDevice device = testInfo.getDevice(); in tearDown()
/test/vts/testcases/host/fastboot_getvar/src/com/android/tests/
DFastbootGetvarUserspaceTest.java54 mDevice = getDevice(); in setUp()
76 testInfo.getDevice().reboot(); in tearDownClass()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DBusinessLogicHostTestBase.java67 BusinessLogicExecutor executor = new BusinessLogicHostExecutor(getDevice(), in executeBusinessLogic()
DCompatibilityTest.java336 public ITestDevice getDevice() { in getDevice() method in CompatibilityTest
385 listener = new FailureListener(listener, getDevice(), mBugReportOnFailure, in run()
489 deviceName, mInvocationContext.getDevice(deviceName)); in run()
569 return mModuleRepo.getModules(getDevice().getSerialNumber(), mShardIndex); in initializeModuleRepo()
/test/vts/testcases/host/firmware_test/src/com/android/tests/firmware/
DFirmwareBootHeaderVerification.java64 mDevice = getDevice(); in setUp()

12