/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/ |
TagVerifier.java | 17 package com.android.cts.verifier.nfc.tech; 19 import android.nfc.FormatException; 20 import android.nfc.Tag;
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/ |
RobolectricShadowOfLevel9.java | 3 import android.nfc.NdefMessage; 4 import android.nfc.NdefRecord; 5 import android.nfc.NfcAdapter;
|
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
NativeLlcpServiceSocket.java | 17 package com.android.nfc.dhimpl; 19 import com.android.nfc.DeviceHost; 20 import com.android.nfc.DeviceHost.LlcpSocket;
|
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/ |
Nfc.vts.h | 18 #include <android/hardware/nfc/1.0/INfc.h> 20 #include <android/hardware/nfc/1.0/INfcClientCallback.h> 21 #include <android/hardware/nfc/1.0/NfcClientCallback.vts.h> 22 #include <android/hardware/nfc/1.0/types.h> 23 #include <android/hardware/nfc/1.0/types.vts.h> 27 using namespace android::hardware::nfc::V1_0; 31 class Vts_android_hardware_nfc_V1_0_INfc : public ::android::hardware::nfc::V1_0::INfc, public DriverCallbackBase { 38 ::android::hardware::Return<::android::hardware::nfc::V1_0::NfcStatus> open( 39 const sp<::android::hardware::nfc::V1_0::INfcClientCallback>& arg0) override; 44 ::android::hardware::Return<::android::hardware::nfc::V1_0::NfcStatus> coreInitialized [all...] |
types.vts.h | 18 #include <android/hardware/nfc/1.0/types.h> 22 using namespace android::hardware::nfc::V1_0; 25 ::android::hardware::nfc::V1_0::NfcEvent EnumValue__android__hardware__nfc__V1_0__NfcEvent(const ScalarDataValueMessage& arg); 28 void SetResult__android__hardware__nfc__V1_0__NfcEvent(VariableSpecificationMessage* result_msg, ::android::hardware::nfc::V1_0::NfcEvent result_value); 29 ::android::hardware::nfc::V1_0::NfcStatus EnumValue__android__hardware__nfc__V1_0__NfcStatus(const ScalarDataValueMessage& arg); 32 void SetResult__android__hardware__nfc__V1_0__NfcStatus(VariableSpecificationMessage* result_msg, ::android::hardware::nfc::V1_0::NfcStatus result_value);
|
NfcClientCallback.vts.h | 18 #include <android/hardware/nfc/1.0/INfcClientCallback.h> 20 #include <android/hardware/nfc/1.0/types.h> 21 #include <android/hardware/nfc/1.0/types.vts.h> 25 using namespace android::hardware::nfc::V1_0; 29 class Vts_android_hardware_nfc_V1_0_INfcClientCallback : public ::android::hardware::nfc::V1_0::INfcClientCallback, public DriverCallbackBase { 37 ::android::hardware::nfc::V1_0::NfcEvent arg0, 38 ::android::hardware::nfc::V1_0::NfcStatus arg1) override; 48 sp<::android::hardware::nfc::V1_0::INfcClientCallback> VtsFuzzerCreateVts_android_hardware_nfc_V1_0_INfcClientCallback(const string& callback_socket_name); 54 explicit FuzzerExtended_android_hardware_nfc_V1_0_INfcClientCallback(::android::hardware::nfc::V1_0::INfcClientCallback* hw_binder_proxy) : DriverBase(HAL_HIDL), hw_binder_proxy_(hw_binder_proxy) {} 66 sp<::android::hardware::nfc::V1_0::INfcClientCallback> hw_binder_proxy_ [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/nfc/ |
ForegroundNdefPush.java | 17 package com.example.android.apis.nfc; 22 import android.nfc.NdefMessage; 23 import android.nfc.NdefRecord; 24 import android.nfc.NfcAdapter; 29 * An example of how to use the NFC foreground NDEF push APIs. 50 mText.setText("Tap another Android phone with NFC to push a URL"); 52 mText.setText("This phone is not NFC enabled.");
|
/frameworks/base/core/java/android/nfc/ |
FormatException.java | 17 package android.nfc;
|
NfcEvent.java | 17 package android.nfc; 20 * Wraps information associated with any NFC event. 37 * The {@link NfcAdapter} associated with the NFC event. 42 * The major LLCP version number of the peer associated with the NFC event. 47 * The minor LLCP version number of the peer associated with the NFC event.
|
/test/vts/compilation_tools/vtsc/test/golden/PROFILER/ |
NfcClientCallback.vts.h | 11 #include <android/hardware/nfc/1.0/INfcClientCallback.h> 12 #include <android/hardware/nfc/1.0/types.h> 13 #include <android/hardware/nfc/1.0/types.vts.h> 17 using namespace android::hardware::nfc::V1_0;
|
/test/vts-testcase/hal/nfc/V1_0/host_profiling/ |
Android.mk | 22 VTS_CONFIG_SRC_DIR := testcases/hal/nfc/V1_0/host_profiling
|
/test/vts-testcase/hal/nfc/V1_0/target/ |
Android.mk | 22 VTS_CONFIG_SRC_DIR := testcases/hal/nfc/V1_0/target
|
/test/vts-testcase/hal/nfc/V1_0/target_profiling/ |
Android.mk | 22 VTS_CONFIG_SRC_DIR := testcases/hal/nfc/V1_0/target_profiling
|
/test/vts-testcase/hal/nfc/V1_0/target_replay/ |
Android.mk | 22 VTS_CONFIG_SRC_DIR := testcases/hal/nfc/V1_0/target_replay
|
/test/vts-testcase/hal/nfc/V1_1/adapter/ |
Android.mk | 22 VTS_CONFIG_SRC_DIR := testcases/hal/nfc/V1_1/adapter
|
/test/vts-testcase/hal/nfc/V1_1/target/ |
Android.mk | 22 VTS_CONFIG_SRC_DIR := testcases/hal/nfc/V1_1/target
|
/test/vts-testcase/hal/nfc/V1_1/target_profiling/ |
Android.mk | 22 VTS_CONFIG_SRC_DIR := testcases/hal/nfc/V1_1/target_profiling
|
/frameworks/base/core/java/android/nfc/tech/ |
TagTechnology.java | 17 package android.nfc.tech; 19 import android.nfc.Tag; 30 * NFC tags are based on a number of independently developed technologies and offer a 37 * It is mandatory for all Android NFC devices to provide the following 45 * <li>{@link Ndef} on NFC Forum Type 1, Type 2, Type 3 or Type 4 compliant tags 47 * It is optional for Android NFC devices to provide the following 81 * require the {@link android.Manifest.permission#NFC} permission. 174 * <p class="note">Requires the {@link android.Manifest.permission#NFC} permission. 190 * <p class="note">Requires the {@link android.Manifest.permission#NFC} permission. 205 * <p class="note">Requires the {@link android.Manifest.permission#NFC} permission [all...] |
NdefFormatable.java | 17 package android.nfc.tech; 19 import android.nfc.ErrorCodes; 20 import android.nfc.FormatException; 21 import android.nfc.INfcTag; 22 import android.nfc.NdefMessage; 23 import android.nfc.Tag; 24 import android.nfc.TagLostException; 35 * <p>Android devices with NFC must only enumerate and implement this 39 * tags are not specified by NFC Forum, and are not generally well-known. So 40 * there is no mandatory set of tags for which all Android devices with NFC [all...] |
/developers/build/prebuilts/gradle/CardReader/Application/src/main/java/com/example/android/cardreader/ |
CardReaderFragment.java | 20 import android.nfc.NfcAdapter; 37 // activity is interested in NFC-A devices (including other Android devices), and that the 83 NfcAdapter nfc = NfcAdapter.getDefaultAdapter(activity); local 84 if (nfc != null) { 85 nfc.enableReaderMode(activity, mLoyaltyCardReader, READER_FLAGS, null); 92 NfcAdapter nfc = NfcAdapter.getDefaultAdapter(activity); local 93 if (nfc != null) { 94 nfc.disableReaderMode(activity);
|
/developers/samples/android/connectivity/nfc/CardReader/Application/src/main/java/com/example/android/cardreader/ |
CardReaderFragment.java | 20 import android.nfc.NfcAdapter; 37 // activity is interested in NFC-A devices (including other Android devices), and that the 83 NfcAdapter nfc = NfcAdapter.getDefaultAdapter(activity); local 84 if (nfc != null) { 85 nfc.enableReaderMode(activity, mLoyaltyCardReader, READER_FLAGS, null); 92 NfcAdapter nfc = NfcAdapter.getDefaultAdapter(activity); local 93 if (nfc != null) { 94 nfc.disableReaderMode(activity);
|
/development/samples/browseable/CardReader/src/com.example.android.cardreader/ |
CardReaderFragment.java | 20 import android.nfc.NfcAdapter; 37 // activity is interested in NFC-A devices (including other Android devices), and that the 83 NfcAdapter nfc = NfcAdapter.getDefaultAdapter(activity); local 84 if (nfc != null) { 85 nfc.enableReaderMode(activity, mLoyaltyCardReader, READER_FLAGS, null); 92 NfcAdapter nfc = NfcAdapter.getDefaultAdapter(activity); local 93 if (nfc != null) { 94 nfc.disableReaderMode(activity);
|
/hardware/interfaces/nfc/1.0/default/ |
Nfc.h | 4 #include <android/hardware/nfc/1.0/INfc.h> 7 #include <hardware/nfc.h> 10 namespace nfc { namespace in namespace:android::hardware 14 using ::android::hardware::nfc::V1_0::INfc; 15 using ::android::hardware::nfc::V1_0::INfcClientCallback; 22 struct Nfc : public INfc, public hidl_death_recipient { 23 Nfc(nfc_nci_device_t* device); 35 auto ret = mCallback->sendEvent((::android::hardware::nfc::V1_0::NfcEvent)event, 36 (::android::hardware::nfc::V1_0::NfcStatus)status); 38 ALOGW("Failed to call back into NFC process.") [all...] |
/developers/build/prebuilts/gradle/BeamLargeFiles/Application/src/main/java/com/example/android/beamlargefiles/ |
BeamLargeFilesFragment.java | 21 import android.nfc.NfcAdapter; 22 import android.nfc.NfcEvent; 28 * This class demonstrates how to use Beam to send files too large to transfer reliably via NFC. 30 * <p>While any type of data can be placed into a normal NDEF messages, NFC is not considered 32 * Because NFC requires devices to be in extremely close proximity, this is not ideal. 34 * <p>Instead, Android 4.2+ devices can use NFC to perform an initial handshake, before handing 69 NfcAdapter nfc = NfcAdapter.getDefaultAdapter(a); local 70 if (nfc != null) { 71 Log.w(TAG, "NFC available. Setting Beam Push URI callback"); 72 nfc.setBeamPushUrisCallback(this, a) [all...] |
/developers/samples/android/connectivity/nfc/BeamLargeFiles/Application/src/main/java/com/example/android/beamlargefiles/ |
BeamLargeFilesFragment.java | 21 import android.nfc.NfcAdapter; 22 import android.nfc.NfcEvent; 28 * This class demonstrates how to use Beam to send files too large to transfer reliably via NFC. 30 * <p>While any type of data can be placed into a normal NDEF messages, NFC is not considered 32 * Because NFC requires devices to be in extremely close proximity, this is not ideal. 34 * <p>Instead, Android 4.2+ devices can use NFC to perform an initial handshake, before handing 69 NfcAdapter nfc = NfcAdapter.getDefaultAdapter(a); local 70 if (nfc != null) { 71 Log.w(TAG, "NFC available. Setting Beam Push URI callback"); 72 nfc.setBeamPushUrisCallback(this, a) [all...] |