Searched refs:record (Results 1 - 25 of 29) sorted by relevance

12

/packages/apps/Tag/src/com/android/apps/tag/message/
H A DNdefMessageParser.java19 import com.android.apps.tag.record.ImageRecord;
20 import com.android.apps.tag.record.MimeRecord;
21 import com.android.apps.tag.record.ParsedNdefRecord;
22 import com.android.apps.tag.record.SmartPoster;
23 import com.android.apps.tag.record.TextRecord;
24 import com.android.apps.tag.record.UnknownRecord;
25 import com.android.apps.tag.record.UriRecord;
26 import com.android.apps.tag.record.VCardRecord;
53 for (NdefRecord record : records) {
54 if (SmartPoster.isPoster(record)) {
[all...]
H A DParsedNdefMessage.java20 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);
59 if (record instanceof UriRecord) {
76 record = mRecords.get(smartPosterRecord);
80 return record.getSnippet(context, locale);
/packages/apps/Tag/src/com/android/apps/tag/record/
H A DMimeRecord.java17 package com.android.apps.tag.record;
70 public static MimeRecord parse(NdefRecord record) { argument
71 Preconditions.checkArgument(record.toMimeType() != null);
72 return new MimeRecord(record.toMimeType(), record.getPayload());
75 public static boolean isMime(NdefRecord record) { argument
76 return record.toMimeType() != null;
H A DImageRecord.java17 package com.android.apps.tag.record;
53 public static ImageRecord parse(NdefRecord record) { argument
54 String mimeType = record.toMimeType();
61 byte[] content = record.getPayload();
69 public static boolean isImage(NdefRecord record) { argument
71 parse(record);
H A DSmartPoster.java17 package com.android.apps.tag.record;
51 * "The Title record for the service (there can be many of these in
53 * This record is optional."
61 * "The URI record. This is the core of the Smart Poster, and all other
62 * records are just metadata about this record. There MUST be one URI
63 * record and there MUST NOT be more than one."
70 * "The Icon record. A Smart Poster may include an icon by including one
74 * one. The Icon record is optional."
81 * "The Action record. This record describe
124 parse(NdefRecord record) argument
150 isPoster(NdefRecord record) argument
[all...]
H A DTextRecord.java17 package com.android.apps.tag.record;
80 public static TextRecord parse(NdefRecord record) { argument
81 Preconditions.checkArgument(record.getTnf() == NdefRecord.TNF_WELL_KNOWN);
82 Preconditions.checkArgument(Arrays.equals(record.getType(), NdefRecord.RTD_TEXT));
85 byte[] payload = record.getPayload();
119 public static boolean isText(NdefRecord record) { argument
121 parse(record);
H A DParsedNdefRecord.java17 package com.android.apps.tag.record;
35 * Returns a view to display this record.
H A DUnknownRecord.java17 package com.android.apps.tag.record;
H A DUriRecord.java17 package com.android.apps.tag.record;
52 * A parsed record containing a Uri.
129 * record containing a URI.
131 public static UriRecord parse(NdefRecord record) { argument
132 Uri uri = record.toUri();
137 public static boolean isUri(NdefRecord record) { argument
138 return record.toUri() != null;
H A DVCardRecord.java17 package com.android.apps.tag.record;
152 public static VCardRecord parse(NdefRecord record) { argument
153 MimeRecord underlyingRecord = MimeRecord.parse(record);
176 public static boolean isVCard(NdefRecord record) { argument
178 parse(record);
H A DRecordUtils.java17 package com.android.apps.tag.record;
60 * Creates one or more views for a parsed record that wants to display an actionable intent.
/packages/apps/Nfc/tests/src/com/android/nfc/snep/
H A DSnepValidationServerTests.java112 NdefRecord record = msg.getRecords()[0];
113 ByteArrayWrapper id = (record.getId().length > 0) ?
114 new ByteArrayWrapper(record.getId()) : DEFAULT_NDEF;
122 NdefRecord record = msg.getRecords()[0];
123 ByteArrayWrapper id = (record.getId().length > 0) ?
124 new ByteArrayWrapper(record.getId()) : DEFAULT_NDEF;
/packages/apps/Tag/src/com/android/apps/tag/
H A DTagViewer.java21 import com.android.apps.tag.record.ParsedNdefRecord;
101 ParsedNdefRecord record = records.get(i);
102 content.addView(record.getView(this, inflater, content, i));
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
H A DCommonDatabaseUtils.java37 // primitive value used when record is not found.
57 String[] record = new String[cursor.getColumnCount()];
58 fillArray(cursor, record);
59 result.add(record);
/packages/apps/Contacts/src/com/android/contacts/
H A DNfcHandler.java91 NdefRecord record = NdefRecord.createMime("text/x-vcard", ndefBytes.toByteArray());
92 return new NdefMessage(record);
/packages/services/Telephony/src/com/android/services/telephony/
H A DTelecomAccountRegistry.java113 SubscriptionInfo record =
115 if (record != null) {
116 subDisplayName = record.getDisplayName();
117 slotId = record.getSimSlotIndex();
118 color = record.getIconTint();
119 iconBitmap = record.createIconBitmap(mContext);
130 // Either the sub record is not there or it has an empty display name.
/packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/
H A DImportExportDialogFragment.java132 for (SubscriptionInfo record : subInfoRecords) {
133 adapter.add(new AdapterEntry(getSubDescription(record),
134 R.string.import_from_sim, record.getSubscriptionId()));
283 private CharSequence getSubDescription(SubscriptionInfo record) { argument
284 CharSequence name = record.getDisplayName();
285 if (TextUtils.isEmpty(record.getNumber())) {
292 PhoneNumberUtils.ttsSpanAsPhoneNumber(record.getNumber()));
/packages/apps/Nfc/src/com/android/nfc/
H A DNfcWifiProtectedSetup.java41 * ID into configuration record for SSID and Network Key in hex.
97 for (NdefRecord record : records) {
98 if (new String(record.getType()).equals(NFC_TOKEN_MIME_TYPE)) {
99 ByteBuffer payload = ByteBuffer.wrap(record.getPayload());
H A DNfcDispatcher.java448 for (NdefRecord record : message.getRecords()) {
449 String pkg = checkForAar(record);
555 static String checkForAar(NdefRecord record) { argument
556 if (record.getTnf() == NdefRecord.TNF_EXTERNAL_TYPE &&
557 Arrays.equals(record.getType(), NdefRecord.RTD_ANDROID_APP)) {
558 return new String(record.getPayload(), StandardCharsets.US_ASCII);
/packages/services/Telecomm/src/com/android/server/telecom/
H A DCreateConnectionProcessor.java253 + "than 1 record");
282 CallAttemptRecord record = new CallAttemptRecord(
285 Log.v(this, "setConnectionManager, changing %s -> %s", mAttemptRecords.get(0), record);
286 mAttemptRecords.set(0, record);
349 for (CallAttemptRecord record : records) {
350 result.add(record.connectionManagerPhoneAccount);
408 // Failure of some sort; record the reasons for failure and try again if possible
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
H A DKeyboardAccessibilityNodeProvider.java146 final AccessibilityRecordCompat record = AccessibilityEventCompat.asRecord(event);
147 record.setSource(mKeyboardView, virtualViewId);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DUpdateHandler.java390 for (DownloadRecord record : downloadRecords) {
391 if (null == record.mAttributes) {
436 for (final DownloadRecord record : recordList) {
441 downloadSuccessful = handleDownloadedFile(context, record, manager, fileId);
444 if (record.isMetadata()) {
447 final SQLiteDatabase db = MetadataDbHelper.getDb(context, record.mClientId);
449 db, record.mAttributes, record.mClientId);
782 // as we want to leave the record as long as Android Keyboard has not deleted it ;
783 // the record wil
[all...]
/packages/apps/FMRadio/src/com/android/fmradio/
H A DFmService.java116 // If eject record sdcard, should set Value false to not record.
117 // Key is sdcard path(like "/storage/sdcard0"), V is to enable record or
123 // record the listener list, will notify all listener in list
125 // record FM whether in recording mode
127 // record sd card path when start recording
139 // record whether RDS thread exit
200 // record.
203 // 2. exitFm() -> check the record status, discard it if it is recording
319 // If eject record sdcar
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DAtPhonebook.java482 String record;
575 record = "+CPBR: " + index + ",\"" + number + "\"," + regionType + ",\"" + name + "\"";
576 record = record + "\r\n\r\n";
577 atCommandResponse = record;
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWriteWifiConfigToNfcDialog.java172 NdefRecord record = NdefRecord.createMime(
177 ndef.writeNdefMessage(new NdefMessage(record));

Completed in 288 milliseconds

12