Home
last modified time | relevance | path

Searched refs:iterator (Results 1 – 25 of 147) sorted by relevance

123456

/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
DMockContentProvider.java483 for (Iterator<Query> iterator = mExpectedQueries.iterator(); iterator.hasNext();) { in query()
484 Query query = iterator.next(); in query()
488 iterator.remove(); in query()
519 for (Iterator<Insert> iterator = mExpectedInserts.iterator(); iterator.hasNext(); ) { in insert()
520 Insert insert = iterator.next(); in insert()
524 iterator.remove(); in insert()
548 for (Iterator<Update> iterator = mExpectedUpdates.iterator(); iterator.hasNext(); ) { in update()
549 Update update = iterator.next(); in update()
553 iterator.remove(); in update()
578 for (Iterator<Delete> iterator = mExpectedDeletes.iterator(); iterator.hasNext(); ) { in delete()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DContextMap.java171 Iterator<App> i = mApps.iterator(); in remove()
189 Iterator<App> i = mApps.iterator(); in remove()
219 Iterator<Connection> i = mConnections.iterator(); in removeConnection()
234 Iterator<App> i = mApps.iterator(); in getById()
247 Iterator<App> i = mApps.iterator(); in getByUuid()
260 Iterator<App> i = mApps.iterator(); in getByName()
292 Iterator<Connection> i = mConnections.iterator(); in getConnectedDevices()
304 Iterator<Connection> ii = mConnections.iterator(); in getByConnId()
321 Iterator<Connection> i = mConnections.iterator(); in connIdByAddress()
334 Iterator<Connection> i = mConnections.iterator(); in addressByConnId()
[all …]
DScanFilterQueue.java169 Iterator<Entry> iterator = mEntries.iterator(); in pop() local
170 Entry entry = iterator.next(); in pop()
171 iterator.remove(); in pop()
180 for (Iterator<Entry> it = mEntries.iterator(); it.hasNext();) { in clearUuids()
/packages/apps/TV/usbtuner/jni/
Dtunertvinput_jni.cpp43 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_usbtuner_TunerHal_nativeFinalize()
58 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_usbtuner_TunerHal_nativeTune()
78 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_usbtuner_TunerHal_nativeCloseAllPidFilters()
92 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_usbtuner_TunerHal_nativeStopTune()
106 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_usbtuner_TunerHal_nativeAddPidFilter()
121 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_usbtuner_TunerHal_nativeWriteInBuffer()
/packages/apps/Nfc/src/com/android/nfc/
DNfcUnlockManager.java56 Iterator<IBinder> iterator = mUnlockHandlers.keySet().iterator(); in tryUnlock() local
57 while (iterator.hasNext()) { in tryUnlock()
59 IBinder binder = iterator.next(); in tryUnlock()
66 iterator.remove(); in tryUnlock()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DSplitter.java135 /*@Override*/ public SplittingIterator iterator( in on()
163 /*@Override*/ public SplittingIterator iterator(
208 /*@Override*/ public SplittingIterator iterator(
257 /*@Override*/ public SplittingIterator iterator(
335 /*@Override*/ public Iterator<String> iterator() {
336 return strategy.iterator(Splitter.this, sequence);
342 Iterator<String> iterator(Splitter splitter, CharSequence toSplit);
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContactDeltaList.java65 final EntityIterator iterator = RawContacts.newEntityIterator( in fromQuery() local
68 return fromIterator(iterator); in fromQuery()
70 iterator.close(); in fromQuery()
79 public static RawContactDeltaList fromIterator(Iterator<?> iterator) { in fromIterator() argument
81 state.addAll(iterator); in fromIterator()
85 public void addAll(Iterator<?> iterator) { in addAll() argument
87 while (iterator.hasNext()) { in addAll()
89 Object nextObject = iterator.next(); in addAll()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DOpenWnnClauseConverterJAJP.java142 return mConvertResult.iterator(); in convert()
262 Iterator<WnnWord> stemsi = stems.iterator(); in singleClauseConvert()
292 Iterator<WnnWord> stemsi = stems.iterator(); in singleClauseConvert()
296 Iterator<WnnWord> fzksi = fzks.iterator(); in singleClauseConvert()
357 Iterator clauseListi = clauseList.iterator(); in addClause()
440 Iterator<WnnWord> followFzksi = followFzks.iterator(); in getAncillaryPattern()
494 Iterator<WnnWord> list = words.iterator(); in getIndependentWords()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DLineIterator.java175 public static void closeQuietly(LineIterator iterator) { in closeQuietly() argument
176 if (iterator != null) { in closeQuietly()
177 iterator.close(); in closeQuietly()
/packages/apps/Email/src/com/beetstra/jutf7/
DCharsetProvider.java71 for (Iterator<Charset> iter = charsets.iterator(); iter.hasNext();) { in charsetForName()
76 for (Iterator<Charset> iter = charsets.iterator(); iter.hasNext();) { in charsetForName()
89 return charsets.iterator(); in charsets()
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DContactLoader.java121 EntityIterator iterator = RawContacts.newEntityIterator(cursor); in loadInBackground() local
123 while (iterator.hasNext()) { in loadInBackground()
124 Entity entity = iterator.next(); in loadInBackground()
128 iterator.close(); in loadInBackground()
DEntitySet.java65 EntityIterator iterator = RawContacts.newEntityIterator(resolver.query( in fromQuery() local
71 while (iterator.hasNext()) { in fromQuery()
73 final Entity before = iterator.next(); in fromQuery()
79 iterator.close(); in fromQuery()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryGridView.java209 final Iterator<Map.Entry<Uri, MessagePartData>> iterator = in refreshImageSelectionStateOnAttachmentChange() local
210 mSelectedImages.entrySet().iterator(); in refreshImageSelectionStateOnAttachmentChange()
211 while (iterator.hasNext()) { in refreshImageSelectionStateOnAttachmentChange()
212 Map.Entry<Uri, MessagePartData> entry = iterator.next(); in refreshImageSelectionStateOnAttachmentChange()
214 iterator.remove(); in refreshImageSelectionStateOnAttachmentChange()
/packages/apps/ContactsCommon/src/com/android/contacts/common/
DContactPhotoManager.java895 final Iterator<Entry<ImageView, Request>> iterator = mPendingRequests.entrySet().iterator(); in cancelPendingRequests() local
896 while (iterator.hasNext()) { in cancelPendingRequests()
897 final ImageView imageView = iterator.next().getKey(); in cancelPendingRequests()
901 iterator.remove(); in cancelPendingRequests()
1151 final Iterator<Entry<ImageView, Request>> iterator = mPendingRequests.entrySet().iterator(); in processLoadedImages() local
1152 while (iterator.hasNext()) { in processLoadedImages()
1153 final Entry<ImageView, Request> entry = iterator.next(); in processLoadedImages()
1158 iterator.remove(); in processLoadedImages()
1252 Iterator<Request> iterator = mPendingRequests.values().iterator(); in obtainPhotoIdsAndUrisToLoad() local
1253 while (iterator.hasNext()) { in obtainPhotoIdsAndUrisToLoad()
[all …]
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/
DByteQueue.java57 public Iterator iterator() { in iterator() method in ByteQueue
58 return buf.iterator(); in iterator()
/packages/services/Telephony/src/org/apache/james/mime4j/decoder/
DByteQueue.java57 public Iterator iterator() { in iterator() method in ByteQueue
58 return buf.iterator(); in iterator()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DCallList.java447 final Iterator<Call> iterator = mPendingDisconnectCalls.iterator(); in onErrorDialogDismissed() local
448 while (iterator.hasNext()) { in onErrorDialogDismissed()
449 Call call = iterator.next(); in onErrorDialogDismissed()
450 iterator.remove(); in onErrorDialogDismissed()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioManager.java403 mRinger.startCallWaiting(mRingingCalls.iterator().next()); in startCallWaiting()
557 mActiveDialingOrConnectingCalls.iterator().next() : possibleConnectingCall; in updateForegroundCall()
559 mForegroundCall = mRingingCalls.iterator().next(); in updateForegroundCall()
561 mForegroundCall = mHoldingCalls.iterator().next(); in updateForegroundCall()
694 (mRingingCalls.size() == 1 && call == mRingingCalls.iterator().next())) { in maybeStopRingingAndCallWaitingForAnsweredOrRejectedCall()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
DOrFileFilter.java118 for (Iterator<IOFileFilter> iter = this.fileFilters.iterator(); iter.hasNext();) { in accept()
132 for (Iterator<IOFileFilter> iter = this.fileFilters.iterator(); iter.hasNext();) { in accept()
DAndFileFilter.java122 for (Iterator<IOFileFilter> iter = this.fileFilters.iterator(); iter.hasNext();) { in accept()
139 for (Iterator<IOFileFilter> iter = this.fileFilters.iterator(); iter.hasNext();) { in accept()
/packages/apps/Nfc/nci/jni/extns/pn54x/src/utils/
DphNxpConfig.cpp603 for (iterator it = begin (), itEnd = end (); it != itEnd; ++it) in clean()
625 …for (list<const CNxpNfcParam*>::iterator it = m_list.begin (), itEnd = m_list.end (); it != itEnd;… in add()
650 …for (list<const CNxpNfcParam*>::iterator it = m_list.begin (), itEnd = m_list.end (); it != itEnd;… in moveFromList()
670 for (iterator it = begin (), itEnd = end (); it != itEnd; ++it) in moveToList()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DDraftMessageData.java479 final Iterator<MessagePartData> iterator = mAttachments.iterator(); in removeExistingAttachments() local
480 while (iterator.hasNext()) { in removeExistingAttachments()
481 final MessagePartData existingAttachment = iterator.next(); in removeExistingAttachments()
483 iterator.remove(); in removeExistingAttachments()
/packages/apps/Messaging/src/com/android/messaging/ui/
DMultiAttachmentLayout.java231 final Iterator<MessagePartData> iterator = attachments.iterator(); in buildViews() local
232 while (iterator.hasNext() && i < count) { in buildViews()
233 final MessagePartData attachment = iterator.next(); in buildViews()

123456