Home
last modified time | relevance | path

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

/packages/apps/SecureElement/src/com/android/se/security/arf/PKCS15/
DEFACConditions.java87 ChannelAccess channelAccess = new ChannelAccess(); in decodeDER() local
92 channelAccess.setAccess(ChannelAccess.ACCESS.DENIED, "Empty ACCondition"); in decodeDER()
93 channelAccess.setNFCEventAccess(ChannelAccess.ACCESS.DENIED); in decodeDER()
94 channelAccess.setApduAccess(ChannelAccess.ACCESS.DENIED); in decodeDER()
95 channelAccess.setUseApduFilter(false); in decodeDER()
96 channelAccess.setApduFilter(null); in decodeDER()
99 mSEHandle.putAccessRule(mAidRefDo, hash_ref_do, channelAccess); in decodeDER()
137 channelAccess = new ChannelAccess(); in decodeDER()
138 channelAccess.setAccess(ChannelAccess.ACCESS.ALLOWED, ""); in decodeDER()
139 channelAccess.setApduAccess(ChannelAccess.ACCESS.ALLOWED); in decodeDER()
[all …]
/packages/apps/SecureElement/src/com/android/se/security/
DAccessRuleCache.java81 ChannelAccess channelAccess = new ChannelAccess(); in mapArDo2ChannelAccess() local
93 channelAccess.setAccess(ChannelAccess.ACCESS.ALLOWED, ""); in mapArDo2ChannelAccess()
104 channelAccess.setUseApduFilter(true); in mapArDo2ChannelAccess()
105 channelAccess.setApduFilter(accessConditions); in mapArDo2ChannelAccess()
108 channelAccess.setApduAccess(ChannelAccess.ACCESS.ALLOWED); in mapArDo2ChannelAccess()
112 channelAccess.setAccess(ChannelAccess.ACCESS.DENIED, in mapArDo2ChannelAccess()
114 channelAccess.setApduAccess(ChannelAccess.ACCESS.DENIED); in mapArDo2ChannelAccess()
122 channelAccess.setNFCEventAccess( in mapArDo2ChannelAccess()
130 return channelAccess; in mapArDo2ChannelAccess()
152 ChannelAccess channelAccess = mapArDo2ChannelAccess(arDo); in putWithMerge() local
[all …]
DAccessControlEnforcer.java276 ChannelAccess channelAccess = null; in setUpChannelAccess() local
284 channelAccess = internal_setUpChannelAccess(aid, packageName, in setUpChannelAccess()
287 if (channelAccess == null || (channelAccess.getApduAccess() != ChannelAccess.ACCESS.ALLOWED in setUpChannelAccess()
288 && !channelAccess.isUseApduFilter())) { in setUpChannelAccess()
292 channelAccess = mInitialChannelAccess; in setUpChannelAccess()
297 channelAccess.setPackageName(packageName); in setUpChannelAccess()
298 return channelAccess.clone(); in setUpChannelAccess()
336 ChannelAccess channelAccess = null; in getAccessRule() local
340 channelAccess = mAccessRuleCache.findAccessRule(aid, appCertHashes); in getAccessRule()
344 if (channelAccess == null) { in getAccessRule()
[all …]
/packages/apps/SecureElement/src/com/android/se/
DTerminal.java447 ChannelAccess channelAccess = null; in openBasicChannel() local
458 channelAccess = setUpChannelAccess(aid, packageName, pid, true); in openBasicChannel()
504 basicChannel.setChannelAccess(channelAccess); in openBasicChannel()
536 ChannelAccess channelAccess = null; in openLogicalChannel() local
545 channelAccess = setUpChannelAccess(aid, packageName, pid, false); in openLogicalChannel()
585 logicalChannel.setChannelAccess(channelAccess); in openLogicalChannel()
796 ChannelAccess channelAccess = in setUpChannelAccess() local
799 channelAccess.setCallingPid(pid); in setUpChannelAccess()
800 return channelAccess; in setUpChannelAccess()
DChannel.java231 public void setChannelAccess(ChannelAccess channelAccess) { in setChannelAccess() argument
232 this.mChannelAccess = channelAccess; in setChannelAccess()
/packages/apps/SecureElement/src/com/android/se/security/arf/
DSecureElement.java164 AID_REF_DO aidRefDo, Hash_REF_DO hashRefDo, ChannelAccess channelAccess) { in putAccessRule() argument
167 mArfHandler.getAccessRuleCache().putWithMerge(ref_do, channelAccess); in putAccessRule()