HomeSort by relevance Sort by last modified time
    Searched defs:record (Results 1 - 25 of 83) sorted by null

1 2 3 4

  /development/samples/NFCDemo/src/com/example/android/nfc/record/
ParsedNdefRecord.java 17 package com.example.android.nfc.record;
28 * Returns a view to display this record.
TextRecord.java 16 package com.example.android.nfc.record;
33 * An NFC Text Record
65 public static TextRecord parse(NdefRecord record) {
66 Preconditions.checkArgument(record.getTnf() == NdefRecord.TNF_WELL_KNOWN);
67 Preconditions.checkArgument(Arrays.equals(record.getType(), NdefRecord.RTD_TEXT));
69 byte[] payload = record.getPayload();
72 * NFC Forum "Text Record Type Definition" section 3.2.1.
96 public static boolean isText(NdefRecord record) {
98 parse(record);
UriRecord.java 16 package com.example.android.nfc.record;
37 * A parsed record containing a Uri.
46 * NFC Forum "URI Record Type Definition"
49 * per section 3.2.2 of the NFC Forum URI Record Type Definition document.
110 * @throws IllegalArgumentException if the NdefRecord is not a record
113 public static UriRecord parse(NdefRecord record) {
114 short tnf = record.getTnf();
116 return parseWellKnown(record);
118 return parseAbsolute(record);
123 /** Parse and absolute URI record */
    [all...]
SmartPoster.java 16 package com.example.android.nfc.record;
45 * NFC Forum Smart Poster Record Type Definition section 3.2.1.
47 * "The Title record for the service (there can be many of these in
48 * different languages, but a language MUST NOT be repeated). This record is
54 * NFC Forum Smart Poster Record Type Definition section 3.2.1.
56 * "The URI record. This is the core of the Smart Poster, and all other
57 * records are just metadata about this record. There MUST be one URI record
63 * NFC Forum Smart Poster Record Type Definition section 3.2.1.
65 * "The Action record. This record describes how the service should b
202 NdefRecord record = getByType(ACTION_RECORD_TYPE, records); local
    [all...]
  /packages/apps/Tag/tests/src/com/android/apps/tag/record/
MimeRecordTest.java 17 package com.android.apps.tag.record;
31 MimeRecord record = MimeRecord.parse(msg.getRecords()[0]); local
32 assertEquals("text/x-vCard", record.getMimeType());
43 assertEquals(expectedRecord, new String(record.getContent(), "UTF-8"));
TextRecordTest.java 17 package com.android.apps.tag.record;
39 TextRecord record = TextRecord.parse(msg.getRecords()[0]); local
40 assertEquals("Some random english text.", record.getText());
41 assertEquals("en", record.getLanguageCode());
45 NdefRecord record = TextRecord.newTextRecord("hello", Locale.US); local
46 TextRecord textRecord = TextRecord.parse(record);
52 NdefRecord record = TextRecord.newTextRecord("Hello", Locale.US, false); local
53 TextRecord textRecord = TextRecord.parse(record);
59 NdefRecord record = TextRecord.newTextRecord(I18N, Locale.CHINA, true); local
60 TextRecord textRecord = TextRecord.parse(record);
66 NdefRecord record = TextRecord.newTextRecord(I18N, Locale.CHINA, false); local
    [all...]
  /packages/apps/Tag/src/com/android/apps/tag/record/
ParsedNdefRecord.java 17 package com.android.apps.tag.record;
35 * Returns a view to display this record.
42 * Returns a {@link RecordEditInfo} for editing this record.
UnknownRecord.java 17 package com.android.apps.tag.record;
MimeRecord.java 17 package com.android.apps.tag.record;
70 public static MimeRecord parse(NdefRecord record) {
71 Preconditions.checkArgument(record.getTnf() == NdefRecord.TNF_MIME_MEDIA);
72 String type = new String(record.getType(), Charset.forName("US-ASCII"));
73 byte[] payload = record.getPayload();
77 public static boolean isMime(NdefRecord record) {
79 parse(record);
RecordEditInfo.java 17 package com.android.apps.tag.record;
42 * The record type being edited.
61 * Returns the current value of the record in edit. Can be {@code null} if not fully inputted
79 * Builds a {@link View} that can edit an underlying record, or launch a picker to change
80 * the value of the record.
97 throw new IllegalArgumentException("All record edit layouts must have a delete button");
TextRecord.java 17 package com.android.apps.tag.record;
38 * An NFC Text Record
78 public static TextRecord parse(NdefRecord record) {
79 Preconditions.checkArgument(record.getTnf() == NdefRecord.TNF_WELL_KNOWN);
80 Preconditions.checkArgument(Arrays.equals(record.getType(), NdefRecord.RTD_TEXT));
83 byte[] payload = record.getPayload();
87 * the NFC Forum "Text Record Type Definition" section 3.2.1.
115 public static boolean isText(NdefRecord record) {
117 parse(record);
  /external/bluetooth/bluez/test/
test-service 39 record = f.read() variable
41 handle = adapter.AddRecord(record)
  /external/icu4c/layout/
LEInsertionList.cpp 39 InsertionRecord *record = head; local
42 LE_DELETE_ARRAY(record);
PairPositioningSubtables.cpp 133 const PairValueRecord *record = records; local
136 if (SWAPW(record->secondGlyph) == glyphID) {
137 return record;
140 record = (const PairValueRecord *) ((char *) record + recordSize);
147 const PairValueRecord *record = records;
148 const PairValueRecord *trial = (const PairValueRecord *) ((char *) record + extra);
151 record = trial;
156 trial = (const PairValueRecord *) ((char *) record + probe);
159 record = trial
    [all...]
  /external/webkit/WebCore/inspector/
TimelineRecordFactory.cpp 48 ScriptObject record = frontend->newScriptObject(); local
49 record.set("startTime", startTime);
50 return record;
InspectorTimelineAgent.h 114 TimelineRecordEntry(ScriptObject record, ScriptObject data, ScriptArray children, TimelineRecordType type) : record(record), data(data), children(children), type(type) { }
115 ScriptObject record; member in struct:WebCore::InspectorTimelineAgent::TimelineRecordEntry
  /packages/apps/Tag/src/com/android/apps/tag/message/
ParsedNdefMessage.java 20 import com.android.apps.tag.record.ParsedNdefRecord;
21 import com.android.apps.tag.record.SmartPoster;
22 import com.android.apps.tag.record.UriRecord;
57 ParsedNdefRecord record = mRecords.get(0); local
59 if (record instanceof UriRecord) {
76 record = mRecords.get(smartPosterRecord);
80 return record.getSnippet(context, locale);
  /development/samples/NFCDemo/src/com/example/android/nfc/
TagViewer.java 31 import com.example.android.nfc.record.ParsedNdefRecord;
80 NdefRecord record = new NdefRecord(NdefRecord.TNF_UNKNOWN, empty, empty, empty); local
81 NdefMessage msg = new NdefMessage(new NdefRecord[] {record});
108 ParsedNdefRecord record = records.get(i); local
109 content.addView(record.getView(this, inflater, content, i));
  /external/qemu/distrib/sdl-1.2.12/src/audio/mint/
SDL_mintaudio_mcsn.h 38 unsigned short record; /* Record capability */ member in struct:__anon6013
41 unsigned short rint; /* Interrupt at end of record */
  /external/bluetooth/bluez/input/
manager.c 87 const sdp_record_t *record; local
98 record = btd_device_get_record(device, uuids->data);
100 if (!record || sdp_get_access_protos(record, &protos) < 0) {
101 error("Invalid record");
  /external/freetype/src/truetype/
ttpload.c 483 /* The maximum number of bytes in an hdmx device record is the */
556 FT_Byte* record = face->hdmx_table + 8; local
564 result = record + nn * record_size + gindex;
  /external/srec/audio/AudioIn/UNIX/src/
audioinwrapper.cpp 58 static AudioRecord* record; variable
96 // TODO: get record buffer size from hardware.
97 record = new android::AudioRecord(
105 if (!record) return -1;
107 return record->start() == NO_ERROR ? 0 : -1;
116 record->stop();
117 delete record;
134 n = record->read(buffer, nreq);
  /frameworks/base/core/jni/
android_nfc_NdefMessage.cpp 37 phFriNfc_NdefRecord_t record; local
97 status = phFriNfc_NdefRecord_Parse(&record, records[i]);
105 type = e->NewByteArray(record.TypeLength);
107 LOGD("NFC_Set Record Type Error\n");
111 id = e->NewByteArray(record.IdLength);
113 LOGD("NFC_Set Record ID Error\n");
117 payload = e->NewByteArray(record.PayloadLength);
119 LOGD("NFC_Set Record Payload Error\n");
123 e->SetByteArrayRegion(type, 0, record.TypeLength,
124 (jbyte *)record.Type)
    [all...]
android_nfc_NdefRecord.cpp 35 phFriNfc_NdefRecord_t record; local
41 /* Prepare NDEF record structure */
42 record.Flags = (uint8_t)flags;
43 record.Tnf = (uint8_t)tnf;
44 record.TypeLength = (uint32_t)e->GetArrayLength(type);
45 record.Type = (uint8_t *)e->GetByteArrayElements(type, NULL);
46 record.IdLength = (uint32_t)e->GetArrayLength(id);
47 record.Id = (uint8_t *)e->GetByteArrayElements(id, NULL);
48 record.PayloadLength = (uint32_t)e->GetArrayLength(payload);
49 record.PayloadData = (uint8_t *)e->GetByteArrayElements(payload, NULL)
92 phFriNfc_NdefRecord_t record; local
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/gsm/
SimTlv.java 20 * SIM Tag-Length-Value record
30 byte record[]; field in class:SimTlv
38 public SimTlv(byte[] record, int offset, int length) {
39 this.record = record;
67 return record[curOffset] & 0xff;
79 System.arraycopy(record, curDataOffset, ret, 0, curDataLength);
85 * @return false on invalid record, true on valid record
92 if (record[curOffset] == 0 || (record[curOffset] & 0xff) == 0xff)
    [all...]

Completed in 679 milliseconds

1 2 3 4