Home
last modified time | relevance | path

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

/test/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/
DKernelApiSysfsTest.java48 if (getDevice().doesFileExist(state)) { in testAndroidUSB()
49 assertTrue(TargetFileUtils.isReadOnly(state, getDevice())); in testAndroidUSB()
50 String content = getDevice().pullFileContents(state).trim(); in testAndroidUSB()
67 assertTrue(TargetFileUtils.isReadOnly(filePath, getDevice())); in testCpuOnlineFormat()
68 String content = getDevice().pullFileContents(filePath).trim(); in testCpuOnlineFormat()
74 TargetFileUtils.isReadOnly(filePath, getDevice())); in isReadOnlyAndIntegerContent()
75 String content = getDevice().pullFileContents(filePath).trim(); in isReadOnlyAndIntegerContent()
82 TargetFileUtils.isReadWriteOnly(filePath, getDevice())); in isReadWriteAndIntegerContent()
83 String content = getDevice().pullFileContents(filePath).trim(); in isReadWriteAndIntegerContent()
95 assertTrue(TargetFileUtils.isReadOnly(filePath, getDevice())); 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-testcase/hal/usb/gadget/V1_0/host/src/com/android/tests/usbgadget/
DHalUsbGadgetV1_0HostTest.java55 testInfo.getDevice() in beforeClassWithDevice()
113 getDevice().executeShellCommand("svc usb setFunctions mtp true"); in testMtp()
127 getDevice().executeShellCommand("svc usb setFunctions ptp true"); in testPtp()
141 getDevice().hasFeature(FEATURE_AUTOMOTIVE)); in testMIDI()
143 getDevice().executeShellCommand("svc usb setFunctions midi true"); in testMIDI()
157 getDevice().hasFeature(FEATURE_AUTOMOTIVE)); in testRndis()
159 getDevice().executeShellCommand("svc usb setFunctions rndis true"); in testRndis()
/test/app_compat/csuite/harness/src/main/java/com/android/compatibility/targetprep/
DCheckGmsPreparer.java53 testInfo.getDevice().reboot(); in setUp()
54 testInfo.getDevice().waitForBootComplete(WAIT_FOR_BOOT_COMPLETE_TIMEOUT_MILLIS); in setUp()
66 CommandResult res = testInfo.getDevice().executeShellV2Command(CHECK_GMS_COMMAND); in isGmsRunning()
/test/vts-testcase/kernel/sdcardfs/src/com/android/sdcardfs/vts/
DSdcardfsTest.java49 CommandResult result = getDevice().executeShellV2Command("uname -r"); in testSdcardfsNotPresent()
56 String output = getDevice().executeShellCommand(cmd); in testSdcardfsNotPresent()
/test/vts-testcase/hal/usb/gadget/V1_1/host/src/com/android/usb/gadget/vts/
DVtsHalUsbGadgetV1_1HostTest.java48 mDevice = getDevice(); in setUp()
54 testInfo.getDevice() in beforeClassWithDevice()
/test/vts/testcases/host/fastboot_test/src/com/android/tests/
DFastbootVerifyUserspaceTest.java61 sDevice = testInfo.getDevice(); in setUpClass()
94 testInfo.getDevice().reboot(); // back to adb. in tearDownClass()
/test/vts-testcase/hal/usb/gadget/V1_2/host/src/com/android/usb/gadget/vts/
DVtsHalUsbGadgetV1_2HostTest.java63 mDevice = getDevice(); in setUp()
69 testInfo.getDevice() in beforeClassWithDevice()
/test/vts/testcases/host/fastboot_getvar/src/com/android/tests/
DFastbootGetvarUserspaceTest.java59 sDevice = testInfo.getDevice(); in setUpClass()
93 testInfo.getDevice().reboot(); // back to adb. in tearDownClass()
/test/vts-testcase/kernel/dynamic_partitions/src/com/android/tests/kerneldynamicpartitions/
DKernelDynamicPartitionsTest.java36 mDevice = getDevice(); in setUp()
/test/app_compat/csuite/harness/src/main/java/com/android/compatibility/testtype/
DAppLaunchTest.java170 mLogcat = new LogcatReceiver(getDevice(), LOGCAT_SIZE_BYTES, 0); in run()
369 public ITestDevice getDevice() { in getDevice() method in AppLaunchTest
/test/vts/testcases/host/firmware_test/src/com/android/tests/firmware/
DFirmwareBootHeaderVerification.java67 mDevice = getDevice(); in setUp()
/test/vts/testcases/host/firmware_dtbo_test/src/com/android/tests/firmwaredtbo/
DFirmwareDtboVerification.java85 mDevice = getDevice(); in setUp()