Searched refs:records (Results 1 - 25 of 42) 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);
/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 = NULL;
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/base/core/proto/android/service/
H A Dnotification.proto25 repeated NotificationRecordProto records = 1;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DPlmnActRecord.java112 * Convenience method for extracting all records from encoded bytes
124 PlmnActRecord[] records = new PlmnActRecord[numRecords];
127 records[i] = new PlmnActRecord(recordBytes, i * ENCODED_LENGTH);
129 return records;
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionStack.java271 ArrayList<MediaSessionRecord> records = getPriorityList(true, UserHandle.USER_ALL);
272 int size = records.size();
274 MediaSessionRecord record = records.get(i);
284 ArrayList<MediaSessionRecord> records = getPriorityList(true, userId);
286 int size = records.size();
288 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.java204 ArrayList<DisplayModeRecord> records = new ArrayList<DisplayModeRecord>();
212 for (int j = 0; j < records.size(); j++) {
213 if (records.get(j).hasMatchingMode(info)) {
229 records.add(record);
234 for (int i = 0; i < records.size(); i++) {
235 DisplayModeRecord record = records.get(i);
249 boolean recordsChanged = records.size() != mSupportedModes.size() || modesAdded;
250 // If the records haven't changed then we're done here.
258 for (DisplayModeRecord record : records) {
/frameworks/base/core/java/android/app/
H A DFragmentManager.java2066 private void executePostponedTransaction(ArrayList<BackStackRecord> records, argument
2071 if (records != null && !listener.mIsBack) {
2072 int index = records.indexOf(listener.mRecord);
2078 if (listener.isReady() || (records != null &&
2079 listener.mRecord.interactsWith(records, 0, records.size()))) {
2084 if (records != null && !listener.mIsBack &&
2085 (index = records.indexOf(listener.mRecord)) != -1 &&
2098 * of proximate records that allow reordering. See
2107 * @param records Th
2110 removeRedundantOperationsAndExecute(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop) argument
2160 executeOpsTogether(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, int startIndex, int endIndex) argument
2252 postponePostponableTransactions(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, int startIndex, int endIndex, ArraySet<Fragment> added) argument
2381 executeOps(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, int startIndex, int endIndex) argument
2459 generateOpsForPendingActions(ArrayList<BackStackRecord> records, ArrayList<Boolean> isPop) argument
2508 popBackStackState(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, String name, int id, int flags) argument
3680 generateOps(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop) argument
3699 generateOps(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop) argument
[all...]
/frameworks/support/fragment/java/android/support/v4/app/
H A DFragmentManager.java2245 private void executePostponedTransaction(ArrayList<BackStackRecord> records, argument
2250 if (records != null && !listener.mIsBack) {
2251 int index = records.indexOf(listener.mRecord);
2257 if (listener.isReady() || (records != null
2258 && listener.mRecord.interactsWith(records, 0, records.size()))) {
2263 if (records != null && !listener.mIsBack
2264 && (index = records.indexOf(listener.mRecord)) != -1
2277 * of proximate records that allow reordering. See
2286 * @param records Th
2289 removeRedundantOperationsAndExecute(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop) argument
2339 executeOpsTogether(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, int startIndex, int endIndex) argument
2429 postponePostponableTransactions(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, int startIndex, int endIndex, ArraySet<Fragment> added) argument
2566 executeOps(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, int startIndex, int endIndex) argument
2659 generateOpsForPendingActions(ArrayList<BackStackRecord> records, ArrayList<Boolean> isPop) argument
2709 popBackStackState(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, String name, int id, int flags) argument
3800 generateOps(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop) argument
3819 generateOps(ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop) argument
[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.
281 // i.e. the stores for the records with sequence numbers < |tail| have
306 if (*sequence == tail) return false; // No new records available.
361 // Number of records in the ring.
374 // (1) Writes advance |head| past any updated records before writing to
417 // Number of records i
430 RecordStorage records[]; member in struct:android::dvr::BroadcastRing::Mmap
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DUserSwitcherController.java200 ArrayList<UserRecord> records = new ArrayList<>(infos.size());
231 int index = isCurrent ? 0 : records.size();
232 records.add(index, new UserRecord(info, picture, false /* isGuest */,
259 records.add(guestRecord);
262 int index = guestRecord.isCurrent ? 0 : records.size();
263 records.add(index, guestRecord);
272 records.add(addUserRecord);
275 return records;
518 // Immediately remove restricted records in case the AsyncTask is too slow.
677 // The lock screen is secure and showing. Filter out restricted records
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DSmsManager.java826 List<SmsRawData> records = null;
831 records = iccISms.getAllMessagesFromIccEfForSubscriber(
839 return createMessageListFromRawRecords(records);
1000 * records returned by <code>getAllMessagesFromIcc()</code>
1002 * @param records SMS EF records, returned by
1006 private static ArrayList<SmsMessage> createMessageListFromRawRecords(List<SmsRawData> records) { argument
1008 if (records != null) {
1009 int count = records.size();
1011 SmsRawData data = records
[all...]
/frameworks/base/services/print/java/com/android/server/print/
H A DUserState.java1115 final List<PrintJobStateChangeListenerRecord> records;
1120 records = new ArrayList<PrintJobStateChangeListenerRecord>(
1123 final int recordCount = records.size();
1125 PrintJobStateChangeListenerRecord record = records.get(i);
1137 final List<ListenerRecord<IPrintServicesChangeListener>> records;
1142 records = new ArrayList<>(mPrintServicesChangeListenerRecords);
1144 final int recordCount = records.size();
1146 ListenerRecord<IPrintServicesChangeListener> record = records.get(i);
1158 final List<ListenerRecord<IRecommendationsChangeListener>> records;
1163 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
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSubscriptionController.java515 * @return List of all SubscriptionInfo records in database,
608 List<SubscriptionInfo> records = getActiveSubscriptionInfoList(
610 if (records == null) {
611 if (DBG) logd("[getActiveSubInfoCount] records null");
614 if (DBG) logd("[getActiveSubInfoCount]- count: " + records.size());
615 return records.size();
820 // Once the records are loaded, notify DcTracker
878 * @return the number of records updated
906 * @return the number of records updated
937 * @return the number of records update
1536 shouldDefaultBeCleared(List<SubscriptionInfo> records, int subId) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DLocationManagerService.java865 // See if receiver has any enabled update records. Also note if any update records
1676 ArrayList<UpdateRecord> records = mRecordsByProvider.get(provider);
1677 if (records != null) {
1678 for (UpdateRecord record : records) {
1712 ArrayList<UpdateRecord> records = mRecordsByProvider.get(provider);
1722 if (records != null) {
1723 for (UpdateRecord record : records) {
1760 for (UpdateRecord record : records) {
1764 // Don't assign battery blame for update records whos
[all...]

Completed in 740 milliseconds

12