/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
D | hw_info.cpp | 71 int HWInfo::ParseString(const char *input, char *tokens[], const uint32_t max_token, in ParseString() argument 81 tokens[index++] = tmp_token; in ParseString() 104 char *tokens[max_count] = { NULL }; in GetDynamicBWLimits() local 107 if (!ParseString(line.c_str(), tokens, max_count, ":, =\n", &token_count)) { in GetDynamicBWLimits() 108 if (!strncmp(tokens[0], "default_pipe", strlen("default_pipe"))) { in GetDynamicBWLimits() 109 bw_info->pipe_bw_limit[kBwDefault] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits() 110 } else if (!strncmp(tokens[0], "camera_pipe", strlen("camera_pipe"))) { in GetDynamicBWLimits() 111 bw_info->pipe_bw_limit[kBwCamera] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits() 112 } else if (!strncmp(tokens[0], "vflip_pipe", strlen("vflip_pipe"))) { in GetDynamicBWLimits() 113 bw_info->pipe_bw_limit[kBwVFlip] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits() [all …]
|
D | hw_device.cpp | 782 char *tokens[max_count] = { NULL }; in GetHWPanelNameByNode() local 783 if (!ParseLine(line.c_str(), "=\n", tokens, max_count, &token_count)) { in GetHWPanelNameByNode() 784 if (!strncmp(tokens[0], "panel_name", strlen("panel_name"))) { in GetHWPanelNameByNode() 785 snprintf(panel_info->panel_name, sizeof(panel_info->panel_name), "%s", tokens[1]); in GetHWPanelNameByNode() 805 char *tokens[max_count] = { NULL }; in GetHWPanelInfoByNode() local 806 if (!ParseLine(line.c_str(), tokens, max_count, &token_count)) { in GetHWPanelInfoByNode() 807 if (!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { in GetHWPanelInfoByNode() 808 panel_info->partial_update = atoi(tokens[1]); in GetHWPanelInfoByNode() 809 } else if (!strncmp(tokens[0], "xstart", strlen("xstart"))) { in GetHWPanelInfoByNode() 810 panel_info->left_align = atoi(tokens[1]); in GetHWPanelInfoByNode() [all …]
|
D | hw_info.h | 66 static int ParseString(const char *input, char *tokens[], const uint32_t max_token, 71 void ParseFormats(char *tokens[], uint32_t token_count, HWSubBlockType sub_block_type,
|
D | hw_hdmi.cpp | 179 char *tokens[edid_count_max] = { NULL }; in ReadEDIDInfo() local 182 ParseLine(ptr, tokens, edid_count_max, &hdmi_mode_count); in ReadEDIDInfo() 188 hdmi_modes_[i] = UINT32(atoi(tokens[i])); in ReadEDIDInfo() 420 char *tokens[scan_info_max_count] = { NULL }; in ReadScanInfo() local 421 ParseLine(data, tokens, scan_info_max_count, &scan_info_count); in ReadScanInfo() 427 hw_scan_info_.pt_scan_support = MapHWScanSupport(UINT32(atoi(tokens[0]))); in ReadScanInfo() 428 hw_scan_info_.it_scan_support = MapHWScanSupport(UINT32(atoi(tokens[1]))); in ReadScanInfo() 429 hw_scan_info_.cea_scan_support = MapHWScanSupport(UINT32(atoi(tokens[2]))); in ReadScanInfo()
|
D | hw_device.h | 128 int ParseLine(const char *input, char *tokens[], const uint32_t max_token, uint32_t *count); 129 int ParseLine(const char *input, const char *delim, char *tokens[],
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
D | hw_info.cpp | 71 int HWInfo::ParseString(const char *input, char *tokens[], const uint32_t max_token, in ParseString() argument 81 tokens[index++] = tmp_token; in ParseString() 125 char *tokens[max_count] = { NULL }; in GetDynamicBWLimits() local 128 if (!ParseString(line.c_str(), tokens, max_count, ":, =\n", &token_count)) { in GetDynamicBWLimits() 129 if (!strncmp(tokens[0], "default_pipe", strlen("default_pipe"))) { in GetDynamicBWLimits() 130 bw_info->pipe_bw_limit[kBwDefault] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits() 131 } else if (!strncmp(tokens[0], "camera_pipe", strlen("camera_pipe"))) { in GetDynamicBWLimits() 132 bw_info->pipe_bw_limit[kBwCamera] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits() 133 } else if (!strncmp(tokens[0], "vflip_pipe", strlen("vflip_pipe"))) { in GetDynamicBWLimits() 134 bw_info->pipe_bw_limit[kBwVFlip] = UINT32(atoi(tokens[1])); in GetDynamicBWLimits() [all …]
|
D | hw_device.cpp | 751 char *tokens[max_count] = { NULL }; in GetHWPanelNameByNode() local 752 if (!ParseLine(line.c_str(), "=\n", tokens, max_count, &token_count)) { in GetHWPanelNameByNode() 753 if (!strncmp(tokens[0], "panel_name", strlen("panel_name"))) { in GetHWPanelNameByNode() 754 snprintf(panel_info->panel_name, sizeof(panel_info->panel_name), "%s", tokens[1]); in GetHWPanelNameByNode() 774 char *tokens[max_count] = { NULL }; in GetHWPanelInfoByNode() local 775 if (!ParseLine(line.c_str(), tokens, max_count, &token_count)) { in GetHWPanelInfoByNode() 776 if (!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { in GetHWPanelInfoByNode() 777 panel_info->partial_update = atoi(tokens[1]); in GetHWPanelInfoByNode() 778 } else if (!strncmp(tokens[0], "xstart", strlen("xstart"))) { in GetHWPanelInfoByNode() 779 panel_info->left_align = atoi(tokens[1]); in GetHWPanelInfoByNode() [all …]
|
D | hw_info.h | 65 static int ParseString(const char *input, char *tokens[], const uint32_t max_token, 70 void ParseFormats(char *tokens[], uint32_t token_count, HWSubBlockType sub_block_type,
|
D | hw_hdmi.cpp | 204 char *tokens[edid_count_max] = { NULL }; in ReadEDIDInfo() local 207 ParseLine(ptr, tokens, edid_count_max, &hdmi_mode_count); in ReadEDIDInfo() 213 hdmi_modes_[i] = UINT32(atoi(tokens[i])); in ReadEDIDInfo() 445 char *tokens[scan_info_max_count] = { NULL }; in ReadScanInfo() local 446 ParseLine(data, tokens, scan_info_max_count, &scan_info_count); in ReadScanInfo() 452 hw_scan_info_.pt_scan_support = MapHWScanSupport(UINT32(atoi(tokens[0]))); in ReadScanInfo() 453 hw_scan_info_.it_scan_support = MapHWScanSupport(UINT32(atoi(tokens[1]))); in ReadScanInfo() 454 hw_scan_info_.cea_scan_support = MapHWScanSupport(UINT32(atoi(tokens[2]))); in ReadScanInfo()
|
D | hw_device.h | 121 int ParseLine(const char *input, char *tokens[], const uint32_t max_token, uint32_t *count); 122 int ParseLine(const char *input, const char *delim, char *tokens[],
|
/hardware/qcom/display/msm8909/libqdutils/ |
D | mdp_version.cpp | 190 char *tokens[10]; in updatePanelInfo() local 191 memset(tokens, 0, sizeof(tokens)); in updatePanelInfo() 193 if(!tokenizeParams(readLine, TOKEN_PARAMS_DELIM, tokens, in updatePanelInfo() 195 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { in updatePanelInfo() 196 mPanelInfo.mPartialUpdateEnable = atoi(tokens[1]); in updatePanelInfo() 201 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) { in updatePanelInfo() 202 mPanelInfo.mLeftAlign = atoi(tokens[1]); in updatePanelInfo() 205 if(!strncmp(tokens[0], "walign", strlen("walign"))) { in updatePanelInfo() 206 mPanelInfo.mWidthAlign = atoi(tokens[1]); in updatePanelInfo() 209 if(!strncmp(tokens[0], "ystart", strlen("ystart"))) { in updatePanelInfo() [all …]
|
/hardware/qcom/display/msm8994/libqdutils/ |
D | mdp_version.cpp | 198 char *tokens[10]; in updatePanelInfo() local 199 memset(tokens, 0, sizeof(tokens)); in updatePanelInfo() 201 if(!tokenizeParams(readLine, TOKEN_PARAMS_DELIM, tokens, in updatePanelInfo() 203 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { in updatePanelInfo() 204 mPanelInfo.mPartialUpdateEnable = atoi(tokens[1]); in updatePanelInfo() 209 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) { in updatePanelInfo() 210 mPanelInfo.mLeftAlign = atoi(tokens[1]); in updatePanelInfo() 213 if(!strncmp(tokens[0], "walign", strlen("walign"))) { in updatePanelInfo() 214 mPanelInfo.mWidthAlign = atoi(tokens[1]); in updatePanelInfo() 217 if(!strncmp(tokens[0], "ystart", strlen("ystart"))) { in updatePanelInfo() [all …]
|
/hardware/qcom/display/msm8226/libqdutils/ |
D | mdp_version.cpp | 175 char *tokens[10]; in updatePanelInfo() local 176 memset(tokens, 0, sizeof(tokens)); in updatePanelInfo() 178 if(!tokenizeParams(readLine, TOKEN_PARAMS_DELIM, tokens, in updatePanelInfo() 180 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { in updatePanelInfo() 181 mPanelInfo.mPartialUpdateEnable = atoi(tokens[1]); in updatePanelInfo() 186 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) { in updatePanelInfo() 187 mPanelInfo.mLeftAlign = atoi(tokens[1]); in updatePanelInfo() 190 if(!strncmp(tokens[0], "walign", strlen("walign"))) { in updatePanelInfo() 191 mPanelInfo.mWidthAlign = atoi(tokens[1]); in updatePanelInfo() 194 if(!strncmp(tokens[0], "ystart", strlen("ystart"))) { in updatePanelInfo() [all …]
|
/hardware/qcom/display/msm8084/libqdutils/ |
D | mdp_version.cpp | 169 char *tokens[10]; in updatePanelInfo() local 170 memset(tokens, 0, sizeof(tokens)); in updatePanelInfo() 172 if(!tokenizeParams(readLine, TOKEN_PARAMS_DELIM, tokens, in updatePanelInfo() 174 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { in updatePanelInfo() 175 mPanelInfo.mPartialUpdateEnable = atoi(tokens[1]); in updatePanelInfo() 180 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) { in updatePanelInfo() 181 mPanelInfo.mLeftAlign = atoi(tokens[1]); in updatePanelInfo() 184 if(!strncmp(tokens[0], "walign", strlen("walign"))) { in updatePanelInfo() 185 mPanelInfo.mWidthAlign = atoi(tokens[1]); in updatePanelInfo() 188 if(!strncmp(tokens[0], "ystart", strlen("ystart"))) { in updatePanelInfo() [all …]
|
/hardware/qcom/display/msm8998/libqdutils/ |
D | qd_utils.cpp | 36 static int parseLine(char *input, char *tokens[], const uint32_t maxToken, uint32_t *count) { in parseLine() argument 46 tokens[index++] = tmpToken; in parseLine() 116 char *tokens[maxCount] = { NULL }; in querySDEInfoFB() local 141 if (parseLine(line, tokens, maxCount, &tokenCount)) { in querySDEInfoFB() 145 if (strncmp(tokens[0], "features", strlen("features"))) { in querySDEInfoFB() 150 if (!strncmp(tokens[i], featureName, strlen(featureName))) { in querySDEInfoFB() 244 char *tokens[maxCount] = { NULL }; in getDPTestConfig() local 265 if (!parseLine(line, tokens, maxCount, &tokenCount)) { in getDPTestConfig() 266 if (!strncmp(tokens[0], "bpp", strlen("bpp"))) { in getDPTestConfig() 267 *panelBpp = static_cast<uint32_t>(atoi(tokens[1])); in getDPTestConfig() [all …]
|
/hardware/qcom/display/msm8996/libqdutils/ |
D | qd_utils.cpp | 34 int parseLine(char *input, char *tokens[], const uint32_t maxToken, uint32_t *count) { in parseLine() argument 44 tokens[index++] = tmpToken; in parseLine() 58 char *tokens[maxCount] = { NULL }; in querySDEInfo() local 85 if (parseLine(line, tokens, maxCount, &tokenCount)) { in querySDEInfo() 89 if (strncmp(tokens[0], "features", strlen("features"))) { in querySDEInfo() 94 if (!strncmp(tokens[i], featureName, strlen(featureName))) { in querySDEInfo()
|
D | qd_utils.h | 61 int parseLine(char *input, char *tokens[], const uint32_t maxToken, uint32_t *count);
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | HidRawDevice.cpp | 166 std::vector<HidItem> tokens = HidItem::tokenize(mDeviceInfo.descriptor); in generateDigest() local 168 if (!parser.parse(tokens)) { in generateDigest()
|
D | HidRawSensor.cpp | 608 std::vector<std::string> tokens; in split() local 612 tokens.push_back(text.substr(start, end - start)); in split() 617 tokens.push_back(text.substr(start)); in split() 619 return tokens; in split()
|
/hardware/interfaces/graphics/bufferqueue/1.0/ |
D | IGraphicBufferProducer.hal | 464 * 'what' tokens allowed are that of NATIVE_WINDOW_* in <window.h>
|