/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/ |
D | SelectionInteractor.kt | 41 val selections: Flow<Set<Uri>> = constant in com.android.intentresolver.contentpreview.payloadtoggle.domain.interactor.SelectionInteractor 42 selectionsRepo.selections.map { it.keys }.distinctUntilChanged() in <lambda>() 45 val amountSelected: Flow<Int> = selectionsRepo.selections.map { it.size } in <lambda>() 48 selectionsRepo.selections.map { aggregateContentType(it.values) } in <lambda>() 51 selectionsRepo.selections.update { in updateSelection() 58 selectionsRepo.selections.updateAndGet { it + (model.uri to model) }.values in select() 63 if (selectionsRepo.selections.value.size > 1) { in unselect() 64 updateChooserRequest(selectionsRepo.selections.updateAndGet { it - model.uri }.values) in unselect() 68 private fun updateChooserRequest(selections: Collection<PreviewModel>) { in updateChooserRequest() 69 val sorted = selections.sortedBy { it.order } in updateChooserRequest()
|
D | SelectablePreviewInteractor.kt | 32 val isSelected: Flow<Boolean> = selectionInteractor.selections.map { key.uri in it } in <lambda>()
|
D | FetchPreviewsInteractor.kt | 48 selectionRepository.selections.value = initialPreviewMap.associateBy { it.uri } in <lambda>()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/quickaffordance/domain/interactor/ |
D | KeyguardQuickAffordancePickerInteractorTest.kt | 86 val selections = collectLastValue(underTest.selections) in select() constant 92 assertThat(selections()) in select() 106 assertThat(selections()) in select() 121 val selections = collectLastValue(underTest.selections) in unselectAll() constant 139 assertThat(selections()).isEmpty() in unselectAll()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/ |
D | SelectionInteractorTest.kt | 38 previewSelectionsRepository.selections.value = mapOf(initialPreview.uri to initialPreview) in <lambda>() 48 assertThat(underTest.selections.first()).containsExactly(initialPreview.uri) in <lambda>() 53 assertThat(underTest.selections.first()).containsExactly(initialPreview.uri) in <lambda>() 70 previewSelectionsRepository.selections.value = listOf(first, second).associateBy { it.uri } in <lambda>() 82 assertThat(underTest.selections.first()).containsExactly(second.uri) in <lambda>()
|
D | SelectablePreviewsInteractorTest.kt | 60 previewSelectionsRepository.selections.value = in <lambda>() 113 previewSelectionsRepository.selections.value = in <lambda>() 159 previewSelectionsRepository.selections.value = emptyMap() in <lambda>()
|
D | SelectablePreviewInteractorTest.kt | 71 previewSelectionsRepository.selections.value = in <lambda>() 101 assertThat(previewSelectionsRepository.selections.value.keys) in <lambda>()
|
D | CursorPreviewsInteractorTest.kt | 280 previewSelectionsRepository.selections.value = in <lambda>() 291 assertThat(previewSelectionsRepository.selections.value.values).containsExactly( in <lambda>()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/ |
D | MpegTsMediaPeriod.java | 96 TrackSelection[] selections, in selectTracks() argument 102 for (int i = 0; i < selections.length; i++) { in selectTracks() 103 if (streams[i] != null && (selections[i] == null || !mayRetainStreamFlags[i])) { in selectTracks() 109 if (streams[i] == null && selections[i] != null) { in selectTracks() 110 int index = trackGroups.indexOf(selections[i].getTrackGroup()); in selectTracks()
|
D | ExoPlayerSampleExtractor.java | 213 TrackSelection[] selections = new TrackSelection[trackGroupArray.length]; in onPrepared() local 214 for (int i = 0; i < selections.length; ++i) { in onPrepared() 215 selections[i] = new FixedTrackSelection(trackGroupArray.get(i), 0); in onPrepared() 220 mMediaPeriod.selectTracks(selections, retain, mStreams, reset, 0); in onPrepared()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/data/repository/ |
D | KeyguardQuickAffordancePickerRepository.kt | 50 val selections: Flow<List<SelectionModel>> = in <lambda>() constant in com.android.customization.picker.quickaffordance.data.repository.KeyguardQuickAffordancePickerRepository 53 .map { selections -> selections.map { selection -> selection.toModel() } } in <lambda>() method
|
/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/ui/viewmodel/ |
D | KeyguardQuickAffordancePickerViewModel.kt | 135 quickAffordanceInteractor.selections, in <lambda>() 137 ) { slots, affordances, selections, selectedSlotId -> in <lambda>() method 140 selections in <lambda>() 190 quickAffordanceInteractor.selections, in <lambda>() 192 ) { selections, selectedSlotId -> in <lambda>() method 193 selections in <lambda>()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/ui/viewmodel/ |
D | ShareouselViewModelTest.kt | 83 previewSelectionsRepository.selections.value = in <lambda>() 102 previewSelectionsRepository.selections.value = in <lambda>() 121 previewSelectionsRepository.selections.value = in <lambda>() 211 assertThat(previewSelectionsRepository.selections.value.keys) in <lambda>() 309 previewSelectionsRepository.selections.value = in <lambda>()
|
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/ |
D | form_filing_listbox_test.cc | 215 const std::vector<Option>& selections = fwiResult.options(); in TEST() local 217 EXPECT_TRUE(selections[3].selected); in TEST() 218 EXPECT_TRUE(selections[4].selected); in TEST() 219 EXPECT_TRUE(selections[7].selected); in TEST()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/domain/interactor/ |
D | KeyguardQuickAffordanceSnapshotRestorer.kt | 51 val selections: List<Pair<String, String>> = in <lambda>() constant 57 selections.forEach { (slotId, affordanceId) -> in <lambda>()
|
D | KeyguardQuickAffordancePickerInteractor.kt | 46 val selections: Flow<List<SelectionModel>> = repository.selections constant in com.android.customization.picker.quickaffordance.domain.interactor.KeyguardQuickAffordancePickerInteractor
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | ExoPlayerSampleExtractor.java | 258 TrackSelection[] selections = new TrackSelection[trackGroupArray.length]; in onPrepared() local 259 for (int i = 0; i < selections.length; ++i) { in onPrepared() 260 selections[i] = new FixedTrackSelection(trackGroupArray.get(i), 0); in onPrepared() 265 mMediaPeriod.selectTracks(selections, retain, mStreams, reset, 0); in onPrepared()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/data/repository/ |
D | PreviewSelectionsRepository.kt | 28 val selections = MutableStateFlow(emptyMap<Uri, PreviewModel>()) constant
|
/packages/services/Iwlan/flags/ |
D | main.aconfig | 43 description: "Allow additional ePDG selections for emergency PDN"
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | SimImportFragment.java | 271 final long[] selections = mSavedInstanceState.getLongArray( in restoreAdapterSelectedStates() local 273 mPerAccountCheckedIds.put(account.getAccount(), selections); in restoreAdapterSelectedStates() local
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ResolverActivity.java | 1853 public void onPickOptionResult(boolean finished, Option[] selections, Bundle result) { 1854 super.onPickOptionResult(finished, selections, result); 1855 if (selections.length != 1) { 1864 .getItem(selections[0].getIndex());
|
/packages/modules/Wifi/service/proto/src/ |
D | metrics.proto | 3357 // this number of network choices when exp1 and exp2 make different network selections.
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_GB_wordlist.combined.gz |
|
D | en_US_wordlist.combined.gz |
|
D | en_wordlist.combined.gz |
|