Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/nfc/
DNdefMessage.java111 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 …]
DNdefRecord.java785 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/services/core/java/com/android/server/media/
DMediaSessionStack.java160 ArrayList<MediaSessionRecord> records = getPriorityListLocked(true, 0, userId); in getDefaultSession() local
161 if (records.size() > 0) { in getDefaultSession()
162 return records.get(0); in getDefaultSession()
180 ArrayList<MediaSessionRecord> records = getPriorityListLocked(true, in getDefaultMediaButtonSession() local
182 if (records.size() > 0) { in getDefaultMediaButtonSession()
183 mCachedButtonReceiver = records.get(0); in getDefaultMediaButtonSession()
195 ArrayList<MediaSessionRecord> records = getPriorityListLocked(true, 0, userId); in getDefaultVolumeSession() local
196 int size = records.size(); in getDefaultVolumeSession()
198 MediaSessionRecord record = records.get(i); in getDefaultVolumeSession()
208 ArrayList<MediaSessionRecord> records = getPriorityListLocked(true, 0, userId); in getDefaultRemoteSession() local
[all …]
DMediaSessionService.java441 List<MediaSessionRecord> records = mPriorityStack.getActiveSessions(userId); in pushSessionsChanged() local
442 int size = records.size(); in pushSessionsChanged()
444 rememberMediaButtonReceiverLocked(records.get(0)); in pushSessionsChanged()
448 tokens.add(new MediaSession.Token(records.get(i).getControllerBinder())); in pushSessionsChanged()
621 ArrayList<MediaSessionRecord> records = mPriorityStack in getSessions() local
623 int size = records.size(); in getSessions()
625 binders.add(records.get(i).getControllerBinder().asBinder()); in getSessions()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSimSmsTest.java37 List<SmsRawData> records = sms.getAllMessagesFromIccEf(ActivityThread.currentPackageName()); in testBasic() local
38 assertNotNull(records); in testBasic()
39 assertTrue(records.size() >= 0); in testBasic()
44 for (int i = 0; i < records.size(); i++) { in testBasic()
45 SmsRawData data = records.get(i); in testBasic()
/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.cpp152 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/av/media/common_time/
Dlocal_clock.cpp82 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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java141 ArrayList<UserRecord> records = new ArrayList<>(infos.size()); in refreshUsers() local
162 int index = isCurrent ? 0 : records.size(); in refreshUsers()
163 records.add(index, new UserRecord(info, picture, false /* isGuest */, in refreshUsers()
182 records.add(new UserRecord(null /* info */, null /* picture */, in refreshUsers()
187 int index = guestRecord.isCurrent ? 0 : records.size(); in refreshUsers()
188 records.add(index, guestRecord); in refreshUsers()
193 records.add(new UserRecord(null /* info */, null /* picture */, in refreshUsers()
198 return records; in refreshUsers()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimPhoneBookManager.java324 private void createPbrFile(ArrayList<byte[]> records) { in createPbrFile() argument
325 if (records == null) { in createPbrFile()
330 mPbrFile = new PbrFile(records); in createPbrFile()
385 PbrFile(ArrayList<byte[]> records) { in PbrFile() argument
389 for (byte[] record: records) { in PbrFile()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java474 List<SubInfoRecord> records = getActiveSubInfoList(); in getActiveSubInfoCount() local
475 if (records == null) { in getActiveSubInfoCount()
479 logd("[getActiveSubInfoCount]- count: " + records.size()); in getActiveSubInfoCount()
480 return records.size(); in getActiveSubInfoCount()
1225 final List<SubInfoRecord> records = getActiveSubInfoList(); in clearDefaultsForInactiveSubIds() local
1226 logdl("[clearDefaultsForInactiveSubIds] records: " + records); in clearDefaultsForInactiveSubIds()
1227 if (shouldDefaultBeCleared(records, getDefaultDataSubId())) { in clearDefaultsForInactiveSubIds()
1231 if (shouldDefaultBeCleared(records, getDefaultSmsSubId())) { in clearDefaultsForInactiveSubIds()
1235 if (shouldDefaultBeCleared(records, getDefaultVoiceSubId())) { in clearDefaultsForInactiveSubIds()
1241 private boolean shouldDefaultBeCleared(List<SubInfoRecord> records, long subId) { in shouldDefaultBeCleared() argument
[all …]
/frameworks/opt/telephony/src/java/android/telephony/
DSmsManager.java625 List<SmsRawData> records = null; in getAllMessagesFromIcc() local
630 records = iccISms.getAllMessagesFromIccEf(ActivityThread.currentPackageName()); in getAllMessagesFromIcc()
636 return createMessageListFromRawRecords(records); in getAllMessagesFromIcc()
783 private static ArrayList<SmsMessage> createMessageListFromRawRecords(List<SmsRawData> records) { in createMessageListFromRawRecords() argument
785 if (records != null) { in createMessageListFromRawRecords()
786 int count = records.size(); in createMessageListFromRawRecords()
788 SmsRawData data = records.get(i); in createMessageListFromRawRecords()
/frameworks/av/include/common_time/
Dlocal_clock.h38 int32_t getDebugLog(struct local_time_debug_event* records,
/frameworks/av/media/libmediaplayerservice/
DStagefrightPlayer.cpp192 const media::Metadata::Filter& /* ids */, Parcel *records) { in getMetadata() argument
197 Metadata metadata(records); in getMetadata()
DStagefrightPlayer.h65 const media::Metadata::Filter& ids, Parcel *records);
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java1288 ArrayList<UpdateRecord> records = mRecordsByProvider.get(provider); in updateProviderListenersLocked() local
1289 if (records != null) { in updateProviderListenersLocked()
1290 final int N = records.size(); in updateProviderListenersLocked()
1292 UpdateRecord record = records.get(i); in updateProviderListenersLocked()
1326 ArrayList<UpdateRecord> records = mRecordsByProvider.get(provider); in applyRequirementsLocked()
1330 if (records != null) { in applyRequirementsLocked()
1331 for (UpdateRecord record : records) { in applyRequirementsLocked()
1352 for (UpdateRecord record : records) { in applyRequirementsLocked()
1393 ArrayList<UpdateRecord> records = mRecordsByProvider.get(provider); in UpdateRecord() local
1394 if (records == null) { in UpdateRecord()
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java781 final List<AccessibilityRecord> records = mRecords; in setSealed() local
782 if (records != null) { in setSealed()
783 final int recordCount = records.size(); in setSealed()
785 AccessibilityRecord record = records.get(i); in setSealed()
/frameworks/base/core/java/android/os/
DStrictMode.java1203 final ArrayList<ViolationInfo> records = violationsBeingTimed.get(); in handleViolationWithTimingAttempt() local
1204 if (records.size() >= MAX_OFFENSES_PER_LOOP) { in handleViolationWithTimingAttempt()
1208 records.add(info); in handleViolationWithTimingAttempt()
1209 if (records.size() > 1) { in handleViolationWithTimingAttempt()
1249 for (int n = 0; n < records.size(); ++n) { in handleViolationWithTimingAttempt()
1250 ViolationInfo v = records.get(n); in handleViolationWithTimingAttempt()
1256 records.clear(); in handleViolationWithTimingAttempt()
/frameworks/base/docs/html/guide/topics/connectivity/nfc/
Dnfc.jd24 <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/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.h62 const media::Metadata::Filter& ids, Parcel *records);
DNuPlayerDriver.cpp525 const media::Metadata::Filter& /* ids */, Parcel *records) { in getMetadata() argument
530 Metadata meta(records); in getMetadata()
/frameworks/native/opengl/specs/
DEGL_ANDROID_recordable.txt38 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/include/media/
DMediaPlayerInterface.h199 Parcel *records) { in getMetadata() argument
/frameworks/base/docs/html/about/versions/
Dandroid-2.3.3.jd90 the standard format in which "records" carrying data are transmitted between
91 devices and tags. An NDEF message certain many NDEF records of different types.
/frameworks/base/services/print/java/com/android/server/print/
DUserState.java892 final List<PrintJobStateChangeListenerRecord> records; in handleDispatchPrintJobStateChanged() local
897 records = new ArrayList<PrintJobStateChangeListenerRecord>( in handleDispatchPrintJobStateChanged()
900 final int recordCount = records.size(); in handleDispatchPrintJobStateChanged()
902 PrintJobStateChangeListenerRecord record = records.get(i); in handleDispatchPrintJobStateChanged()

12