Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 686) sorted by relevance

12345678910>>...28

/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapperTest.java40 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/
Dmacros.h55 #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/tools/preload2/src/com/android/preload/ui/
DSequenceUI.java119 Object next = sequence.remove(0); in ready() local
120 if (next instanceof Action) { in ready()
121 ((Action)next).actionPerformed(null); in ready()
123 throw new IllegalStateException("Didn't expect a non-action: " + next); in ready()
136 Object next = sequence.remove(0); in getSelectedClient() local
137 if (next instanceof ClientSelector) { in getSelectedClient()
138 return ((ClientSelector)next).getClient(); in getSelectedClient()
140 throw new IllegalStateException("Unexpected: " + next); in getSelectedClient()
145 Object next = sequence.remove(0); in getSelectedDataTableRow() local
146 if (next instanceof Integer) { in getSelectedDataTableRow()
[all …]
/frameworks/minikin/tests/unittest/
DWordBreakerTests.cpp45 EXPECT_EQ(6, breaker.next()); // after "hello " in TEST_F()
50 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST_F()
63 EXPECT_EQ(7, breaker.next()); // after "hel{SOFT HYPHEN}lo " in TEST_F()
67 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST_F()
80 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); in TEST_F()
93 EXPECT_EQ(4, breaker.next()); // after CENT SIGN in TEST_F()
97 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end of string in TEST_F()
110 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end of string in TEST_F()
130 EXPECT_EQ(7, breaker.next()); // after man + zwj + heart + zwj + man in TEST_F()
133 EXPECT_EQ(17, breaker.next()); // after woman + zwj + heart + zwj + woman in TEST_F()
[all …]
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DBridgeXmlBlockParserTest.java49 assertEquals(XmlPullParser.START_DOCUMENT, parser.next()); in testXmlBlockParser()
51 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser()
54 assertEquals(XmlPullParser.TEXT, parser.next()); in testXmlBlockParser()
56 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser()
58 assertEquals(XmlPullParser.TEXT, parser.next()); in testXmlBlockParser()
59 assertEquals(XmlPullParser.END_TAG, parser.next()); in testXmlBlockParser()
61 assertEquals(XmlPullParser.TEXT, parser.next()); in testXmlBlockParser()
63 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser()
65 assertEquals(XmlPullParser.END_TAG, parser.next()); in testXmlBlockParser()
67 assertEquals(XmlPullParser.TEXT, parser.next()); in testXmlBlockParser()
[all …]
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DMessageThreadUtil.java62 SyncQueueItem msg = mQueue.next(); in getMainThreadProxy()
78 msg = mQueue.next(); in getMainThreadProxy()
139 SyncQueueItem msg = mQueue.next(); in getBackgroundProxy()
179 private SyncQueueItem next;
189 next = null;
194 next = sPool;
208 sPool = sPool.next;
209 item.next = null;
235 synchronized SyncQueueItem next() {
239 final SyncQueueItem next = mRoot;
[all …]
/frameworks/rs/
DrsMap.h35 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 …]
DrsList.h18 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*)&currentBuffer->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/os/
DMessageQueue.java309 Message next() { in next() method in MessageQueue
336 msg = msg.next; in next()
347 prevMsg.next = msg.next; in next()
349 mMessages = msg.next; in next()
351 msg.next = null; in next()
479 p = p.next; in postSyncBarrier()
483 msg.next = p; in postSyncBarrier()
484 prev.next = msg; in postSyncBarrier()
486 msg.next = p; in postSyncBarrier()
511 p = p.next; in removeSyncBarrier()
[all …]
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DSPVerifier.java98 castObject(children.next(), Asn1Constructed.class).getChildren().iterator(); in LogoTypeImage()
99 mMimeType = castObject(logoTypeDetails.next(), Asn1String.class).getString(); in LogoTypeImage()
101 Asn1Constructed hashes = castObject(logoTypeDetails.next(), Asn1Constructed.class); in LogoTypeImage()
105 Asn1Constructed urls = castObject(logoTypeDetails.next(), Asn1Constructed.class); in LogoTypeImage()
118 castObject(children.next(), Asn1Constructed.class).getChildren().iterator(); in LogoTypeImage()
120 Asn1Object first = imageInfo.next(); in LogoTypeImage()
122 first = imageInfo.next(); // Ignore optional LogotypeImageType in LogoTypeImage()
126 xSize = (int) castObject(imageInfo.next(), Asn1Integer.class).getValue(); in LogoTypeImage()
127 ySize = (int) castObject(imageInfo.next(), Asn1Integer.class).getValue(); in LogoTypeImage()
131 Asn1Object next = imageInfo.next(); in LogoTypeImage() local
[all …]
/frameworks/compile/mclinker/lib/Support/Windows/
DPathV3.inc34 // -> 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/support/v7/recyclerview/tests/src/android/support/v7/util/
DMessageQueueTest.java47 MessageThreadUtil.SyncQueueItem msg = mQueue.next(); in allArguments()
63 MessageThreadUtil.SyncQueueItem msg = mQueue.next(); in sendInOrder()
67 msg = mQueue.next(); in sendInOrder()
71 msg = mQueue.next(); in sendInOrder()
75 msg = mQueue.next(); in sendInOrder()
85 MessageThreadUtil.SyncQueueItem msg = mQueue.next(); in sendAtFront()
89 msg = mQueue.next(); in sendAtFront()
93 msg = mQueue.next(); in sendAtFront()
97 msg = mQueue.next(); in sendAtFront()
112 MessageThreadUtil.SyncQueueItem msg = mQueue.next(); in remove()
[all …]
/frameworks/base/core/java/android/view/
DChoreographer.java717 for (CallbackRecord c = callbacks; c != null; c = c.next) { in doCallbacks()
729 final CallbackRecord next = callbacks.next; in doCallbacks() local
731 callbacks = next; in doCallbacks()
770 mCallbackPool = callback.next; in obtainCallbackLocked()
771 callback.next = null; in obtainCallbackLocked()
782 callback.next = mCallbackPool; in recycleCallbackLocked()
902 public CallbackRecord next; field in Choreographer.CallbackRecord
930 CallbackRecord next = last.next; in extractDueCallbacksLocked() local
931 while (next != null) { in extractDueCallbacksLocked()
932 if (next.dueTime > now) { in extractDueCallbacksLocked()
[all …]
/frameworks/native/libs/binder/
DMemoryDealer.cpp64 newNode->next = node->next; in insertAfter()
65 if (node->next == 0) mLast = newNode; in insertAfter()
66 else node->next->prev = newNode; in insertAfter()
67 node->next = newNode; in insertAfter()
72 newNode->next = node; in insertBefore()
74 else node->prev->next = newNode; in insertBefore()
81 newNode->prev = newNode->next = 0; in insertHead()
84 newNode->next = mFirst; in insertHead()
95 newNode->next = 0; in insertTail()
96 mLast->next = newNode; in insertTail()
[all …]
/frameworks/compile/mclinker/lib/Support/Unix/
DPathV3.inc40 // -> 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/
DMotionEventInjectorTest.java177 EventStreamTransformation next = attachMockNext(mMotionEventInjector); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() local
179 verifyNoMoreInteractions(next); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
182 verify(next).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), eq(FLAG_PASS_TO_USER)); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
183 verify(next).onMotionEvent(argThat(mIsLineStart), argThat(mIsLineStart), in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
185 verifyNoMoreInteractions(next); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
186 reset(next); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
191 verify(next).onMotionEvent(argThat(allOf(mIsLineMiddle, hasRightDownTime)), in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
193 verifyNoMoreInteractions(next); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
194 reset(next); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
199 verify(next).onMotionEvent(argThat(allOf(mIsLineEnd, hasRightDownTime)), in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
[all …]
/frameworks/base/tests/testables/src/android/testing/
DTestableInstrumentation.java92 Message m = mManager.next(); in run()
163 Message next = mManager.next(); in startManaging() local
165 while (next.getCallback() != this) { in startManaging()
166 mManager.execute(next); in startManaging()
167 mManager.recycle(next); in startManaging()
168 next = mManager.next(); in startManaging()
170 mManager.execute(next); in startManaging()
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp54 RenderTask* TaskQueue::next() { in next() function in android::uirenderer::renderthread::TaskQueue
82 RenderTask* next = mHead; in queue() local
83 while (next && next->mRunAt <= task->mRunAt) { in queue()
84 previous = next; in queue()
85 next = next->mNext; in queue()
92 if (next) { in queue()
93 task->mNext = next; in queue()
123 next(); in remove()
468 RenderTask* next = mQueue.peek(); in nextTask() local
469 if (!next) { in nextTask()
[all …]
/frameworks/base/libs/hwui/utils/
DLinearAllocator.cpp89 Page* next() { return mNextPage; } in next() function in android::uirenderer::LinearAllocator::Page
90 void setNext(Page* next) { mNextPage = next; } in setNext() argument
125 mDtorList = node->next; in ~LinearAllocator()
130 Page* next = p->next(); in ~LinearAllocator() local
134 p = next; in ~LinearAllocator()
198 node->next = mDtorList; in addToDestructionList()
208 previous->next = node->next; in runDestructorFor()
210 mDtorList = node->next; in runDestructorFor()
217 node = node->next; in runDestructorFor()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestQueue.java78 BurstHolder next = mRequestQueue.poll(); in getNext() local
79 boolean queueEmptied = (next != null && mRequestQueue.size() == 0); in getNext()
80 if (next == null && mRepeatingRequest != null) { in getNext()
81 next = mRepeatingRequest; in getNext()
83 next.getNumberOfRequests(); in getNext()
86 if (next == null) { in getNext()
90 RequestQueueEntry ret = new RequestQueueEntry(next, mCurrentFrameNumber, queueEmptied); in getNext()
91 mCurrentFrameNumber += next.getNumberOfRequests(); in getNext()
/frameworks/av/media/libstagefright/foundation/
DADebug.cpp40 const char *next = value, *current; in GetLevelFromSettingsString() local
41 while (next != NULL) { in GetLevelFromSettingsString()
42 current = next; in GetLevelFromSettingsString()
43 next = strchr(current, ','); in GetLevelFromSettingsString()
44 if (next != NULL) { in GetLevelFromSettingsString()
45 ++next; // pass , in GetLevelFromSettingsString()
61 if (errno != 0 || end == current || (end != colon && *end != '\0' && end != next)) { in GetLevelFromSettingsString()
70 size_t globLen = (next == NULL ? strlen(colon) : (next - 1 - colon)); in GetLevelFromSettingsString()
/frameworks/support/compat/tests/java/android/support/v4/util/
DArrayMapCompatTest.java53 Map.Entry<String, String> firstEntry = copyOf(iterator.next()); in testCanNotIteratePastEnd_entrySetIterator()
57 Map.Entry<String, String> secondEntry = copyOf(iterator.next()); in testCanNotIteratePastEnd_entrySetIterator()
63 iterator.next(); in testCanNotIteratePastEnd_entrySetIterator()
87 String firstKey = iterator.next(); in testCanNotIteratePastEnd_keySetIterator()
91 String secondKey = iterator.next(); in testCanNotIteratePastEnd_keySetIterator()
97 iterator.next(); in testCanNotIteratePastEnd_keySetIterator()
113 String firstValue = iterator.next(); in testCanNotIteratePastEnd_valuesIterator()
117 String secondValue = iterator.next(); in testCanNotIteratePastEnd_valuesIterator()
123 iterator.next(); in testCanNotIteratePastEnd_valuesIterator()
/frameworks/av/services/audioflinger/
DFastThread.cpp113 const FastThreadState *next = poll(); in threadLoop() local
114 if (next == NULL) { in threadLoop()
118 next = mCurrent; in threadLoop()
121 mCommand = next->mCommand; in threadLoop()
122 if (next != mCurrent) { in threadLoop()
125 mDumpState = next->mDumpState != NULL ? next->mDumpState : mDummyDumpState; in threadLoop()
126 mNBLogWriter = next->mNBLogWriter != NULL ? next->mNBLogWriter : &mDummyNBLogWriter; in threadLoop()
150 mCurrent = next; in threadLoop()
153 next = NULL; // not referenced again in threadLoop()
/frameworks/base/libs/hwui/
DPatchCache.cpp75 while (i.next()) { in clearCache()
82 BufferBlock* next = block->next; in clearCache() local
84 block = next; in clearCache()
91 while (i.next()) { in remove()
139 block->next = mFreeBlocks; in clearGarbage()
188 block = block->next; in setupMesh()
210 previous->next = block->next; in setupMesh()
212 mFreeBlocks = block->next; in setupMesh()
257 block = block->next; in dumpFreeBlocks()
/frameworks/base/tools/aapt2/flatten/
DXmlFlattener_test.cpp95 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F()
106 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F()
114 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_TAG)); in TEST_F()
115 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F()
121 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::TEXT)); in TEST_F()
124 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_TAG)); in TEST_F()
128 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_TAG)); in TEST_F()
132 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_NAMESPACE)); in TEST_F()
136 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_DOCUMENT)); in TEST_F()
153 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F()
[all …]

12345678910>>...28