Home
last modified time | relevance | path

Searched refs:hdr (Results 1 – 9 of 9) sorted by relevance

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0386/
Dpoc.c44 struct nlmsghdr *hdr; in main() local
59 hdr = message->nm_nlh; in main()
71 result = hdr->nlmsg_len; in main()
72 ALOGI("message address [%p, %p]", hdr, nlmsg_tail(hdr)); in main()
89 ALOGI("message address [%p, %p]", hdr, nlmsg_tail(hdr)); in main()
90 ALOGI("message len = 0x%x", hdr->nlmsg_len); in main()
95 if(result != hdr->nlmsg_len) { in main()
/cts/tests/tests/selinux/common/jni/
Dandroid_security_SELinuxTargetSdkTest.cpp49 nlmsghdr hdr; in checkNetlinkRouteGetlink() member
53 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()
84 nlmsghdr hdr; in checkNetlinkRouteGetneigh() member
88 request.hdr.nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST; in checkNetlinkRouteGetneigh()
89 request.hdr.nlmsg_len = sizeof(request); in checkNetlinkRouteGetneigh()
94 request.hdr.nlmsg_type = RTM_GETNEIGH; in checkNetlinkRouteGetneigh()
101 request.hdr.nlmsg_type = RTM_GETNEIGHTBL; in checkNetlinkRouteGetneigh()
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DCpmsSystemLayerStateInfo.java145 private String getStringData(String hdr) throws Exception { in getStringData() argument
147 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() argument
157 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() argument
172 searchHeader(hdr); in getSinglePolicyData()
173 return PowerPolicyDef.parse(mLines[mIdx].trim().substring(hdr.length()).trim(), in getSinglePolicyData()
[all …]
DSilentModeInfo.java88 String hdr = tokens[0]; in parse() local
91 if (hdr.contains(ATTR_HEADERS[hdrIdx])) { in parse()
DPowerPolicyDef.java111 for (String hdr : DISABLED_HEADERS) { in parse()
112 idx = tmpStr.indexOf(hdr); in parse()
/cts/tools/cfassembler/src/dxconvext/
DClassFileAssembler.java87 String hdr; in run() local
89 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()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-0844/
Dlocal_poc.h616 struct QMI_QOS_HDR_S hdr; member
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c258 fp->hdr.type = BINDER_TYPE_BINDER; in buf_binder()
406 if (fp->hdr.type != BINDER_TYPE_HANDLE) in txn_handle()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt18410 field @Deprecated public static final String SCENE_MODE_HDR = "hdr";
22870 field public static final String FEATURE_HdrEditing = "hdr-editing";
23659 field public static final String KEY_HDR_STATIC_INFO = "hdr-static-info";