Home
last modified time | relevance | path

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

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DPackageValidator.java48 private final Map<String, ArrayList<CallerInfo>> mValidCertificates;
55 private Map<String, ArrayList<CallerInfo>> readValidCertificates(XmlResourceParser parser) { in readValidCertificates()
56 HashMap<String, ArrayList<CallerInfo>> validCertificates = new HashMap<>(); in readValidCertificates()
68 CallerInfo info = new CallerInfo(name, packageName, isRelease, certificate); in readValidCertificates()
70 ArrayList<CallerInfo> infos = validCertificates.get(certificate); in readValidCertificates()
114 ArrayList<CallerInfo> validCallers = mValidCertificates.get(signature); in isCallerAllowed()
128 for (CallerInfo info: validCallers) { in isCallerAllowed()
145 private final static class CallerInfo { class in PackageValidator
151 public CallerInfo(String name, String packageName, boolean release, in CallerInfo() method in PackageValidator.CallerInfo