Home
last modified time | relevance | path

Searched refs:hasNext (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/frameworks/minikin/tests/unittest/
DStringPieceTest.cpp123 EXPECT_FALSE(it.hasNext()); in TEST()
128 EXPECT_TRUE(it.hasNext()); in TEST()
130 EXPECT_FALSE(it.hasNext()); in TEST()
135 EXPECT_TRUE(it.hasNext()); in TEST()
137 EXPECT_TRUE(it.hasNext()); in TEST()
139 EXPECT_TRUE(it.hasNext()); in TEST()
141 EXPECT_TRUE(it.hasNext()); in TEST()
143 EXPECT_TRUE(it.hasNext()); in TEST()
145 EXPECT_FALSE(it.hasNext()); in TEST()
150 EXPECT_TRUE(it.hasNext()); in TEST()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DRecurrenceRuleTest.java69 assertTrue(it.hasNext()); in testSimpleMonth()
73 assertTrue(it.hasNext()); in testSimpleMonth()
90 assertTrue(it.hasNext()); in testSimpleDays()
94 assertTrue(it.hasNext()); in testSimpleDays()
98 assertFalse(it.hasNext()); in testSimpleDays()
112 assertTrue(it.hasNext()); in testNotRecurring()
116 assertFalse(it.hasNext()); in testNotRecurring()
127 assertFalse(it.hasNext()); in testNever()
140 while (it.hasNext()) { in testSane()
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DViewerConfigParser.kt33 while (jsonReader.hasNext()) { in <lambda>()
53 while (jsonReader.hasNext()) { in <lambda>()
69 while (jsonReader.hasNext()) { in <lambda>()
82 while (jsonReader.hasNext()) { in <lambda>()
98 while (jsonReader.hasNext()) { in <lambda>()
DLogParser.kt73 if (strParmIt.hasNext() || longParamsIt.hasNext() || in <lambda>()
74 doubleParamsIt.hasNext() || boolParamsIt.hasNext()) { in <lambda>()
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/
DJsonStyleParser.java57 while (mReader.hasNext()) { in getNextEvent()
110 while (mReader.hasNext()) { in readInjectedEvents()
191 while (mReader.hasNext()) {
195 while (mReader.hasNext()) {
271 while (mReader.hasNext()) {
287 while (mReader.hasNext()) {
317 while (mReader.hasNext()) {
321 while (mReader.hasNext()) {
361 while (mReader.hasNext()) {
/frameworks/base/core/tests/coretests/src/android/metrics/
DMetricsReaderTest.java79 assertTrue(mReader.hasNext()); in testNonBlockingRead()
87 while (mReader.hasNext()) { in testReset()
92 assertTrue(mReader.hasNext()); in testReset()
115 assertTrue(mReader.hasNext()); in testWriteCheckpoint()
/frameworks/base/services/core/java/com/android/server/am/
DBaseAppStateDurations.java122 lts = itl.hasNext() ? (l = itl.next()).getTimestamp() : Long.MAX_VALUE; in add()
123 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in add()
127 lts = itl.hasNext() ? (l = itl.next()).getTimestamp() : Long.MAX_VALUE; in add()
131 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in add()
196 lts = itl.hasNext() ? (l = itl.next()).getTimestamp() : Long.MAX_VALUE; in subtract()
197 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in subtract()
201 lts = itl.hasNext() ? (l = itl.next()).getTimestamp() : Long.MAX_VALUE; in subtract()
205 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in subtract()
DBaseAppStateTimeEvents.java56 lts = itl.hasNext() ? (l = itl.next()).getTimestamp() : Long.MAX_VALUE; in add()
57 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in add()
60 lts = itl.hasNext() ? (l = itl.next()).getTimestamp() : Long.MAX_VALUE; in add()
63 rts = itr.hasNext() ? (r = itr.next()).getTimestamp() : Long.MAX_VALUE; in add()
/frameworks/base/services/core/java/com/android/server/selinux/
DSelinuxAuditLogBuilder.java89 while (mTokens.hasNext()) { in build()
102 while (!closed && mTokens.hasNext()) { in build()
130 if (!mTokens.hasNext()) { in build()
141 if (!mTokens.hasNext()) { in build()
154 return mTokens.hasNext() && matcher.reset(mTokens.next()).matches(); in nextTokenMatches()
/frameworks/av/include/drm/
DDrmMetadata.h46 bool hasNext();
68 bool hasNext();
81 while (keyIt.hasNext()) { in ~DrmMetadata()
DDrmConstraints.h82 bool hasNext();
105 bool hasNext();
118 while (keyIt.hasNext()) { in ~DrmConstraints()
DDrmInfo.h67 bool hasNext();
91 bool hasNext();
DDrmInfoRequest.h81 bool hasNext();
105 bool hasNext();
DDrmSupportInfo.h48 bool hasNext();
71 bool hasNext();
/frameworks/base/core/java/android/util/
DMapCollections.java52 public boolean hasNext() { in hasNext() method in MapCollections.ArrayIterator
58 if (!hasNext()) throw new NoSuchElementException(); in next()
88 public boolean hasNext() { in hasNext() method in MapCollections.MapIterator
94 if (!hasNext()) throw new NoSuchElementException(); in next()
206 while (it.hasNext()) { in containsAll()
385 while (it.hasNext()) { in containsAll()
463 while (it.hasNext()) { in containsAllHelper()
474 while (it.hasNext()) { in removeAllHelper()
483 while (it.hasNext()) { in retainAllHelper()
DRecurrenceRule.java180 boolean hasNext; field in RecurrenceRule.NonrecurringIterator
183 hasNext = (start != null) && (end != null); in NonrecurringIterator()
187 public boolean hasNext() { in hasNext() method in RecurrenceRule.NonrecurringIterator
188 return hasNext; in hasNext()
193 hasNext = false; in next()
239 public boolean hasNext() { in hasNext() method in RecurrenceRule.RecurringIterator
/frameworks/base/libs/protoutil/src/
DProtoFileReader.cpp80 return hasNext() ? mBuffer + mOffset : NULL; in readBuffer()
90 ProtoFileReader::hasNext() in hasNext() function in android::util::ProtoFileReader
110 if (!hasNext()) { in readRawVarint()
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DEvent.java245 while (mReader.hasNext()) { in getNextEvent()
308 while (mReader.hasNext()) { in readData()
348 while (mReader.hasNext()) { in readFeatureReports()
354 while (mReader.hasNext()) { in readFeatureReports()
390 while (mReader.hasNext()) { in readOutputs()
394 while (mReader.hasNext()) { in readOutputs()
428 while (mReader.hasNext()) { in consumeRemainingElements()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractIpAddressPreferenceController.java104 if (!iter.hasNext()) return null; in formatIpAddresses()
107 while (iter.hasNext()) { in formatIpAddresses()
109 if (iter.hasNext()) addresses.append("\n"); in formatIpAddresses()
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodSubtypeHandle.java118 if (!splitter.hasNext()) { in of()
130 if (!splitter.hasNext()) { in of()
137 if (!splitter.hasNext()) { in of()
141 if (splitter.hasNext()) { in of()
/frameworks/base/core/java/android/content/
DCursorEntityIterator.java60 public final boolean hasNext() { in hasNext() method in CursorEntityIterator
81 if (!hasNext()) { in next()
/frameworks/base/services/core/java/com/android/server/location/eventlog/
DLocalEventLog.java199 while (it.hasNext()) { in iterate()
215 if (it.hasNext()) { in iterate()
235 if (next.hasNext()) { in iterate()
292 public boolean hasNext() { in hasNext() method in LocalEventLog.LogIterator
301 if (!hasNext()) { in next()
/frameworks/base/core/java/android/database/
DCursorJoiner.java121 public boolean hasNext() { in hasNext() method in CursorJoiner
158 if (!hasNext()) { in next()
162 assert hasNext(); in next()
/frameworks/base/cmds/incidentd/tests/
DFdBuffer_test.cpp54 while (reader->hasNext()) { in AssertBufferContent()
96 EXPECT_FALSE(reader->hasNext()); in TEST_F()
107 while (reader->hasNext()) { in TEST_F()
121 EXPECT_FALSE(reader->hasNext()); in TEST_F()
265 EXPECT_FALSE(reader->hasNext()); in TEST_F()
297 while (reader->hasNext()) { in TEST_F()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DJsonParser.java46 while (reader.hasNext()) { in parse()
87 while (reader.hasNext()) { in parseArray()

12345678910>>...13