Home
last modified time | relevance | path

Searched refs:S_ISREG (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/ravenwood/runtime-test/test/com/android/ravenwood/runtimetest/
DOsConstantsTest.java27 import static android.system.OsConstants.S_ISREG;
232 assertTrue(S_ISREG(OsConstants.S_IFREG)); in test_S_ISREG()
234 assertFalse(S_ISREG(OsConstants.S_IFBLK)); in test_S_ISREG()
235 assertFalse(S_ISREG(OsConstants.S_IFCHR)); in test_S_ISREG()
236 assertFalse(S_ISREG(OsConstants.S_IFDIR)); in test_S_ISREG()
237 assertFalse(S_ISREG(OsConstants.S_IFIFO)); in test_S_ISREG()
238 assertFalse(S_ISREG(OsConstants.S_IFLNK)); in test_S_ISREG()
239 assertFalse(S_ISREG(OsConstants.S_IFMT)); in test_S_ISREG()
240 assertFalse(S_ISREG(OsConstants.S_IFSOCK)); in test_S_ISREG()
241 assertFalse(S_ISREG(OsConstants.S_IRGRP)); in test_S_ISREG()
[all …]
/frameworks/base/libs/androidfw/
Dmisc.cpp53 if (S_ISREG(sb.st_mode)) in getFileType()
DAssetsProvider.cpp329 *file_exists = (stat(resolved_path.c_str(), &sb) != -1) && S_ISREG(sb.st_mode); in OpenInternal()
DAsset.cpp176 if (!S_ISREG(st.st_mode)) { in createFromFd()
/frameworks/base/tools/aapt/
DFileFinder.cpp39 return(S_ISREG(fileStat.st_mode)); in isFile()
/frameworks/base/cmds/incidentd/src/
Dreport_directory.cpp69 if (!S_ISREG(st.st_mode)) { in clean_directory()
DWorkDirectory.cpp766 if (!S_ISREG(st.st_mode)) { in get_directory_contents_locked()
/frameworks/av/media/module/id3/
Dtestid3.cpp116 if (stat(path, &st) == 0 && S_ISREG(st.st_mode)) { in scan()
/frameworks/compile/mclinker/lib/Support/Unix/
DPathV3.inc141 else if (S_ISREG(path_stat.st_mode))
164 if (S_ISREG(path_stat.st_mode))
/frameworks/av/media/libmedia/
DMediaScanner.cpp196 if (S_ISREG(statbuf.st_mode)) { in doProcessDirectoryEntry()
/frameworks/base/core/java/android/os/
DParcelFileDescriptor.java31 import static android.system.OsConstants.S_ISREG;
716 if (OsConstants.S_ISREG(Os.stat(path).st_mode) in getFile()
751 if (S_ISREG(st.st_mode) || S_ISLNK(st.st_mode)) { in getStatSize()
DFileUtils.java40 import static android.system.OsConstants.S_ISREG;
463 if (S_ISREG(st_in.st_mode) && S_ISREG(st_out.st_mode)) { in copy()
/frameworks/compile/mclinker/lib/Support/Windows/
DPathV3.inc135 else if (S_ISREG(path_stat.st_mode))
/frameworks/compile/libbcc/bcinfo/tools/
Dmain.cpp264 if (!S_ISREG(statInFile.st_mode)) { in readBitcode()
/frameworks/base/tools/aapt2/util/
DFiles.cpp80 if (S_ISREG(sb.st_mode)) {
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp73 if (!S_ISREG(st->st_mode)) { in isFileDifferent()
Dfd_utils.cpp254 if (!S_ISCHR(f_stat.st_mode) && !S_ISREG(f_stat.st_mode)) { in CreateFromFd()
/frameworks/native/cmds/rawbu/
Dbackup.cpp326 } else if (S_ISREG(statBuffer.st_mode)) { in backup_dir()
/frameworks/base/native/android/
Dsystem_fonts.cpp211 return S_ISREG(st.st_mode); in isFontFileAvailable()
/frameworks/wilhelm/tests/examples/
DslesTestDecodeAac.cpp425 if (!S_ISREG(statbuf.st_mode)) { in TestDecToBuffQueue()
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/android/system/
DOsConstants.java84 public static boolean S_ISREG(int mode) { return (mode & S_IFMT) == S_IFREG; } in S_ISREG() method in OsConstants
/frameworks/wilhelm/tests/sandbox/
Dxaplay.c329 if (!S_ISREG(statbuf.st_mode)) { in main()
/frameworks/av/services/audiopolicy/engine/common/src/
DEngineBase.cpp139 return stat(path, &fileStat) == 0 && S_ISREG(fileStat.st_mode); in loadAudioPolicyEngineConfig()
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java851 if (!OsConstants.S_ISREG(stat.st_mode) in fullBackupFileTree()
/frameworks/native/cmds/installd/
Ddexopt.cpp2310 if (!S_ISREG(s.st_mode)) { in unlink_and_rename()
2342 if (!S_ISREG(s.st_mode)) { in move_ab_path()

12