OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:apdu
(Results
1 - 25
of
86
) sorted by null
1
2
3
4
/cts/apps/CtsVerifier/res/xml/
access_prefix_aid_list.xml
1
<host-
apdu
-service xmlns:android="http://schemas.android.com/apk/res/android"
3
</host-
apdu
-service>
empty_aid_list.xml
1
<host-
apdu
-service xmlns:android="http://schemas.android.com/apk/res/android"
3
</host-
apdu
-service>
transport_prefix_aid_list_1.xml
1
<host-
apdu
-service xmlns:android="http://schemas.android.com/apk/res/android"
3
</host-
apdu
-service>
transport_prefix_aid_list_2.xml
1
<host-
apdu
-service xmlns:android="http://schemas.android.com/apk/res/android"
3
</host-
apdu
-service>
access_aid_list.xml
1
<host-
apdu
-service xmlns:android="http://schemas.android.com/apk/res/android"
6
</host-
apdu
-service>
throughput_aid_list.xml
1
<host-
apdu
-service xmlns:android="http://schemas.android.com/apk/res/android"
6
</host-
apdu
-service>
transport_aid_list_1.xml
1
<host-
apdu
-service xmlns:android="http://schemas.android.com/apk/res/android"
6
</host-
apdu
-service>
transport_aid_list_2.xml
1
<host-
apdu
-service xmlns:android="http://schemas.android.com/apk/res/android"
6
</host-
apdu
-service>
offhost_aid_list.xml
1
<offhost-
apdu
-service xmlns:android="http://schemas.android.com/apk/res/android"
9
</offhost-
apdu
-service>
payment_aid_list_1.xml
1
<host-
apdu
-service xmlns:android="http://schemas.android.com/apk/res/android"
10
</host-
apdu
-service>
payment_aid_list_2.xml
1
<host-
apdu
-service xmlns:android="http://schemas.android.com/apk/res/android"
9
</host-
apdu
-service>
payment_empty_aid_list.xml
1
<host-
apdu
-service xmlns:android="http://schemas.android.com/apk/res/android"
9
</host-
apdu
-service>
payment_prefix_aid_list.xml
1
<host-
apdu
-service xmlns:android="http://schemas.android.com/apk/res/android"
11
</host-
apdu
-service>
payment_prefix_aid_list_2.xml
1
<host-
apdu
-service xmlns:android="http://schemas.android.com/apk/res/android"
19
</host-
apdu
-service>
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
CommandApdu.java
10
public CommandApdu(String
apdu
, boolean reachable) {
11
mApdu =
apdu
;
32
String
apdu
= source.readString();
34
return new CommandApdu(
apdu
, reachable);
SimpleReaderActivity.java
108
for (CommandApdu
apdu
: mApdus) {
109
sb.append("Request
APDU
:\n");
110
sb.append(
apdu
.getApdu() + "\n\n");
112
byte[] response = isoDep.transceive(HceUtils.hexStringToBytes(
apdu
.getApdu()));
114
sb.append("Response
APDU
(in " + Long.toString(apduEndTime - apduStartTime) +
121
Log.d(TAG, HceUtils.getHexBytes("
APDU
response: ", response));
123
Log.d(TAG, "Unexpected
APDU
response: " + HceUtils.getHexBytes("", response));
130
sb.insert(0, "Total
APDU
exchange time: " +
140
sb.insert(0, "FAIL. Total
APDU
exchange time: " +
148
builder.setMessage("An unexpected response
APDU
was received, or no APDUs were received at all.")
[
all
...]
ThroughputEmulatorActivity.java
55
"( " + Long.toString(timePerApdu) + " ms per
APDU
roundtrip).");
59
"(" + Long.toString(timePerApdu) + " ms per
APDU
roundtrip)." +
60
" Require <= 60ms per
APDU
roundtrip.");
HceService.java
80
Log.d(TAG, "Ignoring command
APDU
; protocol complete.");
86
Log.d(TAG, "Unexpected command
APDU
: " + HceUtils.getHexBytes("", arg0));
90
// Send corresponding response
APDU
/hardware/ril/librilutils/proto/
sap-api.options
22
#RIL_SIM_SAP_REQUEST.
apdu
type:FT_POINTER
23
#RIL_SIM_SAP_RESPONSE.
apdu
type:FT_POINTER
/developers/build/prebuilts/gradle/CardEmulation/Application/src/main/java/com/example/android/cardemulation/
CardService.java
26
* This is a sample
APDU
Service which demonstrates how to interface with the card emulation support
50
// "UNKNOWN" status word sent in response to invalid
APDU
command (0x0000)
65
* This method will be called when a command
APDU
has been received from a remote device. A
66
* response
APDU
can be provided directly by returning a byte-array in this method. In general
75
* cannot return a response
APDU
immediately, return null and use the {@link
78
* @param commandApdu The
APDU
that received from the remote device
80
* @return a byte-array containing the response
APDU
, or null if no response
APDU
can be sent
86
Log.i(TAG, "Received
APDU
: " + ByteArrayToHexString(commandApdu));
87
// If the
APDU
matches the SELECT AID command for this service
[
all
...]
/developers/samples/android/connectivity/nfc/CardEmulation/Application/src/main/java/com/example/android/cardemulation/
CardService.java
26
* This is a sample
APDU
Service which demonstrates how to interface with the card emulation support
50
// "UNKNOWN" status word sent in response to invalid
APDU
command (0x0000)
65
* This method will be called when a command
APDU
has been received from a remote device. A
66
* response
APDU
can be provided directly by returning a byte-array in this method. In general
75
* cannot return a response
APDU
immediately, return null and use the {@link
78
* @param commandApdu The
APDU
that received from the remote device
80
* @return a byte-array containing the response
APDU
, or null if no response
APDU
can be sent
86
Log.i(TAG, "Received
APDU
: " + ByteArrayToHexString(commandApdu));
87
// If the
APDU
matches the SELECT AID command for this service
[
all
...]
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
CardService.java
26
* This is a sample
APDU
Service which demonstrates how to interface with the card emulation support
50
// "UNKNOWN" status word sent in response to invalid
APDU
command (0x0000)
65
* This method will be called when a command
APDU
has been received from a remote device. A
66
* response
APDU
can be provided directly by returning a byte-array in this method. In general
75
* cannot return a response
APDU
immediately, return null and use the {@link
78
* @param commandApdu The
APDU
that received from the remote device
80
* @return a byte-array containing the response
APDU
, or null if no response
APDU
can be sent
86
Log.i(TAG, "Received
APDU
: " + ByteArrayToHexString(commandApdu));
87
// If the
APDU
matches the SELECT AID command for this service
[
all
...]
/frameworks/base/core/java/android/nfc/cardemulation/
HostApduService.java
53
* "SELECT AID"
APDU
as defined in the ISO/IEC 7816-4 specification.
109
* <host-
apdu
-service xmlns:android="http://schemas.android.com/apk/res/android"
115
* </host-
apdu
-service>
118
* <p>The {@link android.R.styleable#HostApduService <host-
apdu
-service>} is required
126
* <p>The {@link android.R.styleable#HostApduService <host-
apdu
-service>} must
145
* <p>Once the platform has resolved a "SELECT AID" command
APDU
to a specific
146
* service component, the "SELECT AID" command
APDU
and all subsequent
151
* <li>A "SELECT AID"
APDU
is received which resolves to another service</li>
199
* a 7816-4 command
APDU
has been received.
207
* a response
APDU
back to the remote device
[
all
...]
/frameworks/base/telephony/java/com/android/internal/telephony/
ITelephony.aidl
561
* Transmit an
APDU
to the ICC card over a logical channel.
568
* @param cla Class of the
APDU
command.
569
* @param instruction Instruction of the
APDU
command.
570
* @param p1 P1 value of the
APDU
command.
571
* @param p2 P2 value of the
APDU
command.
572
* @param p3 P3 value of the
APDU
command. If p3 is negative a 4 byte
APDU
574
* @param data Data to be sent with the
APDU
.
575
* @return The
APDU
response from the ICC card with the status appended at
582
* Transmit an
APDU
to the ICC card over the basic channel
[
all
...]
/frameworks/base/docs/html/guide/topics/connectivity/nfc/
hce.jd
200
public byte[] processCommandApdu(byte[]
apdu
, Bundle extras) {
215
Protocol Data Unit (
APDU
) to your service. APDUs are defined in the ISO/IEC
218
protocol is half-duplex: the NFC reader will send you a command
APDU
, and it
219
will wait for you to send a response
APDU
in return.</p>
223
where you can have multiple parallel
APDU
exchanges on separate logical channels. Android?s
229
reader wants to talk to. Typically, the first
APDU
an NFC reader sends to your
230
device is a "SELECT AID"
APDU
; this
APDU
contains the AID that the reader wants
231
to talk to. Android extracts that AID from the
APDU
, resolves it to an HCE service,
232
then forwards that
APDU
to the resolved service.</p
[
all
...]
Completed in 1430 milliseconds
1
2
3
4