HomeSort by relevance Sort by last modified time
    Searched refs:records (Results 1 - 25 of 80) sorted by null

1 2 3 4

  /frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
SimSmsTest.java 36 List<SmsRawData> records = sms.getAllMessagesFromIccEf(); local
37 assertNotNull(records);
38 assertTrue(records.size() >= 0);
43 for (int i = 0; i < records.size(); i++) {
44 SmsRawData data = records.get(i);
  /external/icu4c/test/intltest/
winutil.h 36 static void freeLocales(LCIDRecord *records);
winutil.cpp 81 void Win32Utilities::freeLocales(LCIDRecord *records)
86 delete[] records;
  /cts/tests/tests/ndef/src/android/ndef/cts/
BasicNdefTest.java 38 NdefRecord[] records = msg.getRecords(); local
40 assertEquals(1, records.length);
42 assertEquals(0, records[0].getId().length);
44 assertEquals(NdefRecord.TNF_WELL_KNOWN, records[0].getTnf());
46 assertByteArrayEquals(NdefRecord.RTD_SMART_POSTER, records[0].getType());
52 records[0].getPayload());
  /frameworks/base/core/java/android/nfc/
NdefMessage.java 25 * <p>An NDEF message includes "records" that can contain different sets of data, such as
27 * message always contains zero or more NDEF records.</p>
51 * Create an NDEF message from NDEF records.
53 public NdefMessage(NdefRecord[] records) {
54 mRecords = new NdefRecord[records.length];
55 System.arraycopy(records, 0, mRecords, 0, records.length);
59 * Get the NDEF records inside this NDEF message.
61 * @return array of zero or more NDEF records.
121 NdefRecord[] records = new NdefRecord[recordsLength]
    [all...]
  /external/icu4c/layout/
OpenTypeUtilities.h 23 static Offset getTagOffset(LETag tag, const TagAndOffsetRecord *records, le_int32 recordCount);
24 static le_int32 getGlyphRangeIndex(TTGlyphID glyphID, const GlyphRangeRecord *records, le_int32 recordCount);
OpenTypeUtilities.cpp 54 Offset OpenTypeUtilities::getTagOffset(LETag tag, const TagAndOffsetRecord *records, le_int32 recordCount)
62 if (SWAPT(records[extra].tag) <= tag) {
69 if (SWAPT(records[index + probe].tag) <= tag) {
74 if (SWAPT(records[index].tag) == tag) {
75 return SWAPW(records[index].offset);
81 le_int32 OpenTypeUtilities::getGlyphRangeIndex(TTGlyphID glyphID, const GlyphRangeRecord *records, le_int32 recordCount)
93 if (SWAPW(records[extra].firstGlyph) <= glyphID) {
100 if (SWAPW(records[range + probe].firstGlyph) <= glyphID) {
105 if (SWAPW(records[range].firstGlyph) <= glyphID && SWAPW(records[range].lastGlyph) >= glyphID)
    [all...]
PairPositioningSubtables.h 54 const PairValueRecord *findPairValueRecord(TTGlyphID glyphID, const PairValueRecord *records,
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/
NfcUtils.java 32 private static boolean areRecordArraysEqual(NdefRecord[] records, NdefRecord[] otherRecords) {
33 if (records.length == otherRecords.length) {
34 for (int i = 0; i < records.length; i++) {
35 if (!areRecordsEqual(records[i], otherRecords[i])) {
  /frameworks/base/tools/preload/
Compile.java 41 List<Record> records = new ArrayList<Record>(); local
53 records.add(new Record(clipped, lineNumber));
61 for (Record record : records) {
65 for (Record record : records) {
  /dalvik/tools/dmtracedump/
CreateTestTrace.c 74 dataRecord *records; variable
162 records = (dataRecord *) malloc(sizeof(dataRecord) * numRecords);
211 records[nextRecord].time = time;
212 records[nextRecord].threadId = threadId;
224 records[nextRecord].fullName = strndup(save_cp, len);
227 records[nextRecord].className = NULL;
228 records[nextRecord].methodName = NULL;
229 records[nextRecord].signature = NULL;
234 records[nextRecord].className = strndup(save_cp, len);
241 records[nextRecord].methodName = strndup(save_cp, len)
    [all...]
  /frameworks/base/core/jni/
android_nfc_NdefMessage.cpp 34 uint8_t **records = NULL; local
51 /* Get the number of records in the message so we can allocate buffers */
61 TRACE("phFriNfc_NdefRecord_GetRecords(NULL) returned 0x%04x, with %d records", status, num_of_records);
66 records = (uint8_t**)malloc(num_of_records * sizeof(uint8_t *));
67 if (records == NULL)
70 /* Now, actually retrieve records position in message */
74 (uint32_t)raw_msg_size, records, is_chunked, &num_of_records);
80 TRACE("phFriNfc_NdefRecord_GetRecords() returned 0x%04x, with %d records", status, num_of_records);
82 /* Build NDEF records array */
97 status = phFriNfc_NdefRecord_Parse(&record, records[i])
    [all...]
  /external/chromium/chrome/browser/sync/engine/
syncer_thread2_unittest.cc 97 void AnalyzePollRun(const SyncShareRecords& records, size_t min_num_samples,
99 const std::vector<TimeTicks>& data(records.times);
106 records.snapshots[i]->source.updates_source);
205 SyncShareRecords records; local
211 WithArg<0>(RecordSyncShare(&records, 1U, &done))))
217 EXPECT_EQ(1U, records.snapshots.size());
219 records.snapshots[0]->source.types));
221 records.snapshots[0]->source.updates_source);
245 SyncShareRecords records; local
251 WithArg<0>(RecordSyncShare(&records, 1U, &done))))
272 SyncShareRecords records; local
307 SyncShareRecords records; local
345 SyncShareRecords records; local
429 SyncShareRecords records; local
508 SyncShareRecords records; local
526 SyncShareRecords records; local
545 SyncShareRecords records; local
601 SyncShareRecords records; local
627 SyncShareRecords records; local
    [all...]
  /packages/apps/Tag/src/com/android/apps/tag/record/
SmartPoster.java 62 * records are just metadata about this record. There MUST be one URI
71 * or many MIME-typed image records within the Smart Poster. If the
137 Iterable<ParsedNdefRecord> records = NdefMessageParser.getRecords(recordsRaw); local
138 UriRecord uri = Iterables.getOnlyElement(Iterables.filter(records, UriRecord.class));
139 TextRecord title = getFirstIfExists(records, TextRecord.class);
140 ImageRecord image = getFirstIfExists(records, ImageRecord.class);
224 private static NdefRecord getByType(byte[] type, NdefRecord[] records) {
225 for (NdefRecord record : records) {
235 private static RecommendedAction parseRecommendedAction(NdefRecord[] records) {
236 NdefRecord record = getByType(ACTION_RECORD_TYPE, records);
    [all...]
  /external/chromium/chrome/browser/sync/util/
extensions_activity_monitor.cc 67 void ExtensionsActivityMonitor::GetAndClearRecords(Records* buffer) {
73 void ExtensionsActivityMonitor::PutRecords(const Records& records) {
75 for (Records::const_iterator i = records.begin(); i != records.end(); ++i) {
extensions_activity_monitor.h 44 typedef std::map<std::string, Record> Records;
51 // Fills |buffer| with snapshot of current records in constant time by
53 void GetAndClearRecords(Records* buffer);
55 // Add |records| piece-wise (by extension id) to the set of active records.
57 void PutRecords(const Records& records);
64 Records records_;
  /development/samples/NFCDemo/src/com/example/android/nfc/record/
SmartPoster.java 57 * records are just metadata about this record. There MUST be one URI record
116 Iterable<ParsedNdefRecord> records = NdefMessageParser.getRecords(recordsRaw); local
117 UriRecord uri = Iterables.getOnlyElement(Iterables.filter(records, UriRecord.class));
118 TextRecord title = getFirstIfExists(records, TextRecord.class);
190 private static NdefRecord getByType(byte[] type, NdefRecord[] records) {
191 for (NdefRecord record : records) {
201 private static RecommendedAction parseRecommendedAction(NdefRecord[] records) {
202 NdefRecord record = getByType(ACTION_RECORD_TYPE, records);
215 private static String parseType(NdefRecord[] records) {
216 NdefRecord type = getByType(TYPE_TYPE, records);
    [all...]
  /development/samples/NFCDemo/src/com/example/android/nfc/
NdefMessageParser.java 44 public static List<ParsedNdefRecord> getRecords(NdefRecord[] records) {
46 for (NdefRecord record : records) {
TagViewer.java 104 // Build views for all of the sub records
105 List<ParsedNdefRecord> records = NdefMessageParser.parse(msgs[0]); local
106 final int size = records.size();
108 ParsedNdefRecord record = records.get(i);
  /external/netcat/data/
dns-any.d 23 0 # addl records: 0
  /packages/apps/Tag/src/com/android/apps/tag/message/
ParsedNdefMessage.java 37 public ParsedNdefMessage(List<ParsedNdefRecord> records) {
38 mRecords = ImmutableList.copyOf(records);
42 * Returns the list of parsed records on this message.
NdefMessageParser.java 51 public static List<ParsedNdefRecord> getRecords(NdefRecord[] records) {
53 for (NdefRecord record : records) {
  /frameworks/base/telephony/java/android/telephony/
SmsManager.java 329 List<SmsRawData> records = null; local
334 records = iccISms.getAllMessagesFromIccEf();
340 return createMessageListFromRawRecords(records);
467 * records returned by <code>getAllMessagesFromIcc()</code>
469 * @param records SMS EF records, returned by
473 private static ArrayList<SmsMessage> createMessageListFromRawRecords(List<SmsRawData> records) {
475 if (records != null) {
476 int count = records.size();
478 SmsRawData data = records.get(i)
    [all...]
  /packages/apps/Tag/src/com/android/apps/tag/
TagViewer.java 84 // Build views for all of the sub records
94 List<ParsedNdefRecord> records = parsedMsg.getRecords(); local
95 final int size = records.size();
102 ParsedNdefRecord record = records.get(i);
  /packages/apps/Nfc/src/com/android/nfc/
P2pLinkManager.java 480 NdefRecord records[] = msg.getRecords(); local
481 if (records == null || records.length == 0) {
484 return records[0].getTnf();
491 NdefRecord records[] = msg.getRecords(); local
492 if (records == null || records.length == 0) {
495 NdefRecord record = records[0];
513 NdefRecord records[] = msg.getRecords(); local
514 if (records == null)
    [all...]

Completed in 446 milliseconds

1 2 3 4