Home
last modified time | relevance | path

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

123

/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.java1600 ArrayList<Object> records = new ArrayList<>(); in testConvertHalCellInfoListForLTE() local
1601 records.add(record); in testConvertHalCellInfoListForLTE()
1603 ArrayList<CellInfo> ret = RILUtils.convertHalCellInfoList(records); in testConvertHalCellInfoListForLTE()
1641 ArrayList<Object> records = new ArrayList<>(); in testConvertHalCellInfoListForGSM() local
1642 records.add(record); in testConvertHalCellInfoListForGSM()
1644 ArrayList<CellInfo> ret = RILUtils.convertHalCellInfoList(records); in testConvertHalCellInfoListForGSM()
1681 ArrayList<Object> records = new ArrayList<>(); in testConvertHalCellInfoListForWcdma() local
1682 records.add(record); in testConvertHalCellInfoListForWcdma()
1684 ArrayList<CellInfo> ret = RILUtils.convertHalCellInfoList(records); in testConvertHalCellInfoListForWcdma()
1730 ArrayList<Object> records = new ArrayList<>(); 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/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSimPhonebookRecordCache.java475 private void handlePhonebookRecordReceived(ReceivedPhonebookRecords records) { in handlePhonebookRecordReceived() argument
476 if (records != null) { in handlePhonebookRecordReceived()
477 if (records.isOk()) { in handlePhonebookRecordReceived()
479 populateAdnRecords(records.getPhonebookRecords()); in handlePhonebookRecordReceived()
480 } else if (records.isCompleted()) { in handlePhonebookRecordReceived()
482 populateAdnRecords(records.getPhonebookRecords()); in handlePhonebookRecordReceived()
488 } else if (records.isRetryNeeded() && !mIsInRetry.get()) { in handlePhonebookRecordReceived()
555 private void populateAdnRecords(List<SimPhonebookRecord> records) { in populateAdnRecords() argument
556 if (records != null) { in populateAdnRecords()
557 Map<Integer, 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/services/core/java/com/android/server/media/
DMediaSessionStack.java338 List<MediaSessionRecord> records = getPriorityList(true, UserHandle.USER_ALL); in getDefaultVolumeSession() local
339 int size = records.size(); in getDefaultVolumeSession()
341 MediaSessionRecord record = records.get(i); in getDefaultVolumeSession()
351 List<MediaSessionRecord> records = getPriorityList(true, userId); in getDefaultRemoteSession() local
353 int size = records.size(); in getDefaultRemoteSession()
355 MediaSessionRecord record = records.get(i); in getDefaultRemoteSession()
/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/packages/SystemUI/scripts/token_alignment/helpers/
DFileIO.ts80 (err, records) => {
86 resolve(records);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DSimPhonebookRecordCacheTest.java99 List<SimPhonebookRecord> records = new ArrayList<SimPhonebookRecord>(); in testGetPhonebookRecords() local
100 records.add(new SimPhonebookRecord(1, "ABC", "12345", null, null)); in testGetPhonebookRecords()
101 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()
908 final SparseArray<AppExitInfoContainer> records = map.valueAt(i); in forEachPackageLocked() local
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DPackageConfigPersister.java358 HashMap<String, PackageConfigRecord> records = list.get(userId); in findRecordOrCreate() local
359 if (records == null) { in findRecordOrCreate()
360 records = new HashMap<>(); in findRecordOrCreate()
361 list.put(userId, records); in findRecordOrCreate()
363 PackageConfigRecord record = records.get(name); in findRecordOrCreate()
368 records.put(name, record); in findRecordOrCreate()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioIndication.java630 android.hardware.radio.V1_0.CdmaInformationRecords records) { in cdmaInfoRec() argument
633 int numberOfInfoRecs = records.infoRec.size(); in cdmaInfoRec()
635 CdmaInformationRecord record = records.infoRec.get(i); in cdmaInfoRec()
805 ArrayList<android.hardware.radio.V1_0.CellInfo> records) { in cellInfoList() argument
807 responseCellInfoList(records); in cellInfoList()
812 ArrayList<android.hardware.radio.V1_2.CellInfo> records) { in cellInfoList_1_2() argument
814 responseCellInfoList(records); in cellInfoList_1_2()
819 ArrayList<android.hardware.radio.V1_4.CellInfo> records) { in cellInfoList_1_4() argument
821 responseCellInfoList(records); in cellInfoList_1_4()
826 ArrayList<android.hardware.radio.V1_5.CellInfo> records) { in cellInfoList_1_5() argument
[all …]
DSimIndication.java104 android.hardware.radio.sim.PhonebookRecordInfo[] records) { in simPhonebookRecordsReceived() argument
109 for (android.hardware.radio.sim.PhonebookRecordInfo record : records) { in simPhonebookRecordsReceived()
116 "status = " + status + " received " + records.length + " records"); in simPhonebookRecordsReceived()
/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/notification/
DSnoozeHelper.java167 ArrayList<NotificationRecord> records = new ArrayList<>(); in getNotifications() local
173 records.add(r); in getNotifications()
177 return records; in getNotifications()
243 final Set<Map.Entry<String, NotificationRecord>> records = in cancel() local
245 for (Map.Entry<String, NotificationRecord> record : records) { in cancel()
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java292 ArrayList<DisplayModeRecord> records = new ArrayList<>(); in updateDisplayModesLocked() local
313 for (DisplayModeRecord record : records) { in updateDisplayModesLocked()
336 records.add(record); in updateDisplayModesLocked()
341 for (DisplayModeRecord record : records) { in updateDisplayModesLocked()
352 for (DisplayModeRecord record : records) { in updateDisplayModesLocked()
403 boolean recordsChanged = records.size() != mSupportedModes.size() || modesAdded; in updateDisplayModesLocked()
410 for (DisplayModeRecord record : records) { in updateDisplayModesLocked()
1223 private Display.Mode[] getDisplayModes(SparseArray<DisplayModeRecord> records) { in getDisplayModes() argument
1224 final int size = records.size(); in getDisplayModes()
1227 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.java1138 final List<PrintJobStateChangeListenerRecord> records; in handleDispatchPrintJobStateChanged() local
1143 records = new ArrayList<>(mPrintJobStateChangeListenerRecords); in handleDispatchPrintJobStateChanged()
1145 final int recordCount = records.size(); in handleDispatchPrintJobStateChanged()
1147 PrintJobStateChangeListenerRecord record = records.get(i); in handleDispatchPrintJobStateChanged()
1160 final List<ListenerRecord<IPrintServicesChangeListener>> records; in handleDispatchPrintServicesChanged() local
1165 records = new ArrayList<>(mPrintServicesChangeListenerRecords); in handleDispatchPrintServicesChanged()
1167 final int recordCount = records.size(); in handleDispatchPrintServicesChanged()
1169 ListenerRecord<IPrintServicesChangeListener> record = records.get(i); in handleDispatchPrintServicesChanged()
1181 final List<ListenerRecord<IRecommendationsChangeListener>> records; in handleDispatchPrintServiceRecommendationsUpdated() local
1186 records = new ArrayList<>(mPrintServiceRecommendationsChangeListenerRecords); in handleDispatchPrintServiceRecommendationsUpdated()
[all …]

123