Searched refs:flock (Results 1 – 10 of 10) sorted by relevance
/frameworks/compile/libbcc/lib/ |
D | FileBase.cpp | 37 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/ |
D | scan.cpp | 48 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()
|
D | create.cpp | 44 if (TEMP_FAILURE_RETRY(flock(fd, LOCK_EX)) != 0) { in open_idmap()
|
/frameworks/native/cmds/installd/ |
D | dexopt.cpp | 112 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()
|
D | InstalldNativeService.cpp | 2117 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/ |
D | AssetManager.cpp | 709 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/ |
D | AssetManager.java | 234 final FileLock flock = fis.getChannel().lock(0, Long.MAX_VALUE, true /*shared*/)) { in loadStaticRuntimeOverlays()
|
/frameworks/support/work/integration-tests/testapp/src/main/assets/ |
D | case.txt | 9256 estate like a flock of vultures. Everything would be seized--my
|
D | advs.txt | 6834 flock.'
|
D | retn.txt | 8511 "So would you if a flock of strangers came in on you when you were
|