Searched refs:hdr (Results 1 – 8 of 8) sorted by relevance
35 struct nlmsghdr *hdr; in main() local50 hdr = message->nm_nlh; in main()62 result = hdr->nlmsg_len; in main()63 ALOGI("message address [%p, %p]", hdr, nlmsg_tail(hdr)); in main()80 ALOGI("message address [%p, %p]", hdr, nlmsg_tail(hdr)); in main()81 ALOGI("message len = 0x%x", hdr->nlmsg_len); in main()86 if(result != hdr->nlmsg_len) { in main()
145 private String getStringData(String hdr) throws Exception { in getStringData() argument147 searchHeader(hdr); in getStringData()148 if (mLines[mIdx].trim().length() == hdr.length()) { in getStringData()151 val = mLines[mIdx].trim().substring(hdr.length()).trim(); in getStringData()156 private boolean getBooleanData(String hdr) throws Exception { in getBooleanData() argument157 searchHeader(hdr); in getBooleanData()158 return Boolean.parseBoolean(mLines[mIdx].trim().substring(hdr.length()).trim()); in getBooleanData()171 private PowerPolicyDef getSinglePolicyData(String hdr) throws Exception { in getSinglePolicyData() argument172 searchHeader(hdr); in getSinglePolicyData()173 return PowerPolicyDef.parse(mLines[mIdx].trim().substring(hdr.length()).trim(), in getSinglePolicyData()[all …]
85 String hdr = tokens[0]; in parse() local88 if (hdr.contains(ATTR_HEADERS[hdrIdx])) { in parse()94 "SilentModeQueryResult.parse(): unknown header: " + hdr); in parse()
111 for (String hdr : DISABLED_HEADERS) { in parse()112 idx = tmpStr.indexOf(hdr); in parse()
49 nlmsghdr hdr; in checkNetlinkRouteGetlink() member53 request.hdr.nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST; in checkNetlinkRouteGetlink()54 request.hdr.nlmsg_type = RTM_GETLINK; in checkNetlinkRouteGetlink()55 request.hdr.nlmsg_len = sizeof(request); in checkNetlinkRouteGetlink()
87 String hdr; in run() local89 hdr = dexHdr; in run()91 hdr = classHdr; in run()93 …if (!firstLine.startsWith(hdr)) throw new RuntimeException("wrong format:"+firstLine +" isDex=" + … in run()98 String classO = firstLine.substring(hdr.length()).trim(); in run()
616 struct QMI_QOS_HDR_S hdr; member
258 fp->hdr.type = BINDER_TYPE_BINDER; in buf_binder()406 if (fp->hdr.type != BINDER_TYPE_HANDLE) in txn_handle()