/frameworks/native/cmds/installd/ |
D | installd.cpp | 568 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 …]
|
D | utils.cpp | 785 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()
|
D | commands.cpp | 1754 char idmap_path[PATH_MAX]; in idmap()
|
/frameworks/base/cmds/app_process/ |
D | app_main.cpp | 157 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/ |
D | MediaScanner.cpp | 84 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/ |
D | EffectsFactory.c | 515 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/ |
D | rsContext.h | 271 if (length <= PATH_MAX) { in setNativeLibDir() 380 char nativeLibDir[PATH_MAX+1]; 383 char mCacheDir[PATH_MAX+1];
|
D | rsContext.cpp | 476 if (length <= PATH_MAX) { in setCacheDir()
|
/frameworks/base/cmds/idmap/ |
D | scan.cpp | 190 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/ |
D | FileSystem.inc | 138 char* pwd = (char*)malloc(PATH_MAX); 139 pPWD.assign(_getcwd(pwd, PATH_MAX));
|
/frameworks/base/services/core/jni/ |
D | com_android_server_fingerprint_FingerprintService.cpp | 187 if (pathSize >= PATH_MAX) { in nativeSetActiveGroup() 191 char path_name[PATH_MAX] = {0}; in nativeSetActiveGroup()
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
D | FileSystem.inc | 142 char* pwd = (char*)malloc(PATH_MAX); 143 pPWD.assign(getcwd(pwd, PATH_MAX));
|
/frameworks/native/cmds/rawbu/ |
D | backup.cpp | 23 #ifndef PATH_MAX 24 #define PATH_MAX 4096 macro 37 static char nameBuffer[PATH_MAX];
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.cpp | 125 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()
|
D | utils.cpp | 1009 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/ |
D | com_android_internal_content_NativeLibraryHelper.cpp | 387 char fileName[PATH_MAX]; 531 char fileName[PATH_MAX]; in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode()
|
D | android_util_Process.cpp | 1130 char path[PATH_MAX]; in android_os_Process_getPidsForCommands() 1131 char data[PATH_MAX]; in android_os_Process_getPidsForCommands()
|
/frameworks/base/native/android/ |
D | storage_manager.cpp | 131 char canonicalPath[PATH_MAX]; in mountObb()
|
/frameworks/rs/cpp/ |
D | RenderScript.cpp | 153 if (nameLen > PATH_MAX) { in init()
|
D | rsCppStructs.h | 445 char mCacheDir[PATH_MAX+1];
|
/frameworks/native/services/inputflinger/ |
D | EventHub.cpp | 1602 char devname[PATH_MAX]; in readNotifyLocked() 1644 char devname[PATH_MAX]; in scanDirLocked()
|
/frameworks/av/media/mtp/ |
D | MtpServer.cpp | 1069 char pathbuf[PATH_MAX]; in deleteRecursive()
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDatabase.cpp | 216 jcharArray charArray = env->NewCharArray(PATH_MAX + 1); in MyMtpDatabase()
|