/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 | 785 List<NdefRecord> records = new ArrayList<NdefRecord>(); in parse() local 806 if (!mb && records.size() == 0 && !inChunk && !ignoreMbMe) { in parse() 808 } else if (mb && records.size() != 0 && !ignoreMbMe) { in parse() 876 records.add(new NdefRecord(tnf, type, id, payload)); in parse() 884 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/media/ |
D | MediaSessionStack.java | 203 ArrayList<MediaSessionRecord> records = getPriorityListLocked(true, 0, userId); in getDefaultSession() local 204 if (records.size() > 0) { in getDefaultSession() 205 return records.get(0); in getDefaultSession() 225 ArrayList<MediaSessionRecord> records = getPriorityListLocked(true, in getDefaultMediaButtonSession() local 227 if (records.size() > 0) { in getDefaultMediaButtonSession() 228 MediaSessionRecord record = records.get(0); in getDefaultMediaButtonSession() 235 if (records.contains(mLastInterestingRecord)) { in getDefaultMediaButtonSession() 258 ArrayList<MediaSessionRecord> records = getPriorityListLocked(true, 0, userId); in getDefaultVolumeSession() local 259 int size = records.size(); in getDefaultVolumeSession() 261 MediaSessionRecord record = records.get(i); in getDefaultVolumeSession() [all …]
|
D | MediaSessionService.java | 472 List<MediaSessionRecord> records = mPriorityStack.getActiveSessions(userId); in pushSessionsChanged() local 473 int size = records.size(); in pushSessionsChanged() 474 if (size > 0 && records.get(0).isPlaybackActive(false)) { in pushSessionsChanged() 475 rememberMediaButtonReceiverLocked(records.get(0)); in pushSessionsChanged() 479 tokens.add(new MediaSession.Token(records.get(i).getControllerBinder())); in pushSessionsChanged() 675 ArrayList<MediaSessionRecord> records = mPriorityStack in getSessions() local 677 int size = records.size(); in getSessions() 679 binders.add(records.get(i).getControllerBinder().asBinder()); in getSessions()
|
/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()
|
/frameworks/native/services/surfaceflinger/ |
D | FrameTracker.cpp | 152 FrameRecord* records = const_cast<FrameRecord*>(mFrameRecords); in processFencesLocked() local 159 const sp<Fence>& rfence = records[idx].frameReadyFence; in processFencesLocked() 161 records[idx].frameReadyTime = rfence->getSignalTime(); in processFencesLocked() 162 if (records[idx].frameReadyTime < INT64_MAX) { in processFencesLocked() 163 records[idx].frameReadyFence = NULL; in processFencesLocked() 169 const sp<Fence>& pfence = 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 = NULL; in processFencesLocked()
|
/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/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandler.java | 146 IccRecords records = UiccController.getInstance().getIccRecords( in updateMessageWaitingIndicator() local 148 if (records != null) { in updateMessageWaitingIndicator() 150 records.setVoiceMessageWaiting(1, voicemailCount); in updateMessageWaitingIndicator()
|
D | UsimPhoneBookManager.java | 492 private void createPbrFile(ArrayList<byte[]> records) { in createPbrFile() argument 493 if (records == null) { in createPbrFile() 500 for (int i = 0; i < records.size(); i++) { in createPbrFile() 503 if (records.get(i)[0] != INVALID_BYTE) { in createPbrFile() 504 mPbrRecords.add(new PbrRecord(records.get(i))); in createPbrFile()
|
/frameworks/av/media/common_time/ |
D | local_clock.cpp | 82 int32_t LocalClock::getDebugLog(struct local_time_debug_event* records, in getDebugLog() argument 89 return dev_->get_debug_log(dev_, records, max_records); in getDebugLog()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LocalDisplayAdapter.java | 213 ArrayList<DisplayModeRecord> records = new ArrayList<DisplayModeRecord>(); in updatePhysicalDisplayInfoLocked() local 221 for (int j = 0; j < records.size(); j++) { in updatePhysicalDisplayInfoLocked() 222 if (records.get(j).hasMatchingMode(info)) { in updatePhysicalDisplayInfoLocked() 238 records.add(record); in updatePhysicalDisplayInfoLocked() 243 for (int i = 0; i < records.size(); i++) { in updatePhysicalDisplayInfoLocked() 244 DisplayModeRecord record = records.get(i); in updatePhysicalDisplayInfoLocked() 268 boolean recordsChanged = records.size() != mSupportedModes.size() || modesAdded; in updatePhysicalDisplayInfoLocked() 278 for (DisplayModeRecord record : records) { in updatePhysicalDisplayInfoLocked()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingHelper.java | 399 NotificationManagerService.DumpFilter filter, ArrayMap<String, Record> records) { in dumpRecords() argument 400 final int N = records.size(); in dumpRecords() 402 final Record r = records.valueAt(i); in dumpRecords() 429 JSONArray records = new JSONArray(); in dumpJson() local 455 records.put(record); in dumpJson() 459 ranking.put("records", records); in dumpJson()
|
/frameworks/opt/telephony/src/java/android/telephony/ |
D | SmsManager.java | 794 List<SmsRawData> records = null; in getAllMessagesFromIcc() local 799 records = iccISms.getAllMessagesFromIccEfForSubscriber( in getAllMessagesFromIcc() 807 return createMessageListFromRawRecords(records); in getAllMessagesFromIcc() 974 private static ArrayList<SmsMessage> createMessageListFromRawRecords(List<SmsRawData> records) { in createMessageListFromRawRecords() argument 976 if (records != null) { in createMessageListFromRawRecords() 977 int count = records.size(); in createMessageListFromRawRecords() 979 SmsRawData data = records.get(i); in createMessageListFromRawRecords()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserSwitcherController.java | 195 ArrayList<UserRecord> records = new ArrayList<>(infos.size()); in refreshUsers() local 226 int index = isCurrent ? 0 : records.size(); in refreshUsers() 227 records.add(index, new UserRecord(info, picture, false /* isGuest */, in refreshUsers() 254 records.add(guestRecord); in refreshUsers() 257 int index = guestRecord.isCurrent ? 0 : records.size(); in refreshUsers() 258 records.add(index, guestRecord); in refreshUsers() 267 records.add(addUserRecord); in refreshUsers() 270 return records; in refreshUsers()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LocationManagerService.java | 1364 ArrayList<UpdateRecord> records = mRecordsByProvider.get(provider); in updateProviderListenersLocked() local 1365 if (records != null) { in updateProviderListenersLocked() 1366 final int N = records.size(); in updateProviderListenersLocked() 1368 UpdateRecord record = records.get(i); in updateProviderListenersLocked() 1402 ArrayList<UpdateRecord> records = mRecordsByProvider.get(provider); in applyRequirementsLocked() 1406 if (records != null) { in applyRequirementsLocked() 1407 for (UpdateRecord record : records) { in applyRequirementsLocked() 1431 for (UpdateRecord record : records) { in applyRequirementsLocked() 1479 ArrayList<UpdateRecord> records = mRecordsByProvider.get(provider); in UpdateRecord() local 1480 if (records == null) { in UpdateRecord() [all …]
|
/frameworks/av/include/common_time/ |
D | local_clock.h | 38 int32_t getDebugLog(struct local_time_debug_event* records,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SubscriptionController.java | 611 List<SubscriptionInfo> records = getActiveSubscriptionInfoList( in getActiveSubInfoCount() local 613 if (records == null) { in getActiveSubInfoCount() 617 if (DBG) logd("[getActiveSubInfoCount]- count: " + records.size()); in getActiveSubInfoCount() 618 return records.size(); in getActiveSubInfoCount() 1559 final List<SubscriptionInfo> records = getActiveSubscriptionInfoList( in clearDefaultsForInactiveSubIds() local 1561 if (DBG) logdl("[clearDefaultsForInactiveSubIds] records: " + records); in clearDefaultsForInactiveSubIds() 1562 if (shouldDefaultBeCleared(records, getDefaultDataSubId())) { in clearDefaultsForInactiveSubIds() 1566 if (shouldDefaultBeCleared(records, getDefaultSmsSubId())) { in clearDefaultsForInactiveSubIds() 1570 if (shouldDefaultBeCleared(records, getDefaultVoiceSubId())) { in clearDefaultsForInactiveSubIds() 1579 private boolean shouldDefaultBeCleared(List<SubscriptionInfo> records, int subId) { in shouldDefaultBeCleared() argument [all …]
|
D | SubscriptionInfoUpdater.java | 389 IccRecords records = mPhone[slotId].getIccCard().getIccRecords(); in handleSimLoaded() local 390 if (records == null) { // Possibly a race condition. in handleSimLoaded() 394 if (records.getIccId() == null) { in handleSimLoaded() 398 mIccId[slotId] = records.getIccId(); in handleSimLoaded()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityEvent.java | 793 final List<AccessibilityRecord> records = mRecords; in setSealed() local 794 if (records != null) { in setSealed() 795 final int recordCount = records.size(); in setSealed() 797 AccessibilityRecord record = records.get(i); in setSealed()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | UserState.java | 1129 final List<PrintJobStateChangeListenerRecord> records; in handleDispatchPrintJobStateChanged() local 1134 records = new ArrayList<PrintJobStateChangeListenerRecord>( in handleDispatchPrintJobStateChanged() 1137 final int recordCount = records.size(); in handleDispatchPrintJobStateChanged() 1139 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/docs/html/guide/topics/connectivity/nfc/ |
D | nfc.jd | 24 <li><a href="#creating-records">Creating Common Types of NDEF Records</a> 104 or more records ({@link android.nfc.NdefRecord}). Each NDEF record must be well-formed according to 117 <a href="#creating-records">Creating common types of NDEF records</a> for examples of how to 118 construct NDEF records. </p> 125 have multiple NDEF records). In a well-formed NDEF message, the first {@link android.nfc.NdefRecord} 143 message can contain multiple NDEF records, so don't assume the full payload is in the first NDEF 315 convenience methods to create NDEF records. 512 <h2 id="creating-records">Creating Common Types of NDEF Records</h2> 513 <p>This section describes how to create common types of NDEF records to help you when writing to 516 URI records automatically. Starting in Android 4.1 (API level 16), [all …]
|
/frameworks/base/core/java/android/os/ |
D | StrictMode.java | 1359 final ArrayList<ViolationInfo> records = violationsBeingTimed.get(); in handleViolationWithTimingAttempt() local 1360 if (records.size() >= MAX_OFFENSES_PER_LOOP) { in handleViolationWithTimingAttempt() 1364 records.add(info); in handleViolationWithTimingAttempt() 1365 if (records.size() > 1) { in handleViolationWithTimingAttempt() 1405 for (int n = 0; n < records.size(); ++n) { in handleViolationWithTimingAttempt() 1406 ViolationInfo v = records.get(n); in handleViolationWithTimingAttempt() 1412 records.clear(); in handleViolationWithTimingAttempt()
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_recordable.txt | 38 can be used to create an EGLSurface. One implementation, which records the 43 rendering to an ANativeWindow that records images to a video.
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDriver.h | 68 const media::Metadata::Filter& ids, Parcel *records);
|