Home
last modified time | relevance | path

Searched refs:records (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/core/java/android/nfc/
DNdefMessage.java112 public NdefMessage(NdefRecord record, NdefRecord ... records) { in NdefMessage() argument
116 for (NdefRecord r : records) { in NdefMessage()
122 mRecords = new NdefRecord[1 + records.length]; in NdefMessage()
124 System.arraycopy(records, 0, mRecords, 1, records.length); in NdefMessage()
132 public NdefMessage(NdefRecord[] records) { in NdefMessage() argument
134 if (records.length < 1) { in NdefMessage()
137 for (NdefRecord r : records) { in NdefMessage()
143 mRecords = records; in NdefMessage()
222 NdefRecord[] records = new NdefRecord[recordsLength];
223 in.readTypedArray(records, NdefRecord.CREATOR);
[all …]
DNdefRecord.java790 List<NdefRecord> records = new ArrayList<NdefRecord>(); in parse() local
811 if (!mb && records.size() == 0 && !inChunk && !ignoreMbMe) { in parse()
813 } else if (mb && (records.size() != 0 || inChunk) && !ignoreMbMe) { in parse()
884 records.add(new NdefRecord(tnf, type, id, payload)); in parse()
892 return records.toArray(new NdefRecord[records.size()]); in parse()
/frameworks/native/services/memtrackproxy/test/
DMemtrackProxyTest.cpp48 std::vector<MemtrackRecord> records; in TEST_F() local
50 auto status = memtrack_proxy_->getMemory(pid, type, &records); in TEST_F()
60 std::vector<MemtrackRecord> records; in TEST_F() local
62 auto status = memtrack_proxy_->getMemory(pid, type, &records); in TEST_F()
72 std::vector<MemtrackRecord> records; in TEST_F() local
74 auto status = memtrack_proxy_->getMemory(pid, type, &records); in TEST_F()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSimSmsTest.java42 List<SmsRawData> records = sms.getAllMessagesFromIccEfForSubscriber( in testBasic() local
44 assertNotNull(records); in testBasic()
45 assertTrue(records.size() >= 0); in testBasic()
50 for (int i = 0; i < records.size(); i++) { in testBasic()
51 SmsRawData data = records.get(i); in testBasic()
DRILTest.java1495 ArrayList<android.hardware.radio.V1_0.CellInfo> records = in testConvertHalCellInfoListForLTE() local
1497 records.add(record); in testConvertHalCellInfoListForLTE()
1499 ArrayList<CellInfo> ret = RIL.convertHalCellInfoList(records); in testConvertHalCellInfoListForLTE()
1537 ArrayList<android.hardware.radio.V1_0.CellInfo> records = in testConvertHalCellInfoListForGSM() local
1539 records.add(record); in testConvertHalCellInfoListForGSM()
1541 ArrayList<CellInfo> ret = RIL.convertHalCellInfoList(records); in testConvertHalCellInfoListForGSM()
1578 ArrayList<android.hardware.radio.V1_0.CellInfo> records = in testConvertHalCellInfoListForWcdma() local
1580 records.add(record); in testConvertHalCellInfoListForWcdma()
1582 ArrayList<CellInfo> ret = RIL.convertHalCellInfoList(records); in testConvertHalCellInfoListForWcdma()
1628 ArrayList<android.hardware.radio.V1_2.CellInfo> records = in testConvertHalCellInfoListForTdscdma() local
[all …]
/frameworks/base/tools/preload/
DCompile.java41 List<Record> records = new ArrayList<Record>(); in main() local
53 records.add(new Record(clipped, lineNumber)); in main()
61 for (Record record : records) { in main()
65 for (Record record : records) { in main()
/frameworks/native/services/surfaceflinger/
DFrameTracker.cpp151 FrameRecord* records = const_cast<FrameRecord*>(mFrameRecords); in processFencesLocked() local
158 const std::shared_ptr<FenceTime>& rfence = records[idx].frameReadyFence; in processFencesLocked()
160 records[idx].frameReadyTime = rfence->getSignalTime(); in processFencesLocked()
161 if (records[idx].frameReadyTime < INT64_MAX) { in processFencesLocked()
162 records[idx].frameReadyFence = nullptr; in processFencesLocked()
169 records[idx].actualPresentFence; in processFencesLocked()
171 records[idx].actualPresentTime = pfence->getSignalTime(); in processFencesLocked()
172 if (records[idx].actualPresentTime < INT64_MAX) { in processFencesLocked()
173 records[idx].actualPresentFence = nullptr; in processFencesLocked()
/frameworks/base/tools/powermodel/test/com/android/powermodel/
DRawBatteryStatsTest.java51 final List<RawBatteryStats.Record> records = bs.getRecords(); in testVersion() local
52 final RawBatteryStats.Version line = (RawBatteryStats.Version)records.get(0); in testVersion()
72 final List<RawBatteryStats.Record> records = bs.getRecords(); in testUid() local
73 final RawBatteryStats.Uid line = (RawBatteryStats.Uid)records.get(1); in testUid()
83 final List<RawBatteryStats.Record> records = bs.getRecords(); in testVarargs() local
85 = (RawBatteryStats.GlobalModemController)records.get(1); in testVarargs()
/frameworks/base/services/core/java/com/android/server/notification/
DSnoozeHelper.java183 ArrayList<NotificationRecord> records = new ArrayList<>(); in getNotifications() local
192 records.add(r); in getNotifications()
197 return records; in getNotifications()
304 final Set<Map.Entry<String, NotificationRecord>> records = recordsForPkg.entrySet(); in cancel() local
305 for (Map.Entry<String, NotificationRecord> record : records) { in cancel()
339 ArrayMap<String, NotificationRecord> records = in cancel() local
341 if (records == null) { in cancel()
344 int N = records.size(); in cancel()
346 records.valueAt(i).isCanceled = true; in cancel()
357 ArrayMap<String, NotificationRecord> records = in update() local
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionStack.java324 List<MediaSessionRecord> records = getPriorityList(true, UserHandle.USER_ALL); in getDefaultVolumeSession() local
325 int size = records.size(); in getDefaultVolumeSession()
327 MediaSessionRecord record = records.get(i); in getDefaultVolumeSession()
337 List<MediaSessionRecord> records = getPriorityList(true, userId); in getDefaultRemoteSession() local
339 int size = records.size(); in getDefaultRemoteSession()
341 MediaSessionRecord record = records.get(i); in getDefaultRemoteSession()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSimPhonebookRecordCache.java449 private void handlePhonebookRecordReceived(ReceivedPhonebookRecords records) { in handlePhonebookRecordReceived() argument
450 if (records != null) { in handlePhonebookRecordReceived()
451 if (records.isOk()) { in handlePhonebookRecordReceived()
453 populateAdnRecords(records.getPhonebookRecords()); in handlePhonebookRecordReceived()
454 } else if (records.isCompleted()) { in handlePhonebookRecordReceived()
456 populateAdnRecords(records.getPhonebookRecords()); in handlePhonebookRecordReceived()
461 } else if (records.isRetryNeeded() && !mIsInRetry.get()) { in handlePhonebookRecordReceived()
549 private void populateAdnRecords(List<SimPhonebookRecord> records) { in populateAdnRecords() argument
550 if (records != null) { in populateAdnRecords()
551 List<AdnRecord> newRecords = records.stream().map(record -> {return in populateAdnRecords()
DPlmnActRecord.java136 PlmnActRecord[] records = new PlmnActRecord[numRecords]; in getRecords() local
139 records[i] = new PlmnActRecord(recordBytes, i * ENCODED_LENGTH); in getRecords()
141 return records; in getRecords()
/frameworks/base/core/java/android/app/
DFragmentManager.java2084 private void executePostponedTransaction(ArrayList<BackStackRecord> records, in executePostponedTransaction() argument
2089 if (records != null && !listener.mIsBack) { in executePostponedTransaction()
2090 int index = records.indexOf(listener.mRecord); in executePostponedTransaction()
2096 if (listener.isReady() || (records != null && in executePostponedTransaction()
2097 listener.mRecord.interactsWith(records, 0, records.size()))) { in executePostponedTransaction()
2102 if (records != null && !listener.mIsBack && in executePostponedTransaction()
2103 (index = records.indexOf(listener.mRecord)) != -1 && in executePostponedTransaction()
2128 private void removeRedundantOperationsAndExecute(ArrayList<BackStackRecord> records, in removeRedundantOperationsAndExecute() argument
2130 if (records == null || records.isEmpty()) { in removeRedundantOperationsAndExecute()
2134 if (isRecordPop == null || records.size() != isRecordPop.size()) { in removeRedundantOperationsAndExecute()
[all …]
/frameworks/native/services/memtrackproxy/
DMemtrackProxy.cpp133 hidl_vec<V1_0_hidl::MemtrackRecord> records) { in getMemory() argument
148 _aidl_return->resize(records.size()); in getMemory()
149 for (size_t i = 0; i < records.size(); i++) { in getMemory()
150 if (!translate(records[i], &(*_aidl_return)[i])) { in getMemory()
/frameworks/base/services/core/java/com/android/server/wm/
DPackageConfigPersister.java265 HashMap<String, PackageConfigRecord> records = list.get(userId); in findRecordOrCreate() local
266 if (records == null) { in findRecordOrCreate()
267 records = new HashMap<>(); in findRecordOrCreate()
268 list.put(userId, records); in findRecordOrCreate()
270 PackageConfigRecord record = records.get(name); in findRecordOrCreate()
275 records.put(name, record); in findRecordOrCreate()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DSimPhonebookRecordCacheTest.java96 List<SimPhonebookRecord> records = new ArrayList<SimPhonebookRecord>(); in testGetPhonebookRecords() local
97 records.add(new SimPhonebookRecord(10, "ABC", "12345", null, null)); in testGetPhonebookRecords()
98 AsyncResult ar = new AsyncResult(null, new ReceivedPhonebookRecords(4, records), null); in testGetPhonebookRecords()
/frameworks/base/services/core/java/com/android/server/am/
DAppExitInfoTracker.java499 forEachPackageLocked((packageName, records) -> { in updateExitInfoIfNecessaryLocked() argument
500 AppExitInfoContainer container = records.get(targetUid); in updateExitInfoIfNecessaryLocked()
543 forEachPackageLocked((name, records) -> { in getExitInfo() argument
544 AppExitInfoContainer container = records.get(filterUid); in getExitInfo()
730 forEachPackageLocked((packageName, records) -> { in persistProcessExitInfo() argument
733 int uidArraySize = records.size(); in persistProcessExitInfo()
735 records.valueAt(j).writeToProto(proto, AppsExitInfoProto.Package.USERS); in persistProcessExitInfo()
822 forEachPackageLocked((name, records) -> { in dumpHistoryProcessExitInfo() argument
823 dumpHistoryProcessExitInfoLocked(pw, " ", name, records, sdf); in dumpHistoryProcessExitInfo()
907 final SparseArray<AppExitInfoContainer> records = map.valueAt(i); in forEachPackageLocked() local
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioIndication.java629 android.hardware.radio.V1_0.CdmaInformationRecords records) { in cdmaInfoRec() argument
632 int numberOfInfoRecs = records.infoRec.size(); in cdmaInfoRec()
634 CdmaInformationRecord record = records.infoRec.get(i); in cdmaInfoRec()
798 ArrayList<android.hardware.radio.V1_0.CellInfo> records) { in cellInfoList() argument
801 ArrayList<CellInfo> response = RIL.convertHalCellInfoList(records); in cellInfoList()
810 ArrayList<android.hardware.radio.V1_2.CellInfo> records) { in cellInfoList_1_2() argument
813 ArrayList<CellInfo> response = RIL.convertHalCellInfoList_1_2(records); in cellInfoList_1_2()
822 ArrayList<android.hardware.radio.V1_4.CellInfo> records) { in cellInfoList_1_4() argument
825 ArrayList<CellInfo> response = RIL.convertHalCellInfoList_1_4(records); in cellInfoList_1_4()
834 ArrayList<android.hardware.radio.V1_5.CellInfo> records) { in cellInfoList_1_5() argument
[all …]
DSubscriptionInfoUpdater.java372 IccRecords records = iccCard.getIccRecords(); in handleSimLocked() local
373 if (records == null) { in handleSimLocked()
377 if (IccUtils.stripTrailingFs(records.getFullIccId()) == null) { in handleSimLocked()
381 sIccId[phoneId] = IccUtils.stripTrailingFs(records.getFullIccId()); in handleSimLocked()
492 IccRecords records = iccCard.getIccRecords(); in handleSimLoaded() local
493 if (records == null) { // Possibly a race condition. in handleSimLoaded()
497 if (IccUtils.stripTrailingFs(records.getFullIccId()) == null) { in handleSimLoaded()
504 sIccId[phoneId] = IccUtils.stripTrailingFs(records.getFullIccId()); in handleSimLoaded()
547 String[] ehplmns = records.getEhplmns(); in handleSimLoaded()
548 String[] hplmns = records.getPlmnsFromHplmnActRecord(); in handleSimLoaded()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimPhoneBookManager.java500 private void createPbrFile(ArrayList<byte[]> records) { in createPbrFile() argument
501 if (records == null) { in createPbrFile()
508 for (int i = 0; i < records.size(); i++) { in createPbrFile()
511 if (records.get(i)[0] != INVALID_BYTE) { in createPbrFile()
512 mPbrRecords.add(new PbrRecord(records.get(i))); in createPbrFile()
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java266 ArrayList<DisplayModeRecord> records = new ArrayList<>(); in updateDisplayModesLocked() local
287 for (DisplayModeRecord record : records) { in updateDisplayModesLocked()
310 records.add(record); in updateDisplayModesLocked()
315 for (DisplayModeRecord record : records) { in updateDisplayModesLocked()
357 boolean recordsChanged = records.size() != mSupportedModes.size() || modesAdded; in updateDisplayModesLocked()
364 for (DisplayModeRecord record : records) { in updateDisplayModesLocked()
1052 private Display.Mode[] getDisplayModes(SparseArray<DisplayModeRecord> records) { in getDisplayModes() argument
1053 final int size = records.size(); in getDisplayModes()
1056 DisplayModeRecord record = records.valueAt(i); in getDisplayModes()
/frameworks/native/libs/vr/libbroadcastring/include/libbroadcastring/
Dbroadcast_ring.h454 RecordStorage records[]; member
604 return &data_.mmap->records[index]; in record_mmap_writer()
608 return &data_.mmap->records[index]; in record_mmap_reader()
613 reinterpret_cast<char*>(data_.mmap->records) + index * record_size()); in record_mmap_reader()
/frameworks/base/services/core/java/com/android/server/power/
DShutdownCheckPoints.java154 final List<CheckPoint> records; in dumpInternal() local
156 records = new ArrayList<>(mCheckPoints); in dumpInternal()
158 for (CheckPoint record : records) { in dumpInternal()
/frameworks/base/services/print/java/com/android/server/print/
DUserState.java1130 final List<PrintJobStateChangeListenerRecord> records; in handleDispatchPrintJobStateChanged() local
1135 records = new ArrayList<>(mPrintJobStateChangeListenerRecords); in handleDispatchPrintJobStateChanged()
1137 final int recordCount = records.size(); in handleDispatchPrintJobStateChanged()
1139 PrintJobStateChangeListenerRecord record = records.get(i); in handleDispatchPrintJobStateChanged()
1152 final List<ListenerRecord<IPrintServicesChangeListener>> records; in handleDispatchPrintServicesChanged() local
1157 records = new ArrayList<>(mPrintServicesChangeListenerRecords); in handleDispatchPrintServicesChanged()
1159 final int recordCount = records.size(); in handleDispatchPrintServicesChanged()
1161 ListenerRecord<IPrintServicesChangeListener> record = records.get(i); in handleDispatchPrintServicesChanged()
1173 final List<ListenerRecord<IRecommendationsChangeListener>> records; in handleDispatchPrintServiceRecommendationsUpdated() local
1178 records = new ArrayList<>(mPrintServiceRecommendationsChangeListenerRecords); in handleDispatchPrintServiceRecommendationsUpdated()
[all …]
/frameworks/base/tests/UpdatableSystemFontTest/src/com/android/updatablesystemfont/
DUpdatableSystemFontTest.java433 String[] records = line.split(" ");
434 if (records.length > 0) {
435 paths.add(records[records.length - 1]);

12