Home
last modified time | relevance | path

Searched refs:cns (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/org/apache/http/conn/ssl/
DAbstractVerifier.java120 String[] cns = getCNs(cert); in verify() local
122 verify(host, cns, subjectAlts); in verify()
125 public final void verify(final String host, final String[] cns, in verify() argument
135 if(cns != null && cns.length > 0 && cns[0] != null) { in verify()
136 names.add(cns[0]); in verify()
218 String[] cns = new String[cnList.size()]; in getCNs() local
219 cnList.toArray(cns); in getCNs()
220 return cns; in getCNs()
DBrowserCompatHostnameVerifier.java57 final String[] cns, in verify() argument
59 verify(host, cns, subjectAlts, false); in verify()
DStrictHostnameVerifier.java64 final String[] cns, in verify() argument
66 verify(host, cns, subjectAlts, true); in verify()
DAllowAllHostnameVerifier.java49 final String[] cns, in verify() argument
DX509HostnameVerifier.java87 void verify(String host, String[] cns, String[] subjectAlts) in verify() argument
/frameworks/base/cmds/am/src/com/android/commands/am/
DInstrument.java423 ArrayList<ComponentName> cns = new ArrayList<>(); in parseComponentName() local
429 cns.add(c); in parseComponentName()
433 if (cns.size() == 0) { in parseComponentName()
435 } else if (cns.size() == 1) { in parseComponentName()
436 return cns.get(0); in parseComponentName()
439 final int numCns = cns.size(); in parseComponentName()
441 cnsStr.append(cns.get(i).flattenToString()); in parseComponentName()