Home
last modified time | relevance | path

Searched refs:devicePath (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/tzdata/src/com/android/cts/tzdata/
DTzDataCheckTest.java775 return runTzDataCheckWithArgs(new String[] { mSystemDir.devicePath, mDataDir.devicePath }); in runTzDataCheckOnDevice()
802 executeCommandOnDeviceRaw("mkdir -p " + dir.devicePath); in createDeviceDirectory()
827 String hostScriptContent = command + " > " + scriptOut.devicePath + " 2>&1 ; echo -n $?"; in executeCommandOnDeviceWithResultCode()
838 mDeviceAndroidRootDir + "/bin/sh " + scriptFile.devicePath; in executeCommandOnDeviceWithResultCode()
865 assertTrue(getDevice().pushDir(mTestRootDir.hostFile(), mTestRootDir.devicePath)); in pushHostTestDirToDevice()
869 assertTrue("Could not pull file " + file.devicePath + " to " + file.hostFile(), in pullFile()
870 getDevice().pullFile(file.devicePath, file.hostFile())); in pullFile()
874 assertTrue("Could not push file " + file.hostFile() + " to " + file.devicePath, in pushFile()
875 getDevice().pushFile(file.hostFile(), file.devicePath)); in pushFile()
890 String deviceDir = dir.devicePath; in deleteDeviceDirectory()
[all …]
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostResultTest.java111 final String devicePath = String.format(FILE_PATH, "tmp_testPushPull.txt"); in testTransferTime() local
117 device.executeShellCommand(String.format("rm %s", devicePath)); in testTransferTime()
125 assertTrue("Could not push file", device.pushFile(testFile, devicePath)); in testTransferTime()
126 assertTrue("Unsuccessful transfer", device.doesFileExist(devicePath)); in testTransferTime()
128 assertTrue("Could not pull file", device.pullFile(devicePath, tmpFile)); in testTransferTime()
133 device.executeShellCommand(String.format("rm %s", devicePath)); in testTransferTime()
/cts/hostsidetests/testharness/src/android/testharness/cts/
DTestHarnessModeDeviceTest.java140 private void assertFileExists(String devicePath) throws DeviceNotAvailableException { in assertFileExists() argument
142 String.format("%s does not exist on the device", devicePath), in assertFileExists()
143 getDevice().doesFileExist(devicePath)); in assertFileExists()