Searched refs:records (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/base/core/java/android/nfc/
H A DNdefMessage.java33 * NDEF defines messages and records. An NDEF Record contains
70 * This parser can handle chunked records, and converts them
73 * records, basic validation of the tnf, type, id, and payload fields
109 * @param records additional records (optional)
111 public NdefMessage(NdefRecord record, NdefRecord ... records) { argument
115 for (NdefRecord r : records) {
121 mRecords = new NdefRecord[1 + records.length];
123 System.arraycopy(records, 0, mRecords, 1, records
131 NdefMessage(NdefRecord[] records) argument
[all...]
H A DNdefRecord.java39 * NDEF defines messages and records. An NDEF Record contains
47 * containing chunked records, and will return a message with unchunked
48 * (complete) records.
67 * to create records that do not confirm to the strict NFC Forum
72 * NDEF records, and to pack optional fields. This class does not expose
121 * When creating new records prefer {@link #createUri},
131 * Used to encode custom payloads. When creating new records
217 * Multiple RTD_ANDROID_APP records may be included
221 * RTD_ANDROID_APP records.
294 * containing one or more Android application records,
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSimSmsTest.java38 List<SmsRawData> records = sms.getAllMessagesFromIccEfForSubscriber(
40 assertNotNull(records);
41 assertTrue(records.size() >= 0);
46 for (int i = 0; i < records.size(); i++) {
47 SmsRawData data = records.get(i);
H A DRILTest.java1092 ArrayList<android.hardware.radio.V1_0.CellInfo> records =
1094 records.add(record);
1096 ArrayList<CellInfo> ret = RIL.convertHalCellInfoList(records);
1133 ArrayList<android.hardware.radio.V1_0.CellInfo> records =
1135 records.add(record);
1137 ArrayList<CellInfo> ret = RIL.convertHalCellInfoList(records);
1173 ArrayList<android.hardware.radio.V1_0.CellInfo> records =
1175 records.add(record);
1177 ArrayList<CellInfo> ret = RIL.convertHalCellInfoList(records);
1214 ArrayList<android.hardware.radio.V1_0.CellInfo> records
[all...]
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DMtpManagerTest.java84 final MtpDeviceRecord[] records = mManager.getDevices();
85 assertEquals(1, records.length);
86 assertNotNull(records[0].operationsSupported);
87 getInstrumentation().show(Arrays.toString(records[0].operationsSupported));
91 final MtpDeviceRecord[] records = mManager.getDevices();
92 assertEquals(1, records.length);
93 assertNotNull(records[0].eventsSupported);
94 getInstrumentation().show(Arrays.toString(records[0].eventsSupported));
98 final MtpDeviceRecord[] records = mManager.getDevices();
99 assertEquals(1, records
[all...]
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DServiceIntentSender.java57 * @param records List of opened devices. Can be empty.
59 void sendUpdateNotificationIntent(@NonNull MtpDeviceRecord[] records) { argument
60 Preconditions.checkNotNull(records);
63 if (records.length != 0) {
64 final int[] ids = new int[records.length];
65 final Notification[] notifications = new Notification[records.length];
66 for (int i = 0; i < records.length; i++) {
67 ids[i] = records[i].deviceId;
68 notifications[i] = createNotification(mContext, records[i]);
/frameworks/base/tools/preload/
H A DCompile.java41 List<Record> records = new ArrayList<Record>();
53 records.add(new Record(clipped, lineNumber));
61 for (Record record : records) {
65 for (Record record : records) {
/frameworks/base/services/core/java/com/android/server/notification/
H A DSnoozeHelper.java117 final ArrayMap<String, NotificationRecord> records = snoozedPkgs.valueAt(j);
118 if (records != null) {
119 snoozedForUser.addAll(records.values());
144 ArrayMap<String, ArrayMap<String, NotificationRecord>> records =
146 if (records == null) {
147 records = new ArrayMap<>();
149 ArrayMap<String, NotificationRecord> pkgRecords = records.get(record.sbn.getPackageName());
154 records.put(record.sbn.getPackageName(), pkgRecords);
155 mSnoozedNotifications.put(userId, records);
165 final Set<Map.Entry<String, NotificationRecord>> records
[all...]
/frameworks/av/include/common_time/
H A Dlocal_clock.h38 int32_t getDebugLog(struct local_time_debug_event* records,
/frameworks/native/services/surfaceflinger/
H A DFrameTracker.cpp125 // Skip frame records with no data (if buffer not yet full).
148 FrameRecord* records = const_cast<FrameRecord*>(mFrameRecords); local
155 const std::shared_ptr<FenceTime>& rfence = records[idx].frameReadyFence;
157 records[idx].frameReadyTime = rfence->getSignalTime();
158 if (records[idx].frameReadyTime < INT64_MAX) {
159 records[idx].frameReadyFence = nullptr;
166 records[idx].actualPresentFence;
168 records[idx].actualPresentTime = pfence->getSignalTime();
169 if (records[idx].actualPresentTime < INT64_MAX) {
170 records[id
[all...]
/frameworks/av/media/common_time/
H A Dlocal_clock.cpp82 int32_t LocalClock::getDebugLog(struct local_time_debug_event* records, argument
89 return dev_->get_debug_log(dev_, records, max_records);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DPlmnActRecord.java113 * Convenience method for extracting all records from encoded bytes
125 PlmnActRecord[] records = new PlmnActRecord[numRecords];
128 records[i] = new PlmnActRecord(recordBytes, i * ENCODED_LENGTH);
130 return records;
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionStack.java270 ArrayList<MediaSessionRecord> records = getPriorityList(true, UserHandle.USER_ALL);
271 int size = records.size();
273 MediaSessionRecord record = records.get(i);
283 ArrayList<MediaSessionRecord> records = getPriorityList(true, userId);
285 int size = records.size();
287 MediaSessionRecord record = records.get(i);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmInboundSmsHandler.java158 IccRecords records = UiccController.getInstance().getIccRecords(
160 if (records != null) {
162 records.setVoiceMessageWaiting(1, voicemailCount);
H A DUsimPhoneBookManager.java34 * This class implements reading and parsing USIM records.
164 // All EF files are loaded, return all the records
195 // Read EF_EMAIL which contains the email records.
207 * So we read the IAP file and then read the email records.
270 // records are empty. In that case buildType2EmailList will fail and
282 * If this is type 1, the number of records in EF_EMAIL would be same as the record number
362 * The number of records in the IAP file is same as the number of records in the master
492 private void createPbrFile(ArrayList<byte[]> records) { argument
493 if (records
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DLocalDisplayAdapter.java213 ArrayList<DisplayModeRecord> records = new ArrayList<DisplayModeRecord>();
221 for (int j = 0; j < records.size(); j++) {
222 if (records.get(j).hasMatchingMode(info)) {
238 records.add(record);
243 for (int i = 0; i < records.size(); i++) {
244 DisplayModeRecord record = records.get(i);
258 boolean recordsChanged = records.size() != mSupportedModes.size() || modesAdded;
259 // If the records haven't changed then we're done here.
267 for (DisplayModeRecord record : records) {
/frameworks/base/core/java/android/app/
H A DFragmentManager.java2079 private void executePostponedTransaction(ArrayList<BackStackRecord> records, argument
2084 if (records != null && !listener.mIsBack) {
2085 int index = records.indexOf(listener.mRecord);
2091 if (listener.isReady() || (records != null &&
2092 listener.mRecord.interactsWith(records, 0, records.size()))) {
2097 if (records != null && !listener.mIsBack &&
2098 (index = records.indexOf(listener.mRecord)) != -1 &&
2111 * of proximate records that allow reordering. See
2120 * @param records Th
2123 removeRedundantOperationsAndExecute(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop) argument
2173 executeOpsTogether(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, int startIndex, int endIndex) argument
2263 postponePostponableTransactions(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, int startIndex, int endIndex, ArraySet<Fragment> added) argument
2392 executeOps(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, int startIndex, int endIndex) argument
2470 generateOpsForPendingActions(ArrayList<BackStackRecord> records, ArrayList<Boolean> isPop) argument
2519 popBackStackState(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, String name, int id, int flags) argument
3625 generateOps(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop) argument
3644 generateOps(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop) argument
[all...]
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
H A DFragmentManager.java2289 private void executePostponedTransaction(ArrayList<BackStackRecord> records, argument
2294 if (records != null && !listener.mIsBack) {
2295 int index = records.indexOf(listener.mRecord);
2301 if (listener.isReady() || (records != null
2302 && listener.mRecord.interactsWith(records, 0, records.size()))) {
2307 if (records != null && !listener.mIsBack
2308 && (index = records.indexOf(listener.mRecord)) != -1
2321 * of proximate records that allow reordering. See
2330 * @param records Th
2333 removeRedundantOperationsAndExecute(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop) argument
2383 executeOpsTogether(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, int startIndex, int endIndex) argument
2473 postponePostponableTransactions(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, int startIndex, int endIndex, ArraySet<Fragment> added) argument
2610 executeOps(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, int startIndex, int endIndex) argument
2703 generateOpsForPendingActions(ArrayList<BackStackRecord> records, ArrayList<Boolean> isPop) argument
2744 popBackStackState(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, String name, int id, int flags) argument
3825 generateOps(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop) argument
3844 generateOps(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop) argument
[all...]
/frameworks/base/core/proto/android/service/
H A Dnotification.proto33 repeated NotificationRecordProto records = 1;
135 repeated RecordProto records = 2;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DUserSwitcherController.java195 ArrayList<UserRecord> records = new ArrayList<>(infos.size());
226 int index = isCurrent ? 0 : records.size();
227 records.add(index, new UserRecord(info, picture, false /* isGuest */,
233 if (records.size() > 1 || guestRecord != null) {
257 records.add(guestRecord);
260 int index = guestRecord.isCurrent ? 0 : records.size();
261 records.add(index, guestRecord);
270 records.add(addUserRecord);
273 return records;
502 // Immediately remove restricted records i
[all...]
/frameworks/native/libs/vr/libbroadcastring/include/libbroadcastring/
H A Dbroadcast_ring.h26 // Set this to a nonzero value to fix the number of records in the ring.
29 // Set this to the max number of records that can be written simultaneously.
32 // Set this to the min number of records that must be readable.
46 // Inconsistent data can only be returned if at least 2^32 records are written
173 // Creates a new ring at |mmap| with |record_count| records.
302 // i.e. the stores for the records with sequence numbers < |tail| have
327 if (*sequence == tail) return false; // No new records available.
385 // Number of records in the ring.
398 // (1) Writes advance |head| past any updated records before writing to
441 // Number of records i
454 RecordStorage records[]; member in struct:android::dvr::BroadcastRing::Mmap
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSubscriptionInfoUpdater.java311 IccRecords records = iccCard.getIccRecords();
312 if (records == null) {
316 if (IccUtils.stripTrailingFs(records.getFullIccId()) == null) {
320 mIccId[slotId] = IccUtils.stripTrailingFs(records.getFullIccId());
363 IccRecords records = iccCard.getIccRecords();
364 if (records == null) { // Possibly a race condition.
368 if (IccUtils.stripTrailingFs(records.getFullIccId()) == null) {
372 mIccId[slotId] = IccUtils.stripTrailingFs(records.getFullIccId());
720 // Update or insert records for all embedded subscriptions (except non-removable ones if the
/frameworks/base/telephony/java/android/telephony/
H A DSmsManager.java1079 List<SmsRawData> records = null;
1084 records = iccISms.getAllMessagesFromIccEfForSubscriber(
1092 return createMessageListFromRawRecords(records);
1253 * records returned by <code>getAllMessagesFromIcc()</code>
1255 * @param records SMS EF records, returned by
1259 private ArrayList<SmsMessage> createMessageListFromRawRecords(List<SmsRawData> records) { argument
1261 if (records != null) {
1262 int count = records.size();
1264 SmsRawData data = records
[all...]
/frameworks/base/services/print/java/com/android/server/print/
H A DUserState.java1129 final List<PrintJobStateChangeListenerRecord> records;
1134 records = new ArrayList<>(mPrintJobStateChangeListenerRecords);
1136 final int recordCount = records.size();
1138 PrintJobStateChangeListenerRecord record = records.get(i);
1151 final List<ListenerRecord<IPrintServicesChangeListener>> records;
1156 records = new ArrayList<>(mPrintServicesChangeListenerRecords);
1158 final int recordCount = records.size();
1160 ListenerRecord<IPrintServicesChangeListener> record = records.get(i);
1172 final List<ListenerRecord<IRecommendationsChangeListener>> records;
1177 records
[all...]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DDatabaseHelper.java361 // first record in the list of all records that have the same primary key and equal data.
362 // It will return false if a) there are any records that have the same primary key and
367 List<SoundModelRecord> records) {
368 // First pass - check to see if all the records that have the same primary key have
370 for (SoundModelRecord record : records) {
382 for (SoundModelRecord record : records) {
366 ifViolatesV6PrimaryKeyIsFirstOfAnyDuplicates( List<SoundModelRecord> records) argument

Completed in 634 milliseconds

12