Home
last modified time | relevance | path

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

12345

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DContextMap.java126 Iterator<App> i = mApps.iterator(); in remove()
155 Iterator<Connection> i = mConnections.iterator(); in removeConnection()
170 Iterator<App> i = mApps.iterator(); in getById()
183 Iterator<App> i = mApps.iterator(); in getByUuid()
197 Iterator<Connection> i = mConnections.iterator(); in getConnectedDevices()
209 Iterator<Connection> ii = mConnections.iterator(); in getByConnId()
226 Iterator<Connection> i = mConnections.iterator(); in connIdByAddress()
239 Iterator<Connection> i = mConnections.iterator(); in addressByConnId()
249 Iterator<Connection> i = mConnections.iterator(); in getConnectionByApp()
263 Iterator<App> i = mApps.iterator(); in clear()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerService.java161 final Iterator<WeakReference<DictionaryCollection>> iterator = in startUsingContactsDictionaryLocked() local
162 mDictionaryCollectionsList.iterator(); in startUsingContactsDictionaryLocked()
163 while (iterator.hasNext()) { in startUsingContactsDictionaryLocked()
164 final WeakReference<DictionaryCollection> dictRef = iterator.next(); in startUsingContactsDictionaryLocked()
167 iterator.remove(); in startUsingContactsDictionaryLocked()
179 final Iterator<WeakReference<DictionaryCollection>> iterator = in stopUsingContactsDictionaryLocked() local
180 mDictionaryCollectionsList.iterator(); in stopUsingContactsDictionaryLocked()
181 while (iterator.hasNext()) { in stopUsingContactsDictionaryLocked()
182 final WeakReference<DictionaryCollection> dictRef = iterator.next(); in stopUsingContactsDictionaryLocked()
185 iterator.remove(); in stopUsingContactsDictionaryLocked()
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactDeltaList.java62 final EntityIterator iterator = RawContacts.newEntityIterator( in fromQuery() local
65 return fromIterator(iterator); in fromQuery()
67 iterator.close(); in fromQuery()
76 public static RawContactDeltaList fromIterator(Iterator<?> iterator) { in fromIterator() argument
78 state.addAll(iterator); in fromIterator()
82 public void addAll(Iterator<?> iterator) { in addAll() argument
84 while (iterator.hasNext()) { in addAll()
86 Object nextObject = iterator.next(); in addAll()
/packages/apps/Email/src/com/android/email/service/
DAttachmentDownloadService.java296 Iterator<DownloadRequest> iterator = iterator(); in findDownloadRequest() local
297 while(iterator.hasNext()) { in findDownloadRequest()
298 DownloadRequest req = iterator.next(); in findDownloadRequest()
320 Iterator<DownloadRequest> iterator = mDownloadSet.descendingIterator(); in processQueue() local
322 while (iterator.hasNext() && in processQueue()
324 DownloadRequest req = iterator.next(); in processQueue()
969 Iterator<DownloadRequest> iterator = mDownloadSet.descendingIterator(); in dump() local
971 while (iterator.hasNext()) { in dump()
972 DownloadRequest req = iterator.next(); in dump()
/packages/apps/Browser/tests/src/com/android/browser/
DPopularUrlsTest.java453 Iterator<String> iterator = pages.iterator(); in loopUrls() local
455 iterator.next(); in loopUrls()
459 Log.e(TAG, "Recovering after crash: " + iterator.next()); in loopUrls()
467 while(iterator.hasNext()) { in loopUrls()
468 page = iterator.next(); in loopUrls()
501 iterator = pages.iterator(); in loopUrls()
/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()
DOpenWnnEngineJAJP.java249 Iterator<WnnWord> it = addCandidateList.iterator(); in getCandidate()
452 Iterator<WnnClause> it = sentence.elements.iterator(); in convert()
501 Iterator<WnnClause> clauses = ((WnnSentence)word).elements.iterator(); in learn()
/packages/apps/ContactsCommon/src/com/android/contacts/common/
DContactPhotoManager.java720 Iterator<ImageView> iterator = mPendingRequests.keySet().iterator(); in processLoadedImages() local
721 while (iterator.hasNext()) { in processLoadedImages()
722 ImageView view = iterator.next(); in processLoadedImages()
726 iterator.remove(); in processLoadedImages()
810 Iterator<Request> iterator = mPendingRequests.values().iterator(); in obtainPhotoIdsAndUrisToLoad() local
811 while (iterator.hasNext()) { in obtainPhotoIdsAndUrisToLoad()
812 Request request = iterator.next(); in obtainPhotoIdsAndUrisToLoad()
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
DMockContentProvider.java252 for (Iterator<Query> iterator = mExpectedQueries.iterator(); iterator.hasNext();) { in query()
253 Query query = iterator.next(); in query()
257 iterator.remove(); in query()
/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/ContactsCommon/src/com/android/contacts/common/list/
DCustomContactListFilterActivity.java147 android.content.EntityIterator iterator = in loadInBackground() local
154 while (iterator.hasNext()) { in loadInBackground()
155 final ContentValues values = iterator.next().getEntityValues(); in loadInBackground()
166 iterator.close(); in loadInBackground()
489 mUnsyncedGroups.iterator() : mSyncedGroups.iterator(); in setShouldSync()
/packages/apps/Mms/src/com/android/mms/ui/
DDeliveryReportActivity.java254 Iterator<String> iterator = recipientSet.iterator(); in queryStatusByRecipient() local
255 while (iterator.hasNext()) { in queryStatusByRecipient()
256 String r = iterator.next(); in queryStatusByRecipient()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Dshortcut_utils.h31 TerminalAttributes::ShortcutIterator iterator = terminalAttributes->getShortcutIterator(); in outputShortcuts() local
32 while (iterator.hasNextShortcutTarget() && outputWordIndex < MAX_RESULTS) { in outputShortcuts()
35 const int shortcutTargetStringLength = iterator.getNextShortcutTarget( in outputShortcuts()
/packages/apps/Email/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/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DDownloadList.java700 for (Iterator<Long> iterator = mSelectedIds.keySet().iterator(); iterator.hasNext(); ) {
701 if (!allIds.contains(iterator.next())) {
702 iterator.remove();
/packages/apps/Browser/src/com/android/browser/preferences/
DWebsiteSettingsFragment.java260 Iterator<String> iter = origins.keySet().iterator(); in askForOrigins()
274 Iterator<String> iter = origins.iterator(); in askForGeolocation()
306 Iterator<Map.Entry<String, Site>> originIter = elements.iterator(); in doInBackground()
343 Iterator<Site> sitesIter = matchingSites.iterator(); in doInBackground()
384 Iterator<Map.Entry<String, Site>> entryIterator = elements.iterator(); in populateOrigins()
/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/apps/DeskClock/src/com/android/deskclock/timer/
DTimers.java56 Iterator<TimerObj> i = timers.iterator(); in findTimer()
66 Iterator<TimerObj> i = timers.iterator(); in findExpiredTimer()
78 Iterator<TimerObj> it = result.iterator(); in timersInUse()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java344 String column = values.valueSet().iterator().next().getKey(); in fillNullValuesForColumn()
787 Iterator<Map.Entry<String, Object>> iterator = values.valueSet().iterator(); in checkInsertPermissions() local
788 while (iterator.hasNext()) { in checkInsertPermissions()
789 String key = iterator.next().getKey(); in checkInsertPermissions()
791 iterator.remove(); in checkInsertPermissions()
DDownloadNotifier.java175 final DownloadInfo info = cluster.iterator().next(); in updateWithLocked()
238 final DownloadInfo info = cluster.iterator().next(); in updateWithLocked()
295 final Iterator<String> it = mActiveNotifs.keySet().iterator(); in updateWithLocked()
/packages/apps/Email/tests/src/com/android/email/service/
DAttachmentDownloadServiceTests.java110 Iterator<DownloadRequest> iterator = mDownloadSet.descendingIterator(); in testDownloadSet() local
115 assertTrue(iterator.hasNext()); in testDownloadSet()
116 DownloadRequest req = iterator.next(); in testDownloadSet()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java755 Iterator<LinkAddress> iterator = linkProperties.getLinkAddresses().iterator(); in showIpConfigFields() local
756 if (iterator.hasNext()) { in showIpConfigFields()
757 LinkAddress linkAddress = iterator.next(); in showIpConfigFields()
770 Iterator<InetAddress> dnsIterator = linkProperties.getDnses().iterator(); in showIpConfigFields()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DSuggestionCursorUtil.java101 public Iterator<Suggestion> iterator() { in iterable()
102 return SuggestionCursorUtil.iterator(cursor); in iterable()
107 public static UnmodifiableIterator<Suggestion> iterator(final SuggestionCursor cursor) {
/packages/apps/Nfc/nci/jni/
DRouteDataSet.cpp144 Database::iterator it; in deleteDatabase()
520 for (Database::iterator iter = db->begin(); iter != db->end(); iter++) in printDiagnostic()
537 for (Database::iterator iter2 = db->begin(); iter2 != db->end(); iter2++) in printDiagnostic()

12345