/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/tzs2range/write/ |
D | PushBackIteratorTest.java | 37 PushBackIterator<String> iterator = new PushBackIterator<>(values.iterator()); in test() local 38 assertTrue(iterator.hasNext()); in test() 41 iterator.pushBack("Zero"); in test() 42 assertTrue(iterator.hasNext()); in test() 43 assertEquals("Zero", iterator.next()); in test() 46 assertTrue(iterator.hasNext()); in test() 47 assertEquals("One", iterator.next()); in test() 50 iterator.pushBack("One"); in test() 51 iterator.pushBack("Zero"); in test() 52 assertTrue(iterator.hasNext()); in test() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/commandline/ |
D | Arguments.java | 88 return parse(Iterators.unmodifiableIterator(rawArguments.iterator())); in parse() 91 public static Arguments parse(UnmodifiableIterator<String> iterator) in parse() argument 93 PeekingIterator<String> peekingIterator = Iterators.peekingIterator(iterator); in parse() 100 private static ImmutableMap<String, String> parseFlags(PeekingIterator<String> iterator) in parseFlags() argument 103 if (!iterator.hasNext()) { in parseFlags() 106 if (!iterator.peek().startsWith("--")) { in parseFlags() 110 while (iterator.hasNext()) { in parseFlags() 111 String peek = iterator.peek(); in parseFlags() 113 iterator.next(); in parseFlags() 117 String key = iterator.next().substring(2); in parseFlags() [all …]
|
/packages/apps/TV/tests/common/src/com/android/tv/input/ |
D | TunerHelper.java | 86 Iterator<Tuner> iterator = mTuners.iterator(); in stopTune() local 87 while (iterator.hasNext()) { in stopTune() 88 Tuner tuner = iterator.next(); in stopTune() 96 iterator.remove(); in stopTune() 112 Iterator<Tuner> iterator = mTuners.iterator(); in stopRecording() local 113 while (iterator.hasNext()) { in stopRecording() 114 Tuner tuner = iterator.next(); in stopRecording() 122 iterator.remove(); in stopRecording()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | ContextMap.java | 211 Iterator<App> i = mApps.iterator(); in remove() 230 Iterator<App> i = mApps.iterator(); in remove() 250 Iterator<App> i = mApps.iterator(); in getAllAppsIds() 276 Iterator<Connection> i = mConnections.iterator(); in removeConnection() 292 Iterator<Connection> i = mConnections.iterator(); in removeConnectionsByAppId() 307 Iterator<App> i = mApps.iterator(); in getById() 324 Iterator<App> i = mApps.iterator(); in getByUuid() 341 Iterator<App> i = mApps.iterator(); in getByName() 358 Iterator<App> i = mApps.iterator(); in getByContextInfo() 394 Iterator<Connection> i = mConnections.iterator(); in getConnectedDevices() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | MockContentProvider.java | 523 for (Iterator<Query> iterator = mExpectedQueries.iterator(); iterator.hasNext();) { in query() 524 Query query = iterator.next(); in query() 528 iterator.remove(); in query() 559 for (Iterator<Insert> iterator = mExpectedInserts.iterator(); iterator.hasNext(); ) { in insert() 560 Insert insert = iterator.next(); in insert() 564 iterator.remove(); in insert() 588 for (Iterator<Update> iterator = mExpectedUpdates.iterator(); iterator.hasNext(); ) { in update() 589 Update update = iterator.next(); in update() 593 iterator.remove(); in update() 618 for (Iterator<Delete> iterator = mExpectedDeletes.iterator(); iterator.hasNext(); ) { in delete() [all …]
|
/packages/apps/TV/jni/ |
D | tunertvinput_jni.cpp | 42 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_tv_tuner_TunerHal_nativeFinalize() 58 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_tv_tuner_TunerHal_nativeTune__JILjava_lang_String_2I() 80 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_tv_tuner_TunerHal_nativeTune__JIILjava_lang_String_2I() 102 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_tv_tuner_TunerHal_nativeCloseAllPidFilters() 115 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_tv_tuner_TunerHal_nativeStopTune() 129 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_tv_tuner_TunerHal_nativeGetSignalStrength() 145 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_tv_tuner_TunerHal_nativeAddPidFilter() 160 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer() 194 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_tv_tuner_TunerHal_nativeSetHasPendingTune() 209 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_tv_tuner_TunerHal_nativeGetDeliverySystemType() [all …]
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | PlaylistDetailsActivity.java | 171 Iterator<Uri> iterator = albumArtUris.iterator(); in updateViews() local 172 image0View.setImageURI(iterator.next()); in updateViews() 181 Iterator<Uri> iterator = albumArtUris.iterator(); in updateViews() local 182 image0View.setImageURI(iterator.next()); in updateViews() 183 image1View.setImageURI(iterator.next()); in updateViews() 184 image2View.setImageURI(iterator.next()); in updateViews() 185 image3View.setImageURI(iterator.next()); in updateViews()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/ |
D | PlaylistFragment.java | 193 Iterator<Uri> iterator = albumArtUris.iterator(); in bind() local 194 image0View.setImageURI(iterator.next()); in bind() 203 Iterator<Uri> iterator = albumArtUris.iterator(); in bind() local 204 image0View.setImageURI(iterator.next()); in bind() 205 image1View.setImageURI(iterator.next()); in bind() 206 image2View.setImageURI(iterator.next()); in bind() 207 image3View.setImageURI(iterator.next()); in bind()
|
/packages/services/Car/car-test-lib/src/android/car/test/util/ |
D | AndroidHelper.java | 47 Iterator<String> iterator = keySet.iterator(); in toString() local 48 while (iterator.hasNext()) { in toString() 49 String key = iterator.next(); in toString() 51 if (iterator.hasNext()) { in toString()
|
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/ |
D | DelegateActivity.java | 145 Iterator<FeatureTagState> iterator = deniedFeatureTags.iterator(); 146 while (iterator.hasNext()) { 147 FeatureTagState featureTagState = iterator.next(); 152 Iterator<String> iteratorStr = registeredFt.iterator(); 291 Iterator<String> iterator = fts.iterator(); in dumpFt() local 293 while (iterator.hasNext()) { in dumpFt() 294 res.append(iterator.next()).append("\r\n"); in dumpFt()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcUnlockManager.java | 56 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/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowLocalBroadcastManager.java | 58 Iterator<Wrapper> iterator = sRegisteredReceivers.iterator(); in unregisterReceiver() local 59 while (iterator.hasNext()) { in unregisterReceiver() 60 Wrapper wrapper = iterator.next(); in unregisterReceiver() 62 iterator.remove(); in unregisterReceiver()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContactDeltaList.java | 63 final EntityIterator iterator = RawContacts.newEntityIterator( in fromQuery() local 66 return fromIterator(iterator); in fromQuery() 68 iterator.close(); in fromQuery() 77 public static RawContactDeltaList fromIterator(Iterator<?> iterator) { in fromIterator() argument 79 state.addAll(iterator); in fromIterator() 83 public void addAll(Iterator<?> iterator) { in addAll() argument 85 while (iterator.hasNext()) { in addAll() 87 Object nextObject = iterator.next(); in addAll()
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
D | AboutPhoneSettingsTests.java | 110 for (Iterator<String> iterator = itemsLeftToFind.iterator(); iterator.hasNext(); ) { in removeItemsAndTakeAction() 111 String itemText = iterator.next(); in removeItemsAndTakeAction() 114 iterator.remove(); in removeItemsAndTakeAction()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiCandidatesTest.java | 224 .iterator().next().iterator().next(); in testCandidateToString() 337 c1 = mWifiCandidates.getGroupedCandidates().iterator().next().iterator().next(); in testTwoBssids() 344 c2 = mWifiCandidates.getGroupedCandidates().iterator().next().iterator().next(); in testTwoBssids() 369 c = mWifiCandidates.getGroupedCandidates().iterator().next().iterator().next(); in testReplace()
|
/packages/apps/Dialer/java/com/android/dialer/contactphoto/ |
D | ContactPhotoManagerImpl.java | 487 final Iterator<Entry<ImageView, Request>> iterator = pendingRequests.entrySet().iterator(); in cancelPendingRequests() local 488 while (iterator.hasNext()) { in cancelPendingRequests() 489 final ImageView imageView = iterator.next().getKey(); in cancelPendingRequests() 493 iterator.remove(); in cancelPendingRequests() 667 final Iterator<Entry<ImageView, Request>> iterator = pendingRequests.entrySet().iterator(); in processLoadedImages() local 668 while (iterator.hasNext()) { in processLoadedImages() 669 final Entry<ImageView, Request> entry = iterator.next(); in processLoadedImages() 674 iterator.remove(); in processLoadedImages() 755 Iterator<Request> iterator = pendingRequests.values().iterator(); in obtainPhotoIdsAndUrisToLoad() local 756 while (iterator.hasNext()) { in obtainPhotoIdsAndUrisToLoad() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | SlidingWindowTest.java | 47 assertTrue(sameContents(elements.iterator(), window.iterator())); in testAdd() 55 assertTrue(sameContents(expectedElements.iterator(), window.iterator())); in testAddOverflow()
|
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/ |
D | EpdgSelector.java | 235 for (Iterator<String> iterator = plmnsFromCarrierConfig.iterator(); iterator.hasNext(); ) { in getPlmnList() 236 String plmn = iterator.next(); in getPlmnList() 240 iterator.remove(); in getPlmnList() 254 for (Iterator<InetAddress> iterator = validIpList.iterator(); iterator.hasNext(); ) { in removeDuplicateIp() 255 InetAddress validIp = iterator.next(); in removeDuplicateIp()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | VideoCallTests.java | 170 .iterator().next(); in testIncomingVideoCallMissedCheckVideoHistory() 187 .iterator().next(); in testIncomingVideoCallRejectedCheckVideoHistory() 206 .iterator().next(); in testOutgoingVideoCallCanceledCheckVideoHistory() 224 .iterator().next(); in testOutgoingVideoCallRejectedCheckVideoHistory() 242 .iterator().next(); in testOutgoingVideoCallAnsweredAsAudio()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | DomainMatcher.java | 130 mRoot.addDomain(secondaryLabel.iterator(), MATCH_SECONDARY); in DomainMatcher() 138 mRoot.addDomain(primaryLabel.iterator(), MATCH_PRIMARY); in DomainMatcher() 200 Iterator<String> l1 = labels1.iterator(); in arg2SubdomainOfArg1() 201 Iterator<String> l2 = labels2.iterator(); in arg2SubdomainOfArg1()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactPhotoManager.java | 895 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() 1254 Iterator<Request> iterator = mPendingRequests.values().iterator(); in obtainPhotoIdsAndUrisToLoad() local 1255 while (iterator.hasNext()) { in obtainPhotoIdsAndUrisToLoad() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | GalleryGridView.java | 209 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/TV/src/com/android/tv/dvr/ |
D | DvrDataManagerImpl.java | 191 Iterator<Entry<Long, T>> iter = from.entrySet().iterator(); in moveElements() 382 Iterator<AsyncTask> i = mPendingTasks.iterator(); in stop() 388 Iterator<Future> id = mPendingDvrFuture.iterator(); in stop() 745 Iterator<ScheduledRecording> iterator = schedulesNotToDelete.iterator(); in removeScheduledRecording() local 746 while (iterator.hasNext()) { in removeScheduledRecording() 747 ScheduledRecording r = iterator.next(); in removeScheduledRecording() 749 iterator.remove(); in removeScheduledRecording() 924 getDeletedScheduleMap().entrySet().iterator(); in removeDeletedSchedules() 1051 mScheduledRecordingsForRemovedInput.values().iterator(); in forgetStorage() 1060 for (Iterator<SeriesRecording> i = mSeriesRecordingsForRemovedInput.values().iterator(); in forgetStorage() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/drawer/ |
D | DrawerFragment.java | 289 final Iterator<GroupListItem> iterator = mGroupListItems.iterator(); in notifyIfReady() local 290 while (iterator.hasNext()) { in notifyIfReady() 291 final GroupListItem groupListItem = iterator.next(); in notifyIfReady() 293 iterator.remove(); in notifyIfReady()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiChannelUtilization.java | 243 Iterator iterator = mChannelStatsMapCache.iterator(); in findChanStatsReference() local 244 while (iterator.hasNext()) { in findChanStatsReference() 245 SparseArray<ChannelStats> channelStatsMap = (SparseArray<ChannelStats>) iterator.next(); in findChanStatsReference()
|