Home
last modified time | relevance | path

Searched refs:dir_path (Results 1 – 15 of 15) sorted by relevance

/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display.cpp856 char dir_path[PATH_MAX]; in DumpInputBuffers() local
862 snprintf(dir_path, sizeof(dir_path), "/data/misc/display/frame_dump_%s", GetDisplayString()); in DumpInputBuffers()
864 if (mkdir(dir_path, 0777) != 0 && errno != EEXIST) { in DumpInputBuffers()
865 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno)); in DumpInputBuffers()
870 if (errno == EEXIST && chmod(dir_path, 0777) != 0) { in DumpInputBuffers()
871 DLOGW("Failed to change permissions on %s directory", dir_path); in DumpInputBuffers()
892 dir_path, i, pvt_handle->width, pvt_handle->height, in DumpInputBuffers()
907 char dir_path[PATH_MAX]; in DumpOutputBuffer() local
909 snprintf(dir_path, sizeof(dir_path), "/data/misc/display/frame_dump_%s", GetDisplayString()); in DumpOutputBuffer()
911 if (mkdir(dir_path, 777) != 0 && errno != EEXIST) { in DumpOutputBuffer()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display.cpp1035 char dir_path[PATH_MAX]; in DumpInputBuffers() local
1041 snprintf(dir_path, sizeof(dir_path), "/data/misc/display/frame_dump_%s", GetDisplayString()); in DumpInputBuffers()
1043 if (mkdir(dir_path, 0777) != 0 && errno != EEXIST) { in DumpInputBuffers()
1044 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno)); in DumpInputBuffers()
1049 if (errno == EEXIST && chmod(dir_path, 0777) != 0) { in DumpInputBuffers()
1050 DLOGW("Failed to change permissions on %s directory", dir_path); in DumpInputBuffers()
1071 dir_path, i, pvt_handle->width, pvt_handle->height, in DumpInputBuffers()
1086 char dir_path[PATH_MAX]; in DumpOutputBuffer() local
1088 snprintf(dir_path, sizeof(dir_path), "/data/misc/display/frame_dump_%s", GetDisplayString()); in DumpOutputBuffer()
1090 if (mkdir(dir_path, 777) != 0 && errno != EEXIST) { in DumpOutputBuffer()
[all …]
Dhwc_display_external_test.cpp225 const char *dir_path = "/data/misc/display/frame_dump_external"; in DumpInputBuffer() local
238 if (mkdir(dir_path, 0777) != 0 && errno != EEXIST) { in DumpInputBuffer()
239 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno)); in DumpInputBuffer()
244 if (errno == EEXIST && chmod(dir_path, 0777) != 0) { in DumpInputBuffer()
245 DLOGW("Failed to change permissions on %s directory", dir_path); in DumpInputBuffer()
251 dump_file_name << dir_path; in DumpInputBuffer()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display.cpp1035 char dir_path[PATH_MAX]; in DumpInputBuffers() local
1041 snprintf(dir_path, sizeof(dir_path), "/data/misc/display/frame_dump_%s", GetDisplayString()); in DumpInputBuffers()
1043 if (mkdir(dir_path, 0777) != 0 && errno != EEXIST) { in DumpInputBuffers()
1044 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno)); in DumpInputBuffers()
1049 if (errno == EEXIST && chmod(dir_path, 0777) != 0) { in DumpInputBuffers()
1050 DLOGW("Failed to change permissions on %s directory", dir_path); in DumpInputBuffers()
1071 dir_path, i, pvt_handle->width, pvt_handle->height, in DumpInputBuffers()
1086 char dir_path[PATH_MAX]; in DumpOutputBuffer() local
1088 snprintf(dir_path, sizeof(dir_path), "/data/misc/display/frame_dump_%s", GetDisplayString()); in DumpOutputBuffer()
1090 if (mkdir(dir_path, 777) != 0 && errno != EEXIST) { in DumpOutputBuffer()
[all …]
Dhwc_display_external_test.cpp225 const char *dir_path = "/data/misc/display/frame_dump_external"; in DumpInputBuffer() local
238 if (mkdir(dir_path, 0777) != 0 && errno != EEXIST) { in DumpInputBuffer()
239 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno)); in DumpInputBuffer()
244 if (errno == EEXIST && chmod(dir_path, 0777) != 0) { in DumpInputBuffer()
245 DLOGW("Failed to change permissions on %s directory", dir_path); in DumpInputBuffer()
251 dump_file_name << dir_path; in DumpInputBuffer()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display.cpp1107 char dir_path[PATH_MAX]; in BuildLayerStack() local
1113 snprintf(dir_path, sizeof(dir_path), "/data/misc/display/frame_dump_%s", GetDisplayString()); in BuildLayerStack()
1115 if (mkdir(dir_path, 0777) != 0 && errno != EEXIST) { in BuildLayerStack()
1116 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno)); in BuildLayerStack()
1121 if (errno == EEXIST && chmod(dir_path, 0777) != 0) { in BuildLayerStack()
1122 DLOGW("Failed to change permissions on %s directory", dir_path); in BuildLayerStack()
1145 dir_path, i, pvt_handle->width, pvt_handle->height, in BuildLayerStack()
1160 char dir_path[PATH_MAX]; in BuildLayerStack() local
1162 snprintf(dir_path, sizeof(dir_path), "/data/misc/display/frame_dump_%s", GetDisplayString()); in BuildLayerStack()
1164 if (mkdir(dir_path, 777) != 0 && errno != EEXIST) { in BuildLayerStack()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display.cpp1373 char dir_path[PATH_MAX]; in BuildLayerStack() local
1379 snprintf(dir_path, sizeof(dir_path), "/data/misc/display/frame_dump_%s", GetDisplayString()); in BuildLayerStack()
1381 if (mkdir(dir_path, 0777) != 0 && errno != EEXIST) { in BuildLayerStack()
1382 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno)); in BuildLayerStack()
1387 if (errno == EEXIST && chmod(dir_path, 0777) != 0) { in BuildLayerStack()
1388 DLOGW("Failed to change permissions on %s directory", dir_path); in BuildLayerStack()
1411 dir_path, i, pvt_handle->width, pvt_handle->height, in BuildLayerStack()
1426 char dir_path[PATH_MAX]; in BuildLayerStack() local
1428 snprintf(dir_path, sizeof(dir_path), "/data/misc/display/frame_dump_%s", GetDisplayString()); in BuildLayerStack()
1430 if (mkdir(dir_path, 777) != 0 && errno != EEXIST) { in BuildLayerStack()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_display.cpp1384 char dir_path[PATH_MAX]; in BuildLayerStack() local
1390 snprintf(dir_path, sizeof(dir_path), "%s/frame_dump_%s", HWCDebugHandler::DumpDir(), in BuildLayerStack()
1393 if (mkdir(dir_path, 0777) != 0 && errno != EEXIST) { in BuildLayerStack()
1394 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno)); in BuildLayerStack()
1399 if (errno == EEXIST && chmod(dir_path, 0777) != 0) { in BuildLayerStack()
1400 DLOGW("Failed to change permissions on %s directory", dir_path); in BuildLayerStack()
1423 dir_path, i, pvt_handle->width, pvt_handle->height, in BuildLayerStack()
1438 char dir_path[PATH_MAX]; in BuildLayerStack() local
1440 snprintf(dir_path, sizeof(dir_path), "%s/frame_dump_%s", HWCDebugHandler::DumpDir(), in BuildLayerStack()
1443 if (mkdir(dir_path, 777) != 0 && errno != EEXIST) { in BuildLayerStack()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_display.cpp1454 char dir_path[PATH_MAX]; in BuildLayerStack() local
1461 snprintf(dir_path, sizeof(dir_path), "%s/frame_dump_%s", HWCDebugHandler::DumpDir(), in BuildLayerStack()
1464 if (mkdir(dir_path, 0777) != 0 && errno != EEXIST) { in BuildLayerStack()
1465 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno)); in BuildLayerStack()
1470 if (errno == EEXIST && chmod(dir_path, 0777) != 0) { in BuildLayerStack()
1471 DLOGW("Failed to change permissions on %s directory", dir_path); in BuildLayerStack()
1508 dir_path, i, pvt_handle->width, pvt_handle->height, in BuildLayerStack()
1529 char dir_path[PATH_MAX]; in BuildLayerStack() local
1531 snprintf(dir_path, sizeof(dir_path), "%s/frame_dump_%s", HWCDebugHandler::DumpDir(), in BuildLayerStack()
1534 if (mkdir(dir_path, 777) != 0 && errno != EEXIST) { in BuildLayerStack()
[all …]
Dhwc_display_external_test.cpp218 const char *dir_path = "/data/vendor/display/frame_dump_external"; in DumpInputBuffer() local
231 if (mkdir(dir_path, 0777) != 0 && errno != EEXIST) { in DumpInputBuffer()
232 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno)); in DumpInputBuffer()
237 if (errno == EEXIST && chmod(dir_path, 0777) != 0) { in DumpInputBuffer()
238 DLOGW("Failed to change permissions on %s directory", dir_path); in DumpInputBuffer()
244 dump_file_name << dir_path; in DumpInputBuffer()
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_display_external_test.cpp218 const char *dir_path = "/data/vendor/display/frame_dump_external"; in DumpInputBuffer() local
231 if (mkdir(dir_path, 0777) != 0 && errno != EEXIST) { in DumpInputBuffer()
232 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno)); in DumpInputBuffer()
237 if (errno == EEXIST && chmod(dir_path, 0777) != 0) { in DumpInputBuffer()
238 DLOGW("Failed to change permissions on %s directory", dir_path); in DumpInputBuffer()
244 dump_file_name << dir_path; in DumpInputBuffer()
Dhwc_display.cpp1790 char dir_path[PATH_MAX]; in DumpInputBuffers() local
1798 snprintf(dir_path, sizeof(dir_path), "%s/frame_dump_%s", HWCDebugHandler::DumpDir(), in DumpInputBuffers()
1801 status = mkdir(dir_path, 777); in DumpInputBuffers()
1803 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno)); in DumpInputBuffers()
1808 if (chmod(dir_path, 0777) != 0) { in DumpInputBuffers()
1809 DLOGW("Failed to change permissions on %s directory", dir_path); in DumpInputBuffers()
1847 dir_path, i, pvt_handle->width, pvt_handle->height, in DumpInputBuffers()
1868 char dir_path[PATH_MAX]; in DumpOutputBuffer() local
1871 snprintf(dir_path, sizeof(dir_path), "%s/frame_dump_%s", HWCDebugHandler::DumpDir(), in DumpOutputBuffer()
1874 status = mkdir(dir_path, 777); in DumpOutputBuffer()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display_pluggable_test.cpp216 const char *dir_path = "/data/vendor/display/frame_dump_external"; in DumpInputBuffer() local
229 if (mkdir(dir_path, 0777) != 0 && errno != EEXIST) { in DumpInputBuffer()
230 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno)); in DumpInputBuffer()
235 if (errno == EEXIST && chmod(dir_path, 0777) != 0) { in DumpInputBuffer()
236 DLOGW("Failed to change permissions on %s directory", dir_path); in DumpInputBuffer()
242 dump_file_name << dir_path; in DumpInputBuffer()
Dhwc_display.cpp1623 char dir_path[PATH_MAX]; in DumpInputBuffers() local
1631 snprintf(dir_path, sizeof(dir_path), "%s/frame_dump_disp_id_%02u_%s", HWCDebugHandler::DumpDir(), in DumpInputBuffers()
1634 status = mkdir(dir_path, 777); in DumpInputBuffers()
1636 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno)); in DumpInputBuffers()
1641 if (chmod(dir_path, 0777) != 0) { in DumpInputBuffers()
1642 DLOGW("Failed to change permissions on %s directory", dir_path); in DumpInputBuffers()
1680 dir_path, i, pvt_handle->width, pvt_handle->height, in DumpInputBuffers()
1701 char dir_path[PATH_MAX]; in DumpOutputBuffer() local
1704 snprintf(dir_path, sizeof(dir_path), "%s/frame_dump_disp_id_%02u_%s", HWCDebugHandler::DumpDir(), in DumpOutputBuffer()
1707 status = mkdir(dir_path, 777); in DumpOutputBuffer()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_device_drm.cpp1795 string dir_path = "/data/vendor/display/hw_recovery/"; in DumpDebugData() local
1799 if (mkdir(dir_path.c_str(), 0777) != 0 && errno != EEXIST) { in DumpDebugData()
1800 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path.c_str(), errno, in DumpDebugData()
1805 if (errno == EEXIST && chmod(dir_path.c_str(), 0777) != 0) { in DumpDebugData()
1806 DLOGW("Failed to change permissions on %s directory", dir_path.c_str()); in DumpDebugData()
1810 string filename = dir_path+device_str+"_HWR_"+to_string(debug_dump_count_); in DumpDebugData()