Searched refs:aid (Results 1 - 18 of 18) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
H A DAidRoutingManager.java79 public boolean setRouteForAid(String aid, boolean onHost) { argument
82 int currentRoute = getRouteForAidLocked(aid);
83 if (DBG) Log.d(TAG, "Set route for AID: " + aid + ", host: " + onHost + " , current: 0x" +
90 removeAid(aid);
97 aids.add(aid);
98 mRouteForAid.put(aid, route);
100 NfcService.getInstance().routeAids(aid, route);
120 public boolean removeAid(String aid) { argument
122 Integer route = mRouteForAid.get(aid);
124 if (DBG) Log.d(TAG, "removeAid(): No existing route for " + aid);
150 getRouteForAidLocked(String aid) argument
[all...]
H A DRegisteredAidCache.java55 String aid; field in class:RegisteredAidCache.AidResolveInfo
93 if (DBG) Log.d(TAG, "Not updating aid cache + routing: nothing changed.");
117 public AidResolveInfo resolveAidPrefix(String aid) { argument
119 char nextAidChar = (char) (aid.charAt(aid.length() - 1) + 1);
120 String nextAid = aid.substring(0, aid.length() - 1) + nextAidChar;
122 mAidToServices.subMap(aid, nextAid);
129 resolveInfo.aid = matches.firstKey();
135 public String getCategoryForAid(String aid) { argument
146 isDefaultServiceForAid(int userId, ComponentName service, String aid) argument
262 resolveAidLocked(List<ApduServiceInfo> resolvedServices, String aid) argument
[all...]
H A DHostEmulationManager.java177 mLastSelectedAid = resolveInfo.aid;
183 String category = mAidCache.getCategoryForAid(resolveInfo.aid);
210 String category = mAidCache.getCategoryForAid(resolveInfo.aid);
/packages/apps/Nfc/nci/jni/
H A DRoutingManager.h40 bool addAidRouting(const UINT8* aid, UINT8 aidLen, int route);
41 bool removeAidRouting(const UINT8* aid, UINT8 aidLen);
H A DRoutingManager.cpp112 bool RoutingManager::addAidRouting(const UINT8* aid, UINT8 aidLen, int route) argument
116 tNFA_STATUS nfaStat = NFA_EeAddAidRouting(route, aidLen, (UINT8*) aid, 0x01);
128 bool RoutingManager::removeAidRouting(const UINT8* aid, UINT8 aidLen) argument
132 tNFA_STATUS nfaStat = NFA_EeRemoveAidRouting(aidLen, (UINT8*) aid);
330 ALOGD ("%s: NFA_EE_ACTION_EVT; h=0x%X; trigger=app-init (0x%X); aid len=%u; data len=%u", fn,
341 se.notifyTransactionListenersOfAid (app_init.aid, app_init.len_aid);
H A DRouteDataSet.h117 ** aid: string of hex numbers.
122 AidBuffer (std::string& aid);
H A DRouteDataSet.cpp35 ** aid: string of hex numbers.
40 AidBuffer::AidBuffer (std::string& aid) argument
47 std::string::size_type pos2 = aid.find_first_of (delimiter);
50 mBuffer = new UINT8 [aid.length()];
56 sscanf (aid.substr(pos1).c_str(), "%x", &num);
63 sscanf (aid.substr(pos1, pos2-pos1+1).c_str(), "%x", &num);
67 pos2 = aid.find_first_of (delimiter, pos1);
H A DSecureElement.h245 ** aid: Buffer contains application ID.
251 void notifyTransactionListenersOfAid (const UINT8* aid, UINT8 aidLen);
586 ** aid: Buffer of Application ID.
592 bool encodeAid (UINT8* tlv, UINT16 tlvMaxLen, UINT16& tlvActualLen, const UINT8* aid, UINT8 aidLen);
H A DNativeNfcManager.cpp785 static jboolean nfcManager_routeAid (JNIEnv* e, jobject, jbyteArray aid, jint route) argument
787 ScopedByteArrayRO bytes(e, aid);
805 static jboolean nfcManager_unrouteAid (JNIEnv* e, jobject, jbyteArray aid) argument
807 ScopedByteArrayRO bytes(e, aid);
/packages/apps/Nfc/src/com/android/nfc/
H A DDeviceHost.java36 public void onCardEmulationAidSelected(byte[] aid); argument
214 public boolean routeAid(byte[] aid, int route); argument
216 public boolean unrouteAid(byte[] aid); argument
H A DNfcService.java330 public void onCardEmulationAidSelected(byte[] aid) { argument
332 sendMessage(NfcService.MSG_CARD_EMULATION, aid);
1147 public boolean isDefaultServiceForAid(int userId, ComponentName service, String aid) argument
1154 return mAidCache.isDefaultServiceForAid(userId, service, aid);
2030 public void routeAids(String aid, int route) { argument
2034 msg.obj = aid;
2038 public void unrouteAids(String aid) { argument
2039 sendMessage(MSG_UNROUTE_AID, aid);
2063 String aid = (String) msg.obj;
2064 mDeviceHost.routeAid(hexStringToBytes(aid), rout
[all...]
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
H A DNativeNfcManager.java125 public native boolean routeAid(byte[] aid, int route); argument
128 public native boolean unrouteAid(byte[] aid); argument
363 private void notifyTransactionListeners(byte[] aid) { argument
364 mListener.onCardEmulationAidSelected(aid);
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
H A DNativeNfcManager.java177 public boolean routeAid(byte[] aid, int route) argument
183 public boolean unrouteAid(byte[] aid) argument
423 private void notifyTransactionListeners(byte[] aid) { argument
424 mListener.onCardEmulationAidSelected(aid);
/packages/apps/Nfc/nxp/jni/
H A Dcom_android_nfc_NativeNfcManager.cpp1142 phNfc_sData_t *aid; local
1160 if(evt_info->UiccEvtInfo.aid.length <= AID_MAXLEN)
1162 aid = &(evt_info->UiccEvtInfo.aid);
1166 if(aid != NULL)
1171 for (i = 0; i < (int) (aid->length) && i < AID_MAXLEN; i++) {
1172 snprintf(&aid_str[i*2], 3, "%02x", aid->buffer[i]);
1176 tmp_array = e->NewByteArray(aid->length);
1182 e->SetByteArrayRegion((jbyteArray)tmp_array, 0, aid->length, (jbyte *)aid
[all...]
/packages/apps/Music/src/com/android/music/
H A DAlbumBrowserActivity.java613 long aid = cursor.getLong(0);
617 Drawable d = MusicUtils.getCachedArtwork(context, aid, mDefaultAlbumIcon);
623 if (currentalbumid == aid) {
H A DArtistAlbumBrowserActivity.java750 long aid = cursor.getLong(0);
752 if (currentalbumid == aid) {
H A DMediaPlaybackActivity.java1263 AlbumSongIdWrapper(long aid, long sid) { argument
1264 albumid = aid;
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java2536 String aid = uri.getPathSegments().get(3);
2541 prependArgs.add(aid);
2551 "count(CASE WHEN artist_id==" + aid + " THEN 'foo' ELSE NULL END) AS " +

Completed in 228 milliseconds