Home
last modified time | relevance | path

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

/packages/apps/SecureElement/src/com/android/se/
DCommandApduValidator.java53 public static void execute(byte[] apdu) throws IllegalArgumentException { in execute() argument
54 if (apdu.length < CMD_APDU_LENGTH_CASE1) { in execute()
55 throw new IllegalArgumentException("Invalid length for command (" + apdu.length + ")."); in execute()
57 checkCla(apdu[OFFSET_CLA]); in execute()
58 checkIns(apdu[OFFSET_INS]); in execute()
60 if (apdu.length == CMD_APDU_LENGTH_CASE1) { in execute()
64 if (apdu.length == CMD_APDU_LENGTH_CASE2) { in execute()
65 checkLe((int) 0x0FF & apdu[OFFSET_P3]); in execute()
69 if (apdu[OFFSET_P3] != (byte) 0x00) { in execute()
70 int lc = ((int) 0x0FF & apdu[OFFSET_P3]); in execute()
[all …]
/packages/apps/SecureElement/src/com/android/se/security/
DCommandApdu.java159 byte[] apdu = new byte[length]; in toBytes()
162 apdu[index] = (byte) mCla; in toBytes()
164 apdu[index] = (byte) mIns; in toBytes()
166 apdu[index] = (byte) mP1; in toBytes()
168 apdu[index] = (byte) mP2; in toBytes()
171 apdu[index] = (byte) mLc; in toBytes()
173 System.arraycopy(mData, 0, apdu, index, mData.length); in toBytes()
177 apdu[index] += (byte) mLe; // LE in toBytes()
180 return apdu; in toBytes()
185 CommandApdu apdu = new CommandApdu(); in clone() local
[all …]
DApduFilter.java50 public ApduFilter(byte[] apdu, byte[] mask) { in ApduFilter() argument
51 if (apdu.length != 4) { in ApduFilter()
57 mApdu = apdu; in ApduFilter()
82 public void setApdu(byte[] apdu) { in setApdu() argument
83 if (apdu.length != 4) { in setApdu()
86 mApdu = apdu; in setApdu()
/packages/apps/SecureElement/src/com/android/se/security/ara/
DAccessRuleApplet.java73 CommandApdu apdu = (CommandApdu) GET_ALL_CMD.clone(); in readAllAccessRules() local
74 ResponseApdu response = send(apdu); in readAllAccessRules()
105 apdu = (CommandApdu) GET_NEXT_CMD.clone(); in readAllAccessRules()
106 apdu.setLe(le); in readAllAccessRules()
108 response = send(apdu); in readAllAccessRules()
134 CommandApdu apdu = (CommandApdu) GET_REFRESH_TAG.clone(); in readRefreshTag() local
135 ResponseApdu response = send(apdu); in readRefreshTag()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapMessage.java281 public void setApdu(byte[] apdu) { in setApdu() argument
282 this.mApdu = apdu; in setApdu()
289 public void setApdu7816(byte[] apdu) { in setApdu7816() argument
290 this.mApdu7816 = apdu; in setApdu7816()
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...