HomeSort by relevance Sort by last modified time
    Searched refs:NdefMessage (Results 26 - 50 of 71) sorted by null

12 3

  /packages/apps/Tag/src/com/android/apps/tag/message/
NdefMessageParser.java 28 import android.nfc.NdefMessage;
42 /** Parse an NdefMessage */
43 public static ParsedNdefMessage parse(NdefMessage message) {
47 public static List<ParsedNdefRecord> getRecords(NdefMessage message) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
LlcpVersionActivity.java 24 import android.nfc.NdefMessage;
62 private static NdefMessage getTestMessage() {
67 return new NdefMessage(new NdefRecord[] {
104 public NdefMessage createNdefMessage(NfcEvent event) {
  /packages/apps/Tag/canon/src/com/android/apps/tagcanon/
TagCanon.java 29 import android.nfc.NdefMessage;
82 final NdefMessage[] buildImageMessages() {
97 NdefMessage[] msgs = new NdefMessage[] {
98 new NdefMessage(new NdefRecord[] { text, image }) };
108 NdefMessage[] msgs;
113 msgs = new NdefMessage[] { new NdefMessage(bytes) };
119 public TagDescription(String title, NdefMessage[] msgs) {
  /packages/apps/Tag/src/com/android/apps/tag/
TagViewer.java 25 import android.nfc.NdefMessage;
63 NdefMessage msg = null;
65 msg = (NdefMessage) rawMsgs[0];
76 void buildTagViews(NdefMessage msg) {
  /packages/apps/Nfc/tests/src/com/android/nfc/snep/
SnepBasicTests.java 21 import android.nfc.NdefMessage;
212 NdefMessage ndef = getSmallNdef();
248 NdefMessage ndef = getSmallNdef();
261 NdefMessage getSmallNdef() {
264 return new NdefMessage(new NdefRecord[] { rec });
267 NdefMessage getNdef(int size) {
274 return new NdefMessage(new NdefRecord[] { rec });
286 public SnepMessage doPut(NdefMessage msg) {
291 public SnepMessage doGet(int acceptableLength, NdefMessage msg) {
  /packages/apps/Nfc/src/com/android/nfc/
NfcWifiProtectedSetup.java 23 import android.nfc.NdefMessage;
68 NdefMessage cachedNdefMessage = ndef.getCachedNdefMessage();
97 private static WifiConfiguration parse(NdefMessage message) {
DeviceHost.java 20 import android.nfc.NdefMessage;
73 NdefMessage findAndReadNdef();
NfcDispatcher.java 43 import android.nfc.NdefMessage;
141 public DispatchInfo(Context context, Tag tag, NdefMessage message) {
146 intent.putExtra(NfcAdapter.EXTRA_NDEF_MESSAGES, new NdefMessage[] {message});
253 NdefMessage message = null;
329 * If found, decodes URL and returns NdefMessage message containing an
356 * URL decoding stops and the NdefMessage is created and returned. Any payload data after
359 private NdefMessage decodeNfcBarcodeUri(NfcBarcode nfcBarcode) {
365 NdefMessage message = null;
385 message = new NdefMessage(uriRecord);
390 boolean tryOverrides(DispatchInfo dispatch, Tag tag, NdefMessage message, PendingIntent overrideIntent
    [all...]
BeamShareActivity.java 31 import android.nfc.NdefMessage;
56 NdefMessage mNdefMessage;
131 mNdefMessage = new NdefMessage(NdefRecord.createUri(uri));
140 mNdefMessage = new NdefMessage(NdefRecord.createTextRecord(null, text));
P2pLinkManager.java 45 import android.nfc.NdefMessage;
229 NdefMessage mMessageToSend; // not valid in SEND_STATE_NOTHING_TO_SEND
342 } else if (shareData.ndefMessage != null) {
343 mMessageToSend = shareData.ndefMessage;
458 mMessageToSend = shareData.ndefMessage;
514 NdefMessage createDefaultNdef(String pkgName) {
518 return new NdefMessage(new NdefRecord[] { appUri, appRecord });
599 void onSendComplete(NdefMessage msg, long elapsedRealtime) {
746 NdefMessage response = null;
753 NdefMessage request = mHandoverDataParser.createHandoverRequestMessage()
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/snep/
SnepClient.java 23 import android.nfc.NdefMessage;
94 public void put(NdefMessage msg) throws IOException {
113 public SnepMessage get(NdefMessage msg) throws IOException {
SnepServer.java 24 import android.nfc.NdefMessage;
56 public SnepMessage doPut(NdefMessage msg);
57 public SnepMessage doGet(int acceptableLength, NdefMessage msg);
  /packages/apps/Nfc/src/com/android/nfc/ndefpush/
NdefPushClient.java 23 import android.nfc.NdefMessage;
88 public boolean push(NdefMessage msg) {
NdefPushServer.java 25 import android.nfc.NdefMessage;
54 void onMessageReceived(NdefMessage msg);
  /packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/parser/
MessageParserTest.java 51 import android.nfc.NdefMessage;
153 NdefMessage ndfMsg = new NdefMessage(new NdefRecord[]{record});
157 .putExtra(NfcAdapter.EXTRA_NDEF_MESSAGES, new NdefMessage[]{ndfMsg});
PropertiesProvisioningDataParserTest.java 52 import android.nfc.NdefMessage;
170 NdefMessage ndfMsg = new NdefMessage(new NdefRecord[]{record});
174 .putExtra(NfcAdapter.EXTRA_NDEF_MESSAGES, new NdefMessage[]{ndfMsg});
  /frameworks/base/core/java/android/nfc/
INfcAdapter.aidl 22 import android.nfc.NdefMessage;
  /developers/build/prebuilts/gradle/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/
NfcProvisioningFragment.java 21 import android.nfc.NdefMessage;
104 public NdefMessage createNdefMessage(NfcEvent event) {
136 return new NdefMessage(new NdefRecord[]{record});
  /developers/samples/android/admin/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/
NfcProvisioningFragment.java 21 import android.nfc.NdefMessage;
104 public NdefMessage createNdefMessage(NfcEvent event) {
136 return new NdefMessage(new NdefRecord[]{record});
  /development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/
NfcProvisioningFragment.java 21 import android.nfc.NdefMessage;
104 public NdefMessage createNdefMessage(NfcEvent event) {
136 return new NdefMessage(new NdefRecord[]{record});
  /packages/apps/Nfc/src/com/android/nfc/handover/
HandoverServer.java 30 import android.nfc.NdefMessage;
189 NdefMessage handoverRequestMsg = null;
198 handoverRequestMsg = new NdefMessage(byteStream.toByteArray());
  /packages/apps/Tag/src/com/android/apps/tag/record/
SmartPoster.java 29 import android.nfc.NdefMessage;
128 NdefMessage subRecords = new NdefMessage(record.getPayload());
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
NfcImportVCardActivity.java 27 import android.nfc.NdefMessage;
191 NdefMessage msg = (NdefMessage) intent.getParcelableArrayExtra(
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
PropertiesProvisioningDataParser.java 48 import android.nfc.NdefMessage;
254 NdefMessage msg = (NdefMessage) rawMsg;
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
MailActivity.java 25 import android.nfc.NdefMessage;
100 public NdefMessage createNdefMessage(NfcEvent event) {
111 private static NdefMessage getMailtoNdef(String account) {
124 return new NdefMessage(new NdefRecord[] { mailto });

Completed in 589 milliseconds

12 3