Home
last modified time | relevance | path

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

12345678910>>...58

/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/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 …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DDragDetectorTest.kt67 it.recycle() in tearDown()
76 return@argThat it.action == MotionEvent.ACTION_DOWN && it.x == X && it.y == Y && in testNoMove_passesDownAndUp()
77 it.source == InputDevice.SOURCE_TOUCHSCREEN in testNoMove_passesDownAndUp()
82 return@argThat it.action == MotionEvent.ACTION_UP && it.x == X && it.y == Y && in testNoMove_passesDownAndUp()
83 it.source == InputDevice.SOURCE_TOUCHSCREEN in testNoMove_passesDownAndUp()
90 return@argThat it.action == MotionEvent.ACTION_DOWN in testMoveInSlop_touch_passesDownAndUp()
95 return@argThat it.action == MotionEvent.ACTION_DOWN && it.x == X && it.y == Y && in testMoveInSlop_touch_passesDownAndUp()
96 it.source == InputDevice.SOURCE_TOUCHSCREEN in testMoveInSlop_touch_passesDownAndUp()
103 return@argThat it.action == MotionEvent.ACTION_MOVE in testMoveInSlop_touch_passesDownAndUp()
108 return@argThat it.action == MotionEvent.ACTION_UP && it.x == newX && it.y == Y && in testMoveInSlop_touch_passesDownAndUp()
[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/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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScreenOffAnimationController.kt41 animations.forEach { it.initialize(centralSurfaces, lightRevealScrim) } in initialize()
49 animations.firstOrNull { it.startAnimation() } in onStartedGoingToSleep()
57 animations.forEach { it.onScrimOpaqueChanged(isOpaque) } in onScrimOpaqueChanged()
63 animations.forEach { it.onAlwaysOnChanged(alwaysOn) } in onAlwaysOnChanged()
70 animations.any { it.shouldPlayAnimation() } in shouldControlUnlockedScreenOff()
77 animations.any { it.isAnimationPlaying() } in shouldExpandNotifications()
84 animations.any { it.shouldAnimateInKeyguard() } in shouldAnimateInKeyguard()
91 if (it.shouldAnimateInKeyguard()) { in animateInKeyguard()
92 it.animateInKeyguard(keyguardView, after) in animateInKeyguard()
103 animations.any { it.isAnimationPlaying() } in shouldIgnoreKeyguardTouches()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationCoreApiTest.kt64 unparcel = { DomainVerificationRequest.CREATOR.createFromParcel(it) }, in <lambda>()
67 { it.packageNames }, { it.component1() }) { value, other -> in <lambda>()
79 it.value to DomainVerificationState.convertToInfoState(it.index) in <lambda>()
83 unparcel = { DomainVerificationInfo.CREATOR.createFromParcel(it) }, in <lambda>()
86 { it.identifier }, { it.component1() }, IS_EQUAL_TO in <lambda>()
89 { it.packageName }, { it.component2() }, IS_EQUAL_TO in <lambda>()
92 { it.hostToStateMap }, { it.component3() }, IS_MAP_EQUAL_TO in <lambda>()
105 .associate { it.value to (it.index % 3) } in <lambda>()
108 unparcel = { DomainVerificationUserState.CREATOR.createFromParcel(it) }, in <lambda>()
111 { it.identifier }, { it.component1() }, IS_EQUAL_TO in <lambda>()
[all …]
/frameworks/av/services/mediametrics/
DStringUtils.cpp27 std::string tokenizer(std::string::const_iterator& it, in tokenizer() argument
31 for (; it != end && std::isspace(*it); ++it); in tokenizer()
32 if (it == end) return {}; in tokenizer()
34 auto start = it; in tokenizer()
36 if (strchr(reserved, *it)) return {start, ++it}; in tokenizer()
38 ++it; in tokenizer()
39 if (it == end || std::isspace(*it) || strchr(reserved, *it)) return {start, it}; in tokenizer()
46 for (auto it = flags.begin(); ; ) { in split() local
47 auto flag = tokenizer(it, flags.end(), delim); in split()
52 auto token = tokenizer(it, flags.end(), delim); in split()
[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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
DLightRevealScrimRepositoryTest.kt54 val job = launch { underTest.revealEffect.collect { values.add(it) } } in <lambda>()
58 values.assertEffectsMatchPredicates({ it == DEFAULT_REVEAL_EFFECT }) in <lambda>()
66 { it == DEFAULT_REVEAL_EFFECT }, in <lambda>()
77 { it == DEFAULT_REVEAL_EFFECT }, in <lambda>()
86 { it == DEFAULT_REVEAL_EFFECT }, in <lambda>()
102 { it == DEFAULT_REVEAL_EFFECT }, in <lambda>()
104 it is CircleReveal && in <lambda>()
105 it.centerX == fingerprintLocation.x && in <lambda>()
106 it.centerY == fingerprintLocation.y in <lambda>()
125 { it == DEFAULT_REVEAL_EFFECT }, in <lambda>()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DARTPAssembler.cpp83 for (List<sp<ABuffer> >::const_iterator it = frames.begin(); in MakeADTSCompoundFromAACFrames() local
84 it != frames.end(); ++it) { in MakeADTSCompoundFromAACFrames()
86 totalSize += (*it)->size() + 7; in MakeADTSCompoundFromAACFrames()
91 for (List<sp<ABuffer> >::const_iterator it = frames.begin(); in MakeADTSCompoundFromAACFrames() local
92 it != frames.end(); ++it) { in MakeADTSCompoundFromAACFrames()
93 sp<ABuffer> nal = *it; in MakeADTSCompoundFromAACFrames()
130 for (List<sp<ABuffer> >::const_iterator it = packets.begin(); in MakeCompoundFromPackets() local
131 it != packets.end(); ++it) { in MakeCompoundFromPackets()
132 totalSize += (*it)->size(); in MakeCompoundFromPackets()
137 for (List<sp<ABuffer> >::const_iterator it = packets.begin(); in MakeCompoundFromPackets() local
[all …]
/frameworks/av/services/mediametrics/include/mediametricsservice/
DLruSet.h76 auto it = mAccessOrder.cbegin(); in dump() local
77 for (size_t i = 0; i < n && it != mAccessOrder.cend(); ++i) { in dump()
78 ss << *it++ << "\n"; in dump()
86 auto it = mMap.find(t); in add() local
87 if (it != mMap.end()) { // already exists. in add()
88 mAccessOrder.erase(it->second); // move-to-front on the chronologically ordered list. in add()
105 auto it = mMap.find(t); in remove() local
106 if (it == mMap.end()) return false; in remove()
107 mAccessOrder.erase(it->second); in remove()
108 mMap.erase(it); in remove()
[all …]
/frameworks/base/tools/processors/staledataclass/src/android/processor/staledataclass/
DStaleDataclassProcessor.kt62 it.qualifiedName.toString() == GENERATED_ANNOTATION_NAME in <lambda>()
67 it.qualifiedName.toString() == DATACLASS_ANNOTATION_NAME in <lambda>()
77 processSingleFile(it) in <lambda>()
83 generatedAnnotatedElements.map { it.enclosingElement } in <lambda>()
93 stale.joinToString("") { "\n" + it.refreshCmd }) in <lambda>()
100 append(elem.modifiers.joinToString(" ") { it.name.toLowerCase() }) in <lambda>()
102 append(elem.annotationMirrors.joinToString(" ", transform = { annotationToString(it) })) in <lambda>()
129 it.kind == ElementKind.CLASS in <lambda>()
130 && !isGenerated(it) in <lambda>()
131 && it.simpleName.toString() == BASE_BUILDER_CLASS in <lambda>()
[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/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DAndroidPackageTest.kt283 transformGet = { "testOverlayableName" to it["testOverlayableName"] } in <lambda>()
289 transformGet = { "testBundleKey" to it?.getString("testBundleKey") }, in <lambda>()
290 transformSet = { Bundle().apply { putString(it.first, it.second) } } in <lambda>()
296 transformGet = { it.singleOrNull()?.let { Triple(it.tag, it.label, it.inheritFrom) } }, in <lambda>()
297 transformSet = { it?.let { in <lambda>()
299 it.first, in <lambda>()
300 it.second, in <lambda>()
301 it.third in <lambda>()
309 transformGet = { "testKeySetName" to it["testKeySetName"]?.singleOrNull() } in <lambda>()
315 transformGet = { it.singleOrNull()?.name }, in <lambda>()
[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/packages/SystemUI/tests/src/com/android/systemui/decor/
DRoundedCornerDecorProviderFactoryTest.kt70 ((it.viewId == R.id.rounded_corner_top_left) in <lambda>()
71 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_TOP) in <lambda>()
72 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT)) in <lambda>()
75 ((it.viewId == R.id.rounded_corner_top_right) in <lambda>()
76 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_TOP) in <lambda>()
77 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT)) in <lambda>()
95 ((it.viewId == R.id.rounded_corner_bottom_left) in <lambda>()
96 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_BOTTOM) in <lambda>()
97 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT)) in <lambda>()
100 ((it.viewId == R.id.rounded_corner_bottom_right) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DLockscreenShadeScrimTransitionController.kt69 it.println("LockscreenShadeScrimTransitionController:") in dump()
70 it.increaseIndent() in dump()
71 it.println("Resources:") in dump()
72 it.increaseIndent() in dump()
73 it.println("scrimTransitionDistance: $scrimTransitionDistance") in dump()
74 it.println("notificationsScrimTransitionDelay: $notificationsScrimTransitionDelay") in dump()
75 it.println( in dump()
77 it.decreaseIndent() in dump()
78 it.println("State") in dump()
79 it.increaseIndent() in dump()
[all …]
DLockscreenShadeKeyguardTransitionController.kt95 it.println("LockscreenShadeKeyguardTransitionController:") in dump()
96 it.increaseIndent() in dump()
97 it.println("Resources:") in dump()
98 it.increaseIndent() in dump()
99 it.println("alphaTransitionDistance: $alphaTransitionDistance") in dump()
100 it.println("keyguardTransitionDistance: $keyguardTransitionDistance") in dump()
101 it.println("keyguardTransitionOffset: $keyguardTransitionOffset") in dump()
102 it.decreaseIndent() in dump()
103 it.println("State:") in dump()
104 it.increaseIndent() in dump()
[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 …]

12345678910>>...58