Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_frameworks_base-old
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Farzin Kazemzadeh
platform_frameworks_base-old
Commits
32e8ebda
Commit
32e8ebda
authored
13 years ago
by
mike wakerly
Committed by
The Android Automerger
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add intent actions for new firmware events.
Change-Id: I8129b7812c0d551111f0c85eacc9535a441e5453
parent
7336486c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nfc-extras/java/com/android/nfc_extras/NfcExecutionEnvironment.java
+58
-0
58 additions, 0 deletions
.../java/com/android/nfc_extras/NfcExecutionEnvironment.java
with
58 additions
and
0 deletions
nfc-extras/java/com/android/nfc_extras/NfcExecutionEnvironment.java
+
58
−
0
View file @
32e8ebda
...
...
@@ -55,6 +55,64 @@ public class NfcExecutionEnvironment {
*/
public
static
final
String
EXTRA_AID
=
"com.android.nfc_extras.extra.AID"
;
/**
* Broadcast action: A filtered APDU was received.
*
* <p>This happens when an APDU of interest was matched by the Nfc adapter,
* for instance as the result of matching an externally-configured filter.
*
* <p>The filter configuration mechanism is not currently defined.
*
* <p>Always contains the extra field {@link EXTRA_APDU_BYTES}.
*
* @hide
*/
public
static
final
String
ACTION_APDU_RECEIVED
=
"com.android.nfc_extras.action.APDU_RECEIVED"
;
/**
* Mandatory byte array extra field in {@link #ACTION_APDU_RECEIVED}.
*
* <p>Contains the bytes of the received APDU.
*
* @hide
*/
public
static
final
String
EXTRA_APDU_BYTES
=
"com.android.nfc_extras.extra.APDU_BYTES"
;
/**
* Broadcast action: An EMV card removal event was detected.
*
* @hide
*/
public
static
final
String
ACTION_EMV_CARD_REMOVAL
=
"com.android.nfc_extras.action.EMV_CARD_REMOVAL"
;
/**
* Broadcast action: An adapter implementing MIFARE Classic via card
* emulation detected that a block has been accessed.
*
* <p>This may only be issued for the first block that the reader
* authenticates to.
*
* <p>May contain the extra field {@link #EXTRA_MIFARE_BLOCK}.
*
* @hide
*/
public
static
final
String
ACTION_MIFARE_ACCESS_DETECTED
=
"com.android.nfc_extras.action.MIFARE_ACCESS_DETECTED"
;
/**
* Optional integer extra field in {@link #ACTION_MIFARE_ACCESS_DETECTED}.
*
* <p>Provides the block number being accessed. If not set, the block
* number being accessed is unknown.
*
* @hide
*/
public
static
final
String
EXTRA_MIFARE_BLOCK
=
"com.android.nfc_extras.extra.MIFARE_BLOCK"
;
NfcExecutionEnvironment
(
NfcAdapterExtras
extras
)
{
mExtras
=
extras
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment