Home
last modified time | relevance | path

Searched refs:stringbuffer (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_info.cpp127 char *stringbuffer = reinterpret_cast<char *>(malloc(kMaxStringLength)); in GetDynamicBWLimits() local
128 if (stringbuffer == NULL) { in GetDynamicBWLimits()
135 char *line = stringbuffer; in GetDynamicBWLimits()
157 free(stringbuffer); in GetDynamicBWLimits()
173 char *stringbuffer = reinterpret_cast<char *>(malloc(kMaxStringLength)); in GetHWResourceInfo() local
175 if (stringbuffer == NULL) { in GetHWResourceInfo()
180 snprintf(stringbuffer , kMaxStringLength, "%s%d/mdp/caps", fb_path, kHWCapabilitiesNode); in GetHWResourceInfo()
181 fileptr = Sys::fopen_(stringbuffer, "r"); in GetHWResourceInfo()
184 DLOGE("File '%s' not found", stringbuffer); in GetHWResourceInfo()
185 free(stringbuffer); in GetHWResourceInfo()
[all …]
Dhw_device.cpp745 char stringbuffer[kMaxStringLength]; in GetHWPanelInfoByNode() local
747 snprintf(stringbuffer, sizeof(stringbuffer), "%s%d/msm_fb_panel_info", fb_path_, device_node); in GetHWPanelInfoByNode()
748 fileptr = Sys::fopen_(stringbuffer, "r"); in GetHWPanelInfoByNode()
754 char *line = stringbuffer; in GetHWPanelInfoByNode()
802 char *stringbuffer = reinterpret_cast<char*>(malloc(sizeof(char) * kMaxStringLength)); in GetHWDisplayPortAndMode() local
803 if (!stringbuffer) { in GetHWDisplayPortAndMode()
808 snprintf(stringbuffer, kMaxStringLength, "%s%d/msm_fb_type", fb_path_, device_node); in GetHWDisplayPortAndMode()
809 FILE *fileptr = Sys::fopen_(stringbuffer, "r"); in GetHWDisplayPortAndMode()
811 DLOGW("File not found %s", stringbuffer); in GetHWDisplayPortAndMode()
812 free(stringbuffer); in GetHWDisplayPortAndMode()
[all …]