/frameworks/base/tools/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/minikin/tests/ |
D | WordBreakerTests.cpp | 44 EXPECT_EQ(6, breaker.next()); // after "hello " in TEST_F() 49 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST_F() 62 EXPECT_EQ(7, breaker.next()); // after "hel{SOFT HYPHEN}lo " in TEST_F() 66 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST_F() 79 EXPECT_EQ(4, breaker.next()); // after CENT SIGN in TEST_F() 83 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end of string in TEST_F() 96 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end of string in TEST_F() 116 EXPECT_EQ(7, breaker.next()); // after man + zwj + heart + zwj + man in TEST_F() 119 EXPECT_EQ(17, breaker.next()); // after woman + zwj + heart + zwj + woman in TEST_F() 122 EXPECT_EQ(22, breaker.next()); // after eye + zwj + left speech bubble in TEST_F() [all …]
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
D | BridgeXmlBlockParserTest.java | 49 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/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/support/v7/recyclerview/src/android/support/v7/util/ |
D | MessageThreadUtil.java | 62 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/base/core/java/android/os/ |
D | MessageQueue.java | 307 Message next() { in next() method in MessageQueue 334 msg = msg.next; in next() 345 prevMsg.next = msg.next; in next() 347 mMessages = msg.next; in next() 349 msg.next = null; in next() 477 p = p.next; in postSyncBarrier() 481 msg.next = p; in postSyncBarrier() 482 prev.next = msg; in postSyncBarrier() 484 msg.next = p; in postSyncBarrier() 509 p = p.next; in removeSyncBarrier() [all …]
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
D | SPVerifier.java | 97 castObject(children.next(), Asn1Constructed.class).getChildren().iterator(); in LogoTypeImage() 98 mMimeType = castObject(logoTypeDetails.next(), Asn1String.class).getString(); in LogoTypeImage() 100 Asn1Constructed hashes = castObject(logoTypeDetails.next(), Asn1Constructed.class); in LogoTypeImage() 104 Asn1Constructed urls = castObject(logoTypeDetails.next(), Asn1Constructed.class); in LogoTypeImage() 117 castObject(children.next(), Asn1Constructed.class).getChildren().iterator(); in LogoTypeImage() 119 Asn1Object first = imageInfo.next(); in LogoTypeImage() 121 first = imageInfo.next(); // Ignore optional LogotypeImageType in LogoTypeImage() 125 xSize = (int) castObject(imageInfo.next(), Asn1Integer.class).getValue(); in LogoTypeImage() 126 ySize = (int) castObject(imageInfo.next(), Asn1Integer.class).getValue(); in LogoTypeImage() 130 Asn1Object next = imageInfo.next(); in LogoTypeImage() local [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/support/v7/recyclerview/tests/src/android/support/v7/util/ |
D | MessageQueueTest.java | 47 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/ |
D | Choreographer.java | 680 for (CallbackRecord c = callbacks; c != null; c = c.next) { in doCallbacks() 692 final CallbackRecord next = callbacks.next; in doCallbacks() local 694 callbacks = next; in doCallbacks() 733 mCallbackPool = callback.next; in obtainCallbackLocked() 734 callback.next = null; in obtainCallbackLocked() 745 callback.next = mCallbackPool; in recycleCallbackLocked() 865 public CallbackRecord next; field in Choreographer.CallbackRecord 893 CallbackRecord next = last.next; in extractDueCallbacksLocked() local 894 while (next != null) { in extractDueCallbacksLocked() 895 if (next.dueTime > now) { in extractDueCallbacksLocked() [all …]
|
/frameworks/native/libs/binder/ |
D | MemoryDealer.cpp | 64 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/base/libs/hwui/renderthread/ |
D | RenderThread.cpp | 46 RenderTask* TaskQueue::next() { in next() function in android::uirenderer::renderthread::TaskQueue 74 RenderTask* next = mHead; in queue() local 75 while (next && next->mRunAt <= task->mRunAt) { in queue() 76 previous = next; in queue() 77 next = next->mNext; in queue() 84 if (next) { in queue() 85 task->mNext = next; in queue() 114 next(); in remove() 377 RenderTask* next = mQueue.peek(); in nextTask() local 378 if (!next) { in nextTask() [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/support/v7/recyclerview/src/android/support/v7/widget/ |
D | ChildHelper.java | 403 Bucket next; field in ChildHelper.Bucket 408 next.set(index - BITS_PER_WORD); in set() 415 if (next == null) { in ensureNext() 416 next = new Bucket(); in ensureNext() 422 if (next != null) { in clear() 423 next.clear(index - BITS_PER_WORD); in clear() 434 return next.get(index - BITS_PER_WORD); in get() 442 if (next != null) { in reset() 443 next.reset(); in reset() 450 next.insert(index - BITS_PER_WORD, value); in insert() [all …]
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkScorerAppManagerTest.java | 87 NetworkScorerAppData next = result.next(); in testGetAllValidScorers() local 88 assertEquals("package1", next.mPackageName); in testGetAllValidScorers() 89 assertEquals(1, next.mPackageUid); in testGetAllValidScorers() 90 assertNull(next.mConfigurationActivityClassName); in testGetAllValidScorers() 93 next = result.next(); in testGetAllValidScorers() 94 assertEquals("package4", next.mPackageName); in testGetAllValidScorers() 95 assertEquals(4, next.mPackageUid); in testGetAllValidScorers() 96 assertEquals(".ConfigActivity", next.mConfigurationActivityClassName); in testGetAllValidScorers() 99 next = result.next(); in testGetAllValidScorers() 100 assertEquals("package5", next.mPackageName); in testGetAllValidScorers() [all …]
|
/frameworks/base/libs/hwui/utils/ |
D | LinearAllocator.cpp | 89 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/graphics/java/android/graphics/ |
D | Atlas.java | 251 Cell next; field in Atlas.SlicePolicy.Cell 268 mRoot.next = first; in SlicePolicy() 274 Cell cell = mRoot.next; in pack() 283 cell = cell.next; in pack() 395 prev.next = first; in insert() 400 prev.next = second; in insert() 401 second.next = cell.next; in insert() 403 prev.next = cell.next; in insert() 407 cell.next = null; in insert()
|
/frameworks/av/media/libstagefright/foundation/ |
D | ADebug.cpp | 40 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/base/libs/hwui/ |
D | PatchCache.cpp | 92 while (i.next()) { in clearCache() 99 BufferBlock* next = block->next; in clearCache() local 101 block = next; in clearCache() 108 while (i.next()) { in remove() 156 block->next = mFreeBlocks; in clearGarbage() 203 block = block->next; in setupMesh() 223 previous->next = block->next; in setupMesh() 225 mFreeBlocks = block->next; in setupMesh() 272 block = block->next; in dumpFreeBlocks()
|
/frameworks/av/services/audioflinger/ |
D | FastThread.cpp | 108 const FastThreadState *next = poll(); in threadLoop() local 109 if (next == NULL) { in threadLoop() 113 next = mCurrent; in threadLoop() 116 mCommand = next->mCommand; in threadLoop() 117 if (next != mCurrent) { in threadLoop() 120 mDumpState = next->mDumpState != NULL ? next->mDumpState : mDummyDumpState; in threadLoop() 121 mLogWriter = next->mNBLogWriter != NULL ? next->mNBLogWriter : &mDummyLogWriter; in threadLoop() 144 mCurrent = next; in threadLoop() 147 next = NULL; // not referenced again in threadLoop()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | RequestQueue.java | 56 BurstHolder next = mRequestQueue.poll(); in getNext() local 57 if (next == null && mRepeatingRequest != null) { in getNext() 58 next = mRepeatingRequest; in getNext() 60 next.getNumberOfRequests(); in getNext() 63 if (next == null) { in getNext() 67 Pair<BurstHolder, Long> ret = new Pair<BurstHolder, Long>(next, mCurrentFrameNumber); in getNext() 68 mCurrentFrameNumber += next.getNumberOfRequests(); in getNext()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PasswordEntryKeyboardHelper.java | 249 Keyboard next = null; in handleModeChange() local 251 next = mSymbolsKeyboard; in handleModeChange() 253 next = mQwertyKeyboard; in handleModeChange() 255 if (next != null) { in handleModeChange() 256 mKeyboardView.setKeyboard(next); in handleModeChange() 271 PasswordEntryKeyboard next = null; in handleShift() local 276 next = isAlphaMode ? mQwertyKeyboardShifted : mSymbolsKeyboardShifted; in handleShift() 279 next = isAlphaMode ? mQwertyKeyboardShifted : mSymbolsKeyboardShifted; in handleShift() 282 next = isAlphaMode ? mQwertyKeyboard : mSymbolsKeyboard; in handleShift() 284 if (next != null) { in handleShift() [all …]
|
/frameworks/base/core/java/android/text/ |
D | Html.java | 293 int next; in encodeTextAlignmentByDiv() local 294 for (int i = 0; i < len; i = next) { in encodeTextAlignmentByDiv() 295 next = text.nextSpanTransition(i, len, ParagraphStyle.class); in encodeTextAlignmentByDiv() 296 ParagraphStyle[] style = text.getSpans(i, next, ParagraphStyle.class); in encodeTextAlignmentByDiv() 318 withinDiv(out, text, i, next, option); in encodeTextAlignmentByDiv() 328 int next; in withinDiv() local 329 for (int i = start; i < end; i = next) { in withinDiv() 330 next = text.nextSpanTransition(i, end, QuoteSpan.class); in withinDiv() 331 QuoteSpan[] quotes = text.getSpans(i, next, QuoteSpan.class); in withinDiv() 337 withinBlockquote(out, text, i, next, option); in withinDiv() [all …]
|
/frameworks/base/tools/aapt2/flatten/ |
D | XmlFlattener_test.cpp | 89 ASSERT_EQ(tree.next(), android::ResXMLTree::START_TAG); in TEST_F() 102 ASSERT_EQ(tree.next(), android::ResXMLTree::START_TAG); in TEST_F() 115 ASSERT_EQ(tree.next(), android::ResXMLTree::END_TAG); in TEST_F() 116 ASSERT_EQ(tree.next(), android::ResXMLTree::START_TAG); in TEST_F() 123 ASSERT_EQ(tree.next(), android::ResXMLTree::TEXT); in TEST_F() 127 ASSERT_EQ(tree.next(), android::ResXMLTree::END_TAG); in TEST_F() 132 ASSERT_EQ(tree.next(), android::ResXMLTree::END_TAG); in TEST_F() 137 ASSERT_EQ(tree.next(), android::ResXMLTree::END_NAMESPACE); in TEST_F() 144 ASSERT_EQ(tree.next(), android::ResXMLTree::END_DOCUMENT); in TEST_F() 201 while (tree.next() != android::ResXMLTree::START_TAG) { in TEST_F()
|