Home
last modified time | relevance | path

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

/cts/hostsidetests/testharness/src/android/testharness/cts/
DTestHarnessModeDeviceTest.java55 if (getDevice().doesFileExist("/sdcard/test.txt") in testHarnessModeDeletesFiles()
56 && getDevice().doesFileExist("/data/local/tmp/test.txt")) { in testHarnessModeDeletesFiles()
144 getDevice().doesFileExist(devicePath)); in assertFileExists()
150 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/appcloning/hostside/src/com/android/cts/appcloning/media/storage/
DAppCloningStorageHostTest.java66 eventually(() -> sDevice.doesFileExist( in testVerifyStatsExternalForClonedUser()
/cts/hostsidetests/security/src/android/security/cts/
DFileSystemPermissionTest.java59 if (!mDevice.doesFileExist(HW_RNG_DEVICE)) { in testDevHwRandomPermissions()
DKernelConfigTest.java76 if (!device.doesFileExist("/proc/config.gz")){ in getDeviceConfig()
195 if (!mDevice.doesFileExist(nodeInfo)) in getHardware()
220 private boolean doesFileExist(String filePath) throws Exception { in doesFileExist() method in KernelConfigTest
DSELinuxHostTest.java207 if (!device.doesFileExist(deviceFilePath)){ in getDeviceFile()
446 if (device.doesFileExist("/vendor/etc/vintf/manifest.xml")) { in getVendorSepolicyVersionFromManifests()
454 if (device.doesFileExist(vendorSkuDeviceManifestPath)) { in getVendorSepolicyVersionFromManifests()
614 || device.doesFileExist("/system/etc/selinux/plat_file_contexts"); in isSepolicySplit()
/cts/hostsidetests/jdwpsecurity/src/android/jdwpsecurity/cts/
DJdwpSecurityHostTest.java272 if (getDevice().doesFileExist(remoteFilePath)) { in createRemoteDir()
283 return getDevice().doesFileExist(remoteFilePath); in createRemoteDir()
/cts/hostsidetests/compilation/src/android/compilation/cts/
DAdbRootDependentCompilationTest.java160 mDevice.doesFileExist(ProfileLocation.REF.getPath(APPLICATION_PACKAGE))); in testCompile_curProfile()
318 assertTrue("Directory " + targetDir + " not found", mDevice.doesFileExist(targetDir)); in writeSystemManagedProfile()
418 assertTrue("odex file not found: " + result, mDevice.doesFileExist(result)); in getOdexFilePath()
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/media/
DAppCloningHostTest.java123 eventually(() -> sDevice.doesFileExist(sCloneUserStoragePath, mCloneUserIdInt), in testCreateCloneUserFile()
134 eventually(() -> sDevice.doesFileExist(filePathOnClone, mCloneUserIdInt), in testCreateCloneUserFile()
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/
DLegacyStorageHostTest.java79 assertThat(getDevice().doesFileExist(filePath)).isTrue(); in createFileAsShell()
DAppCloningMediaProviderHostTest.java97 eventually(() -> sDevice.doesFileExist(sCloneUserStoragePath, mCloneUserIdInt), in beforeClassWithDevice()
/cts/hostsidetests/os/src/android/os/cts/
DProcfsHostTests.java128 if (mDevice.doesFileExist(filePath)) { in testProcTidStat()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DHostAtomTests.java486 return doesFileExist(WAKE_LOCK_FILE) || doesFileExist(WAKE_SOURCES_FILE); in kernelWakelockStatsExist()
687 private boolean doesFileExist(String file) throws Exception { in doesFileExist() method in HostAtomTests
688 return getDevice().doesFileExist(file); in doesFileExist()
/cts/hostsidetests/appcompat/strictjavapackages/src/android/compat/sjp/cts/
DStrictJavaPackagesTest.java572 .filter(file -> doesFileExist(file, testInfo.getDevice())) in setupOnce()
1088 private static boolean doesFileExist(String path, ITestDevice device) { in doesFileExist() method in StrictJavaPackagesTest
1091 return device.doesFileExist(path); in doesFileExist()
/cts/libs/install/src/android/cts/install/lib/host/
DInstallUtilsHost.java176 if (!getTestInfo().getDevice().doesFileExist(filePath)) { in waitForFileDeleted()
/cts/hostsidetests/classpath/src/android/classpath/cts/
DClasspathDeviceInfo.java236 return mDevice.doesFileExist(mPath); in doesRemoteFileExist()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DStorageHostTest.java332 eventually(() -> getDevice().doesFileExist(sCloneUserStoragePath, mCloneUserIdInt), in createCloneUserAndInstallDeviceTestApk()
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DMediaBitstreamsTest.java264 return device.doesFileExist(mDeviceBitstreamsPath) in bitstreamsExistOnDevice()