Searched defs:record (Results 1 - 19 of 19) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryWifiParser.java27 protected boolean isSet(HistoryItem record) { argument
28 switch ((record.states2 & HistoryItem.STATE2_WIFI_SUPPL_STATE_MASK)
H A DBatteryCellParser.java54 public void onDataPoint(long time, HistoryItem record) { argument
55 int value = getValue(record);
H A DBatteryFlagParser.java40 protected boolean isSet(HistoryItem record) { argument
41 return ((mState2 ? record.states2 : record.states) & mFlag) != 0;
50 public void onDataPoint(long time, HistoryItem record) { argument
51 boolean isSet = isSet(record);
/packages/apps/Tag/src/com/android/apps/tag/record/
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 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 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 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 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 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.
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...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/
H A DImportExportDialogFragment.java151 for (SubscriptionInfo record : subInfoRecords) {
152 adapter.add(new AdapterEntry(getSubDescription(record),
153 R.string.import_from_sim, record.getSubscriptionId()));
330 private CharSequence getSubDescription(SubscriptionInfo record) { argument
331 CharSequence name = record.getDisplayName();
332 if (TextUtils.isEmpty(record.getNumber())) {
339 PhoneNumberUtilsCompat.createTtsSpannable(record.getNumber()));
/packages/apps/TV/src/com/android/tv/data/
H A DWatchedHistoryManager.java65 WatchedRecord record = decode(
68 if (record != null) {
69 mWatchedHistory.add(record);
71 mListener.onNewRecordAdded(record);
118 WatchedRecord record =
121 if (record != null) {
122 mWatchedHistory.add(record);
127 WatchedRecord record = decode(mSharedPreferences.getString(
129 if (record != null) {
130 mWatchedHistory.add(record);
304 encode(WatchedRecord record) argument
[all...]
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_sdp.cpp59 int record_size, bluetooth_sdp_record* record);
104 /* generic SDP record (raw data)*/
109 /* MAS SDP record*/
113 /* MNS SDP record*/
117 /* PBAP PSE record */
121 /* OPP Server record */
125 /* SAP Server record */
176 bluetooth_sdp_record* record; local
197 record = &records[i];
199 if (record
313 bluetooth_sdp_record record = {}; // Must be zero initialized local
355 bluetooth_sdp_record record = {}; // Must be zero initialized local
395 bluetooth_sdp_record record = {}; // Must be zero initialized local
436 bluetooth_sdp_record record = {}; // Must be zero initialized local
487 bluetooth_sdp_record record = {}; // Must be zero initialized local
[all...]
/packages/apps/Nfc/src/com/android/nfc/
H A DNfcDispatcher.java522 for (NdefRecord record : message.getRecords()) {
523 String pkg = checkForAar(record);
638 static String checkForAar(NdefRecord record) { argument
639 if (record.getTnf() == NdefRecord.TNF_EXTERNAL_TYPE &&
640 Arrays.equals(record.getType(), NdefRecord.RTD_ANDROID_APP)) {
641 return new String(record.getPayload(), StandardCharsets.US_ASCII);
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
H A DSdpManager.java398 int size_record, byte[] record) {
409 if(D) Log.d(TAG, "sdpRecordFoundCallback: found a sdp record of size "
411 if(D) Log.d(TAG, "Record:"+ Arrays.toString(record));
412 sdpRecord = new SdpRecord(size_record, record);
462 Parcelable record, boolean moreResults) {
470 if (record != null) intent.putExtra(BluetoothDevice.EXTRA_SDP_RECORD, record);
503 * Create the record once, and reuse it for all connections.
504 * If changes to a record is needed remove the old record usin
397 sdpRecordFoundCallback(int status, byte[] address, byte[] uuid, int size_record, byte[] record) argument
461 sendSdpIntent(SdpSearchInstance inst, Parcelable record, boolean moreResults) argument
[all...]
/packages/services/Car/service/src/com/android/car/
H A DCarSensorService.java168 SensorRecord record = new SensorRecord();
169 record.lastEvent = event;
170 mSensorRecords.put(type,record);
238 SensorRecord record = mSensorRecords.get(event.sensorType);
239 if (record != null) {
240 if (record.lastEvent == null) {
241 record.lastEvent = event;
242 } else if (record.lastEvent.timeStampNs < event.timeStampNs) {
243 record.lastEvent = event;
328 SensorRecord record
428 startSensor(SensorRecord record, int sensorType, int rate) argument
519 stopSensor(SensorRecord record, int sensorType) argument
[all...]
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 1618 milliseconds