Home
last modified time | relevance | path

Searched refs:itr (Results 1 – 21 of 21) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/common/
DSessionLibrary.cpp55 std::map<std::vector<uint8_t>, sp<Session>>::iterator itr = mSessions.find(sessionId); in createSession() local
56 if (itr != mSessions.end()) { in createSession()
57 return itr->second; in createSession()
65 std::map<std::vector<uint8_t>, sp<Session>>::iterator itr = mSessions.find(sessionId); in findSession() local
66 if (itr != mSessions.end()) { in findSession()
67 return itr->second; in findSession()
DSession.cpp72 std::map<std::vector<uint8_t>, std::vector<uint8_t>>::iterator itr; in decrypt() local
73 itr = mKeyMap.find(keyIdVector); in decrypt()
74 if (itr == mKeyMap.end()) { in decrypt()
79 auto status = decryptor.decrypt(itr->second /*key*/, iv, srcPtr, destPtr, in decrypt()
/frameworks/av/media/libstagefright/
DMediaAppender.cpp240 for (auto itr = mSDI.begin(); itr != mSDI.end();) { in init() local
242 ALOGV("trackIndex:%zu, %" PRId64 "", itr->exTrackIndex, itr->time); in init()
243 if (itr->meta->findInt64(kKeySampleFileOffset, &offset) && in init()
247 audioTrackIndex == itr->exTrackIndex) { in init()
248 mLastSyncSampleTimeVect[audioTrackIndex] = itr->time; in init()
251 itr = mSDI.erase(itr); in init()
254 ++itr; in init()
271 for (auto itr = mSDI.begin(); itr != mSDI.end();) { in init() local
272 if (itr->time >= mLastSyncSampleTimeVect[audioTrackIndex]) { in init()
273 itr = mSDI.erase(itr); in init()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DBaseAppStateDurations.java110 final Iterator<T> itr = otherDurations.iterator(); in add() local
111 T l = itl.next(), r = itr.next(); in add()
123 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in add()
131 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in add()
184 final Iterator<T> itr = otherDurations.iterator(); in subtract() local
185 T l = itl.next(), r = itr.next(); in subtract()
197 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in subtract()
205 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in subtract()
DBaseAppStateTimeEvents.java49 final Iterator<T> itr = otherDurations.iterator(); in add() local
50 T l = itl.next(), r = itr.next(); in add()
57 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in add()
63 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in add()
DAppBatteryExemptionTracker.java317 final Iterator<UidStateEventWithBattery> itr = otherDurations.iterator(); in add() local
318 UidStateEventWithBattery l = itl.next(), r = itr.next(); in add()
337 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in add()
349 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in add()
DBaseAppStateTimeSlotEvents.java99 final Iterator<Integer> itr = otherEvents.iterator(); in add() local
108 + (start >= minr && start <= maxr ? itr.next() : 0)); in add()
/frameworks/base/core/java/android/util/
DLocalLog.java98 Iterator<String> itr = mLog.iterator(); in dump() local
99 while (itr.hasNext()) { in dump()
100 pw.printf("%s%s\n", indent, itr.next()); in dump()
109 Iterator<String> itr = mLog.descendingIterator(); in reverseDump() local
110 while (itr.hasNext()) { in reverseDump()
111 pw.println(itr.next()); in reverseDump()
/frameworks/native/services/surfaceflinger/
DClientCache.cpp96 auto [itr, success] = in add()
101 it = itr; in add()
197 auto itr = mBuffers.find(processToken); in removeProcess() local
198 if (itr == mBuffers.end()) { in removeProcess()
203 for (auto& [id, clientCacheBuffer] : itr->second.second) { in removeProcess()
212 mBuffers.erase(itr); in removeProcess()
DTransactionCallbackInvoker.cpp103 auto itr = transactionStatsDeque.rbegin(); in findOrCreateTransactionStats() local
104 for (; itr != transactionStatsDeque.rend(); itr++) { in findOrCreateTransactionStats()
105 if (compareCallbackIds(itr->callbackIds, callbackIds) == 0) { in findOrCreateTransactionStats()
106 *outTransactionStats = &(*itr); in findOrCreateTransactionStats()
DSurfaceFlinger.cpp4410 auto itr = mNotifyExpectedPresentMap.find(displayId); in scheduleNotifyExpectedPresentHint() local
4411 if (itr == mNotifyExpectedPresentMap.end()) { in scheduleNotifyExpectedPresentHint()
4448 if (itr->second.hintStatus == NotifyExpectedPresentHintStatus::ScheduleOnTx) { in scheduleNotifyExpectedPresentHint()
4460 if (itr->second.hintStatus.compare_exchange_strong(scheduleHintOnPresent, in scheduleNotifyExpectedPresentHint()
4467 if (auto itr = mNotifyExpectedPresentMap.find(displayId); in sendNotifyExpectedPresentHint() local
4468 itr == mNotifyExpectedPresentMap.end() || in sendNotifyExpectedPresentHint()
4469 itr->second.hintStatus != NotifyExpectedPresentHintStatus::ScheduleOnPresent) { in sendNotifyExpectedPresentHint()
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/
DDrmPlugin.cpp378 std::map<std::string, std::vector<uint8_t>>::iterator itr = in getPropertyByteArray() local
381 if (itr != mByteArrayProperties.end()) { in getPropertyByteArray()
382 *_aidl_return = itr->second; in getPropertyByteArray()
439 auto itr = mSecureStops.find(in_secureStopId.secureStopId); in getSecureStop() local
440 if (itr != mSecureStops.end()) { in getSecureStop()
441 ClearkeySecureStop clearkeyStop = itr->second; in getSecureStop()
462 for (auto itr = mSecureStops.begin(); itr != mSecureStops.end(); ++itr) { in getSecureStopIds() local
464 id.secureStopId = itr->first; in getSecureStopIds()
477 for (auto itr = mSecureStops.begin(); itr != mSecureStops.end(); ++itr) { in getSecureStops() local
478 ClearkeySecureStop clearkeyStop = itr->second; in getSecureStops()
[all …]
/frameworks/base/services/core/java/com/android/server/power/stats/
DKernelWakelockReader.java338 Iterator<KernelWakelockStats.Entry> itr = staleStats.values().iterator(); in removeOldStats() local
339 while (itr.hasNext()) { in removeOldStats()
340 if (itr.next().version != sKernelWakelockUpdateVersion) { in removeOldStats()
341 itr.remove(); in removeOldStats()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DGraphicsUtils.java86 RegionIterator itr = new RegionIterator(r); in getArea() local
89 while (itr.next(tempRect)) { in getArea()
/frameworks/libs/modules-utils/javatests/com/android/internal/util/
DStateMachineTest.java227 Iterator<LogRec> itr = smQuitTest.mLogRecs.iterator(); in testStateMachineQuit() local
229 lr = itr.next(); in testStateMachineQuit()
234 lr = itr.next(); in testStateMachineQuit()
238 lr = itr.next(); in testStateMachineQuit()
330 Iterator<LogRec> itr = smQuitNowTest.mLogRecs.iterator(); in testStateMachineQuitNow() local
331 LogRec lr = itr.next(); in testStateMachineQuitNow()
336 lr = itr.next(); in testStateMachineQuitNow()
340 lr = itr.next(); in testStateMachineQuitNow()
436 Iterator<LogRec> itr = smQuitNowAfterStartTest.mLogRecs.iterator(); in testStateMachineQuitNowAfterStart() local
437 lr = itr.next(); in testStateMachineQuitNowAfterStart()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIntRangeManager.java637 Iterator<IntRange> itr = mRanges.iterator(); in populateAllRanges() local
639 while (itr.hasNext()) { in populateAllRanges()
640 IntRange currRange = (IntRange) itr.next(); in populateAllRanges()
DGsmCdmaPhone.java1862 for (int itr = 0;itr < dtmfString.length(); itr++) { in sendBurstDtmf()
1863 if (!PhoneNumberUtils.is12Key(dtmfString.charAt(itr))) { in sendBurstDtmf()
1867 + dtmfString.charAt(itr) in sendBurstDtmf()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp544 auto itr = mReleaseBufferCallbacks.find(callbackId); in popReleaseBufferCallbackLocked() local
545 if (itr == mReleaseBufferCallbacks.end()) { in popReleaseBufferCallbackLocked()
548 callback = itr->second; in popReleaseBufferCallbackLocked()
549 mReleaseBufferCallbacks.erase(itr); in popReleaseBufferCallbackLocked()
638 auto itr = mBuffers.find(buffer->getId()); in getCacheId() local
639 if (itr == mBuffers.end()) { in getCacheId()
642 itr->second = getCounter(); in getCacheId()
671 auto itr = mBuffers.begin(); in findLeastRecentlyUsedBuffer() local
672 uint64_t minCounter = itr->second; in findLeastRecentlyUsedBuffer()
673 auto minBuffer = itr; in findLeastRecentlyUsedBuffer()
[all …]
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.cpp670 auto itr = windowToConfig.find(anw); in configureStreamsLocked() local
671 if (itr != windowToConfig.end() && (itr->second) == configuredOutput) { in configureStreamsLocked()
721 auto itr = windowToConfig.find(anw); in configureStreamsLocked() local
722 remoteRet = mRemote->createStream(itr->second, &streamId); in configureStreamsLocked()
726 std::move(itr->second)))); in configureStreamsLocked()
727 windowToConfig.erase(itr); in configureStreamsLocked()
DACameraManager.cpp134 auto itr = tagToSectionMap.find(tag); in createDescriptorFromAidl() local
135 if (itr == tagToSectionMap.end()) { in createDescriptorFromAidl()
139 String8 sectionString = String8(itr->second.c_str()); in createDescriptorFromAidl()
/frameworks/native/libs/ui/
DGralloc4.cpp767 auto itr = in metadataDumpHelper() local
777 if (itr == metadataDump.end()) { in metadataDumpHelper()
781 return decodeFunction(itr->metadata, outT); in metadataDumpHelper()