Searched defs:hasNext (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/base/core/java/android/content/
H A DCursorEntityIterator.java58 public final boolean hasNext() { method in class:CursorEntityIterator
60 throw new IllegalStateException("calling hasNext() when the iterator is closed");
73 * @see EntityIterator#hasNext()
79 if (!hasNext()) {
80 throw new IllegalStateException("you may only call next() if hasNext() is true");
/frameworks/base/core/java/android/util/
H A DFastImmutableArraySet.java64 public boolean hasNext() { method in class:FastImmutableArraySet.FastIterator
H A DRecurrenceRule.java174 boolean hasNext; field in class:RecurrenceRule.NonrecurringIterator
177 hasNext = (start != null) && (end != null);
181 public boolean hasNext() { method in class:RecurrenceRule.NonrecurringIterator
182 return hasNext;
187 hasNext = false;
233 public boolean hasNext() { method in class:RecurrenceRule.RecurringIterator
H A DJsonReader.java44 * while loop that accumulates values, terminating when {@link #hasNext}
50 * This loop should terminate when {@link #hasNext} is false. Finally,
101 * while (reader.hasNext()) {
115 * while (reader.hasNext()) {
137 * while (reader.hasNext()) {
149 * while (reader.hasNext()) {
318 public boolean hasNext() throws IOException { method in class:JsonReader
549 if (!hasNext() || peek() == JsonToken.END_DOCUMENT) {
H A DMapCollections.java49 public boolean hasNext() { method in class:MapCollections.ArrayIterator
55 if (!hasNext()) throw new NoSuchElementException();
85 public boolean hasNext() { method in class:MapCollections.MapIterator
91 if (!hasNext()) throw new NoSuchElementException();
203 while (it.hasNext()) {
382 while (it.hasNext()) {
460 while (it.hasNext()) {
471 while (it.hasNext()) {
480 while (it.hasNext()) {
/frameworks/av/drm/common/
H A DDrmConstraints.cpp61 bool DrmConstraints::KeyIterator::hasNext() { function in class:DrmConstraints::KeyIterator
104 bool DrmConstraints::Iterator::hasNext() { function in class:DrmConstraints::Iterator
H A DDrmInfoRequest.cpp68 bool DrmInfoRequest::KeyIterator::hasNext() { function in class:DrmInfoRequest::KeyIterator
97 bool DrmInfoRequest::Iterator::hasNext() { function in class:DrmInfoRequest::Iterator
H A DDrmMetadata.cpp64 bool DrmMetadata::KeyIterator::hasNext() { function in class:DrmMetadata::KeyIterator
109 bool DrmMetadata::Iterator::hasNext() { function in class:DrmMetadata::Iterator
H A DDrmInfo.cpp74 bool DrmInfo::KeyIterator::hasNext() { function in class:DrmInfo::KeyIterator
102 bool DrmInfo::Iterator::hasNext() { function in class:DrmInfo::Iterator
H A DDrmSupportInfo.cpp127 bool DrmSupportInfo::FileSuffixIterator::hasNext() { function in class:DrmSupportInfo::FileSuffixIterator
151 bool DrmSupportInfo::MimeTypeIterator::hasNext() { function in class:DrmSupportInfo::MimeTypeIterator
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DExportTestProvider.java56 public boolean hasNext() { method in class:ExportTestProvider.MockEntityIterator
57 return mIterator.hasNext();
/frameworks/base/core/java/android/database/
H A DCursorJoiner.java120 public boolean hasNext() { method in class:CursorJoiner
146 * The caller must check that hasNext() returns true before calling this.
157 if (!hasNext()) {
158 throw new IllegalStateException("you must only call next() when hasNext() is true");
161 assert hasNext();
/frameworks/base/core/java/android/metrics/
H A DMetricsReader.java137 public boolean hasNext() { method in class:MetricsReader
/frameworks/minikin/libs/minikin/
H A DStringPiece.h94 if (!hasNext()) {
102 inline bool hasNext() const { return mCurrent < mString.size(); } function in class:minikin::SplitIterator
/frameworks/base/core/java/android/util/jar/
H A DStrictJarFile.java277 public boolean hasNext() { method in class:StrictJarFile.EntryIterator
300 while (entryIterator.hasNext()) {
/frameworks/base/libs/protoutil/src/
H A DEncodedBuffer.cpp319 return hasNext() ? const_cast<uint8_t const*>(mData.at(mRp)) : NULL;
331 EncodedBuffer::iterator::hasNext() function in class:android::util::EncodedBuffer::iterator
/frameworks/base/location/java/android/location/
H A DGpsStatus.java53 public boolean hasNext() { method in class:GpsStatus.SatelliteIterator
/frameworks/layoutlib/bridge/src/android/graphics/
H A DTypeface_Delegate.java418 public boolean hasNext() { method in class:Typeface_Delegate.FontsIterator
/frameworks/support/app-toolkit/common/src/main/java/androidx/arch/core/internal/
H A DSafeIterableMap.java192 while (iterator1.hasNext() && iterator2.hasNext()) {
200 return !iterator1.hasNext() && !iterator2.hasNext();
207 while (i.hasNext()) {
218 while (iterator.hasNext()) {
220 if (iterator.hasNext()) {
239 public boolean hasNext() { method in class:SafeIterableMap.ListIterator
327 public boolean hasNext() { method in class:SafeIterableMap.IteratorWithAdditions
/frameworks/support/collection/src/main/java/androidx/collection/
H A DMapCollections.java47 public boolean hasNext() { method in class:MapCollections.ArrayIterator
53 if (!hasNext()) throw new NoSuchElementException();
83 public boolean hasNext() { method in class:MapCollections.MapIterator
89 if (!hasNext()) throw new NoSuchElementException();
201 while (it.hasNext()) {
380 while (it.hasNext()) {
458 while (it.hasNext()) {
469 while (it.hasNext()) {
478 while (it.hasNext()) {
/frameworks/av/packages/MediaComponents/src/com/android/media/subtitle/
H A DSubtitleTrack.java126 mCues.entriesBetween(mLastUpdateTimeMs, timeMs).iterator(); it.hasNext(); ) {
463 public boolean hasNext() { method in class:SubtitleTrack.CueList.EntryIterator
475 if (!mListIterator.hasNext()) {
535 } while (!mListIterator.hasNext());
/frameworks/base/media/java/android/media/
H A DSubtitleTrack.java136 mCues.entriesBetween(mLastUpdateTimeMs, timeMs).iterator(); it.hasNext(); ) {
490 public boolean hasNext() { method in class:SubtitleTrack.CueList.EntryIterator
502 if (!mListIterator.hasNext()) {
562 } while (!mListIterator.hasNext());
/frameworks/base/services/core/java/com/android/server/
H A DIntentResolver.java349 public boolean hasNext() { method in class:IntentResolver.IteratorWrapper
350 return mI.hasNext();
601 while (i.hasNext()) {
632 while (i.hasNext()) {
662 while (i.hasNext()) {
678 while (i.hasNext()) {
/frameworks/support/media/src/main/java/androidx/media/subtitle/
H A DSubtitleTrack.java138 mCues.entriesBetween(mLastUpdateTimeMs, timeMs).iterator(); it.hasNext(); ) {
479 public boolean hasNext() { method in class:SubtitleTrack.CueList.EntryIterator
491 if (!mListIterator.hasNext()) {
551 } while (!mListIterator.hasNext());
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DGuidedAction.java490 * @param hasNext Whether this action has a next state.
492 public B hasNext(boolean hasNext) { argument
493 setFlags(hasNext ? PF_HAS_NEXT : 0, PF_HAS_NEXT);
862 public boolean hasNext() { method in class:GuidedAction
868 * this and {@link #hasNext()} are true, infoOnly takes precedence. The default is false. For

Completed in 1241 milliseconds

12