Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dinstalld.cpp76 char version_path[PATH_MAX]; in initialize_directories()
77 snprintf(version_path, PATH_MAX, "%smisc/installd/layout_version", android_data_dir.c_str()); in initialize_directories()
98 char misc_dir[PATH_MAX]; in initialize_directories()
99 snprintf(misc_dir, PATH_MAX, "%smisc", android_data_dir.c_str()); in initialize_directories()
101 char keychain_added_dir[PATH_MAX]; in initialize_directories()
102 snprintf(keychain_added_dir, PATH_MAX, "%s/keychain/cacerts-added", misc_dir); in initialize_directories()
104 char keychain_removed_dir[PATH_MAX]; in initialize_directories()
105 snprintf(keychain_removed_dir, PATH_MAX, "%s/keychain/cacerts-removed", misc_dir); in initialize_directories()
127 char misc_added_dir[PATH_MAX]; in initialize_directories()
128 snprintf(misc_added_dir, PATH_MAX, "%s/user/%s/cacerts-added", misc_dir, name); in initialize_directories()
[all …]
DInstalldNativeService.cpp2529 char idmap_path[PATH_MAX]; in idmap()
2612 char idmap_path[PATH_MAX]; in removeIdmap()
/frameworks/av/media/libeffects/factory/
DEffectsConfigLoader.c118 strlcpy(lib_path_out, lib_path_in, PATH_MAX); in checkLibraryPath()
132 char path[PATH_MAX]; in checkLibraryPath()
135 PATH_MAX, in checkLibraryPath()
141 ALOGW_IF(strncmp(lib_path_out, lib_path_in, PATH_MAX) != 0, in checkLibraryPath()
158 char path[PATH_MAX]; in loadLibrary()
195 l->name = strndup(name, PATH_MAX); in loadLibrary()
196 l->path = strndup(path, PATH_MAX); in loadLibrary()
218 fl->name = strndup(name, PATH_MAX); in loadLibrary()
219 fl->path = strndup(path, PATH_MAX); in loadLibrary()
424 !strncmp(gCachedLibrary->name, name, PATH_MAX)) { in getLibrary()
/frameworks/minikin/tests/util/
DPathUtils.cpp40 char buf[PATH_MAX] = {}; in getTestDataDir()
41 LOG_ALWAYS_FATAL_IF(readlink(SELF_EXE_PATH, buf, PATH_MAX) == -1, "readlink failed."); in getTestDataDir()
/frameworks/av/media/libmedia/
DMediaScanner.cpp84 if (pathLength >= PATH_MAX) { in processDirectory()
87 char* pathBuffer = (char *)malloc(PATH_MAX + 1); in processDirectory()
92 int pathRemaining = PATH_MAX - pathLength; in processDirectory()
/frameworks/base/cmds/app_process/
Dapp_main.cpp144 char dalvikCacheDir[PATH_MAX]; in maybeCreateDalvikCache()
145 const int numChars = snprintf(dalvikCacheDir, PATH_MAX, in maybeCreateDalvikCache()
147 LOG_ALWAYS_FATAL_IF((numChars >= PATH_MAX || numChars < 0), in maybeCreateDalvikCache()
/frameworks/rs/
DrsContext.h261 if (length <= PATH_MAX) { in setNativeLibDir()
375 char nativeLibDir[PATH_MAX+1];
378 char mCacheDir[PATH_MAX+1];
DrsContext.cpp452 if (length <= PATH_MAX) { in setCacheDir()
DrsApiStubs.cpp116 char path[PATH_MAX]; in isVendorProcess()
/frameworks/compile/mclinker/lib/Support/Windows/
DFileSystem.inc138 char* pwd = (char*)malloc(PATH_MAX);
139 pPWD.assign(_getcwd(pwd, PATH_MAX));
/frameworks/base/cmds/idmap/
Dscan.cpp244 char overlay_apk_path[PATH_MAX + 1]; in idmap_scan()
245 snprintf(overlay_apk_path, PATH_MAX, "%s/%s", overlay_dir, dirent->d_name); in idmap_scan()
/frameworks/base/services/core/jni/
Dcom_android_server_fingerprint_FingerprintService.cpp187 if (pathSize >= PATH_MAX) { in nativeSetActiveGroup()
191 char path_name[PATH_MAX] = {0}; in nativeSetActiveGroup()
/frameworks/compile/mclinker/lib/Support/Unix/
DFileSystem.inc142 char* pwd = (char*)malloc(PATH_MAX);
143 pPWD.assign(getcwd(pwd, PATH_MAX));
/frameworks/native/cmds/rawbu/
Dbackup.cpp23 #ifndef PATH_MAX
24 #define PATH_MAX 4096 macro
37 static char nameBuffer[PATH_MAX];
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp381 char fileName[PATH_MAX];
529 char fileName[PATH_MAX]; in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode()
Dandroid_database_CursorWindow.cpp71 char fdpath[PATH_MAX]; in getFdCount()
73 snprintf(fdpath, PATH_MAX, "/proc/%d/fd", getpid()); in getFdCount()
Dandroid_util_Process.cpp1181 char path[PATH_MAX]; in android_os_Process_getPidsForCommands()
1182 char data[PATH_MAX]; in android_os_Process_getPidsForCommands()
/frameworks/rs/cpp/
DRenderScript.cpp146 if (nameLen > PATH_MAX) { in init()
DrsCppStructs.h445 char mCacheDir[PATH_MAX+1];
/frameworks/base/native/android/
Dstorage_manager.cpp146 char canonicalPath[PATH_MAX]; in mountObb()
/frameworks/base/tools/bit/
Dmain.cpp611 char pwd[PATH_MAX]; in get_out_dir()
612 if (getcwd(pwd, PATH_MAX) == NULL) { in get_out_dir()
/frameworks/native/services/vr/performanced/
Dperformance_service_tests.cpp221 char partition[PATH_MAX + 1]; in TEST()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp397 char path[PATH_MAX]; in do_mountinfo()
402 char linkname[PATH_MAX]; in do_mountinfo()
403 ssize_t r = readlink(path, linkname, PATH_MAX); in do_mountinfo()
434 char path[PATH_MAX]; in dump_dev_files()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp223 jcharArray charArray = env->NewCharArray(PATH_MAX + 1); in MtpDatabase()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp1861 char devname[PATH_MAX]; in scanDirLocked()