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.java774 return runTzDataCheckWithArgs(new String[] { mSystemDir.devicePath, mDataDir.devicePath }); in runTzDataCheckOnDevice()
801 executeCommandOnDeviceRaw("mkdir -p " + dir.devicePath); in createDeviceDirectory()
826 String hostScriptContent = command + " > " + scriptOut.devicePath + " 2>&1 ; echo -n $?"; in executeCommandOnDeviceWithResultCode()
837 mDeviceAndroidRootDir + "/bin/sh " + scriptFile.devicePath; in executeCommandOnDeviceWithResultCode()
864 assertTrue(getDevice().pushDir(mTestRootDir.hostFile(), mTestRootDir.devicePath)); in pushHostTestDirToDevice()
868 assertTrue("Could not pull file " + file.devicePath + " to " + file.hostFile(), in pullFile()
869 getDevice().pullFile(file.devicePath, file.hostFile())); in pullFile()
873 assertTrue("Could not push file " + file.hostFile() + " to " + file.devicePath, in pushFile()
874 getDevice().pushFile(file.hostFile(), file.devicePath)); in pushFile()
889 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()