/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TransactionTraceWriterTest.cpp | 51 EXPECT_EQ(access(mFilename.c_str(), F_OK), 0); in TEST_F() 58 EXPECT_EQ(access(mFilename.c_str(), F_OK), 0); in TEST_F() 112 EXPECT_NE(access(mFilename.c_str(), F_OK), 0); in TEST_F() 116 EXPECT_EQ(access(mFilename.c_str(), F_OK), 0); in TEST_F()
|
/frameworks/native/cmds/installd/ |
D | installd.cpp | 139 if (access(keychain_added_dir, F_OK) == 0) { in initialize_directories() 144 if (access(keychain_removed_dir, F_OK) == 0) { in initialize_directories() 152 if (access(keychain_added_dir, F_OK) == 0) { in initialize_directories() 155 if (access(keychain_removed_dir, F_OK) == 0) { in initialize_directories()
|
D | otapreopt.cpp | 372 if (access(dalvik_cache.c_str(), F_OK) != 0) { in EnsureDalvikCache() 378 if (access(isa_path.c_str(), F_OK) != 0) { in EnsureDalvikCache() 488 if (access(path.c_str(), F_OK) == 0) { in ShouldSkipPreopt() 500 if (access(apk_path, F_OK) != 0) { in ShouldSkipPreopt()
|
D | InstalldNativeService.cpp | 597 sUsingProjectIdsFlag = access(using_project_ids.c_str(), F_OK) == 0; in internal_storage_has_project_id() 774 bool cache_exists = (access(cache_path.c_str(), F_OK) == 0); in createAppDataDirs() 775 bool code_cache_exists = (access(code_cache_path.c_str(), F_OK) == 0); in createAppDataDirs() 1203 if (access(path.c_str(), F_OK) == 0) { in clearAppData() 1221 if (access(path.c_str(), F_OK) == 0) { in clearAppData() 1299 if (access(appPath.c_str(), F_OK) != 0) continue; in clearSdkSandboxDataPackageDirectory() 1641 if (access(from.c_str(), F_OK) == 0) { in snapshotAppData() 1653 if (access(from_ce.c_str(), F_OK) != 0) { in snapshotAppData() 1735 (access(from_ce.c_str(), F_OK) == 0); in restoreAppDataSnapshot() 1737 (access(from_de.c_str(), F_OK) == 0); in restoreAppDataSnapshot() [all …]
|
/frameworks/native/cmds/atrace/ |
D | atrace.cpp | 354 return access((g_traceFolder + filename).c_str(), F_OK) != -1; in fileExists() 1122 bool tracefs = access((tracefs_path + trace_file).c_str(), F_OK) != -1; in findTraceFiles() 1123 bool debugfs = access((debugfs_path + trace_file).c_str(), F_OK) != -1; in findTraceFiles() 1191 if (access(kVendorCategoriesPath, F_OK) != -1) { in initVendorCategories()
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_Zygote.cpp | 1486 if (access(ceSandboxPath, F_OK) != 0) { in isolateSdkSandboxData() 1489 if (access(deSandboxPath, F_OK) != 0) { in isolateSdkSandboxData() 1677 if (access(mirrorCurPackageProfile.c_str(), F_OK) != 0) { in isolateJitProfile() 1681 if (access(mirrorRefPackageProfile.c_str(), F_OK) != 0) { in isolateJitProfile() 1701 if (access(dir_path, F_OK) == 0) { in WaitUntilDirReady() 1712 if (access(dir_path, F_OK) == 0) { in WaitUntilDirReady() 1830 if (access(source.c_str(), F_OK) != 0) { in BindMountSyspropOverride() 1833 if (access(target.c_str(), F_OK) != 0) { in BindMountSyspropOverride() 1862 if (access(source.c_str(), F_OK) != 0) { in BindMountStorageToLowerFs() 1865 if (access(target.c_str(), F_OK) != 0) { in BindMountStorageToLowerFs()
|
/frameworks/av/media/libmedia/ |
D | MediaScanner.cpp | 145 if (access(path, F_OK) == 0) { in doProcessDirectory()
|
/frameworks/av/media/mtp/ |
D | MtpUtils.cpp | 40 if (access(path, F_OK) == -1) { in access_ok()
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | ipc_helper.cpp | 448 if (access(current.c_str(), F_OK) < 0) { in WaitForEndpoint() 471 ret = access(current.c_str(), F_OK); in WaitForEndpoint()
|
/frameworks/native/cmds/installd/tests/ |
D | installd_utils_test.cpp | 747 ASSERT_EQ(access(filename.c_str(), F_OK), 0); in TEST_F() 751 EXPECT_NE(access(filename.c_str(), F_OK), 0); in TEST_F()
|
D | installd_cache_test.cpp | 91 return ::access(fullPath.c_str(), F_OK); in exists()
|
D | installd_dexopt_test.cpp | 441 ASSERT_EQ(expected_access, access(odex.c_str(), F_OK)); in reconcile_secondary_dex() 442 ASSERT_EQ(expected_access, access(vdex.c_str(), F_OK)); in reconcile_secondary_dex()
|
D | installd_service_test.cpp | 169 return ::access(get_full_path(path).c_str(), F_OK) == 0; in exists() 1112 bool exists(const char* path) { return ::access(path, F_OK) == 0; } in exists()
|
/frameworks/base/libs/hwui/tests/macrobench/ |
D | main.cpp | 115 if (access("/dev/cpuset/tasks", F_OK)) { in moveToCpuSet()
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsConfigLoader.c | 139 if (F_OK == access(path, 0)) { in checkLibraryPath()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyConfig.cpp | 232 if (access(path.c_str(), F_OK) == 0) { in loadFromCustomXmlConfigForVtsTests()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 578 Os.access(oldPath.toString(), OsConstants.F_OK); in renameFile() 579 Os.access(newPath.toString(), OsConstants.F_OK); in renameFile()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 33 import static android.system.OsConstants.F_OK; 741 assertEquals(O_RDONLY, translateModeAccessToPosix(F_OK)); in testTranslateMode_Access()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaPipeline.cpp | 127 if (0 == access(filename.c_str(), F_OK)) { in savePictureAsync()
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_smoke_test.cpp | 234 EXPECT_EQ(access(getZipFilePath().c_str(), F_OK), 0); in TEST_F()
|
/frameworks/base/core/java/android/os/ |
D | Process.java | 1720 if (Os.access("/proc/" + tid + "/task/" + pid, OsConstants.F_OK)) { in isThreadInProcess()
|
D | FileUtils.java | 27 import static android.system.OsConstants.F_OK; 1647 if (mode == F_OK) { in translateModeAccessToPosix()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuExecutable.cpp | 313 if (access(origName, F_OK) != 0) { in loadSOHelper()
|
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/android/system/ |
D | OsConstants.java | 348 public static final int F_OK = placeholder(); field in OsConstants
|
/frameworks/base/tools/aapt/ |
D | ZipFile.cpp | 78 newArchive = (access(zipFileName, F_OK) != 0); in open()
|