Home
last modified time | relevance | path

Searched refs:flock (Results 1 – 10 of 10) sorted by relevance

/frameworks/compile/libbcc/lib/
DFileBase.cpp37 int flock(int fd, int operation) { in flock() function
163 if (::flock(mFD, lock_operation) == 0) { in lock()
212 if (::flock(mFD, LOCK_UN) == 0) { in unlock()
/frameworks/base/cmds/idmap/
Dscan.cpp48 if (TEMP_FAILURE_RETRY(flock(fileno(fout), LOCK_EX)) != 0) { in writePackagesList()
54 TEMP_FAILURE_RETRY(flock(fileno(fout), LOCK_UN)); in writePackagesList()
65 TEMP_FAILURE_RETRY(flock(fileno(fout), LOCK_UN)); in writePackagesList()
Dcreate.cpp44 if (TEMP_FAILURE_RETRY(flock(fd, LOCK_EX)) != 0) { in open_idmap()
/frameworks/native/cmds/installd/
Ddexopt.cpp112 if (flock(ufd.get(), LOCK_EX | LOCK_NB) != 0) { in clear_profile()
138 if (flock(ufd.get(), LOCK_UN) != 0) { in clear_profile()
1034 if (flock(out_fd.get(), LOCK_EX | LOCK_NB) != 0) { in copy_system_profile()
1063 if (flock(out_fd.get(), LOCK_UN) != 0) { in copy_system_profile()
2074 if (flock(out_oat_fd.get(), LOCK_EX | LOCK_NB) != 0) { in dexopt()
DInstalldNativeService.cpp2117 if (flock(idmap_fd, LOCK_EX | LOCK_NB) != 0) { in delete_stale_idmap()
2237 if (flock(idmap_fd, LOCK_EX | LOCK_NB) != 0) { in idmap()
/frameworks/base/libs/androidfw/
DAssetManager.cpp709 if (TEMP_FAILURE_RETRY(flock(fileno(fin), LOCK_SH)) != 0) { in addSystemOverlays()
747 TEMP_FAILURE_RETRY(flock(fileno(fin), LOCK_UN)); in addSystemOverlays()
/frameworks/base/core/java/android/content/res/
DAssetManager.java234 final FileLock flock = fis.getChannel().lock(0, Long.MAX_VALUE, true /*shared*/)) { in loadStaticRuntimeOverlays()
/frameworks/support/work/integration-tests/testapp/src/main/assets/
Dcase.txt9256 estate like a flock of vultures. Everything would be seized--my
Dadvs.txt6834 flock.'
Dretn.txt8511 "So would you if a flock of strangers came in on you when you were