/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/ |
D | LayoutParserWrapperTest.java | 40 assertEquals("Expected START_TAG", START_TAG, parser.next()); in testDataBindingLayout() 42 for (int next = parser.next(); next != START_TAG && next != END_DOCUMENT; in testDataBindingLayout() 43 next = parser.next()); in testDataBindingLayout() 53 for (int next = parser.next(); in testDataBindingLayout() 54 … (next != END_TAG || !"RelativeLayout".equals(parser.getName())) && next != END_DOCUMENT; in testDataBindingLayout() 55 next = parser.next()); in testDataBindingLayout() 57 assertEquals("Document didn't end when expected.", END_DOCUMENT, parser.next()); in testDataBindingLayout() 65 assertEquals("Expected START_TAG", START_TAG, parser.next()); in testNonDataBindingLayout() 67 for (int next = parser.next(); next != START_TAG && next != END_DOCUMENT; in testNonDataBindingLayout() 68 next = parser.next()); in testNonDataBindingLayout() [all …]
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | macros.h | 55 #define _PDX_APPLY_1(macro, head, next, ...) \ argument 56 macro(head) _PDX_NEXT_FUNC(next, _PDX_APPLY_2)(macro, next, __VA_ARGS__) 59 #define _PDX_APPLY_2(macro, head, next, ...) \ argument 60 macro(head) _PDX_NEXT_FUNC(next, _PDX_APPLY_1)(macro, next, __VA_ARGS__) 74 #define _PDX_APPLY_LIST_1(macro, head, next, ...) \ argument 76 _PDX_NEXT_FUNC(next, _PDX_APPLY_LIST_2)(macro, next, __VA_ARGS__) 80 #define _PDX_APPLY_LIST_2(macro, head, next, ...) \ argument 82 _PDX_NEXT_FUNC(next, _PDX_APPLY_LIST_1)(macro, next, __VA_ARGS__) 85 #define _PDX_APPLY_LIST_0(macro, head, next, ...) \ argument 86 macro(head) _PDX_NEXT_FUNC(next, _PDX_APPLY_LIST_1)(macro, next, __VA_ARGS__) [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | EventStreamTransformation.java | 69 EventStreamTransformation next = getNext(); in onMotionEvent() local 70 if (next != null) { in onMotionEvent() 71 next.onMotionEvent(event, rawEvent, policyFlags); in onMotionEvent() 82 EventStreamTransformation next = getNext(); in onKeyEvent() local 83 if (next != null) { in onKeyEvent() 84 next.onKeyEvent(event, policyFlags); in onKeyEvent() 94 EventStreamTransformation next = getNext(); in onAccessibilityEvent() local 95 if (next != null) { in onAccessibilityEvent() 96 next.onAccessibilityEvent(event); in onAccessibilityEvent() 105 public void setNext(EventStreamTransformation next); in setNext() argument [all …]
|
/frameworks/base/tools/aapt2/format/binary/ |
D | XmlFlattener_test.cpp | 93 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() 104 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() 112 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_TAG)); in TEST_F() 113 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() 119 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::TEXT)); in TEST_F() 122 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_TAG)); in TEST_F() 126 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_TAG)); in TEST_F() 130 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_NAMESPACE)); in TEST_F() 134 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_DOCUMENT)); in TEST_F() 151 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() [all …]
|
/frameworks/base/core/java/android/os/ |
D | MessageQueue.java | 319 Message next() { in next() method in MessageQueue 346 msg = msg.next; in next() 357 prevMsg.next = msg.next; in next() 359 mMessages = msg.next; in next() 361 msg.next = null; in next() 491 p = p.next; in postSyncBarrier() 495 msg.next = p; in postSyncBarrier() 496 prev.next = msg; in postSyncBarrier() 498 msg.next = p; in postSyncBarrier() 525 p = p.next; in removeSyncBarrier() [all …]
|
/frameworks/rs/ |
D | rsMap.h | 35 LinkNode* next; member 46 LinkNode* next; in ~Map() local 48 next = p->next; in ~Map() 50 p = next; in ~Map() 65 node = node->next; 70 node->next = nullptr; 74 prev->next = node; 83 LinkNode* next; variable 85 next = node->next; 86 if (next != nullptr) { [all …]
|
D | rsList.h | 18 LinkedBuffer() : next(nullptr) {} in LinkedBuffer() 24 LinkedBuffer* next; variable 45 LinkedBuffer* p = firstBuffer.next; in ~List() 46 LinkedBuffer* next; in ~List() local 48 next = p->next; in ~List() 50 p = next; in ~List() 58 if ((void*)current >= (void*)¤tBuffer->next) { in push_back() 60 currentBuffer->next = newBuffer; in push_back() 71 if ((void*)p >= (void*)&buffer->next) { 72 buffer = buffer->next;
|
/frameworks/base/core/java/android/content/ |
D | AttributionSource.java | 132 @Nullable AttributionSource next) { in AttributionSource() argument 135 ? renouncedPermissions.toArray(new String[0]) : null, /*next*/ next); in AttributionSource() 139 public AttributionSource(@NonNull AttributionSource current, @Nullable AttributionSource next) { in AttributionSource() argument 142 current.mAttributionSourceState.renouncedPermissions, next); in AttributionSource() 148 @Nullable AttributionSource next) { in AttributionSource() argument 149 this(uid, pid, packageName, attributionTag, sDefaultToken, renouncedPermissions, next); in AttributionSource() 156 @Nullable AttributionSource next) { in AttributionSource() argument 164 mAttributionSourceState.next = (next != null) ? new AttributionSourceState[] in AttributionSource() 165 {next.mAttributionSourceState} : new AttributionSourceState[0]; in AttributionSource() 197 public AttributionSource withNextAttributionSource(@Nullable AttributionSource next) { in withNextAttributionSource() argument [all …]
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestWithLooperRule.java | 77 Statement next = base; in wrapMethodInStatement() local 79 while (next != null) { in wrapMethodInStatement() 80 switch (next.getClass().getSimpleName()) { in wrapMethodInStatement() 82 this.<List<FrameworkMethod>>wrapFieldMethodFor(next, in wrapMethodInStatement() 83 next.getClass(), "afters", method, target); in wrapMethodInStatement() 84 next = getNextStatement(next, "next"); in wrapMethodInStatement() 87 this.<List<FrameworkMethod>>wrapFieldMethodFor(next, in wrapMethodInStatement() 88 next.getClass(), "befores", method, target); in wrapMethodInStatement() 89 next = getNextStatement(next, "next"); in wrapMethodInStatement() 95 next = getNextStatement(next, "originalStatement"); in wrapMethodInStatement() [all …]
|
D | TestableInstrumentation.java | 97 Message m = mManager.next(); in run() 168 Message next = mManager.next(); in startManaging() local 170 while (next.getCallback() != this) { in startManaging() 171 mManager.execute(next); in startManaging() 172 mManager.recycle(next); in startManaging() 173 next = mManager.next(); in startManaging() 175 mManager.execute(next); in startManaging()
|
/frameworks/minikin/tests/unittest/ |
D | StringPieceTest.cpp | 129 EXPECT_EQ("abcde", it.next()); in TEST() 136 EXPECT_EQ("a", it.next()); in TEST() 138 EXPECT_EQ("bb", it.next()); in TEST() 140 EXPECT_EQ("ccc", it.next()); in TEST() 142 EXPECT_EQ("dddd", it.next()); in TEST() 144 EXPECT_EQ("eeeee", it.next()); in TEST() 151 EXPECT_EQ("", it.next()); in TEST() 153 EXPECT_EQ("", it.next()); in TEST() 155 EXPECT_EQ("", it.next()); in TEST() 157 EXPECT_EQ("", it.next()); in TEST() [all …]
|
D | WordBreakerTests.cpp | 44 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST() 63 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST() 97 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end of string in TEST() 137 EXPECT_EQ(17, breaker.next()); // after woman + zwj + heart + zwj + woman in TEST() 140 EXPECT_EQ(22, breaker.next()); // after eye + zwj + left speech bubble in TEST() 143 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST() 163 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST() 189 EXPECT_EQ(4, breaker.next()); in TEST() 193 EXPECT_EQ(7, breaker.next()); in TEST() 197 EXPECT_EQ(9, breaker.next()); in TEST() [all …]
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
D | PathV3.inc | 34 // -> jump to the next not '/' 37 // -> jump to the next not '/' 52 size_t next = handler + 1; 53 if (next >= pathname.size()) 55 switch (pathname[next]) { // next = handler + 1; 57 while (next < pathname.size() && separator == pathname[next]) 58 ++next; 59 // next is the last not '/' 60 pathname.erase(handler, next - handler - 1); 66 ++next; // next = handler + 2 [all …]
|
/frameworks/native/libs/binder/ |
D | MemoryDealer.cpp | 63 newNode->next = node->next; in insertAfter() 64 if (node->next == nullptr) mLast = newNode; in insertAfter() 65 else node->next->prev = newNode; in insertAfter() 66 node->next = newNode; in insertAfter() 71 newNode->next = node; in insertBefore() 73 else node->prev->next = newNode; in insertBefore() 80 newNode->prev = newNode->next = nullptr; in insertHead() 83 newNode->next = mFirst; in insertHead() 94 newNode->next = 0; in insertTail() 95 mLast->next = newNode; in insertTail() [all …]
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
D | PathV3.inc | 40 // -> jump to the next not '/' 43 // -> jump to the next not '/' 58 size_t next = handler + 1; 59 if (next >= pathname.size()) 61 switch (pathname[next]) { // next = handler + 1; 63 while (next < pathname.size() && separator == pathname[next]) 64 ++next; 65 // next is the last not '/' 66 pathname.erase(handler, next - handler - 1); 72 ++next; // next = handler + 2 [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MotionEventInjectorTest.java | 199 EventStreamTransformation next = attachMockNext(mMotionEventInjector); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() local 201 verifyNoMoreInteractions(next); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 205 verify(next).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), eq(expectedFlags)); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 206 verify(next).onMotionEvent(argThat(mIsLineStart), argThat(mIsLineStart), eq(expectedFlags)); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 207 verifyNoMoreInteractions(next); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 208 reset(next); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 213 verify(next).onMotionEvent(argThat(allOf(mIsLineMiddle, hasRightDownTime)), in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 215 verifyNoMoreInteractions(next); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 216 reset(next); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 221 verify(next).onMotionEvent(argThat(allOf(mIsLineEnd, hasRightDownTime)), in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() [all …]
|
D | AccessibilityInputFilterTest.java | 120 public void setNext(EventStreamTransformation next) { in setNext() argument 191 EventStreamTransformation next = mEventHandler.get(SECOND_DISPLAY); in testEventHandler_shouldIncreaseAndHaveCorrectOrderAfterOnDisplayAdded() local 192 assertNotNull(next); in testEventHandler_shouldIncreaseAndHaveCorrectOrderAfterOnDisplayAdded() 196 for (int i = 1; next != null; i++) { in testEventHandler_shouldIncreaseAndHaveCorrectOrderAfterOnDisplayAdded() 197 assertEquals(next.getClass(), mExpectedEventHandlerTypes[i]); in testEventHandler_shouldIncreaseAndHaveCorrectOrderAfterOnDisplayAdded() 198 next = next.getNext(); in testEventHandler_shouldIncreaseAndHaveCorrectOrderAfterOnDisplayAdded() 244 EventStreamTransformation next = mEventHandler.get(DEFAULT_DISPLAY); in testEventHandler_shouldHaveCorrectOrderForEventStreamTransformation() local 245 for (int i = 0; next != null; i++) { in testEventHandler_shouldHaveCorrectOrderForEventStreamTransformation() 246 assertEquals(next.getClass(), mExpectedEventHandlerTypes[i]); in testEventHandler_shouldHaveCorrectOrderForEventStreamTransformation() 247 next = next.getNext(); in testEventHandler_shouldHaveCorrectOrderForEventStreamTransformation() [all …]
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
D | BridgeXmlBlockParserTest.java | 56 assertEquals(XmlPullParser.START_DOCUMENT, parser.next()); in testXmlBlockParser() 58 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser() 61 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser() 63 assertEquals(XmlPullParser.END_TAG, parser.next()); in testXmlBlockParser() 65 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser() 67 assertEquals(XmlPullParser.END_TAG, parser.next()); in testXmlBlockParser() 69 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser() 71 assertEquals(XmlPullParser.END_TAG, parser.next()); in testXmlBlockParser() 73 assertEquals(XmlPullParser.END_TAG, parser.next()); in testXmlBlockParser() 74 assertEquals(XmlPullParser.END_DOCUMENT, parser.next()); in testXmlBlockParser()
|
/frameworks/av/media/module/libmediaformatshaper/ |
D | CodecProperties.cpp | 243 point->next = nullptr; in bppPoint() 247 point->next = mBppPoints; in bppPoint() 251 while (after->next) { in bppPoint() 252 if (point->pixels > after->next->pixels) { in bppPoint() 253 after = after->next; in bppPoint() 258 point->next = after->next; in bppPoint() 259 after->next = point; in bppPoint() 262 if (after->next == nullptr) { in bppPoint() 264 point->next = nullptr; in bppPoint() 265 after->next = point; in bppPoint() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/ |
D | BatteryStatsHistoryIteratorTest.java | 90 assertThat(item = iterator.next()).isNotNull(); in testIterator() 93 assertThat(item = iterator.next()).isNotNull(); in testIterator() 98 assertThat(item = iterator.next()).isNotNull(); in testIterator() 103 assertThat(item = iterator.next()).isNotNull(); in testIterator() 109 assertThat(item = iterator.next()).isNotNull(); in testIterator() 116 assertThat(iterator.next()).isNull(); in testIterator() 138 assertThat(item = iterator.next()).isNotNull(); in tagsLongHistory() 143 assertThat(item = iterator.next()).isNotNull(); in tagsLongHistory() 149 assertThat(item = iterator.next()).isNotNull(); in tagsLongHistory() 158 assertThat(item = iterator.next()).isNotNull(); in tagsLongHistory() [all …]
|
/frameworks/base/services/core/java/com/android/server/location/eventlog/ |
D | LocalEventLog.java | 200 it.next(); in iterate() 217 it.next(); in iterate() 222 LocalEventLog<T>.LogIterator next = null; in iterate() 224 if (it != null && (next == null || it.getTime() < next.getTime())) { in iterate() 225 next = it; in iterate() 229 if (next == null) { in iterate() 233 consumer.acceptLog(next.getTime(), next.getLog()); in iterate() 235 if (next.hasNext()) { in iterate() 236 next.next(); in iterate() 238 its.remove(next); in iterate() [all …]
|
/frameworks/base/libs/hwui/utils/ |
D | LinearAllocator.cpp | 80 Page* next() { return mNextPage; } in next() function in android::uirenderer::LinearAllocator::Page 81 void setNext(Page* next) { mNextPage = next; } in setNext() argument 110 mDtorList = node->next; in ~LinearAllocator() 115 Page* next = p->next(); in ~LinearAllocator() local 119 p = next; in ~LinearAllocator() 182 node->next = mDtorList; in addToDestructionList() 192 previous->next = node->next; in runDestructorFor() 194 mDtorList = node->next; in runDestructorFor() 201 node = node->next; in runDestructorFor()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/users/ |
D | CreateUserDialogControllerTest.java | 79 Button next = dialog.findViewById(R.id.button_ok); in positiveButton_grantAdminStage_noValue_OkButtonShouldBeDisabled() local 80 next.performClick(); in positiveButton_grantAdminStage_noValue_OkButtonShouldBeDisabled() 97 Button next = dialog.findViewById(R.id.button_ok); in positiveButton_MultipleAdminDisabled_shouldSkipGrantAdminStage() local 98 next.performClick(); in positiveButton_MultipleAdminDisabled_shouldSkipGrantAdminStage() 115 Button next = dialog.findViewById(R.id.button_ok); in editUserInfoController_shouldOnlyBeVisibleOnLastStage() local 116 next.performClick(); in editUserInfoController_shouldOnlyBeVisibleOnLastStage() 119 next.performClick(); in editUserInfoController_shouldOnlyBeVisibleOnLastStage() 135 Button next = dialog.findViewById(R.id.button_ok); in positiveButton_MultipleAdminEnabled_shouldShowGrantAdminStage() local 136 next.performClick(); in positiveButton_MultipleAdminEnabled_shouldShowGrantAdminStage() 140 next.performClick(); in positiveButton_MultipleAdminEnabled_shouldShowGrantAdminStage() [all …]
|
/frameworks/libs/binary_translation/base/ |
D | lock_free_stack_test.cc | 29 Node* next; member 56 node_0.next = &node_3; in TEST() 57 node_1.next = &node_0; in TEST() 58 node_2.next = &node_1; in TEST() 107 Node* next = nullptr; in CheckStressPushPop() local 109 nodes[i]->next = next; in CheckStressPushPop() 110 next = nodes[i]; in CheckStressPushPop() 112 g_st.PushRange(next, nodes[0]); in CheckStressPushPop()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskFragment.java | 1188 ActivityRecord next = topRunningActivity(true /* focusableOnly */); in resumeTopActivity() local 1189 if (next == null || !next.canResumeByCompat()) { in resumeTopActivity() 1193 next.delayedResume = false; in resumeTopActivity() 1203 if (mResumedActivity == next && next.isState(RESUMED) in resumeTopActivity() 1216 && taskDisplayArea.mDisplayContent.mFocusedApp != next) { in resumeTopActivity() 1217 taskDisplayArea.mDisplayContent.setFocusedApp(next); in resumeTopActivity() 1220 + "resumed %s", next); in resumeTopActivity() 1226 if (mLastPausedActivity == next && shouldSleepOrShutDownActivities()) { in resumeTopActivity() 1238 if (!mAtmService.mAmInternal.hasStartedUserState(next.mUserId)) { in resumeTopActivity() 1239 Slog.w(TAG, "Skipping resume of top activity " + next in resumeTopActivity() [all …]
|