Home
last modified time | relevance | path

Searched refs:doesFileExist (Results 1 – 12 of 12) sorted by relevance

/cts/hostsidetests/compilation/src/android/compilation/cts/
DAdbRootDependentCompilationTest.java169 doesFileExist(ProfileLocation.REF.getPath())); in testCompile_curProfile()
188 doesFileExist(clientPath)); in readFileOnClient()
213 if (doesFileExist(clientPath)) { in compileWithProfilesAndCheckFilter()
266 if (!doesFileExist(targetDir)) { in writeProfile()
278 assertTrue("Failed to push text profile", doesFileExist(targetPathTemp)); in writeProfile()
282 assertTrue("Failed to push APK from ", doesFileExist(targetPathApk)); in writeProfile()
286 assertTrue("Failed find APK " + pathSpec, doesFileExist(pathSpec)); in writeProfile()
295 assertTrue("failed to create profile file", doesFileExist(targetPath)); in writeProfile()
332 assertTrue("odex file not found: " + result, doesFileExist(result)); in getOdexFilePath()
467 private boolean doesFileExist(String path) throws DeviceNotAvailableException { in doesFileExist() method in AdbRootDependentCompilationTest
/cts/hostsidetests/testharness/src/android/testharness/cts/
DTestHarnessModeDeviceTest.java54 if (getDevice().doesFileExist("/sdcard/test.txt") in testHarnessModeDeletesFiles()
55 && getDevice().doesFileExist("/data/local/tmp/test.txt")) { in testHarnessModeDeletesFiles()
143 getDevice().doesFileExist(devicePath)); in assertFileExists()
149 getDevice().doesFileExist(path)); in assertFileDoesNotExist()
/cts/tools/vm-tests-tf/targetprep/src/android/core/vm/targetprep/
DVmTestPreparer.java122 if (device.doesFileExist(VM_TEMP_DIR)) { in cleanupDeviceFiles()
136 if (device.doesFileExist(remoteFilePath)) { in createRemoteDir()
139 if (!(device.doesFileExist(TEMP_DIR))) { in createRemoteDir()
/cts/hostsidetests/security/src/android/security/cts/
DKernelConfigTest.java83 if (!device.doesFileExist("/proc/config.gz")){ in getDeviceConfig()
186 if (!mDevice.doesFileExist(nodeInfo)) in getHardware()
211 private boolean doesFileExist(String filePath) throws Exception { in doesFileExist() method in KernelConfigTest
DSELinuxHostTest.java159 if (mDevice.doesFileExist("/vendor/etc/selinux/nonplat_file_contexts")){ in setUp()
187 if (!device.doesFileExist(deviceFilePath)){ in getDeviceFile()
275 (device.doesFileExist("/vendor/etc/vintf/manifest.xml")) ? in getVendorSepolicyVersion()
418 return device.doesFileExist("/system/etc/selinux/plat_file_contexts"); in isSepolicySplit()
DFileSystemPermissionTest.java87 if (!mDevice.doesFileExist(HW_RNG_DEVICE)) { in testDevHwRandomPermissions()
/cts/hostsidetests/jdwpsecurity/src/android/jdwpsecurity/cts/
DJdwpSecurityHostTest.java272 if (getDevice().doesFileExist(remoteFilePath)) { in createRemoteDir()
283 return getDevice().doesFileExist(remoteFilePath); in createRemoteDir()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostResultTest.java126 assertTrue("Unsuccessful transfer", device.doesFileExist(devicePath)); in testTransferTime()
/cts/hostsidetests/tzdata/src/com/android/cts/tzdata/
DTzDataCheckTest.java933 assertTrue(getDevice().doesFileExist(s)); in assertDeviceFileExists()
959 assertFalse(getDevice().doesFileExist(path.devicePath)); in assertDevicePathDoesNotExist()
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DHostAtomTests.java487 return doesFileExist(WAKE_LOCK_FILE) || doesFileExist(WAKE_SOURCES_FILE); in kernelWakelockStatsExist()
DAtomTestCase.java945 protected boolean doesFileExist(String file) throws Exception { in doesFileExist() method in AtomTestCase
946 return getDevice().doesFileExist(file); in doesFileExist()
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DMediaBitstreamsTest.java264 return device.doesFileExist(mDeviceBitstreamsPath) in bitstreamsExistOnDevice()