Lines Matching refs:uid
55 * Map from UID to NFCEE access, used as a cache.
56 * Note: if a UID contains multiple packages they must all be
57 * signed with the same certificate so in effect UID == certificate
73 * Check if the {uid, pkg} combination may use NFCEE.
74 * Also verify with package manager that this {uid, pkg} combination
77 public boolean check(int uid, String pkg) {
79 Boolean cached = mUidCache.get(uid);
86 // Ensure the claimed package is present in the calling UID
88 String[] pkgs = pm.getPackagesForUid(uid);
99 mUidCache.put(uid, access);
107 * so no need to confirm {uid, pkg} is valid.
111 Boolean access = mUidCache.get(info.uid);
114 mUidCache.put(info.uid, access);
283 for (Integer uid : mUidCache.keySet()) {
284 Boolean b = mUidCache.get(uid);
285 pw.printf("\t%d %s\n", uid, b);