Home
last modified time | relevance | path

Searched refs:Iterator (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/frameworks/base/libs/androidfw/include/androidfw/
DAttributeFinder.h55 template <typename Derived, typename Iterator>
58 BackTrackingAttributeFinder(const Iterator& begin, const Iterator& end);
60 Iterator Find(uint32_t attr);
61 inline Iterator end();
68 Iterator begin_;
69 Iterator end_;
70 Iterator current_;
71 Iterator largest_;
76 Iterator framework_start_;
77 Iterator app_start_;
[all …]
/frameworks/native/include/input/
DRingBuffer.h48 class Iterator; variable
49 using iterator = Iterator<T>;
50 using const_iterator = Iterator<const T>;
181 class Iterator {
193 Iterator(ContainerType& container, size_type index) in Iterator() function
196 Iterator(const Iterator&) = default;
197 Iterator& operator=(const Iterator&) = default;
199 Iterator& operator++() {
204 Iterator operator++(int) {
205 Iterator iterator(*this);
[all …]
/frameworks/av/drm/common/
DDrmInfoRequest.cpp57 DrmInfoRequest::Iterator DrmInfoRequest::iterator() const { in iterator()
58 return Iterator(this); in iterator()
86 DrmInfoRequest::Iterator::Iterator(const DrmInfoRequest::Iterator& iterator) : in Iterator() function in DrmInfoRequest::Iterator
90 DrmInfoRequest::Iterator& DrmInfoRequest::Iterator::operator=( in operator =()
91 const DrmInfoRequest::Iterator& iterator) { in operator =()
97 bool DrmInfoRequest::Iterator::hasNext() { in hasNext()
101 String8& DrmInfoRequest::Iterator::next() { in next()
DDrmInfo.cpp64 DrmInfo::Iterator DrmInfo::iterator() const { in iterator()
65 return Iterator(this); in iterator()
91 DrmInfo::Iterator::Iterator(const DrmInfo::Iterator& iterator) in Iterator() function in DrmInfo::Iterator
96 DrmInfo::Iterator& DrmInfo::Iterator::operator=(const DrmInfo::Iterator& iterator) { in operator =()
102 bool DrmInfo::Iterator::hasNext() { in hasNext()
106 String8& DrmInfo::Iterator::next() { in next()
DDrmMetadata.cpp92 DrmMetadata::Iterator DrmMetadata::iterator() { in iterator()
93 return Iterator(this); in iterator()
96 DrmMetadata::Iterator::Iterator(const DrmMetadata::Iterator& iterator) : in Iterator() function in DrmMetadata::Iterator
102 DrmMetadata::Iterator& DrmMetadata::Iterator::operator=(const DrmMetadata::Iterator& iterator) { in operator =()
109 bool DrmMetadata::Iterator::hasNext() { in hasNext()
113 String8 DrmMetadata::Iterator::next() { in next()
DDrmConstraints.cpp88 DrmConstraints::Iterator DrmConstraints::iterator() { in iterator()
89 return Iterator(this); in iterator()
92 DrmConstraints::Iterator::Iterator(const DrmConstraints::Iterator& iterator) : in Iterator() function in DrmConstraints::Iterator
97 DrmConstraints::Iterator& DrmConstraints::Iterator::operator=( in operator =()
98 const DrmConstraints::Iterator& iterator) { in operator =()
104 bool DrmConstraints::Iterator::hasNext() { in hasNext()
108 String8 DrmConstraints::Iterator::next() { in next()
/frameworks/base/tools/aapt2/optimize/
DVersionCollapser.cpp29 template <typename Iterator, typename Pred>
32 FilterIterator(Iterator begin, Iterator end, Pred pred = Pred()) in FilterIterator()
39 Iterator NextIter() { in NextIter()
40 Iterator iter = current_; in NextIter()
46 typename Iterator::reference Next() { return *NextIter(); } in Next()
57 Iterator current_, end_;
61 template <typename Iterator, typename Pred>
62 FilterIterator<Iterator, Pred> make_filter_iterator(Iterator begin, in make_filter_iterator()
63 Iterator end = Iterator(), in make_filter_iterator()
65 return FilterIterator<Iterator, Pred>(begin, end, pred); in make_filter_iterator()
/frameworks/av/include/drm/
DDrmInfo.h78 class Iterator {
82 explicit Iterator(const DrmInfo* drmInfo) in Iterator() function
86 Iterator(const Iterator& iterator);
87 Iterator& operator=(const Iterator& iterator);
88 virtual ~Iterator() {} in ~Iterator()
157 Iterator iterator() const;
DDrmInfoRequest.h92 class Iterator {
96 explicit Iterator(const DrmInfoRequest* drmInfoRequest) in Iterator() function
100 Iterator(const Iterator& iterator);
101 Iterator& operator=(const Iterator& iterator);
102 virtual ~Iterator() {} in ~Iterator()
164 Iterator iterator() const;
DDrmMetadata.h57 class Iterator {
60 explicit Iterator(DrmMetadata* drmMetadata) : mDrmMetadata(drmMetadata), mIndex(0) {} in Iterator() function
63 Iterator(const Iterator& iterator);
64 Iterator& operator=(const Iterator& iterator);
65 virtual ~Iterator() {} in ~Iterator()
98 Iterator iterator();
DDrmConstraints.h93 class Iterator {
96 explicit Iterator(DrmConstraints* drmConstraints) in Iterator() function
100 Iterator(const Iterator& iterator);
101 Iterator& operator=(const Iterator& iterator);
102 virtual ~Iterator() {} in ~Iterator()
172 Iterator iterator();
/frameworks/av/media/module/id3/include/
DID3.h49 struct Iterator { struct
50 Iterator(const ID3 &parent, const char *id);
51 ~Iterator();
72 Iterator(const Iterator &);
73 Iterator &operator=(const Iterator &); argument
/frameworks/native/include/ftl/
Dflags.h57 class Iterator {
62 constexpr Iterator() = default;
63 Iterator(Flags<F> flags) : mRemainingFlags(flags.mFlags) { (*this)++; } in Iterator() function
66 Iterator& operator++() {
79 Iterator operator++(int) {
80 Iterator iter = *this;
85 bool operator==(Iterator other) const {
89 bool operator!=(Iterator other) const { return !(*this == other); }
160 Iterator begin() const { return Iterator(*this); } in begin()
162 Iterator end() const { return Iterator(); } in end()
/frameworks/native/libs/tracing_perfetto/tests/
Dutils.h121 class Iterator {
138 Iterator& operator++() {
147 Iterator operator++(int) {
148 Iterator tmp = *this;
153 friend bool operator==(const Iterator& a, const Iterator& b) {
156 friend bool operator!=(const Iterator& a, const Iterator& b) {
161 Iterator(const uint8_t* read_ptr, const uint8_t* end_ptr, in Iterator() function
189 using const_iterator = Iterator;
208 Iterator begin() const { in begin()
209 return Iterator(begin_, end_, s_); in begin()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DWatchedIntentFilter.java32 import java.util.Iterator;
49 private class WatchedIterator<E> implements Iterator<E> {
50 private final Iterator<E> mIterator;
51 WatchedIterator(@NonNull Iterator<E> i) { in WatchedIterator()
71 private <E> Iterator<E> maybeWatch(Iterator<E> i) { in maybeWatch()
268 public final Iterator<String> actionsIterator() { in actionsIterator()
343 public final Iterator<String> typesIterator() { in typesIterator()
387 public final Iterator<String> mimeGroupsIterator() { in mimeGroupsIterator()
423 public final Iterator<String> schemesIterator() { in schemesIterator()
467 public final Iterator<PatternMatcher> schemeSpecificPartsIterator() { in schemeSpecificPartsIterator()
[all …]
/frameworks/base/libs/hwui/apex/
Dandroid_region.cpp23 static inline SkRegion::Iterator* ARegionIter_to_SkRegionIter(ARegionIterator* iterator) { in ARegionIter_to_SkRegionIter()
24 return reinterpret_cast<SkRegion::Iterator*>(iterator); in ARegionIter_to_SkRegionIter()
27 static inline ARegionIterator* SkRegionIter_to_ARegionIter(SkRegion::Iterator* iterator) { in SkRegionIter_to_ARegionIter()
33 return (!region) ? nullptr : SkRegionIter_to_ARegionIter(new SkRegion::Iterator(*region)); in ARegionIterator_acquireIterator()
/frameworks/base/core/tests/coretests/src/android/util/
DRecurrenceRuleTest.java36 import java.util.Iterator;
68 final Iterator<Range<ZonedDateTime>> it = r.cycleIterator(); in testSimpleMonth()
89 final Iterator<Range<ZonedDateTime>> it = r.cycleIterator(); in testSimpleDays()
111 final Iterator<Range<ZonedDateTime>> it = r.cycleIterator(); in testNotRecurring()
126 final Iterator<Range<ZonedDateTime>> it = r.cycleIterator(); in testNever()
137 final Iterator<Range<ZonedDateTime>> it = r.cycleIterator(); in testSane()
/frameworks/base/core/java/android/util/
DFastImmutableArraySet.java20 import java.util.Iterator;
39 public Iterator<T> iterator() { in iterator()
55 private static final class FastIterator<T> implements Iterator<T> {
DMapCollections.java23 import java.util.Iterator;
40 final class ArrayIterator<T> implements Iterator<T> {
77 final class MapIterator implements Iterator<Map.Entry<K, V>>, Map.Entry<K, V> {
205 Iterator<?> it = collection.iterator(); in containsAll()
220 public Iterator<Map.Entry<K, V>> iterator() { in iterator()
305 public Iterator<K> iterator() { in iterator()
384 Iterator<?> it = collection.iterator(); in containsAll()
399 public Iterator<V> iterator() { in iterator()
462 Iterator<?> it = collection.iterator(); in containsAllHelper()
473 Iterator<?> it = collection.iterator(); in removeAllHelper()
[all …]
/frameworks/base/drm/java/android/drm/
DDrmInfoRequest.java20 import java.util.Iterator;
125 public Iterator<String> keyIterator() { in keyIterator()
135 public Iterator<Object> iterator() { in iterator()
DDrmInfo.java22 import java.util.Iterator;
120 public Iterator<String> keyIterator() { in keyIterator()
130 public Iterator<Object> iterator() { in iterator()
DDrmSupportInfo.java20 import java.util.Iterator;
75 public Iterator<String> getMimeTypeIterator() { in getMimeTypeIterator()
85 public Iterator<String> getFileSuffixIterator() { in getFileSuffixIterator()
/frameworks/base/core/java/android/content/
DEntityIterator.java19 import java.util.Iterator;
28 public interface EntityIterator extends Iterator<Entity> {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/
DParameters.kt61 fun parseArgsFromIter(iterator: Iterator<String>) in parseArgsFromIter()
125 override fun parseArgsFromIter(iterator: Iterator<String>) { in parseArgsFromIter()
152 override fun parseArgsFromIter(iterator: Iterator<String>) { in getValue()
183 override fun parseArgsFromIter(iterator: Iterator<String>) { in getValue()
/frameworks/av/media/module/id3/
DID3.cpp503 ID3::Iterator::Iterator(const ID3 &parent, const char *id) in Iterator() function in android::ID3::Iterator
516 ID3::Iterator::~Iterator() { in ~Iterator()
523 bool ID3::Iterator::done() const { in done()
527 void ID3::Iterator::next() { in next()
537 void ID3::Iterator::getID(String8 *id) const { in getID()
582 void ID3::Iterator::getString(String8 *id, String8 *comment) const { in getString()
592 void ID3::Iterator::getstring(String8 *id, bool otherdata) const { in getstring()
733 const uint8_t *ID3::Iterator::getData(size_t *length) const { in getData()
750 size_t ID3::Iterator::getHeaderLength() const { in getHeaderLength()
761 void ID3::Iterator::findFrame() { in findFrame()
[all …]

12345678910>>...13