Home
last modified time | relevance | path

Searched refs:S_ISDIR (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/ravenwood/runtime-test/test/com/android/ravenwood/runtimetest/
DOsConstantsTest.java24 import static android.system.OsConstants.S_ISDIR;
260 assertTrue(S_ISDIR(OsConstants.S_IFDIR)); in test_S_ISDIR()
262 assertFalse(S_ISDIR(OsConstants.S_IFBLK)); in test_S_ISDIR()
263 assertFalse(S_ISDIR(OsConstants.S_IFCHR)); in test_S_ISDIR()
264 assertFalse(S_ISDIR(OsConstants.S_IFIFO)); in test_S_ISDIR()
265 assertFalse(S_ISDIR(OsConstants.S_IFLNK)); in test_S_ISDIR()
266 assertFalse(S_ISDIR(OsConstants.S_IFMT)); in test_S_ISDIR()
267 assertFalse(S_ISDIR(OsConstants.S_IFREG)); in test_S_ISDIR()
268 assertFalse(S_ISDIR(OsConstants.S_IFSOCK)); in test_S_ISDIR()
269 assertFalse(S_ISDIR(OsConstants.S_IRGRP)); in test_S_ISDIR()
[all …]
/frameworks/base/libs/androidfw/
Dmisc.cpp55 else if (S_ISDIR(sb.st_mode)) in getFileType()
DAssetsProvider.cpp309 if (!S_ISDIR(sb.st_mode)) { in Create()
DBackupHelpers.cpp535 const int isdir = S_ISDIR(s.st_mode); in write_tarfile()
/frameworks/base/tools/aapt/
DFileFinder.cpp29 return(S_ISDIR(fileStat.st_mode)); in isDirectory()
/frameworks/native/cmds/installd/
DCacheItem.cpp35 directory = S_ISDIR(p->fts_statp->st_mode); in CacheItem()
Dutils.cpp185 if (lstat(legacy.c_str(), &sb) == 0 && S_ISDIR(sb.st_mode)) { in create_data_user_ce_path()
635 } else if (!S_ISDIR(st.st_mode)) { in create_dir_if_needed()
DInstalldNativeService.cpp3363 if (S_ISDIR(libStat.st_mode)) { in linkNativeLibraryDirectory()
/frameworks/compile/mclinker/lib/Support/Unix/
DPathV3.inc139 } else if (S_ISDIR(path_stat.st_mode))
166 if (S_ISDIR(path_stat.st_mode))
/frameworks/av/media/libmedia/
DMediaScanner.cpp198 } else if (S_ISDIR(statbuf.st_mode)) { in doProcessDirectoryEntry()
/frameworks/av/media/mtp/
DMtpUtils.cpp236 if (S_ISDIR(statbuf.st_mode)) { in deletePath()
/frameworks/native/cmds/rawbu/
Dbackup.cpp131 if(S_ISDIR(statBuffer.st_mode)) { in wipe()
315 if(S_ISDIR(statBuffer.st_mode)) { in backup_dir()
/frameworks/compile/mclinker/lib/Support/Windows/
DPathV3.inc133 } else if (S_ISDIR(path_stat.st_mode))
/frameworks/base/tools/aapt2/util/
DFiles.cpp82 } else if (S_ISDIR(sb.st_mode)) {
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java852 && !OsConstants.S_ISDIR(stat.st_mode)) { in fullBackupFileTree()
870 if (OsConstants.S_ISDIR(stat.st_mode)) { in fullBackupFileTree()
/frameworks/base/core/jni/
Dfd_utils.cpp257 if (S_ISDIR(f_stat.st_mode)) { in CreateFromFd()
DAndroidRuntime.cpp428 return S_ISDIR(s.st_mode); in hasDir()
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/android/system/
DOsConstants.java74 public static boolean S_ISDIR(int mode) { return (mode & S_IFMT) == S_IFDIR; } in S_ISDIR() method in OsConstants
/frameworks/base/cmds/incidentd/src/
DWorkDirectory.cpp160 if (!S_ISDIR(st.st_mode)) { in create_directory()
/frameworks/libs/binary_translation/tests/ndk_program_tests/
Dfile_test.cc458 ASSERT_TRUE(S_ISDIR(dir_stat.st_mode)); in TEST()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerTests.java24 import static android.system.OsConstants.S_ISDIR;
527 if (!S_ISDIR(stat.st_mode)) { in assertDirOwnerGroupPermsIfExists()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp1485 if (S_ISDIR(st.st_mode)) { in DumpVintf()
4470 if (stat(path, &dir_stat) == -1 || !S_ISDIR(dir_stat.st_mode)) { in create_parent_dirs()
4648 return S_ISDIR(info.st_mode); in is_dir()
/frameworks/native/cmds/installd/tests/
Dinstalld_service_test.cpp657 if (stat(path.c_str(), &sb) != -1 && S_ISDIR(sb.st_mode)) { in mkdirs()
/frameworks/base/services/incremental/
DIncrementalService.cpp143 if (::stat(cstr, &st) || !S_ISDIR(st.st_mode)) { in mkdirOrLog()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...

12