Lines Matching defs:seinfo
50 // Signature seinfo values read from policy.
54 // Package name seinfo values read from policy.
104 Slog.d(TAG, "No policy file found. All seinfo values will be null.");
141 String seinfo = readSeinfoTag(parser);
142 if (seinfo != null) {
144 Slog.i(TAG, "<signer> tag: (" + cert + ") assigned seinfo="
145 + seinfo);
147 sSigSeinfo.put(signature, seinfo);
150 String seinfo = readSeinfoTag(parser);
151 if (seinfo != null) {
153 Slog.i(TAG, "<default> tag assigned seinfo=" + seinfo);
155 // The 'null' signature is the default seinfo value
156 sSigSeinfo.put(null, seinfo);
166 String seinfo = readSeinfoTag(parser);
167 if (seinfo != null) {
170 ") assigned seinfo=" + seinfo);
172 sPackageSeinfo.put(pkgName, seinfo);
197 String seinfo = null;
207 if ("seinfo".equals(tagName)) {
210 seinfo = seinfoValue;
212 Slog.w(TAG, "<seinfo> without valid value at "
218 return seinfo;
244 * Labels a package based on an seinfo tag from install policy.
248 * @return String holding the value of the seinfo label that was assigned.
249 * Value may be null which indicates no seinfo label was assigned.
268 String seinfo = pkg.applicationInfo.seinfo = sSigSeinfo.get(s);
271 ") labeled with seinfo=" + seinfo);
277 // Check for seinfo labeled by package.
279 String seinfo = pkg.applicationInfo.seinfo = sPackageSeinfo.get(pkg.packageName);
282 ") labeled with seinfo=" + seinfo);
287 // If we have a default seinfo value then great, otherwise
289 String seinfo = pkg.applicationInfo.seinfo = sSigSeinfo.get(null);
292 ") labeled with seinfo=" + (seinfo == null ? "null" : seinfo));