/test/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/ |
D | KernelApiSysfsTest.java | 48 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/ |
D | KernelSelinuxFileApiTest.java | 58 "%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/ |
D | HalUsbGadgetV1_0HostTest.java | 55 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/ |
D | CheckGmsPreparer.java | 53 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/ |
D | SdcardfsTest.java | 49 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/ |
D | VtsHalUsbGadgetV1_1HostTest.java | 48 mDevice = getDevice(); in setUp() 54 testInfo.getDevice() in beforeClassWithDevice()
|
/test/vts/testcases/host/fastboot_test/src/com/android/tests/ |
D | FastbootVerifyUserspaceTest.java | 61 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/ |
D | VtsHalUsbGadgetV1_2HostTest.java | 63 mDevice = getDevice(); in setUp() 69 testInfo.getDevice() in beforeClassWithDevice()
|
/test/vts/testcases/host/fastboot_getvar/src/com/android/tests/ |
D | FastbootGetvarUserspaceTest.java | 59 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/ |
D | KernelDynamicPartitionsTest.java | 36 mDevice = getDevice(); in setUp()
|
/test/app_compat/csuite/harness/src/main/java/com/android/compatibility/testtype/ |
D | AppLaunchTest.java | 170 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/ |
D | FirmwareBootHeaderVerification.java | 67 mDevice = getDevice(); in setUp()
|
/test/vts/testcases/host/firmware_dtbo_test/src/com/android/tests/firmwaredtbo/ |
D | FirmwareDtboVerification.java | 85 mDevice = getDevice(); in setUp()
|