/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/storage/ |
H A D | BubbleVolatileRepositoryTest.kt | 163 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 D | ShadeListBuilderHelperTest.kt | 34 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 D | ControlsSettingsRepositoryImplTest.kt | 28 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 D | FlashlightQuickAffordanceConfigTest.kt | 31 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 D | KeyguardQuickAffordanceLocalUserSelectionManagerTest.kt | 36 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 D | KeyguardQuickAffordanceRemoteUserSelectionManagerTest.kt | 32 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 D | UserSwitcherViewModelTest.kt | 51 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 D | RuleEvaluator.java | 56 .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 D | CredentialViewModelTest.kt | 14 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 D | FlowUtilTests.kt | 38 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 D | FlowsTest.kt | 26 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 D | DisplayTrackerImpl.kt | 49 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 D | VibrationTest.java | 21 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 D | DumpManager.kt | 144 @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 D | PromptCredentialInteractorTest.kt | 18 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 D | CredentialInteractorImplTest.kt | 22 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 D | OverridableFlowTest.kt | 24 import kotlinx.coroutines.flow.toList 59 flow.toList(flowValues)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardActiveUnlockModel.kt | 88 fun toList(): List<Row> { regex 89 return buffer.asSequence().map { it.asStringList }.toList()
|
H A D | KeyguardFaceListenModel.kt | 129 fun toList(): List<Row> { regex 130 return buffer.asSequence().map { it.asStringList }.toList()
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | AudioPort.java | 134 .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 D | SystemPartitionParseTest.kt | 52 ?.toList() 61 it.listFiles()?.toList().orEmpty()
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/settings/ |
H A D | FakeUserTracker.kt | 75 val copy = callbacks.toList() 81 val copy = callbacks.toList()
|
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | KernelCpuThreadReaderDiffTest.java | 25 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 D | DemoModeController.kt | 171 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 D | SystemConfigService.java | 18 import static java.util.stream.Collectors.toList; 62 .collect(toList())));
|