/frameworks/base/core/java/android/nfc/ |
D | NdefMessage.java | 111 public NdefMessage(NdefRecord record, NdefRecord ... records) { in NdefMessage() argument 115 for (NdefRecord r : records) { in NdefMessage() 121 mRecords = new NdefRecord[1 + records.length]; in NdefMessage() 123 System.arraycopy(records, 0, mRecords, 1, records.length); in NdefMessage() 131 public NdefMessage(NdefRecord[] records) { in NdefMessage() argument 133 if (records.length < 1) { in NdefMessage() 136 for (NdefRecord r : records) { in NdefMessage() 142 mRecords = records; in NdefMessage() 221 NdefRecord[] records = new NdefRecord[recordsLength]; 222 in.readTypedArray(records, NdefRecord.CREATOR); [all …]
|
D | NdefRecord.java | 787 List<NdefRecord> records = new ArrayList<NdefRecord>(); in parse() local 808 if (!mb && records.size() == 0 && !inChunk && !ignoreMbMe) { in parse() 810 } else if (mb && (records.size() != 0 || inChunk) && !ignoreMbMe) { in parse() 881 records.add(new NdefRecord(tnf, type, id, payload)); in parse() 889 return records.toArray(new NdefRecord[records.size()]); in parse()
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | MtpManagerTest.java | 84 final MtpDeviceRecord[] records = mManager.getDevices(); in testOperationsSupported() local 85 assertEquals(1, records.length); in testOperationsSupported() 86 assertNotNull(records[0].operationsSupported); in testOperationsSupported() 87 getInstrumentation().show(Arrays.toString(records[0].operationsSupported)); in testOperationsSupported() 91 final MtpDeviceRecord[] records = mManager.getDevices(); in testEventsSupported() local 92 assertEquals(1, records.length); in testEventsSupported() 93 assertNotNull(records[0].eventsSupported); in testEventsSupported() 94 getInstrumentation().show(Arrays.toString(records[0].eventsSupported)); in testEventsSupported() 98 final MtpDeviceRecord[] records = mManager.getDevices(); in testDeviceKey() local 99 assertEquals(1, records.length); in testDeviceKey() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | SnoozeHelper.java | 118 final ArrayMap<String, NotificationRecord> records = snoozedPkgs.valueAt(j); in getSnoozed() local 119 if (records != null) { in getSnoozed() 120 snoozedForUser.addAll(records.values()); in getSnoozed() 145 ArrayMap<String, ArrayMap<String, NotificationRecord>> records = in snooze() local 147 if (records == null) { in snooze() 148 records = new ArrayMap<>(); in snooze() 150 ArrayMap<String, NotificationRecord> pkgRecords = records.get(record.sbn.getPackageName()); in snooze() 155 records.put(record.sbn.getPackageName(), pkgRecords); in snooze() 156 mSnoozedNotifications.put(userId, records); in snooze() 166 final Set<Map.Entry<String, NotificationRecord>> records = recordsForPkg.entrySet(); in cancel() local [all …]
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | ServiceIntentSender.java | 59 void sendUpdateNotificationIntent(@NonNull MtpDeviceRecord[] records) { in sendUpdateNotificationIntent() argument 60 Preconditions.checkNotNull(records); in sendUpdateNotificationIntent() 63 if (records.length != 0) { in sendUpdateNotificationIntent() 64 final int[] ids = new int[records.length]; in sendUpdateNotificationIntent() 65 final Notification[] notifications = new Notification[records.length]; in sendUpdateNotificationIntent() 66 for (int i = 0; i < records.length; i++) { in sendUpdateNotificationIntent() 67 ids[i] = records[i].deviceId; in sendUpdateNotificationIntent() 68 notifications[i] = createNotification(mContext, records[i]); in sendUpdateNotificationIntent()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SimSmsTest.java | 38 List<SmsRawData> records = sms.getAllMessagesFromIccEfForSubscriber( in testBasic() local 40 assertNotNull(records); in testBasic() 41 assertTrue(records.size() >= 0); in testBasic() 46 for (int i = 0; i < records.size(); i++) { in testBasic() 47 SmsRawData data = records.get(i); in testBasic()
|
D | RILTest.java | 1346 ArrayList<android.hardware.radio.V1_0.CellInfo> records = in testConvertHalCellInfoListForLTE() local 1348 records.add(record); in testConvertHalCellInfoListForLTE() 1350 ArrayList<CellInfo> ret = RIL.convertHalCellInfoList(records); in testConvertHalCellInfoListForLTE() 1388 ArrayList<android.hardware.radio.V1_0.CellInfo> records = in testConvertHalCellInfoListForGSM() local 1390 records.add(record); in testConvertHalCellInfoListForGSM() 1392 ArrayList<CellInfo> ret = RIL.convertHalCellInfoList(records); in testConvertHalCellInfoListForGSM() 1429 ArrayList<android.hardware.radio.V1_0.CellInfo> records = in testConvertHalCellInfoListForWcdma() local 1431 records.add(record); in testConvertHalCellInfoListForWcdma() 1433 ArrayList<CellInfo> ret = RIL.convertHalCellInfoList(records); in testConvertHalCellInfoListForWcdma() 1479 ArrayList<android.hardware.radio.V1_2.CellInfo> records = in testConvertHalCellInfoListForTdscdma() local [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | FrameTracker.cpp | 149 FrameRecord* records = const_cast<FrameRecord*>(mFrameRecords); in processFencesLocked() local 156 const std::shared_ptr<FenceTime>& rfence = records[idx].frameReadyFence; in processFencesLocked() 158 records[idx].frameReadyTime = rfence->getSignalTime(); in processFencesLocked() 159 if (records[idx].frameReadyTime < INT64_MAX) { in processFencesLocked() 160 records[idx].frameReadyFence = nullptr; in processFencesLocked() 167 records[idx].actualPresentFence; in processFencesLocked() 169 records[idx].actualPresentTime = pfence->getSignalTime(); in processFencesLocked() 170 if (records[idx].actualPresentTime < INT64_MAX) { in processFencesLocked() 171 records[idx].actualPresentFence = nullptr; in processFencesLocked()
|
/frameworks/base/tools/powermodel/test/com/android/powermodel/ |
D | RawBatteryStatsTest.java | 51 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/tools/preload/ |
D | Compile.java | 41 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/base/services/core/java/com/android/server/media/ |
D | MediaSessionStack.java | 286 ArrayList<MediaSessionRecord> records = getPriorityList(true, UserHandle.USER_ALL); in getDefaultVolumeSession() local 287 int size = records.size(); in getDefaultVolumeSession() 289 MediaSessionRecord record = records.get(i); in getDefaultVolumeSession() 299 ArrayList<MediaSessionRecord> records = getPriorityList(true, userId); in getDefaultRemoteSession() local 301 int size = records.size(); in getDefaultRemoteSession() 303 MediaSessionRecord record = records.get(i); in getDefaultRemoteSession()
|
/frameworks/base/core/java/android/app/ |
D | FragmentManager.java | 2084 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/base/services/core/java/com/android/server/display/ |
D | LocalDisplayAdapter.java | 219 ArrayList<DisplayModeRecord> records = new ArrayList<DisplayModeRecord>(); in updatePhysicalDisplayInfoLocked() local 227 for (int j = 0; j < records.size(); j++) { in updatePhysicalDisplayInfoLocked() 228 if (records.get(j).hasMatchingMode(info)) { in updatePhysicalDisplayInfoLocked() 244 records.add(record); in updatePhysicalDisplayInfoLocked() 249 for (int i = 0; i < records.size(); i++) { in updatePhysicalDisplayInfoLocked() 250 DisplayModeRecord record = records.get(i); in updatePhysicalDisplayInfoLocked() 265 boolean recordsChanged = records.size() != mSupportedModes.size() || modesAdded; in updatePhysicalDisplayInfoLocked() 274 for (DisplayModeRecord record : records) { in updatePhysicalDisplayInfoLocked() 793 private Display.Mode[] getDisplayModes(SparseArray<DisplayModeRecord> records) { in getDisplayModes() argument 794 final int size = records.size(); in getDisplayModes() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | PlmnActRecord.java | 136 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/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserSwitcherController.java | 198 ArrayList<UserRecord> records = new ArrayList<>(infos.size()); in refreshUsers() local 229 int index = isCurrent ? 0 : records.size(); in refreshUsers() 230 records.add(index, new UserRecord(info, picture, false /* isGuest */, in refreshUsers() 236 if (records.size() > 1 || guestRecord != null) { in refreshUsers() 260 records.add(guestRecord); in refreshUsers() 263 int index = guestRecord.isCurrent ? 0 : records.size(); in refreshUsers() 264 records.add(index, guestRecord); in refreshUsers() 273 records.add(addUserRecord); in refreshUsers() 276 return records; in refreshUsers()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | UsimPhoneBookManager.java | 499 private void createPbrFile(ArrayList<byte[]> records) { in createPbrFile() argument 500 if (records == null) { in createPbrFile() 507 for (int i = 0; i < records.size(); i++) { in createPbrFile() 510 if (records.get(i)[0] != INVALID_BYTE) { in createPbrFile() 511 mPbrRecords.add(new PbrRecord(records.get(i))); in createPbrFile()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccPhoneBookInterfaceManager.java | 91 List<AdnRecord> records = null; 93 records = (List<AdnRecord>) ar.result; 98 notifyPending(request, records);
|
D | SubscriptionInfoUpdater.java | 396 IccRecords records = iccCard.getIccRecords(); in handleSimLocked() local 397 if (records == null) { in handleSimLocked() 401 if (IccUtils.stripTrailingFs(records.getFullIccId()) == null) { in handleSimLocked() 405 sIccId[phoneId] = IccUtils.stripTrailingFs(records.getFullIccId()); in handleSimLocked() 499 IccRecords records = iccCard.getIccRecords(); in handleSimLoaded() local 500 if (records == null) { // Possibly a race condition. in handleSimLoaded() 504 if (IccUtils.stripTrailingFs(records.getFullIccId()) == null) { in handleSimLoaded() 508 sIccId[phoneId] = IccUtils.stripTrailingFs(records.getFullIccId()); in handleSimLoaded() 549 String[] ehplmns = records.getEhplmns(); in handleSimLoaded() 550 String[] hplmns = records.getPlmnsFromHplmnActRecord(); in handleSimLoaded()
|
D | RadioIndication.java | 566 android.hardware.radio.V1_0.CdmaInformationRecords records) { in cdmaInfoRec() argument 569 int numberOfInfoRecs = records.infoRec.size(); in cdmaInfoRec() 571 CdmaInformationRecord record = records.infoRec.get(i); in cdmaInfoRec() 735 ArrayList<android.hardware.radio.V1_0.CellInfo> records) { in cellInfoList() argument 738 ArrayList<CellInfo> response = RIL.convertHalCellInfoList(records); in cellInfoList() 747 ArrayList<android.hardware.radio.V1_2.CellInfo> records) { in cellInfoList_1_2() argument 750 ArrayList<CellInfo> response = RIL.convertHalCellInfoList_1_2(records); in cellInfoList_1_2() 759 ArrayList<android.hardware.radio.V1_4.CellInfo> records) { in cellInfoList_1_4() argument 762 ArrayList<CellInfo> response = RIL.convertHalCellInfoList_1_4(records); in cellInfoList_1_4() 771 ArrayList<android.hardware.radio.V1_5.CellInfo> records) { in cellInfoList_1_5() argument [all …]
|
/frameworks/native/libs/vr/libbroadcastring/include/libbroadcastring/ |
D | broadcast_ring.h | 454 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/print/java/com/android/server/print/ |
D | UserState.java | 1129 final List<PrintJobStateChangeListenerRecord> records; in handleDispatchPrintJobStateChanged() local 1134 records = new ArrayList<>(mPrintJobStateChangeListenerRecords); in handleDispatchPrintJobStateChanged() 1136 final int recordCount = records.size(); in handleDispatchPrintJobStateChanged() 1138 PrintJobStateChangeListenerRecord record = records.get(i); in handleDispatchPrintJobStateChanged() 1151 final List<ListenerRecord<IPrintServicesChangeListener>> records; in handleDispatchPrintServicesChanged() local 1156 records = new ArrayList<>(mPrintServicesChangeListenerRecords); in handleDispatchPrintServicesChanged() 1158 final int recordCount = records.size(); in handleDispatchPrintServicesChanged() 1160 ListenerRecord<IPrintServicesChangeListener> record = records.get(i); in handleDispatchPrintServicesChanged() 1172 final List<ListenerRecord<IRecommendationsChangeListener>> records; in handleDispatchPrintServiceRecommendationsUpdated() local 1177 records = new ArrayList<>(mPrintServiceRecommendationsChangeListenerRecords); in handleDispatchPrintServiceRecommendationsUpdated() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsManager.java | 1762 List<SmsRawData> records = null; in getAllMessagesFromIcc() local 1767 records = iSms.getAllMessagesFromIccEfForSubscriber( in getAllMessagesFromIcc() 1775 return createMessageListFromRawRecords(records); in getAllMessagesFromIcc() 1909 private ArrayList<SmsMessage> createMessageListFromRawRecords(List<SmsRawData> records) { in createMessageListFromRawRecords() argument 1911 if (records != null) { in createMessageListFromRawRecords() 1912 int count = records.size(); in createMessageListFromRawRecords() 1914 SmsRawData data = records.get(i); in createMessageListFromRawRecords()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | IccRecordsTest.java | 133 int[] records = new int[3]; in testGetSmsCapacityOnIcc() local 134 records[2] = 500; in testGetSmsCapacityOnIcc() 137 AsyncResult.forMessage(fetchCapacityDone, records, null); in testGetSmsCapacityOnIcc()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityEvent.java | 816 final List<AccessibilityRecord> records = mRecords; in setSealed() local 817 if (records != null) { in setSealed() 818 final int recordCount = records.size(); in setSealed() 820 AccessibilityRecord record = records.get(i); in setSealed()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | DatabaseHelper.java | 367 List<SoundModelRecord> records) { in ifViolatesV6PrimaryKeyIsFirstOfAnyDuplicates() argument 370 for (SoundModelRecord record : records) { in ifViolatesV6PrimaryKeyIsFirstOfAnyDuplicates() 382 for (SoundModelRecord record : records) { in ifViolatesV6PrimaryKeyIsFirstOfAnyDuplicates()
|