Home
last modified time | relevance | path

Searched refs:toList (Results 1 – 25 of 244) sorted by relevance

12345678910

/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/storage/
H A DBubbleVolatileRepositoryTest.kt163 assertThat(repository.getEntities(user0.identifier).toList())
179 assertThat(repository.getEntities(user0.identifier).toList())
185 assertThat(repository.getEntities(user0.identifier).toList())
195 assertThat(repository.getEntities(user0.identifier).toList())
201 assertThat(repository.getEntities(user0.identifier).toList())
211 assertThat(repository.getEntities(user0.identifier).toList())
214 assertThat(repository.getEntities(user11.identifier).toList())
230 assertThat(repository.getEntities(user0.identifier).toList())
233 assertThat(repository.getEntities(user11.identifier).toList())
252 assertThat(repository.getEntities(user0.identifier).toList())
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/listbuilder/
H A DShadeListBuilderHelperTest.kt34 assertThat(getContiguousSubLists("AAAAAA".toList()) { it })
39 assertThat(getContiguousSubLists("AAABBB".toList()) { it })
45 assertThat(getContiguousSubLists("AAABAA".toList()) { it })
52 assertThat(getContiguousSubLists("AAABAA".toList(), minLength = 2) { it })
58 assertThat(getContiguousSubLists("AAABBBBCCDEEE".toList()) { it })
67 assertThat(getContiguousSubLists("AAABBBBCCDEEE".toList(), minLength = 2) { it })
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/settings/
H A DControlsSettingsRepositoryImplTest.kt28 import kotlinx.coroutines.flow.toList
64 userRepository.setUserInfos(ALL_USERS.values.toList())
85 underTest.canShowControlsInLockscreen.toList(values)
112 underTest.canShowControlsInLockscreen.toList(values)
132 underTest.allowActionOnTrivialControlsInLockscreen.toList(values)
159 underTest.allowActionOnTrivialControlsInLockscreen.toList(values)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/
H A DFlashlightQuickAffordanceConfigTest.kt31 import kotlinx.coroutines.flow.toList
70 val job = launch(UnconfinedTestDispatcher()) { underTest.lockScreenState.toList(values) }
93 val job = launch(UnconfinedTestDispatcher()) { underTest.lockScreenState.toList(values) }
116 val job = launch(UnconfinedTestDispatcher()) { underTest.lockScreenState.toList(values) }
139 val job = launch(UnconfinedTestDispatcher()) { underTest.lockScreenState.toList(values) }
156 val job = launch(UnconfinedTestDispatcher()) { underTest.lockScreenState.toList(values) }
178 val job = launch(UnconfinedTestDispatcher()) { underTest.lockScreenState.toList(values) }
H A DKeyguardQuickAffordanceLocalUserSelectionManagerTest.kt36 import kotlinx.coroutines.flow.toList
107 underTest.selections.toList(affordanceIdsBySlotId)
192 underTest.selections.toList(affordanceIdsBySlotId)
276 underTest.selections.toList(affordanceIdsBySlotId)
307 underTest.selections.toList(affordanceIdsBySlotId)
339 underTest.selections.toList(affordanceIdsBySlotId)
360 underTest.selections.toList(affordanceIdsBySlotId)
H A DKeyguardQuickAffordanceRemoteUserSelectionManagerTest.kt32 import kotlinx.coroutines.flow.toList
120 val job = launch { underTest.selections.toList(values) }
172 val job = launch { underTest.selections.toList(values) }
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/ui/viewmodel/
H A DUserSwitcherViewModelTest.kt51 import kotlinx.coroutines.flow.toList
217 val job = launch(testDispatcher) { underTest.users.toList(userViewModels) }
246 val job = launch(testDispatcher) { underTest.maximumUserColumns.toList(values) }
258 val job = launch(testDispatcher) { underTest.maximumUserColumns.toList(values) }
270 val job = launch(testDispatcher) { underTest.isOpenMenuButtonVisible.toList(isVisible) }
285 val job = launch(testDispatcher) { underTest.isOpenMenuButtonVisible.toList(isVisible) }
295 val job = launch(testDispatcher) { underTest.isMenuVisible.toList(isMenuVisible) }
312 val job = launch(testDispatcher) { underTest.menu.toList(actions) }
333 launch(testDispatcher) { underTest.isFinishRequested.toList(isFinishRequested) }
374 val job = launch(testDispatcher) { underTest.users.toList(userViewModels) }
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/integrity/engine/
H A DRuleEvaluator.java56 .collect(Collectors.toList()); in evaluateRules()
62 .collect(Collectors.toList()); in evaluateRules()
72 .collect(Collectors.toList()); in evaluateRules()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
H A DCredentialViewModelTest.kt14 import kotlinx.coroutines.flow.toList
83 val job = launch { viewModel.animateContents.toList(animate) }
120 launch { viewModel.validatedAttestation.toList(attestations) }
121 launch { viewModel.remainingAttempts.toList(remainingAttempts) }
148 launch { viewModel.validatedAttestation.toList(attestations) }
149 launch { viewModel.remainingAttempts.toList(remainingAttempts) }
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/kotlin/
H A DFlowUtilTests.kt38 import kotlinx.coroutines.flow.toList
256 }.throttle(1000, choreographer.fakeClock).toList(output)
291 }.throttle(1000, choreographer.fakeClock).toList(output)
329 }.throttle(1000, choreographer.fakeClock).toList(output)
367 }.throttle(1000, choreographer.fakeClock).toList(output)
408 assertThat(flow.toList()).containsExactly(*emissions).inOrder()
409 suspend fun emitsNothing() = assertThat(flow.toList()).isEmpty()
/aosp14/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/util/
H A DFlowsTest.kt26 import kotlinx.coroutines.flow.toList
78 assertThat(outputFlow.toList()).containsExactly("A")
88 assertThat(outputFlow.toList()).containsExactly("A")
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DDisplayTrackerImpl.kt49 val list = synchronized(displayCallbacks) { displayCallbacks.toList() }
54 val list = synchronized(displayCallbacks) { displayCallbacks.toList() }
59 val list = synchronized(displayCallbacks) { displayCallbacks.toList() }
72 val list = synchronized(brightnessCallbacks) { brightnessCallbacks.toList() }
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DVibrationTest.java21 import static java.util.stream.Collectors.toList;
43 .collect(toList())) in status_hasUniqueProtoEnumValues()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/dump/
H A DDumpManager.kt144 @Synchronized fun getDumpables(): Collection<DumpableEntry> = dumpables.values.toList()
146 @Synchronized fun getLogBuffers(): Collection<LogBufferEntry> = buffers.values.toList()
149 fun getTableLogBuffers(): Collection<TableLogBufferEntry> = tableLogBuffers.values.toList()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
H A DPromptCredentialInteractorTest.kt18 import kotlinx.coroutines.flow.toList
153 val job = launch { interactor.verificationError.toList(errors) }
179 val job = launch { interactor.verificationError.toList(errors) }
206 val job = launch { interactor.verificationError.toList(errors) }
240 val job = launch { interactor.verificationError.toList(errors) }
H A DCredentialInteractorImplTest.kt22 import kotlinx.coroutines.flow.toList
114 .toList(statusList)
161 .toList(statusList)
183 .toList(statusList)
/aosp14/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/compose/
H A DOverridableFlowTest.kt24 import kotlinx.coroutines.flow.toList
59 flow.toList(flowValues)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardActiveUnlockModel.kt88 fun toList(): List<Row> { regex
89 return buffer.asSequence().map { it.asStringList }.toList()
H A DKeyguardFaceListenModel.kt129 fun toList(): List<Row> { regex
130 return buffer.asSequence().map { it.asStringList }.toList()
/aosp14/frameworks/base/media/java/android/media/
H A DAudioPort.java134 .collect(Collectors.toList())); in AudioPort()
136 .collect(Collectors.toList())); in AudioPort()
138 .collect(Collectors.toList())); in AudioPort()
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
H A DSystemPartitionParseTest.kt52 ?.toList()
61 it.listFiles()?.toList().orEmpty()
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/settings/
H A DFakeUserTracker.kt75 val copy = callbacks.toList()
81 val copy = callbacks.toList()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DKernelCpuThreadReaderDiffTest.java25 import static java.util.stream.Collectors.toList;
298 .map(t -> Arrays.stream(t.usageTimesMillis).boxed().collect(toList())) in cpuUsages()
299 .collect(toList()); in cpuUsages()
307 .collect(toList()); in threadNames()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/demomode/
H A DDemoModeController.kt171 synchronized(this) { copy = receivers.toList() }
181 synchronized(this) { copy = receivers.toList() }
214 synchronized(this) { copy = receivers.toList() }
/aosp14/frameworks/base/services/java/com/android/server/
H A DSystemConfigService.java18 import static java.util.stream.Collectors.toList;
62 .collect(toList())));

12345678910