Home
last modified time | relevance | path

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

12345678910

/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.java61 assertTrue(it.hasNext()); in testSimpleMonth()
65 assertTrue(it.hasNext()); in testSimpleMonth()
81 assertTrue(it.hasNext()); in testSimpleDays()
85 assertTrue(it.hasNext()); in testSimpleDays()
89 assertFalse(it.hasNext()); in testSimpleDays()
102 assertTrue(it.hasNext()); in testNotRecurring()
106 assertFalse(it.hasNext()); in testNotRecurring()
116 assertFalse(it.hasNext()); in testNever()
128 while (it.hasNext()) { in testSane()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java234 assertTrue(upstreamIterator.hasNext()); in testNoDefinedUpstreamTypesAddsEthernet()
241 assertTrue(upstreamIterator.hasNext()); in testNoDefinedUpstreamTypesAddsEthernet()
243 assertTrue(upstreamIterator.hasNext()); in testNoDefinedUpstreamTypesAddsEthernet()
245 assertFalse(upstreamIterator.hasNext()); in testNoDefinedUpstreamTypesAddsEthernet()
257 assertTrue(upstreamIterator.hasNext()); in testDefinedUpstreamTypesSansEthernetAddsEthernet()
259 assertTrue(upstreamIterator.hasNext()); in testDefinedUpstreamTypesSansEthernetAddsEthernet()
261 assertTrue(upstreamIterator.hasNext()); in testDefinedUpstreamTypesSansEthernetAddsEthernet()
263 assertFalse(upstreamIterator.hasNext()); in testDefinedUpstreamTypesSansEthernetAddsEthernet()
275 assertTrue(upstreamIterator.hasNext()); in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet()
277 assertTrue(upstreamIterator.hasNext()); in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet()
[all …]
/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/core/java/android/util/
DMapCollections.java49 public boolean hasNext() { in hasNext() method in MapCollections.ArrayIterator
55 if (!hasNext()) throw new NoSuchElementException(); in next()
85 public boolean hasNext() { in hasNext() method in MapCollections.MapIterator
91 if (!hasNext()) throw new NoSuchElementException(); in next()
203 while (it.hasNext()) { in containsAll()
382 while (it.hasNext()) { in containsAll()
460 while (it.hasNext()) { in containsAllHelper()
471 while (it.hasNext()) { in removeAllHelper()
480 while (it.hasNext()) { in retainAllHelper()
DRecurrenceRule.java177 boolean hasNext; field in RecurrenceRule.NonrecurringIterator
180 hasNext = (start != null) && (end != null); in NonrecurringIterator()
184 public boolean hasNext() { in hasNext() method in RecurrenceRule.NonrecurringIterator
185 return hasNext; in hasNext()
190 hasNext = false; in next()
236 public boolean hasNext() { in hasNext() method in RecurrenceRule.RecurringIterator
DLocalLog.java85 while (itr.hasNext()) { in dump()
96 while (itr.hasNext()) { in reverseDump()
/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()
DDrmInfoRequest.h81 bool hasNext();
105 bool hasNext();
DDrmInfo.h67 bool hasNext();
91 bool hasNext();
DDrmSupportInfo.h48 bool hasNext();
71 bool hasNext();
/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/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/cmds/hid/src/com/android/commands/hid/
DEvent.java175 while (mReader.hasNext()) { in getNextEvent()
226 while (mReader.hasNext()) { in readData()
256 while (mReader.hasNext()) { in readFeatureReports()
262 while (mReader.hasNext()) { in readFeatureReports()
293 while (mReader.hasNext()) { in consumeRemainingElements()
/frameworks/base/core/java/android/content/
DCursorEntityIterator.java60 public final boolean hasNext() { in hasNext() method in CursorEntityIterator
81 if (!hasNext()) { in next()
DIntentFilter.java1491 return it.hasNext() ? it.next() : null; in matchCategories()
1494 while (it.hasNext()) { in matchCategories()
1765 while (it.hasNext()) { in writeToProto()
1771 while (it.hasNext()) { in writeToProto()
1777 while (it.hasNext()) { in writeToProto()
1783 while (it.hasNext()) { in writeToProto()
1789 while (it.hasNext()) { in writeToProto()
1795 while (it.hasNext()) { in writeToProto()
1801 while (it.hasNext()) { in writeToProto()
1817 while (it.hasNext()) { in dump()
[all …]
/frameworks/base/core/java/android/database/
DCursorJoiner.java120 public boolean hasNext() { in hasNext() method in CursorJoiner
157 if (!hasNext()) { in next()
161 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/SystemUI/src/com/android/systemui/classifier/brightline/
DTimeLimitedMotionEventBuffer.java51 while (iter.hasNext()) { in ejectOldEvents()
198 public boolean hasNext() { in hasNext() method in TimeLimitedMotionEventBuffer.Iter
199 return mIterator.hasNext(); in hasNext()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DJsonParser.java46 while (reader.hasNext()) { in parse()
87 while (reader.hasNext()) { in parseArray()
/frameworks/base/core/java/android/webkit/
DUrlInterceptRegistry.java134 while (iter.hasNext()) { in getSurrogate()
164 while (iter.hasNext()) { in getPluginData()
/frameworks/av/drm/common/
DDrmInfoRequest.cpp68 bool DrmInfoRequest::KeyIterator::hasNext() { in hasNext() function in DrmInfoRequest::KeyIterator
97 bool DrmInfoRequest::Iterator::hasNext() { in hasNext() function in DrmInfoRequest::Iterator
DDrmMetadata.cpp64 bool DrmMetadata::KeyIterator::hasNext() { in hasNext() function in DrmMetadata::KeyIterator
109 bool DrmMetadata::Iterator::hasNext() { in hasNext() function in DrmMetadata::Iterator
DDrmInfo.cpp74 bool DrmInfo::KeyIterator::hasNext() { in hasNext() function in DrmInfo::KeyIterator
102 bool DrmInfo::Iterator::hasNext() { in hasNext() function in DrmInfo::Iterator

12345678910