Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dinstalld.cpp568 char version_path[PATH_MAX]; in initialize_directories()
569 snprintf(version_path, PATH_MAX, "%s.layout_version", android_data_dir.path); in initialize_directories()
590 char misc_dir[PATH_MAX]; in initialize_directories()
591 snprintf(misc_dir, PATH_MAX, "%smisc", android_data_dir.path); in initialize_directories()
593 char keychain_added_dir[PATH_MAX]; in initialize_directories()
594 snprintf(keychain_added_dir, PATH_MAX, "%s/keychain/cacerts-added", misc_dir); in initialize_directories()
596 char keychain_removed_dir[PATH_MAX]; in initialize_directories()
597 snprintf(keychain_removed_dir, PATH_MAX, "%s/keychain/cacerts-removed", misc_dir); in initialize_directories()
619 char misc_added_dir[PATH_MAX]; in initialize_directories()
620 snprintf(misc_added_dir, PATH_MAX, "%s/user/%s/cacerts-added", misc_dir, name); in initialize_directories()
[all …]
Dutils.cpp785 char dirname[PATH_MAX]; in add_cache_files()
823 PATH_MAX - dirnameLen); in add_cache_files()
832 static char *create_dir_path(char path[PATH_MAX], cache_dir_t* dir) in create_dir_path() argument
849 static void delete_cache_dir(char path[PATH_MAX], cache_dir_t* dir) in delete_cache_dir() argument
891 char path[PATH_MAX]; in clear_cache_files()
Dcommands.cpp1754 char idmap_path[PATH_MAX]; in idmap()
/frameworks/base/cmds/app_process/
Dapp_main.cpp157 char dalvikCacheDir[PATH_MAX]; in maybeCreateDalvikCache()
158 const int numChars = snprintf(dalvikCacheDir, PATH_MAX, in maybeCreateDalvikCache()
160 LOG_ALWAYS_FATAL_IF((numChars >= PATH_MAX || numChars < 0), in maybeCreateDalvikCache()
/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/av/media/libeffects/factory/
DEffectsFactory.c515 char path[PATH_MAX]; in loadLibrary()
524 strlcpy(path, node->value, PATH_MAX); in loadLibrary()
531 strlcat(path, "/lib64/", PATH_MAX); in loadLibrary()
532 strlcat(path, node->value + len + strlen("/lib/"), PATH_MAX); in loadLibrary()
534 if (strlen(path) >= PATH_MAX - 1) in loadLibrary()
562 l->name = strndup(name, PATH_MAX); in loadLibrary()
563 l->path = strndup(path, PATH_MAX); in loadLibrary()
826 !strncmp(gCachedLibrary->name, name, PATH_MAX)) { in getLibrary()
/frameworks/rs/
DrsContext.h271 if (length <= PATH_MAX) { in setNativeLibDir()
380 char nativeLibDir[PATH_MAX+1];
383 char mCacheDir[PATH_MAX+1];
DrsContext.cpp476 if (length <= PATH_MAX) { in setCacheDir()
/frameworks/base/cmds/idmap/
Dscan.cpp190 char overlay_apk_path[PATH_MAX + 1]; in idmap_scan()
191 snprintf(overlay_apk_path, PATH_MAX, "%s/%s", overlay_dir, dirent->d_name); in idmap_scan()
/frameworks/compile/mclinker/lib/Support/Windows/
DFileSystem.inc138 char* pwd = (char*)malloc(PATH_MAX);
139 pPWD.assign(_getcwd(pwd, PATH_MAX));
/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/native/cmds/dumpstate/
Ddumpstate.cpp125 char path[PATH_MAX]; in do_mountinfo()
130 char linkname[PATH_MAX]; in do_mountinfo()
131 ssize_t r = readlink(path, linkname, PATH_MAX); in do_mountinfo()
162 char path[PATH_MAX]; in dump_dev_files()
721 char anr_traces_path[PATH_MAX]; in dumpstate()
Dutils.cpp1009 char anr_traces_path[PATH_MAX]; in dump_traces()
1060 char path[PATH_MAX]; in dump_traces()
1061 char data[PATH_MAX]; in dump_traces()
1135 static char dump_traces_path[PATH_MAX]; in dump_traces()
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp387 char fileName[PATH_MAX];
531 char fileName[PATH_MAX]; in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode()
Dandroid_util_Process.cpp1130 char path[PATH_MAX]; in android_os_Process_getPidsForCommands()
1131 char data[PATH_MAX]; in android_os_Process_getPidsForCommands()
/frameworks/base/native/android/
Dstorage_manager.cpp131 char canonicalPath[PATH_MAX]; in mountObb()
/frameworks/rs/cpp/
DRenderScript.cpp153 if (nameLen > PATH_MAX) { in init()
DrsCppStructs.h445 char mCacheDir[PATH_MAX+1];
/frameworks/native/services/inputflinger/
DEventHub.cpp1602 char devname[PATH_MAX]; in readNotifyLocked()
1644 char devname[PATH_MAX]; in scanDirLocked()
/frameworks/av/media/mtp/
DMtpServer.cpp1069 char pathbuf[PATH_MAX]; in deleteRecursive()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp216 jcharArray charArray = env->NewCharArray(PATH_MAX + 1); in MyMtpDatabase()