Home
last modified time | relevance | path

Searched refs:it (Results 1 – 25 of 882) sorted by relevance

12345678910>>...36

/frameworks/minikin/tests/unittest/
DBidiUtilsTest.cpp37 auto it = bidiText.begin(); in TEST() local
38 EXPECT_NE(bidiText.end(), it); in TEST()
39 EXPECT_EQ(Range(0, ltrLength), (*it).range); in TEST()
40 EXPECT_FALSE((*it).isRtl); in TEST()
41 ++it; in TEST()
42 EXPECT_EQ(bidiText.end(), it); in TEST()
46 auto it = bidiText.begin(); in TEST() local
47 EXPECT_NE(bidiText.end(), it); in TEST()
48 EXPECT_EQ(Range(0, ltrLength), (*it).range); in TEST()
49 EXPECT_FALSE((*it).isRtl); in TEST()
[all …]
DStringPieceTest.cpp122 SplitIterator it(s, ','); in TEST() local
123 EXPECT_FALSE(it.hasNext()); in TEST()
127 SplitIterator it(s, ','); in TEST() local
128 EXPECT_TRUE(it.hasNext()); in TEST()
129 EXPECT_EQ("abcde", it.next()); in TEST()
130 EXPECT_FALSE(it.hasNext()); in TEST()
134 SplitIterator it(s, ','); in TEST() local
135 EXPECT_TRUE(it.hasNext()); in TEST()
136 EXPECT_EQ("a", it.next()); in TEST()
137 EXPECT_TRUE(it.hasNext()); in TEST()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DAndroidPackageParsingEquivalenceTest.kt39 val oldAppInfo = oldPackages.asSequence().map { oldAppInfo(it, flags) } in applicationInfoEquality()
40 val newAppInfo = newPackages.asSequence().map { newAppInfo(it, flags) } in applicationInfoEquality()
42 val firstName = it.first?.packageName in applicationInfoEquality()
43 val secondName = it.second?.packageName in applicationInfoEquality()
50 .that(it.first?.dumpToString()) in applicationInfoEquality()
51 .isEqualTo(it.second?.dumpToString()) in applicationInfoEquality()
72 val oldPackageInfo = oldPackages.asSequence().map { oldPackageInfo(it, flags) } in packageInfoEquality()
73 val newPackageInfo = newPackages.asSequence().map { newPackageInfo(it, flags) } in packageInfoEquality()
76 val firstName = it.first?.packageName in packageInfoEquality()
77 val secondName = it.second?.packageName in packageInfoEquality()
[all …]
DAndroidPackageInfoFlagBehaviorTest.kt75 pkgInfo(PackageManager.GET_ACTIVITIES) { listOf(it.activities) }, in <lambda>()
76 pkgInfo(PackageManager.GET_GIDS) { listOf(it.gids) }, in <lambda>()
77 pkgInfo(PackageManager.GET_INSTRUMENTATION) { listOf(it.instrumentation) }, in <lambda>()
78 pkgInfo(PackageManager.GET_META_DATA) { listOf(it.applicationInfo.metaData) }, in <lambda>()
79 pkgInfo(PackageManager.GET_PROVIDERS) { listOf(it.providers) }, in <lambda>()
80 pkgInfo(PackageManager.GET_RECEIVERS) { listOf(it.receivers) }, in <lambda>()
81 pkgInfo(PackageManager.GET_SERVICES) { listOf(it.services) }, in <lambda>()
82 pkgInfo(PackageManager.GET_SIGNATURES) { listOf(it.signatures) }, in <lambda>()
83 pkgInfo(PackageManager.GET_SIGNING_CERTIFICATES) { listOf(it.signingInfo) }, in <lambda>()
85 it.applicationInfo.run { listOf(sharedLibraryFiles, sharedLibraryFiles) } in <lambda>()
[all …]
/frameworks/av/media/libstagefright/
DFrameRenderTracker.cpp58 for (std::list<Info>::iterator it = mRenderQueue.begin(); in updateInfoForDequeuedBuffer() local
59 it != mRenderQueue.end(); ++it) { in updateInfoForDequeuedBuffer()
60 if (it->mGraphicBuffer->handle == buf->handle) { in updateInfoForDequeuedBuffer()
61 renderInfo = it; in updateInfoForDequeuedBuffer()
116 for (std::list<Info>::iterator it = mRenderQueue.begin(); in checkFencesAndGetRenderedFrames() local
117 it != mRenderQueue.end(); ) { in checkFencesAndGetRenderedFrames()
119 if (it->mIndex < 0) { in checkFencesAndGetRenderedFrames()
122 } else if (it->mFence != NULL) { in checkFencesAndGetRenderedFrames()
124 nsecs_t signalTime = it->mFence->getSignalTime(); in checkFencesAndGetRenderedFrames()
131 it->mFence.clear(); in checkFencesAndGetRenderedFrames()
[all …]
DACodecBufferChannel.cpp99 BufferInfoIterator it = findClientBuffer(array, buffer); in queueInputBuffer() local
100 if (it == array->end()) { in queueInputBuffer()
103 if (it->mClientBuffer != it->mCodecBuffer) { in queueInputBuffer()
105 it->mCodecBuffer->meta()->clear(); in queueInputBuffer()
107 CHECK(it->mClientBuffer->meta()->findInt64("timeUs", &timeUs)); in queueInputBuffer()
108 it->mCodecBuffer->meta()->setInt64("timeUs", timeUs); in queueInputBuffer()
110 if (it->mClientBuffer->meta()->findInt32("eos", &eos)) { in queueInputBuffer()
111 it->mCodecBuffer->meta()->setInt32("eos", eos); in queueInputBuffer()
114 if (it->mClientBuffer->meta()->findInt32("csd", &csd)) { in queueInputBuffer()
115 it->mCodecBuffer->meta()->setInt32("csd", csd); in queueInputBuffer()
[all …]
DMediaExtractorFactory.cpp148 for (auto it = plugins->begin(); it != plugins->end(); ++it) { in sniff() local
149 ALOGV("sniffing %s", (*it)->def.extractor_name); in sniff()
155 if ((*it)->def.def_version == EXTRACTORDEF_VERSION_NDK_V1) { in sniff()
156 curCreator = (void*) (*it)->def.u.v2.sniff( in sniff()
158 } else if ((*it)->def.def_version == EXTRACTORDEF_VERSION_NDK_V2) { in sniff()
159 curCreator = (void*) (*it)->def.u.v3.sniff( in sniff()
171 plugin = *it; in sniff()
173 *creatorVersion = (*it)->def.def_version; in sniff()
203 for (auto it = pluginList.begin(); it != pluginList.end(); ++it) { in RegisterExtractor() local
204 if (memcmp(&((*it)->def.extractor_uuid), &plugin->def.extractor_uuid, 16) == 0) { in RegisterExtractor()
[all …]
/frameworks/av/media/libnblog/
DEntry.cpp161 auto it = begin(); in args() local
162 ++it; // skip start fmt in args()
163 ++it; // skip timestamp in args()
164 ++it; // skip hash in args()
166 if (it->type == EVENT_FMT_AUTHOR) { in args()
167 ++it; in args()
169 return it; in args()
174 auto it = begin(); in timestamp() local
175 ++it; // skip start fmt in timestamp()
176 return it.payload<int64_t>(); in timestamp()
[all …]
/frameworks/av/services/mediametrics/
DStringUtils.cpp25 std::string tokenizer(std::string::const_iterator& it, in tokenizer() argument
29 for (; it != end && std::isspace(*it); ++it); in tokenizer()
30 if (it == end) return {}; in tokenizer()
32 auto start = it; in tokenizer()
34 if (strchr(reserved, *it)) return {start, ++it}; in tokenizer()
36 ++it; in tokenizer()
37 if (it == end || std::isspace(*it) || strchr(reserved, *it)) return {start, it}; in tokenizer()
44 for (auto it = flags.begin(); ; ) { in split() local
45 auto flag = tokenizer(it, flags.end(), delim); in split()
50 auto token = tokenizer(it, flags.end(), delim); in split()
[all …]
/frameworks/compile/mclinker/lib/Script/
DSectionsCmd.cpp24 for (iterator it = begin(), ie = end(); it != ie; ++it) { in ~SectionsCmd() local
25 if (*it != NULL) in ~SectionsCmd()
26 delete *it; in ~SectionsCmd()
33 for (const_iterator it = begin(), ie = end(); it != ie; ++it) { in dump() local
34 switch ((*it)->getKind()) { in dump()
39 (*it)->dump(); in dump()
67 for (const_iterator it = begin(), ie = end(); it != ie; ++it) { in activate() local
68 switch ((*it)->getKind()) { in activate()
70 (*it)->activate(pModule); in activate()
73 assignments.push_back(*it); in activate()
[all …]
DOutputSectDesc.cpp35 for (iterator it = begin(), ie = end(); it != ie; ++it) { in ~OutputSectDesc() local
36 if (*it != NULL) in ~OutputSectDesc()
37 delete *it; in ~OutputSectDesc()
100 for (const_iterator it = begin(), ie = end(); it != ie; ++it) { in dump() local
101 switch ((*it)->getKind()) { in dump()
105 (*it)->dump(); in dump()
120 for (StringList::const_iterator it = m_Epilog.phdrs().begin(), in dump() local
122 it != ie; in dump()
123 ++it) { in dump()
124 assert((*it)->kind() == StrToken::String); in dump()
[all …]
/frameworks/base/libs/hwui/
DRootRenderNode.cpp129 for (auto it = mRunningVDAnimators.begin(); it != mRunningVDAnimators.end();) { in runVectorDrawableAnimators() local
130 if ((*it)->animate(*context)) { in runVectorDrawableAnimators()
131 it = mRunningVDAnimators.erase(it); in runVectorDrawableAnimators()
133 it++; in runVectorDrawableAnimators()
142 for (auto it = mPausedVDAnimators.begin(); it != mPausedVDAnimators.end();) { in runVectorDrawableAnimators() local
143 if ((*it)->animate(*context)) { in runVectorDrawableAnimators()
145 it = mPausedVDAnimators.erase(it); in runVectorDrawableAnimators()
147 it++; in runVectorDrawableAnimators()
153 for (auto it = mRunningVDAnimators.begin(); it != mRunningVDAnimators.end();) { in runVectorDrawableAnimators() local
154 if (!(*it)->getVectorDrawable()->getPropertyChangeWillBeConsumed()) { in runVectorDrawableAnimators()
[all …]
/frameworks/compile/mclinker/lib/Target/ARM/
DARMException.cpp25 for (SectionData::iterator it = sectData->begin(), in findRegionFragment() local
26 end = sectData->end(); it != end; ++it) { in findRegionFragment()
27 if (it->getKind() == Fragment::Region) { in findRegionFragment()
28 return static_cast<RegionFragment*>(&*it); in findRegionFragment()
45 for (ARMInputExMap::iterator it = exMap->begin(), end = exMap->end(); in addInputMap() local
46 it != end; ++it) { in addInputMap()
47 ARMExSectionTuple* exTuple = it->second.get(); in addInputMap()
54 for (Module::obj_iterator it = pModule.obj_begin(), in create() local
55 end = pModule.obj_end(); it != end; ++it) { in create()
56 Input* input = *it; in create()
[all …]
/frameworks/compile/mclinker/lib/LD/
DMergedStringTable.cpp19 string_map_iterator it, end = m_StringMap.end(); in finalizeOffset() local
21 for (it = m_StringMap.begin(); it != end; ++it) { in finalizeOffset()
22 it->setValue(offset); in finalizeOffset()
23 offset += it->getKey().size() + 1; in finalizeOffset()
30 string_map_iterator it, end = m_StringMap.end(); in emit() local
31 for (it = m_StringMap.begin(); it != end; ++it) { in emit()
32 ::memcpy(ptr, it->getKey().data(), it->getKey().size()); in emit()
33 ptr += it->getKey().size() + 1; in emit()
DBranchIslandFactory.cpp46 for (SectionData::iterator it = sd.begin(), ie = sd.end(); it != ie; in group() local
47 ++it) { in group()
48 if ((*it).getOffset() + (*it).size() > group_end) { in group()
49 Fragment* frag = (*it).getPrevNode(); in group()
55 group_end = (*it).getOffset() + m_MaxFwdBranchRange; in group()
81 for (iterator it = begin(), ie = end(), prev = ie; it != ie; in getIslands() local
82 prev = it, ++it) { in getIslands()
83 if (pFragment.getParent() != (*it).getParent()) { in getIslands()
87 if ((pFragment.getOffset() < (*it).offset()) && in getIslands()
88 ((pFragment.getOffset() + m_MaxFwdBranchRange) >= (*it).offset())) { in getIslands()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DRecurrenceRuleTest.java60 final Iterator<Range<ZonedDateTime>> it = r.cycleIterator(); in testSimpleMonth() local
61 assertTrue(it.hasNext()); in testSimpleMonth()
64 ZonedDateTime.parse("2015-12-14T00:00:00.00Z")), it.next()); in testSimpleMonth()
65 assertTrue(it.hasNext()); in testSimpleMonth()
68 ZonedDateTime.parse("2015-11-14T00:00:00.00Z")), it.next()); in testSimpleMonth()
80 final Iterator<Range<ZonedDateTime>> it = r.cycleIterator(); in testSimpleDays() local
81 assertTrue(it.hasNext()); in testSimpleDays()
84 ZonedDateTime.parse("2010-11-20T00:11:00.00Z")), it.next()); in testSimpleDays()
85 assertTrue(it.hasNext()); in testSimpleDays()
88 ZonedDateTime.parse("2010-11-17T00:11:00.00Z")), it.next()); in testSimpleDays()
[all …]
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsGOT.cpp119 for (MultipartListType::iterator it = m_MultipartList.begin(); in finalizeScanning() local
120 it != m_MultipartList.end(); in finalizeScanning()
121 ++it) { in finalizeScanning()
123 it->m_pLastLocal = &m_SectionData->back(); in finalizeScanning()
124 reserve(it->m_LocalNum); in finalizeScanning()
125 it->m_pLastGlobal = &m_SectionData->back(); in finalizeScanning()
126 reserve(it->m_GlobalNum); in finalizeScanning()
127 it->m_pLastTLS = &m_SectionData->back(); in finalizeScanning()
128 reserve(it->m_TLSNum); in finalizeScanning()
130 if (it == m_MultipartList.begin()) { in finalizeScanning()
[all …]
/frameworks/base/tools/codegen/src/com/android/codegen/
DFileInfo.kt57 …// $ $THIS_SCRIPT_LOCATION$CODEGEN_NAME ${cliArgs.dropLast(1).joinToString("") { "$it " }}$fileEsc… in <lambda>()
66 = generatedWarning.lines().takeWhile { it.isBlank() }.size in <lambda>()
70 .flatMap { it.plusNested() } in <lambda>()
71 .filterNot { it.isInterface } in <lambda>()
73 val mainClass = classes.find { it.nameAsString == file.nameWithoutExtension }!! in <lambda>()
82 it.name == (ast.parentNode.get()!! as TypeDeclaration<*>).nameAsString in <lambda>()
92 val mainClassBounds = classBounds.find { it.nestedIn == null }!! in <lambda>()
100 codeChunks.forEach { print(it) } in <lambda>()
109 it.javaClass == CodeChunk.Code::class.java in <lambda>()
110 || it.javaClass == CodeChunk.ClosingBrace::class.java in <lambda>()
[all …]
DClassPrinter.kt23 && field.fieldAst.modifiers.none { it.keyword == Modifier.Keyword.TRANSIENT } in <lambda>()
30 + fieldsWithMissingNullablity.joinToString(", ") { it.name }) in <lambda>()
34 classAst.extendedTypes.any { it.nameAsString == Parcelable }) { in <lambda>()
43 .find { "class $ClassName" in it }!! in <lambda>()
44 .takeWhile { it.isWhitespace() } in <lambda>()
95 .find { it.nameAsString == DataClass } in <lambda>()
96 ?.let { it as? NormalAnnotationExpr } in <lambda>()
127 !FeatureFlag.CONSTRUCTOR() && !FeatureFlag.BUILDER() && fields.any { !it.isFinal } in <lambda>()
129 || fields.any { it.hasDefault } in <lambda>()
134 FeatureFlag.IMPLICIT_NONNULL -> fields.any { it.isNullable } in <lambda>()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DARTPAssembler.cpp78 for (List<sp<ABuffer> >::const_iterator it = frames.begin(); in MakeADTSCompoundFromAACFrames() local
79 it != frames.end(); ++it) { in MakeADTSCompoundFromAACFrames()
81 totalSize += (*it)->size() + 7; in MakeADTSCompoundFromAACFrames()
86 for (List<sp<ABuffer> >::const_iterator it = frames.begin(); in MakeADTSCompoundFromAACFrames() local
87 it != frames.end(); ++it) { in MakeADTSCompoundFromAACFrames()
88 sp<ABuffer> nal = *it; in MakeADTSCompoundFromAACFrames()
125 for (List<sp<ABuffer> >::const_iterator it = packets.begin(); in MakeCompoundFromPackets() local
126 it != packets.end(); ++it) { in MakeCompoundFromPackets()
127 totalSize += (*it)->size(); in MakeCompoundFromPackets()
132 for (List<sp<ABuffer> >::const_iterator it = packets.begin(); in MakeCompoundFromPackets() local
[all …]
DARTPConnection.cpp218 List<StreamInfo>::iterator it = mStreams.begin(); in onRemoveStream() local
219 while (it != mStreams.end() in onRemoveStream()
220 && (it->mRTPSocket != rtpSocket || it->mRTCPSocket != rtcpSocket)) { in onRemoveStream()
221 ++it; in onRemoveStream()
224 if (it == mStreams.end()) { in onRemoveStream()
228 mStreams.erase(it); in onRemoveStream()
257 for (List<StreamInfo>::iterator it = mStreams.begin(); in onPollStreams() local
258 it != mStreams.end(); ++it) { in onPollStreams()
259 if ((*it).mIsInjected) { in onPollStreams()
263 FD_SET(it->mRTPSocket, &rs); in onPollStreams()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DAllModelTest.kt53 val favoritesList = favoritesIndices.map { "controlId$it" } in <lambda>()
85 .setZone(zoneMap(it)) in <lambda>()
88 it in favoritesIndices in <lambda>()
116 expected.zip(model.elements).forEachIndexed { index, it -> in <lambda>() method
117 assertEquals("Error in item at index $index", it.first, it.second) in <lambda>()
138 expected.zip(new_model.elements).forEachIndexed { index, it -> in <lambda>() method
139 assertEquals("Error in item at index $index", it.first, it.second) in <lambda>()
147 assertTrue(sameControl(it.first, it.second)) in <lambda>()
160 assertTrue(sameControl(it.first, it.second)) in <lambda>()
173 it is ControlStatusWrapper && it.controlStatus.control.controlId == id in <lambda>()
[all …]
/frameworks/base/cmds/statsd/src/config/
DConfigManager.cpp69 auto it = thiz->mConfigReceivers.find(configKey); in configReceiverDied() local
70 if (it != thiz->mConfigReceivers.end() && it->second == pir) { in configReceiverDied()
103 auto it = thiz->mActiveConfigsChangedReceivers.find(uid); in activeConfigChangedReceiverDied() local
104 if (it != thiz->mActiveConfigsChangedReceivers.end() && it->second == pir) { in activeConfigChangedReceiverDied()
151 auto it = uidIt->second.find(key); in UpdateConfig() local
152 if (it == uidIt->second.end() && in UpdateConfig()
258 for (auto it = uidIt->second.begin(); it != uidIt->second.end(); ++it) { in RemoveConfigs() local
260 remove_saved_configs(*it); in RemoveConfigs()
261 removed.push_back(*it); in RemoveConfigs()
287 for (auto it = uidIt->second.begin(); it != uidIt->second.end();) { in RemoveAllConfigs() local
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DCollection.h90 CollectionConstIterator it = (*this).find(key); in get() local
91 return (it == (*this).end()) ? NULL : it->second; in get()
108 CollectionConstIterator it; in findByName() local
109 for (it = (*this).begin(); it != (*this).end(); ++it) { in findByName()
110 T *element = it->second; in findByName()
123 CollectionIterator it; in clear() local
124 for (it = (*this).begin(); it != (*this).end(); ++it) { in clear()
125 delete it->second; in clear()
/frameworks/av/media/bufferpool/2.0/
DObserver.cpp35 auto it = mClients.find(connectionId); in onMessage() local
36 if (it != mClients.end()) { in onMessage()
37 const std::shared_ptr<BufferPoolClient> client = it->second.lock(); in onMessage()
39 mClients.erase(it); in onMessage()
51 for (auto it = mClients.begin(); it != mClients.end();) { in addClient() local
52 if (!it->second.lock() || it->first == connectionId) { in addClient()
53 it = mClients.erase(it); in addClient()
55 ++it; in addClient()

12345678910>>...36