Home
last modified time | relevance | path

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

/packages/apps/SecureElement/src/com/android/se/security/
DAccessRuleCache.java68 private Map<REF_DO, ChannelAccess> mRuleCache = new HashMap<REF_DO, ChannelAccess>();
80 private static ChannelAccess mapArDo2ChannelAccess(AR_DO arDo) { in mapArDo2ChannelAccess()
81 ChannelAccess channelAccess = new ChannelAccess(); in mapArDo2ChannelAccess()
93 channelAccess.setAccess(ChannelAccess.ACCESS.ALLOWED, ""); 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()
124 ? ChannelAccess.ACCESS.ALLOWED in mapArDo2ChannelAccess()
125 : ChannelAccess.ACCESS.DENIED); in mapArDo2ChannelAccess()
152 ChannelAccess channelAccess = mapArDo2ChannelAccess(arDo); in putWithMerge()
[all …]
DAccessControlEnforcer.java50 import com.android.se.security.ChannelAccess.ACCESS;
78 private ChannelAccess mInitialChannelAccess = new ChannelAccess();
125 mInitialChannelAccess.setApduAccess(ChannelAccess.ACCESS.ALLOWED); in initialize()
126 mInitialChannelAccess.setNFCEventAccess(ChannelAccess.ACCESS.ALLOWED); in initialize()
127 mInitialChannelAccess.setAccess(ChannelAccess.ACCESS.ALLOWED, ""); in initialize()
217 mInitialChannelAccess.setApduAccess(ChannelAccess.ACCESS.DENIED); in initialize()
218 mInitialChannelAccess.setNFCEventAccess(ChannelAccess.ACCESS.DENIED); in initialize()
219 mInitialChannelAccess.setAccess(ChannelAccess.ACCESS.DENIED, denyMsg); in initialize()
237 ChannelAccess ca = channel.getChannelAccess(); in checkCommand()
266 if (ca.getApduAccess() == ChannelAccess.ACCESS.ALLOWED) { in checkCommand()
[all …]
DChannelAccess.java39 public class ChannelAccess { class
53 public ChannelAccess clone() { in clone()
54 ChannelAccess ca = new ChannelAccess(); in clone()
137 public static ChannelAccess getPrivilegeAccess(String packageName, int pid) { in getPrivilegeAccess()
138 ChannelAccess ca = new ChannelAccess(); in getPrivilegeAccess()
150 public static ChannelAccess getCarrierPrivilegeAccess(String packageName, int pid) { in getCarrierPrivilegeAccess()
151 ChannelAccess ca = new ChannelAccess(); in getCarrierPrivilegeAccess()
/packages/apps/SecureElement/src/com/android/se/security/arf/PKCS15/
DEFACConditions.java46 import com.android.se.security.ChannelAccess;
87 ChannelAccess channelAccess = new ChannelAccess(); in decodeDER()
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()
137 channelAccess = new ChannelAccess(); in decodeDER()
138 channelAccess.setAccess(ChannelAccess.ACCESS.ALLOWED, ""); in decodeDER()
139 channelAccess.setApduAccess(ChannelAccess.ACCESS.ALLOWED); in decodeDER()
140 channelAccess.setNFCEventAccess(ChannelAccess.ACCESS.UNDEFINED); in decodeDER()
188 ? ChannelAccess.ACCESS.ALLOWED in decodeDER()
[all …]
/packages/apps/SecureElement/src/com/android/se/security/arf/
DSecureElement.java46 import com.android.se.security.ChannelAccess;
141 ChannelAccess arfChannelAccess = new ChannelAccess(); in setUpChannelAccess()
142 arfChannelAccess.setAccess(ChannelAccess.ACCESS.ALLOWED, ""); in setUpChannelAccess()
143 arfChannelAccess.setApduAccess(ChannelAccess.ACCESS.ALLOWED); in setUpChannelAccess()
164 AID_REF_DO aidRefDo, Hash_REF_DO hashRefDo, ChannelAccess channelAccess) { in putAccessRule()
/packages/apps/SecureElement/src/com/android/se/
DChannel.java35 import com.android.se.security.ChannelAccess;
52 private ChannelAccess mChannelAccess = null;
141 if (ChannelAccess.ACCESS.ALLOWED != mChannelAccess.getPrivilegeAccess()) { in transmit()
227 public ChannelAccess getChannelAccess() { in getChannelAccess()
231 public void setChannelAccess(ChannelAccess channelAccess) { in setChannelAccess()
247 if (ChannelAccess.ACCESS.ALLOWED != mChannelAccess.getPrivilegeAccess()) { in checkCommand()
DTerminal.java50 import com.android.se.security.ChannelAccess;
436 ChannelAccess channelAccess = null; in openBasicChannel()
525 ChannelAccess channelAccess = null; in openLogicalChannel()
740 private ChannelAccess setUpChannelAccess(byte[] aid, String packageName, int pid, in setUpChannelAccess()
744 return ChannelAccess.getPrivilegeAccess(packageName, pid); in setUpChannelAccess()
769 return ChannelAccess.getCarrierPrivilegeAccess(packageName, pid); in setUpChannelAccess()
788 ChannelAccess channelAccess = in setUpChannelAccess()
/packages/apps/SecureElement/src/com/android/se/security/ara/
DAraController.java48 import com.android.se.security.ChannelAccess;
140 ChannelAccess araChannelAccess = new ChannelAccess(); in initialize()
141 araChannelAccess.setAccess(ChannelAccess.ACCESS.ALLOWED, ""); in initialize()
142 araChannelAccess.setApduAccess(ChannelAccess.ACCESS.ALLOWED); in initialize()