Home
last modified time | relevance | path

Searched refs:iter (Results 1 – 25 of 46) sorted by relevance

12

/packages/modules/DnsResolver/
DDns64Configuration.cpp115 const auto& iter = mDns64Configs.find(netId); in getPrefix64Locked() local
116 if (iter != mDns64Configs.end()) return iter->second.prefix64; in getPrefix64Locked()
131 const auto& iter = mDns64Configs.find(netId); in dump() local
132 if (iter == mDns64Configs.end()) { in dump()
137 const Dns64Config& cfg = iter->second; in dump()
195 const auto& iter = mDns64Configs.find(cfg.netId); in isDiscoveryInProgress() local
196 if (iter == mDns64Configs.end()) return false; in isDiscoveryInProgress()
198 const Dns64Config& currentCfg = iter->second; in isDiscoveryInProgress()
219 const auto& iter = mDns64Configs.find(netId); in removeDns64Config() local
220 if (iter == mDns64Configs.end()) return; in removeDns64Config()
[all …]
DPrivateDnsConfiguration.cpp349 const auto& iter = tracker.find(server); in needsValidation() local
350 return (iter == tracker.end()) || (iter->second == Validation::fail); in needsValidation()
/packages/apps/Gallery2/jni_jpegstream/src/
Djpeg_reader.cpp180 uint8_t *iter = buf; in formatPixels() local
202 *iter++ = r; in formatPixels()
203 *iter++ = g; in formatPixels()
204 *iter++ = b; in formatPixels()
208 iter += (len * 3 / 4); in formatPixels()
220 buf[i - 1] = *--iter; in formatPixels()
221 buf[i - 2] = *--iter; in formatPixels()
222 buf[i - 3] = *--iter; in formatPixels()
228 b = *--iter; in formatPixels()
229 g = *--iter; in formatPixels()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestTimer.java76 Iterator<Task> iter = mTaskList.iterator(); in purge() local
77 while (iter.hasNext()) { in purge()
78 Task task = iter.next(); in purge()
80 iter.remove(); in purge()
126 ListIterator<Task> iter = mTaskList.listIterator(0); in scheduleAtTime() local
127 while (iter.hasNext()) { in scheduleAtTime()
128 if (iter.next().mExecuteTime >= executeTime) { in scheduleAtTime()
132 iter.add(testTimerTask); in scheduleAtTime()
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DSeriesRecordingScheduler.java112 for (Iterator<SeriesRecordingUpdateTask> iter = mScheduleTasks.iterator();
113 iter.hasNext(); ) {
114 SeriesRecordingUpdateTask task = iter.next();
121 iter.remove();
338 for (Iterator<SeriesRecordingUpdateTask> iter = mScheduleTasks.iterator(); in updateSchedules()
339 iter.hasNext(); ) { in updateSchedules()
340 SeriesRecordingUpdateTask task = iter.next(); in updateSchedules()
346 iter.remove(); in updateSchedules()
352 for (Iterator<SeriesRecording> iter = seriesRecordingsToUpdate.iterator(); in updateSchedules()
353 iter.hasNext(); ) { in updateSchedules()
[all …]
DInputTaskScheduler.java276 for (Iterator<ScheduledRecording> iter = mWaitingSchedules.values().iterator(); in handleBuildSchedule()
277 iter.hasNext(); ) { in handleBuildSchedule()
278 ScheduledRecording schedule = iter.next(); in handleBuildSchedule()
285 iter.remove(); in handleBuildSchedule()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppManager.java162 for (Iterator<Pair<String, Long>> iter = mWhitelist.iterator(); iter.hasNext(); ) { in cleanupWhitelist()
163 Pair<String, Long> entry = iter.next(); in cleanupWhitelist()
168 iter.remove(); in cleanupWhitelist()
178 for (Iterator<Pair<String, Long>> iter = mWhitelist.iterator(); iter.hasNext(); ) { in addToWhitelist()
179 Pair<String, Long> entry = iter.next(); in addToWhitelist()
181 iter.remove(); in addToWhitelist()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrScheduleManager.java781 for (Iterator<ScheduledRecording> iter = schedulesToCheck.iterator(); iter.hasNext(); ) { in getConflictingSchedules()
782 ScheduledRecording schedule = iter.next(); in getConflictingSchedules()
786 iter.remove(); in getConflictingSchedules()
793 iter.remove(); in getConflictingSchedules()
910 for (Iterator<ScheduledRecording> iter = conflicts.keySet().iterator(); in getConflictingSchedulesInfo()
911 iter.hasNext(); ) { in getConflictingSchedulesInfo()
913 ScheduledRecording schedule = iter.next(); in getConflictingSchedulesInfo()
921 iter.remove(); in getConflictingSchedulesInfo()
935 for (Iterator<ScheduledRecording> iter = recordings.iterator(); iter.hasNext(); ) { in removeFinishedRecordings()
936 if (iter.next().getEndTimeMs() <= currentTimeMs) { in removeFinishedRecordings()
[all …]
DDvrDataManagerImpl.java191 Iterator<Entry<Long, T>> iter = from.entrySet().iterator(); in moveElements() local
192 while (iter.hasNext()) { in moveElements()
193 Entry<Long, T> entry = iter.next(); in moveElements()
196 iter.remove(); in moveElements()
923 Iterator<Entry<Long, ScheduledRecording>> iter = in removeDeletedSchedules() local
925 while (iter.hasNext()) { in removeDeletedSchedules()
926 Entry<Long, ScheduledRecording> entry = iter.next(); in removeDeletedSchedules()
929 iter.remove(); in removeDeletedSchedules()
1105 Iterator<SeriesRecording> iter = mSeriesRecordings.values().iterator(); in validateSeriesRecordings() local
1107 while (iter.hasNext()) { in validateSeriesRecordings()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DSubscriptionUtil.java65 for (Iterator<SubscriptionInfo> iter = subscriptions.iterator(); iter.hasNext(); ) { in getAvailableSubscriptions()
66 SubscriptionInfo info = iter.next(); in getAvailableSubscriptions()
68 iter.remove(); in getAvailableSubscriptions()
/packages/apps/Calendar/src/com/android/calendar/
DEvent.java498 private static long removeAlldayActiveEvents(Event event, Iterator<Event> iter, long colMask) { in removeAlldayActiveEvents() argument
502 while (iter.hasNext()) { in removeAlldayActiveEvents()
503 final Event active = iter.next(); in removeAlldayActiveEvents()
506 iter.remove(); in removeAlldayActiveEvents()
513 Event event, Iterator<Event> iter, long minDurationMillis, long colMask) { in removeNonAlldayActiveEvents() argument
518 while (iter.hasNext()) { in removeNonAlldayActiveEvents()
519 final Event active = iter.next(); in removeNonAlldayActiveEvents()
525 iter.remove(); in removeNonAlldayActiveEvents()
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DSubscriptionUtils.java80 for (Iterator<SubscriptionInfo> iter = subscriptions.iterator(); iter.hasNext(); ) { in getAvailableSubscriptions()
81 SubscriptionInfo info = iter.next(); in getAvailableSubscriptions()
83 iter.remove(); in getAvailableSubscriptions()
/packages/apps/Settings/src/com/android/settings/development/
DAdbIpAddressPreferenceController.java138 Iterator<InetAddress> iter = prop.getAllAddresses().iterator(); in formatIpAddresses() local
140 if (!iter.hasNext()) { in formatIpAddresses()
146 while (iter.hasNext()) { in formatIpAddresses()
147 InetAddress addr = iter.next(); in formatIpAddresses()
/packages/apps/SecureElement/src/com/android/se/security/
DAccessRuleCache.java401 Iterator<REF_DO> iter = keySet.iterator(); in searchForRulesWithSpecificAidButOtherHash() local
402 while (iter.hasNext()) { in searchForRulesWithSpecificAidButOtherHash()
403 REF_DO ref_do = iter.next(); in searchForRulesWithSpecificAidButOtherHash()
434 Iterator<REF_DO> iter = keySet.iterator(); in searchForRulesWithAllAidButOtherHash() local
435 while (iter.hasNext()) { in searchForRulesWithAllAidButOtherHash()
436 REF_DO ref_do = iter.next(); in searchForRulesWithAllAidButOtherHash()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/clipping/
DClipStorageTest.java127 Iterator<Uri> iter = reader.iterator(); in testReadConcurrently() local
130 while (iter.hasNext() && iter2.hasNext()) { in testReadConcurrently()
131 uris.add(iter.next()); in testReadConcurrently()
135 assertFalse(iter.hasNext()); in testReadConcurrently()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DLiveWallpaperInfo.java219 Iterator<ResolveInfo> iter = resolveInfos.iterator(); in getAllOnDevice() local
220 while (iter.hasNext()) { in getAllOnDevice()
221 ResolveInfo resolveInfo = iter.next(); in getAllOnDevice()
223 iter.remove(); in getAllOnDevice()
226 iter.remove(); in getAllOnDevice()
/packages/apps/Test/connectivity/sl4n/utils/
Dcommand_receiver.cpp56 function_map::const_iterator iter = _funcMap->find(cmd); in Call() local
57 if (iter != _funcMap->end()) { in Call()
58 iter->second(doc); in Call()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DSeriesScheduleRowAdapter.java252 for (Iterator<Program> iter = mPrograms.values().iterator(); iter.hasNext(); ) { in handleUpdateRow()
253 Program program = iter.next(); in handleUpdateRow()
257 iter.remove(); in handleUpdateRow()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DBaseLoaderResults.java180 Iterator<T> iter = allWorkspaceItems.iterator(); in filterCurrentWorkspaceItems() local
181 while (iter.hasNext()) { in filterCurrentWorkspaceItems()
182 ItemInfo i = iter.next(); in filterCurrentWorkspaceItems()
184 iter.remove(); in filterCurrentWorkspaceItems()
/packages/apps/SecureElement/src/com/android/se/security/ara/
DAraController.java192 Iterator<REF_AR_DO> iter = array.iterator(); in readAllAccessRules() local
193 while (iter.hasNext()) { in readAllAccessRules()
194 REF_AR_DO refArDo = iter.next(); in readAllAccessRules()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthWeekEventsView.java745 Iterator<Event> iter = eventDay.iterator(); in drawEvents() local
747 while (iter.hasNext()) { in drawEvents()
748 Event event = iter.next(); in drawEvents()
749 int newY = drawEvent(canvas, event, xSquare, yTest, rightEdge, iter.hasNext(), in drawEvents()
759 iter = eventDay.iterator(); in drawEvents()
760 while (iter.hasNext()) { in drawEvents()
761 Event event = iter.next(); in drawEvents()
762 int newY = drawEvent(canvas, event, xSquare, ySquare, rightEdge, iter.hasNext(), in drawEvents()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DCustomizeChannelListFragment.java173 Iterator<Item> iter = items.iterator(); in cleanUpOneChannelGroupItem() local
174 while (iter.hasNext()) { in cleanUpOneChannelGroupItem()
175 Item item = iter.next(); in cleanUpOneChannelGroupItem()
180 iter.remove(); in cleanUpOneChannelGroupItem()
/packages/apps/Nfc/nci/jni/
DRouteDataSet.cpp497 for (Database::iterator iter = db->begin(); iter != db->end(); iter++) { in printDiagnostic() local
498 RouteData* routeData = *iter; in printDiagnostic()
/packages/apps/Gallery/src/com/android/camera/
DImageManager.java320 Iterator<BaseImageList> iter = l.iterator(); in makeImageList() local
321 while (iter.hasNext()) { in makeImageList()
322 BaseImageList sublist = iter.next(); in makeImageList()
325 iter.remove(); in makeImageList()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DGsmCellBroadcastHandler.java435 Iterator<SmsCbConcatInfo> iter = mSmsCbPageMap.keySet().iterator(); in handleGsmBroadcastSms() local
437 while (iter.hasNext()) { in handleGsmBroadcastSms()
438 SmsCbConcatInfo info = iter.next(); in handleGsmBroadcastSms()
441 iter.remove(); in handleGsmBroadcastSms()

12