HomeSort by relevance Sort by last modified time
    Searched refs:aid (Results 1 - 25 of 302) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
IccRefreshResponse.java 33 public String aid; /* null terminated string, e.g., field in class:IccRefreshResponse
40 return "{" + refreshResult + ", " + aid +", " + efId + "}";
CsimFileHandler.java 30 public CsimFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) {
31 super(app, aid, ci);
IsimFileHandler.java 30 public IsimFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) {
31 super(app, aid, ci);
  /packages/apps/Nfc/src/com/android/nfc/cardemulation/
AidRoutingManager.java 47 // that for any AID that needs to be routed to this
70 // Easy look-up what the route is for a certain AID
103 String aid = aidEntry.getKey(); local
104 if (aid.endsWith("*")) {
106 Log.e(TAG, "Device does not support prefix AIDs but AID [" + aid
109 if (DBG) Log.d(TAG, "Unrouting prefix AID " + aid);
111 aid = aid.substring(0, aid.length() - 1)
145 String aid = aidEntry.getKey(); local
184 String aid = aidEntry.getKey(); local
    [all...]
RegisteredAidCache.java 54 // mAidCache is a lookup table for quickly mapping an exact or prefix or subset AID
61 // Represents a single AID registration of a service
64 String aid; field in class:RegisteredAidCache.ServiceAidInfo
71 ", aid='" + aid + '\'' +
83 if (!aid.equals(that.aid)) return false;
93 result = 31 * result + aid.hashCode();
100 // an AID was resolved to.
105 boolean mustRoute = true; // Whether this AID should be routed at al
558 String aid = entry.getKey(); local
790 String aid = aidEntry.getKey(); local
    [all...]
  /frameworks/base/core/java/android/se/omapi/
ISecureElementSession.aidl 59 * applet if aid != null.
63 ISecureElementChannel openBasicChannel(in byte[] aid, in byte p2,
71 ISecureElementChannel openLogicalChannel(in byte[] aid, in byte p2,
ISecureElementService.aidl 45 * receive NFC transaction events for the defined AID.
47 boolean[] isNFCEventAllowed(String reader, in byte[] aid,
Session.java 142 * If the AID is null, it means no Applet is to be selected on this channel and the default
143 * Applet is used. If the AID is defined then the corresponding Applet is selected.
181 * @param aid the AID of the Applet to be selected on this channel, as a
188 * @throws IllegalArgumentException if the aid's length is not within 5 to
191 * access to this AID or the default Applet on this
193 * @throws NoSuchElementException if the AID on the Secure Element is not available or cannot be
199 public @Nullable Channel openBasicChannel(@Nullable byte[] aid, @Nullable byte p2)
207 ISecureElementChannel channel = mSession.openBasicChannel(aid, p2,
230 * This method is equivalent to openBasicChannel(aid, P2=0x00
    [all...]
  /build/make/tools/fs_config/
test_fs_config_generator.py 8 from fs_config_generator import AID
46 """Test AID class constructor"""
48 aid = AID('AID_FOO_BAR', '0xFF', 'myfakefile')
49 self.assertEquals(aid.identifier, 'AID_FOO_BAR')
50 self.assertEquals(aid.value, '0xFF')
51 self.assertEquals(aid.found, 'myfakefile')
52 self.assertEquals(aid.normalized_value, '255')
53 self.assertEquals(aid.friendly, 'foo_bar')
55 aid = AID('AID_MEDIA_EX', '1234', 'myfakefile'
    [all...]
fs_config_generator.py 93 def get_login_and_uid_cleansed(aid):
96 This checks that the logon and uid of the AID do not
100 aid (AID): The aid to check
103 logon, uid of the AID after checking its safe.
108 logon = aid.friendly
109 uid = aid.normalized_value
119 class AID(object):
120 """This class represents an Android ID or an AID
    [all...]
  /external/valgrind/coregrind/
pub_core_mallocfree.h 111 extern void* VG_(arena_memalign)( ArenaId aid, const HChar* cc,
113 extern HChar* VG_(arena_strdup) ( ArenaId aid, const HChar* cc,
123 extern void VG_(arena_realloc_shrink) ( ArenaId aid,
126 extern SizeT VG_(arena_malloc_usable_size) ( ArenaId aid, void* payload );
128 extern SizeT VG_(arena_redzone_size) ( ArenaId aid );
135 extern void* VG_(arena_perm_malloc) ( ArenaId aid, SizeT nbytes, Int align );
148 ArenaId aid; member in struct:_AddrArenaInfo
  /frameworks/base/core/java/android/nfc/cardemulation/
AidGroup.java 60 throw new IllegalArgumentException("No AIDS in AID group.");
63 throw new IllegalArgumentException("Too many AIDs in AID group.");
65 for (String aid : aids) {
66 if (!CardEmulation.isValidAid(aid)) {
67 throw new IllegalArgumentException("AID " + aid + " is not a valid AID.");
76 for (String aid : aids) {
77 this.aids.add(aid.toUpperCase());
89 * @return the category of this AID grou
160 String aid = parser.getAttributeValue(null, "value"); local
    [all...]
ApduServiceInfo.java 70 * Mapping from category to static AID group
75 * Mapping from category to dynamic AID group
193 // Parsed values for the current AID group
197 if (eventType == XmlPullParser.START_TAG && "aid-group".equals(tagName) &&
201 // Get category of AID group
212 Log.e(TAG, "Not allowing multiple aid-groups in the " +
220 } else if (eventType == XmlPullParser.END_TAG && "aid-group".equals(tagName) &&
227 Log.e(TAG, "Not adding <aid-group> with empty or invalid AIDs");
230 } else if (eventType == XmlPullParser.START_TAG && "aid-filter".equals(tagName) &&
234 String aid = a.getString(com.android.internal.R.styleable.AidFilter_name) local
246 String aid = a.getString(com.android.internal.R.styleable.AidFilter_name). local
260 String aid = a.getString(com.android.internal.R.styleable.AidFilter_name). local
    [all...]
CardEmulation.java 111 * or {@link OffHostApduService}, whenever an Application ID (AID) of this category
122 * if the Application ID (AID) selected by the reader has been registered by multiple
123 * services. If there is only one service that has registered for the AID,
194 * is the default for a specific AID.
228 * @param aid The ISO7816-4 Application ID
229 * @return whether the service is the default handler for the specified AID
233 public boolean isDefaultServiceForAid(ComponentName service, String aid) {
235 return sService.isDefaultServiceForAid(mContext.getUserId(), service, aid);
244 return sService.isDefaultServiceForAid(mContext.getUserId(), service, aid);
391 * this method, and a statically registered AID group for the same categor
    [all...]
  /hardware/interfaces/secure_element/1.0/
ISecureElement.hal 65 * represented by the Application ID (AID).
67 * @param aid AID to uniquely identify the applet on the Secure Element
73 * SecureElementStatus::NO_SUCH_ELEMENT_ERROR if AID provided
83 openLogicalChannel(vec<uint8_t> aid, uint8_t p2)
89 * represented by the Application ID (AID).
91 * @param aid AID to uniquely identify the applet on the Secure Element
97 * SecureElementStatus::NO_SUCH_ELEMENT_ERROR if AID provided
107 openBasicChannel(vec<uint8_t> aid, uint8_t p2
    [all...]
  /packages/apps/SecureElement/src/com/android/se/security/arf/PKCS15/
EFDIR.java 68 * @param aid Record key to search for
71 private byte[] decodeDER(byte[] buffer, byte[] aid) throws PKCS15Exception {
76 if (!Arrays.equals(der.getTLVData(), aid)) return null; // Record for another AID
92 * Analyses DIR file and lookups for AID record
94 * @param aid Record key to search for
97 public byte[] lookupAID(byte[] aid) throws IOException, PKCS15Exception,
107 if ((ODFPath = decodeDER(data, aid)) != null) break;
EFACRules.java 60 // AID used to store rules for default application
80 byte[] aid = null;
89 case (byte) 0xA0: // Restricted AID
91 aid = der.getTLVData();
95 aid = null;
99 aid = DEFAULT_APP;
111 EFACConditions temp = new EFACConditions(mSEHandle, new AID_REF_DO(tag, aid));
  /packages/apps/SecureElement/src/com/android/se/
Terminal.java 274 * is performed with the default access control aid.
290 private void select(byte[] aid) throws IOException {
291 int commandSize = (aid == null ? 0 : aid.length) + 5;
297 if (aid != null && aid.length != 0) {
298 selectCommand[4] = (byte) aid.length;
299 System.arraycopy(aid, 0, selectCommand, 5, aid.length);
317 * Opens a Basic Channel with the given AID and P2 paramter
    [all...]
SecureElementService.java 80 public synchronized boolean[] isNFCEventAllowed(String reader, byte[] aid,
83 if (aid == null || aid.length == 0) {
84 aid = new byte[]{0x00, 0x00, 0x00, 0x00, 0x00};
86 if (aid.length < 5 || aid.length > 16) {
87 throw new IllegalArgumentException("AID out of range");
93 return terminal.isNfcEventAllowed(getPackageManager(), aid, packageNames);
251 public ISecureElementChannel openBasicChannel(byte[] aid, byte p2,
270 channel = mReader.getTerminal().openBasicChannel(this, aid, p2, listener
    [all...]
  /external/libese/apps/boot/card/src/com/android/verifiedboot/storage/
GlobalStateImpl.java 21 import javacard.framework.AID;
57 * Returns the index of the given AID in clientApplets
60 * @param aid The client applet AID to find.
62 private short findClientApplet(AID aid) {
67 if (((AID)clientApplets[i]).equals(aid)) {
80 * @param unregister If true, will remove the caller's AID from the registered store.
81 * If false, will add the caller's AID to the register store
85 final AID aid = JCSystem.getPreviousContextAID(); local
128 final AID aid = JCSystem.getPreviousContextAID(); local
151 final AID aid = JCSystem.getPreviousContextAID(); local
    [all...]
  /packages/apps/SecureElement/src/com/android/se/security/gpac/
AID_REF_DO.java 42 * The AID-REF-DO is used for retrieving and storing the corresponding access rules for an SE
43 * application (which is identified by its AID) from and to the ARA. Two different AID reference
58 public AID_REF_DO(int tag, byte[] aid) {
59 super(aid, tag, 0, (aid == null ? 0 : aid.length));
60 if (aid != null) mAid = aid;
100 * <p>Value: AID: identifies a specific application Empty: refers to all SE application
    [all...]
  /packages/apps/Nfc/nci/jni/
HciEventManager.h 34 void notifyTransactionListenersOfAid(std::vector<uint8_t> aid,
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
HceUtils.java 72 public static final CommandApdu buildSelectApdu(String aid, boolean reachable) {
75 sb.append(String.format("%02X", aid.length() / 2));
76 sb.append(aid);
  /developers/build/prebuilts/gradle/CardEmulation/Application/src/main/java/com/example/android/cardemulation/
CardService.java 43 // AID for our loyalty card service.
45 // ISO-DEP command HEADER for selecting an AID.
48 // "OK" status word sent in response to SELECT AID command (0x9000)
56 * cause for the disconnection (either a lost link, or another AID being selected by the
87 // If the APDU matches the SELECT AID command for this service,
101 * Build APDU for SELECT AID command. This command indicates which service a reader is
104 * @param aid Application ID (AID) to select
105 * @return APDU for SELECT AID command
107 public static byte[] BuildSelectApdu(String aid) {
    [all...]
  /developers/samples/android/connectivity/nfc/CardEmulation/Application/src/main/java/com/example/android/cardemulation/
CardService.java 43 // AID for our loyalty card service.
45 // ISO-DEP command HEADER for selecting an AID.
48 // "OK" status word sent in response to SELECT AID command (0x9000)
56 * cause for the disconnection (either a lost link, or another AID being selected by the
87 // If the APDU matches the SELECT AID command for this service,
101 * Build APDU for SELECT AID command. This command indicates which service a reader is
104 * @param aid Application ID (AID) to select
105 * @return APDU for SELECT AID command
107 public static byte[] BuildSelectApdu(String aid) {
    [all...]

Completed in 222 milliseconds

1 2 3 4 5 6 7 8 91011>>