Home | History | Annotate | Download | only in hwc

Lines Matching defs:dir_path

854   char dir_path[PATH_MAX];
860 snprintf(dir_path, sizeof(dir_path), "/data/misc/display/frame_dump_%s", GetDisplayString());
862 if (mkdir(dir_path, 0777) != 0 && errno != EEXIST) {
863 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno));
868 if (errno == EEXIST && chmod(dir_path, 0777) != 0) {
869 DLOGW("Failed to change permissions on %s directory", dir_path);
890 dir_path, i, pvt_handle->width, pvt_handle->height,
905 char dir_path[PATH_MAX];
907 snprintf(dir_path, sizeof(dir_path), "/data/misc/display/frame_dump_%s", GetDisplayString());
909 if (mkdir(dir_path, 777) != 0 && errno != EEXIST) {
910 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno));
915 if (errno == EEXIST && chmod(dir_path, 0777) != 0) {
916 DLOGW("Failed to change permissions on %s directory", dir_path);
933 dir_path, buffer_info.buffer_config.width, buffer_info.buffer_config.height,