HomeSort by relevance Sort by last modified time
    Searched refs:exists (Results 126 - 150 of 4755) sorted by null

1 2 3 4 56 7 8 91011>>

  /tools/tradefederation/core/tests/src/com/android/tradefed/build/
KernelDeviceBuildInfoTest.java 89 assertTrue(mBuildInfo.getDeviceImageFile().exists());
90 assertTrue(mBuildInfo.getKernelFile().exists());
94 assertFalse(mDeviceFile.exists());
95 assertFalse(mKernelFile.exists());
  /external/autotest/client/site_tests/platform_CryptohomeStress/
platform_CryptohomeStress.py 24 if os.path.exists(signal_file):
35 lambda: os.path.exists(CRYPTOHOMESTRESS_START),
42 lambda: os.path.exists(CRYPTOHOMESTRESS_END),
  /external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
RmdCommandHandlerTest.groovy 42 assert fileSystem.exists(DIR) == false
51 assert fileSystem.exists(p(DIR, SUB)) == false
63 assert fileSystem.exists(DIR)
71 assert fileSystem.exists(DIR)
72 assert fileSystem.exists(FILE)
98 assert fileSystem.exists(DIR)
  /frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/
ServicesTests.java 43 resultFile.exists());
47 "'.", completeFile.exists());
82 if (!completeFile.exists()) {
  /toolchain/binutils/binutils-2.27/ld/testsuite/ld-scripts/
script.exp 39 if {![info exists nm_output(text_start)] \
40 || ![info exists nm_output(text_end)] \
41 || ![info exists nm_output(data_start)] \
42 || ![info exists nm_output(data_end)]} {
69 if {[info exists nm_output(tred)] \
89 if {[info exists nm_output(fred)] \
  /external/autotest/client/site_tests/platform_CUPSDaemon/
platform_CUPSDaemon.py 45 if os.path.exists(path):
51 return os.path.exists(path)
74 if os.path.exists(self._CUPS_SOCK_PATH):
83 if not os.path.exists(self._CUPS_SOCK_PATH):
110 if not os.path.exists(self._CUPS_SOCK_PATH):
  /external/curl/tests/
manpage-scan.pl 135 # pretend these --no options exists in tool_getparam.c
264 my $exists;
267 $exists=" tool_getparam.c";
273 $exists.= " curl.1";
279 $exists .= " tool_help.c";
285 print STDERR "$o is not in$missing (but in$exists)\n";
  /external/llvm/unittests/Support/
LockFileManagerTest.cpp 41 EXPECT_FALSE(sys::fs::exists(StringRef(LockedFile)));
83 EXPECT_FALSE(sys::fs::exists(StringRef(LockedFile)));
111 EXPECT_TRUE(sys::fs::exists(FileLock.str()));
115 EXPECT_FALSE(sys::fs::exists(LockedFile.str()));
116 EXPECT_FALSE(sys::fs::exists(FileLock.str()));
  /external/skia/infra/bots/recipe_modules/core/examples/
full.py 98 api.path.exists(
120 api.path.exists(
133 api.path.exists(api.path['start_dir'].join('skp_output'))
148 api.path.exists(api.path['start_dir'].join('skp_output'))
169 api.path.exists(
  /external/skia/infra/bots/recipes/
recreate_skps.py 62 if api.path.exists(output_dir):
102 api.path.exists(api.path['start_dir'].join('skp_output'))
113 api.path.exists(api.path['start_dir'].join('skp_output')) +
114 api.path.exists(api.path['start_dir'].join(UPDATE_SKPS_GITCOOKIES_FILE))
124 api.path.exists(api.path['start_dir'].join('skp_output')) +
  /external/skqp/infra/bots/recipes/
recreate_skps.py 62 if api.path.exists(output_dir):
102 api.path.exists(api.path['start_dir'].join('skp_output'))
113 api.path.exists(api.path['start_dir'].join('skp_output')) +
114 api.path.exists(api.path['start_dir'].join(UPDATE_SKPS_GITCOOKIES_FILE))
124 api.path.exists(api.path['start_dir'].join('skp_output')) +
  /libcore/luni/src/test/java/libcore/java/io/
FileTest.java 70 // exists can see it, the code for coping with long paths (shared by all methods) works.
73 assertTrue(createDeepStructure(base).exists());
87 assertFalse(source.exists());
88 assertTrue(target.exists());
91 assertTrue(source.exists());
112 assertFalse(f.exists());
252 // So we get false for a directory that already exists...
253 assertTrue(base.exists());
257 assertFalse(a.exists());
259 assertTrue(a.exists());
    [all...]
  /toolchain/binutils/binutils-2.27/binutils/
rename.c 140 bfd_boolean exists; local
144 exists = lstat (to, &s) == 0;
150 if (exists)
163 if (! exists
173 if (exists)
  /external/python/cpython3/Lib/test/
test_py_compile.py 38 self.assertTrue(os.path.exists(self.pyc_path))
39 self.assertFalse(os.path.exists(self.cache_path))
53 @unittest.skipIf(not os.path.exists(os.devnull) or os.path.isfile(os.devnull),
63 self.assertTrue(os.path.exists(self.cache_path))
69 self.assertTrue(os.path.exists(self.pyc_path))
70 self.assertFalse(os.path.exists(self.cache_path))
75 self.assertTrue(os.path.exists(self.pyc_path))
76 self.assertFalse(os.path.exists(self.cache_path))
98 self.assertFalse(os.path.exists(
118 self.assertTrue(os.path.exists(cache_path)
    [all...]
  /external/toolchain-utils/
weekly_report.py 41 if os.path.exists(filename):
84 if os.path.exists(filename):
166 if os.path.exists(data_path):
172 if os.path.exists(tar_file_path):
173 if not os.path.exists(image_path):
185 if os.path.exists(v_file_path):
186 if not os.path.exists(image_path):
213 if os.path.exists(chroot) and os.path.exists(exp_file):
242 if (os.path.exists(filename) an
    [all...]
  /frameworks/base/core/java/android/util/
AtomicFile.java 39 * As long as the backup file exists, the original file is considered
116 if (mBaseName.exists()) {
117 if (!mBackupName.exists()) {
225 if (mBackupName.exists()) {
234 * Checks if the original or backup file exists.
235 * @return whether the original or backup file exists.
237 public boolean exists() { method in class:AtomicFile
238 return mBaseName.exists() || mBackupName.exists();
249 if (mBackupName.exists()) {
    [all...]
  /system/timezone/distro/installer/src/main/com/android/timezone/distro/installer/
TimeZoneDistroInstaller.java 156 if (oldStagedDataDir.exists()) {
159 if (workingDir.exists()) {
212 if (!tzLookupFile.exists()) {
232 if (!stagedTzDataDir.exists()) {
267 if (oldStagedDataDir.exists()) {
271 if (workingDir.exists()) {
277 if (!stagedTzDataDir.exists()) {
288 if (!currentTzDataDir.exists()) {
317 if (!currentTzDataDir.exists()) {
331 if (!stagedTzDataDir.exists()) {
    [all...]
  /external/ply/ply/test/
testyacc.py 37 return os.path.exists(make_pymodule_path(filename))
406 self.assertTrue(os.path.exists('pkg_test1/parsing/parsetab.py'))
407 self.assertTrue(os.path.exists('pkg_test1/parsing/lextab.py'))
408 self.assertTrue(os.path.exists('pkg_test1/parsing/parser.out'))
414 self.assertTrue(os.path.exists('pkg_test2/parsing/calcparsetab.py'))
415 self.assertTrue(os.path.exists('pkg_test2/parsing/calclextab.py'))
416 self.assertTrue(os.path.exists('pkg_test2/parsing/parser.out'))
422 self.assertTrue(os.path.exists('pkg_test3/generated/parsetab.py'))
423 self.assertTrue(os.path.exists('pkg_test3/generated/lextab.py'))
424 self.assertTrue(os.path.exists('pkg_test3/generated/parser.out')
    [all...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/util/
FileUtilFuncTest.java 44 if (file != null && file.exists()) {
66 assertFalse(subdirs[0].exists());
70 assertTrue(subdirs[i].exists());
81 assertFalse(subdir.exists());
83 assertTrue(subdir.exists());
89 * exists
101 assertTrue(subdir.exists());
122 assertTrue(tmpDir.exists());
132 assertTrue(childDir.exists());
142 assertTrue(tmpFile.exists());
    [all...]
  /external/ltp/testcases/commands/su/
su01_s1 43 if [info exists env(PASSWD)] {
50 if [info exists env(TEST_USER2)] {
58 if [info exists env(tvar)] {
65 if [info exists env(TEST_USER2_PASSWD)] {
72 if [info exists env(TEST_LINE)] {
80 if [info exists env(TEST_ENV_FILE)] {
87 if [info exists env(TEST_ENV_FILE2)] {
95 if [info exists env(TEST_ENV_FILE_USER)] {
102 if [info exists env(TEST_USER1_NEW_PASSWD)] {
  /build/kati/
fileutil.go 22 func exists(filename string) bool { func
40 func (s searchPaths) exists(target string) (string, bool) { func
41 if exists(target) {
50 if exists(vtarget) {
57 if exists(vtarget) {
  /build/make/target/product/
sdk_base.mk 102 $(call inherit-product-if-exists, frameworks/base/data/sounds/AllAudio.mk)
103 $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
104 $(call inherit-product-if-exists, external/google-fonts/dancing-script/fonts.mk)
105 $(call inherit-product-if-exists, external/google-fonts/carrois-gothic-sc/fonts.mk)
106 $(call inherit-product-if-exists, external/google-fonts/coming-soon/fonts.mk)
107 $(call inherit-product-if-exists, external/google-fonts/cutive-mono/fonts.mk)
108 $(call inherit-product-if-exists, external/noto-fonts/fonts.mk)
109 $(call inherit-product-if-exists, external/roboto-fonts/fonts.mk)
110 $(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk)
111 $(call inherit-product-if-exists, frameworks/webview/chromium/chromium.mk
    [all...]
  /cts/hostsidetests/backup/includeexcludeapp/src/android/cts/backup/includeexcludeapp/
IncludeExcludeTest.java 126 // Make sure the test data exists first
202 assertTrue("File did unexpectedly not exist: " + file.getAbsolutePath(), file.exists());
205 assertTrue("File did unexpectedly not exist: " + file.getAbsolutePath(), file.exists());
208 assertTrue("File did unexpectedly not exist: " + file.getAbsolutePath(), file.exists());
214 assertFalse("File did unexpectedly exist: " + file.getAbsolutePath(), file.exists());
217 assertFalse("File did unexpectedly exist: " + file.getAbsolutePath(), file.exists());
220 assertFalse("File did unexpectedly exist: " + file.getAbsolutePath(), file.exists());
227 file.exists());
234 file.exists());
241 file.exists());
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ContextTest.java 69 assertThat(dataDir.exists(), is(true));
76 assertThat(dataDir.exists(), is(false));
80 assertThat(dataDir.exists(), is(true));
93 assertTrue(context.getCacheDir().exists());
98 assertTrue(context.getExternalCacheDir().exists());
116 assertTrue(cacheTest.exists());
135 assertTrue(cacheTest.exists());
140 assertTrue(context.getFilesDir().exists());
145 assertTrue(context.getExternalFilesDir(null).exists());
151 assertTrue(f.exists());
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowEnvironment.java 61 if (!exists(EXTERNAL_CACHE_DIR)) EXTERNAL_CACHE_DIR = RuntimeEnvironment.getTempDirectory().create("external-cache");
67 if (!exists(EXTERNAL_FILES_DIR)) EXTERNAL_FILES_DIR = RuntimeEnvironment.getTempDirectory().create("external-files");
93 private static boolean exists(Path path) { method in class:ShadowEnvironment
94 return path != null && Files.exists(path);
99 final Boolean exists = STORAGE_REMOVABLE.get(getExternalStorageDirectory()); local
100 return exists != null ? exists : false;
128 final Boolean exists = STORAGE_REMOVABLE.get(path); local
129 return exists != null ? exists : false
    [all...]

Completed in 570 milliseconds

1 2 3 4 56 7 8 91011>>