Searched defs:it (Results 26 - 50 of 113) sorted by path

12345

/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG2TSAssembler.cpp62 List<sp<ABuffer> >::iterator it = queue->begin(); local
63 while (it != queue->end()) {
64 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
68 it = queue->erase(it);
H A DAMPEG4AudioAssembler.cpp498 List<sp<ABuffer> >::iterator it = queue->begin(); local
499 while (it != queue->end()) {
500 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
504 it = queue->erase(it);
H A DAMPEG4ElementaryAssembler.cpp215 List<sp<ABuffer> >::iterator it = queue->begin(); local
216 while (it != queue->end()) {
217 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
221 it = queue->erase(it);
345 for (List<AUHeader>::iterator it = headers.begin();
346 it != headers.end(); ++it) {
347 const AUHeader &header = *it;
H A DARTPConnection.cpp218 List<StreamInfo>::iterator it = mStreams.begin(); local
219 while (it != mStreams.end()
220 && (it->mRTPSocket != rtpSocket || it->mRTCPSocket != rtcpSocket)) {
221 ++it;
224 if (it == mStreams.end()) {
228 mStreams.erase(it);
257 for (List<StreamInfo>::iterator it = mStreams.begin();
258 it != mStreams.end(); ++it) {
281 List<StreamInfo>::iterator it = mStreams.begin(); local
312 List<StreamInfo>::iterator it = mStreams.begin(); local
655 List<StreamInfo>::iterator it = mStreams.begin(); local
[all...]
H A DARTPSource.cpp154 List<sp<ABuffer> >::iterator it = mQueue.begin(); local
155 while (it != mQueue.end() && (uint32_t)(*it)->int32Data() < seqNum) {
156 ++it;
159 if (it != mQueue.end() && (uint32_t)(*it)->int32Data() == seqNum) {
164 mQueue.insert(it, buffer);
H A DARawAudioAssembler.cpp62 List<sp<ABuffer> >::iterator it = queue->begin(); local
63 while (it != queue->end()) {
64 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
68 it = queue->erase(it);
/frameworks/av/media/libstagefright/wifi-display/rtp/
H A DRTPSender.cpp340 // it wouldn't have fit as part of a STAP-A packet.
710 List<sp<ABuffer> >::iterator it = mHistory.begin(); local
712 while (it != mHistory.end()) {
713 const sp<ABuffer> &buffer = *it;
745 ++it;
/frameworks/av/media/ndk/
H A DNdkImageReader.cpp340 for (auto it = mAcquiredImages.begin();
341 it != mAcquiredImages.end(); it++) {
342 AImage* image = *it;
347 for (auto it = mBuffers.begin();
348 it != mBuffers.end(); it++) {
349 delete *it;
461 // Return a BufferItem pointer and remove it from the list
462 auto it local
[all...]
/frameworks/av/media/utils/
H A DBatteryNotifier.cpp214 std::map<uid_t, int>::iterator it = mVideoRefCounts.begin(); local
215 for (; it != mVideoRefCounts.end(); ++it) {
216 mBatteryStatService->noteStartVideo(it->first);
218 it = mAudioRefCounts.begin();
219 for (; it != mAudioRefCounts.end(); ++it) {
220 mBatteryStatService->noteStartAudio(it->first);
/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DCollection.h94 CollectionConstIterator it = (*this).find(key); local
95 return (it == (*this).end()) ? NULL : it->second;
112 CollectionConstIterator it; local
113 for (it = (*this).begin(); it != (*this).end(); ++it) {
114 T *element = it->second;
127 CollectionIterator it; local
128 for (it
[all...]
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp225 typename std::map<string, T *>::iterator it = elementsMap.find(name); local
226 ALOG_ASSERT(it != elementsMap.end(), "Element %s not found", name.c_str());
227 return it != elementsMap.end() ? it->second : NULL;
234 typename std::map<string, T *>::const_iterator it = elementsMap.find(name); local
235 ALOG_ASSERT(it != elementsMap.end(), "Element %s not found", name.c_str());
236 return it != elementsMap.end() ? it->second : NULL;
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.cpp201 auto it = mBufferIdMap.find(buf); local
202 if (it == mBufferIdMap.end()) {
208 return std::make_pair(false, it->second);
289 // so it needs to be maintained for HAL backwards compatibility.
836 // drop all references, it will be destroyed (as well as the enclosed
936 // so it needs to be maintained for HAL backwards compatibility.
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp131 ALOGE("HAL returns empty request metadata fmq, not use it");
137 ALOGE("Transaction error when getting request metadata fmq: %s, not use it",
145 ALOGE("HAL returns empty result metadata fmq, not use it");
301 // wait on assorted callbacks,etc, to complete before it can return.
839 // This should never happen; it indicates a wrong client implementation
1410 // Free up the stream endpoint so that it can be used by some other stream
2252 // Free up the stream endpoint so that it can be used by some other stream
2308 // Save stack trace. View by dumping it later.
2343 // the last reference to it.
2368 // Check if it'
3339 auto it = mInflightBufferMap.find(key); local
3356 auto it = bIdMap.find(buf); local
3379 auto it = bIdMap.find(handle); local
4619 auto it = mPendingStreams.begin(); local
[all...]
H A DCamera3InputStream.cpp82 * in which case we reassign it to acquire_fence
111 Vector<BufferItem>::iterator it, end; local
112 for (it = mBuffersInFlight.begin(), end = mBuffersInFlight.end();
113 it != end;
114 ++it) {
116 const BufferItem& tmp = *it;
121 mBuffersInFlight.erase(it);
H A DCamera3Stream.cpp613 List<wp<Camera3StreamBufferListener> >::iterator it, end; local
623 for (it = mBufferListenerList.begin(), end = mBufferListenerList.end();
624 it != end;
625 ++it) {
627 sp<Camera3StreamBufferListener> listener = it->promote();
708 List<wp<Camera3StreamBufferListener> >::iterator it, end; local
709 for (it = mBufferListenerList.begin(), end = mBufferListenerList.end();
710 it != end;
712 if (*it == listener) {
716 it
727 List<wp<Camera3StreamBufferListener> >::iterator it, end; local
[all...]
/frameworks/av/services/camera/libcameraservice/gui/
H A DRingBufferConsumer.cpp69 List<RingBufferItem>::iterator it, end, accIt; local
75 for (it = mBufferItemList.begin(), end = mBufferItemList.end();
76 it != end;
77 ++it) {
79 const RingBufferItem& item = *it;
95 accIt = it;
165 List<RingBufferItem>::iterator it, end; local
167 for (it = mBufferItemList.begin(), end = mBufferItemList.end();
168 it != end;
169 ++it) {
190 List<RingBufferItem>::iterator it, end, accIt; local
328 List<RingBufferItem>::iterator it, end, accIt; local
[all...]
/frameworks/av/services/camera/libcameraservice/utils/
H A DCameraTraces.cpp84 List<ProcessCallStack>::iterator it, end; local
85 for (it = pcsList.begin(), end = pcsList.end(); it != end; ++it) {
86 const ProcessCallStack& pcs = *it;
H A DClientManager.h263 * This may return the ClientDescriptor passed in if it would be evicted.
293 * This may return the ClientDescriptor passed in if it would be evicted.
441 // Switch back owner if the incoming client has the highest priority, as it is MRU
507 auto it = evicted.begin(); local
508 if (it != evicted.end() && *it == client) {
/frameworks/av/services/mediaanalytics/
H A DMediaAnalyticsService.cpp134 // ALWAYS at the end, since it catches everything
239 // validate the record; we discard if we don't like it
247 // sure it doesn't appear in the finalized list.
260 // if finalizing, we'll remove it
286 // combine the records, send it to finalized if appropriate
474 List<MetricsSummarizer *>::iterator it = list->begin(); local
475 for (; it != list->end(); it++) {
476 if (only != NULL && strcmp(only, (*it)->getKey()) != 0) {
477 ALOGV("Told to omit '%s'", (*it)
516 List<MediaAnalyticsItem *>::iterator it = theList->begin(); local
703 List<MetricsSummarizer *>::iterator it = summarizers->begin(); local
[all...]
H A DMetricsSummarizer.cpp106 List<MediaAnalyticsItem *>::iterator it = mSummaries->begin(); local
107 if (it != mSummaries->end()) {
109 for (; it != mSummaries->end(); it++) {
110 if (only != NULL && strcmp(only, (*it)->getKey().c_str()) != 0) {
113 AString entry = (*it)->toString();
141 List<MediaAnalyticsItem *>::iterator it = mSummaries->begin(); local
142 for (; it != mSummaries->end(); it++) {
143 bool good = sameAttributes((*it), ite
[all...]
/frameworks/base/core/java/android/view/animation/
H A DClipRectAnimation.java56 protected void applyTransformation(float it, Transformation tr) { argument
57 int l = mFromRect.left + (int) ((mToRect.left - mFromRect.left) * it);
58 int t = mFromRect.top + (int) ((mToRect.top - mFromRect.top) * it);
59 int r = mFromRect.right + (int) ((mToRect.right - mFromRect.right) * it);
60 int b = mFromRect.bottom + (int) ((mToRect.bottom - mFromRect.bottom) * it);
/frameworks/base/core/jni/
H A Dandroid_os_VintfObject.cpp50 typename V::const_iterator it; local
52 for (i = 0, it = v.begin(); it != v.end(); ++i, ++it) {
53 env->SetObjectArrayElement(ret, i, env->NewStringUTF(it->c_str()));
H A Dcom_android_internal_os_FuseAppLoop.cpp87 auto it = mBuffers.find(inode); variable
88 CHECK(it != mBuffers.end());
90 CallOnCommand(FUSE_READ, unique, inode, offset, size, it->second->get());
97 auto it = mBuffers.find(inode); variable
98 CHECK(it != mBuffers.end());
100 jbyteArray const javaBuffer = it->second->get();
H A Dfd_utils.cpp153 // S_ISDIR : Not supported. (We could if we wanted to, but it's unused).
194 // In particular, it can't set O_SYNC and O_DSYNC. We'll have to test for
310 // This is an unnamed local socket, we do not accept it.
316 // This is a local socket with an abstract address, we do not accept it.
323 // pathname (man 7 unix). Remove the terminator before assigning it to an
428 std::unordered_map<int, FileDescriptorInfo*>::const_iterator it; local
429 for (it = open_fd_map_.begin(); it != open_fd_map_.end(); ++it) {
430 const FileDescriptorInfo* info = it
452 std::unordered_map<int, FileDescriptorInfo*>::iterator it = open_fd_map_.begin(); local
504 std::set<int>::const_iterator it; local
[all...]
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp368 DrmSupportInfo::FileSuffixIterator it = info.getFileSuffixIterator(); local
369 while (it.hasNext()) {
370 String8 value = it.next();
559 DrmInfo::KeyIterator it = pDrmInfo->keyIterator(); local
563 while (it.hasNext()) {
564 String8 key = it.next();

Completed in 3821 milliseconds

12345