Home
last modified time | relevance | path

Searched refs:collect (Results 1 – 25 of 475) sorted by relevance

12345678910>>...19

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionAuditLogger.kt42 keyguardInteractor.wakefulnessModel.collect { in start()
48 keyguardInteractor.primaryBouncerShowing.collect { in start()
54 keyguardInteractor.alternateBouncerShowing.collect { in start()
60 keyguardInteractor.isDozing.collect { logger.log(TAG, VERBOSE, "isDozing", it) } in start()
64 keyguardInteractor.isAbleToDream.collect { in start()
70 keyguardInteractor.isKeyguardOccluded.collect { in start()
76 interactor.finishedKeyguardTransitionStep.collect { in start()
82 interactor.canceledKeyguardTransitionStep.collect { in start()
88 interactor.startedKeyguardTransitionStep.collect { in start()
94 keyguardInteractor.dozeTransitionModel.collect { in start()
DFromLockscreenTransitionInteractor.kt65 .collect { pair -> in <lambda>()
89 .collect { pair -> in <lambda>()
111 .collect { pair -> in <lambda>()
144 .collect { (shadeModel, keyguardState, statusBarState, isKeyguardUnlocked) -> in <lambda>()
211 .collect { pair -> in <lambda>()
238 .collect { (isOccluded, keyguardState, isDreaming) -> in <lambda>()
258 .collect { (_, lastStartedStep) -> in <lambda>()
292 .collect { (wakefulnessState, lastStartedStep, isAodAvailable) -> in <lambda>()
DFromOccludedTransitionInteractor.kt32 import kotlinx.coroutines.flow.collect in <lambda>()
57 .collect { pair -> in <lambda>()
84 .collect { (isOccluded, isShowing, lastStartedKeyguardState) -> in <lambda>()
116 .collect { (isOccluded, isShowing, lastStartedKeyguardState) -> in <lambda>()
148 .collect { (wakefulnessState, lastStartedStep, isAodAvailable) -> in <lambda>()
DFromDreamingTransitionInteractor.kt35 import kotlinx.coroutines.flow.collect in <lambda>()
68 .collect { (isDreaming, dozeTransitionModel, lastStartedTransition) -> in <lambda>()
101 .collect { (isDreaming, isOccluded, lastStartedTransition) -> in <lambda>()
127 keyguardInteractor.biometricUnlockState.collect { biometricUnlockState -> in <lambda>()
149 .collect { (dozeTransitionModel, keyguardState) -> in <lambda>()
DFromDozingTransitionInteractor.kt33 import kotlinx.coroutines.flow.collect in <lambda>()
55 .collect { (wakefulnessModel, lastStartedTransition) -> in <lambda>()
77 .collect { (biometricUnlockState, lastStartedTransition) -> in <lambda>()
DFromGoneTransitionInteractor.kt56 .collect { (isKeyguardShowing, lastStartedStep) -> in <lambda>()
75 .collect { (isAbleToDream, lastStartedStep) -> in <lambda>()
101 .collect { (wakefulnessState, lastStartedStep, isAodAvailable) -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardBouncerViewBinder.kt112 viewModel.isShowing.collect { isShowing -> in <lambda>()
141 viewModel.startingToHide.collect { in <lambda>()
147 viewModel.startDisappearAnimation.collect { in <lambda>()
153 viewModel.bouncerExpansionAmount.collect { expansion -> in <lambda>()
159 primaryBouncerToGoneTransitionViewModel.bouncerAlpha.collect { alpha -> in <lambda>()
167 .collect { in <lambda>()
174 viewModel.isInteractable.collect { isInteractable -> in <lambda>()
180 viewModel.keyguardPosition.collect { position -> in <lambda>()
186 viewModel.updateResources.collect { in <lambda>()
193 viewModel.bouncerShowMessage.collect { in <lambda>()
[all …]
DLightRevealScrimViewBinder.kt32 viewModel.revealAmount.collect { amount -> revealScrim.revealAmount = amount } in <lambda>()
36 viewModel.lightRevealEffect.collect { effect -> in <lambda>()
DKeyguardBottomAreaViewBinder.kt122 viewModel.startButton.collect { buttonModel -> in <lambda>()
134 viewModel.endButton.collect { buttonModel -> in <lambda>()
146 viewModel.isOverlayContainerVisible.collect { isVisible -> in <lambda>()
157 viewModel.alpha.collect { alpha -> in <lambda>()
187 viewModel.indicationAreaTranslationX.collect { translationX -> in <lambda>()
204 .collect { paddingPx -> in <lambda>()
215 .collect { translationY -> in <lambda>()
222 configurationBasedDimensions.collect { dimensions -> in <lambda>()
372 .collect { view.alpha = it } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/binder/
DWifiViewBinder.kt39 import kotlinx.coroutines.flow.collect in <lambda>()
85 visibilityState.collect { visibilityState -> in <lambda>()
92 viewModel.wifiIcon.collect { wifiIcon -> in <lambda>()
101 iconTint.collect { tint -> in <lambda>()
110 launch { decorTint.collect { tint -> dotView.setDecorColor(tint) } } in <lambda>()
113 viewModel.isActivityInViewVisible.distinctUntilChanged().collect { visible -> in <lambda>()
119 viewModel.isActivityOutViewVisible.distinctUntilChanged().collect { visible -> in <lambda>()
125 viewModel.isActivityContainerVisible.distinctUntilChanged().collect { visible -> in <lambda>()
131 viewModel.isAirplaneSpacerVisible.distinctUntilChanged().collect { visible -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/binder/
DMobileIconBinder.kt84 visibilityState.collect { state -> in <lambda>()
102 launch { viewModel.isVisible.collect { isVisible -> view.isVisible = isVisible } } in <lambda>()
106 viewModel.icon.distinctUntilChanged().collect { icon -> in <lambda>()
122 viewModel.contentDescription.distinctUntilChanged().collect { in <lambda>()
129 viewModel.networkTypeIcon.distinctUntilChanged().collect { dataTypeId -> in <lambda>()
142 viewModel.roaming.distinctUntilChanged().collect { isRoaming -> in <lambda>()
149 launch { viewModel.activityInVisible.collect { activityIn.isVisible = it } } in <lambda>()
151 launch { viewModel.activityOutVisible.collect { activityOut.isVisible = it } } in <lambda>()
154 viewModel.activityContainerVisible.collect { activityContainer.isVisible = it } in <lambda>()
159 iconTint.collect { tint -> in <lambda>()
[all …]
DMobileIconsBinder.kt26 import kotlinx.coroutines.flow.collect
40 viewModel.subscriptionIdsFlow.collect { in bind()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/binder/
DStatusBarUserChipViewBinder.kt29 import kotlinx.coroutines.flow.collect in <lambda>()
43 viewModel.isChipVisible.collect { isVisible -> view.isVisible = isVisible } in <lambda>()
47 viewModel.userName.collect { name -> TextViewBinder.bind(view.text, name) } in <lambda>()
51 viewModel.userAvatar.collect { avatar -> view.avatar.setImageDrawable(avatar) } in <lambda>()
DUserSwitcherViewBinder.kt86 .collect { in <lambda>()
98 … launch { viewModel.isOpenMenuButtonVisible.collect { addButton.isVisible = it } } in <lambda>()
101 viewModel.isMenuVisible.collect { isVisible -> in <lambda>()
123 viewModel.menu.collect { menuViewModels -> in <lambda>()
129 viewModel.maximumUserColumns.collect { maximumColumns -> in <lambda>()
135 viewModel.users.collect { users -> in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest12.java89 shortcuts.stream().map(ShortcutInfo::getId).collect(Collectors.toSet()); in testSetDynamicShortcuts_PersistsShortcutsToDisk()
117 shortcuts.stream().map(ShortcutInfo::getId).collect(Collectors.toSet()); in testAddDynamicShortcuts_PersistsShortcutsToDisk()
141 shortcuts.stream().map(ShortcutInfo::getId).collect(Collectors.toSet()); in testPushDynamicShortcuts_PersistsShortcutsToDisk()
158 shortcutIds = shortcuts.stream().map(ShortcutInfo::getId).collect(Collectors.toSet()); in testPushDynamicShortcuts_PersistsShortcutsToDisk()
186 shortcuts.stream().map(ShortcutInfo::getId).collect(Collectors.toSet()); in testRemoveDynamicShortcuts_RemovesShortcutsFromDisk()
210 shortcuts.stream().map(ShortcutInfo::getId).collect(Collectors.toSet()); in testRemoveLongLivedShortcuts_RemovesShortcutsFromDisk()
235 shortcuts.stream().map(ShortcutInfo::getId).collect(Collectors.toSet()); in testDisableShortcuts_RemovesShortcutsFromDisk()
260 .collect(Collectors.toMap(ShortcutInfo::getId, Function.identity())); in testUpdateShortcuts_UpdateShortcutsOnDisk()
281 .collect(Collectors.toMap(ShortcutInfo::getId, Function.identity())); in testShortcutsExcludedFromLauncher_PersistedToDisk()
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DAppActivity.java21 import com.google.common.collect.ImmutableCollection;
22 import com.google.common.collect.ImmutableMap;
23 import com.google.common.collect.ImmutableSet;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionParameterizedTest.kt41 import kotlinx.coroutines.flow.collect
130 launch { conn.cdmaLevel.collect {} } in TestScope()
131 launch { conn.primaryLevel.collect {} } in TestScope()
132 launch { conn.dataActivityDirection.collect {} } in TestScope()
133 launch { conn.carrierNetworkChangeActive.collect {} } in TestScope()
134 launch { conn.isRoaming.collect {} } in TestScope()
135 launch { conn.networkName.collect {} } in TestScope()
136 launch { conn.isEmergencyOnly.collect {} } in TestScope()
137 launch { conn.dataConnectionState.collect {} } in TestScope()
/frameworks/base/services/core/java/com/android/server/integrity/engine/
DRuleEvaluator.java56 .collect(Collectors.toList()); in evaluateRules()
62 .collect(Collectors.toList()); in evaluateRules()
72 .collect(Collectors.toList()); in evaluateRules()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/
DLogDiffsForTableTest.kt27 import kotlinx.coroutines.flow.collect
85 val job = launch { flowWithLogging.collect() } in boolean_logsInitialWhenCollected()
119 val job = launch { flowWithLogging.collect() } in boolean_logsUpdates()
161 val job = launch { flowWithLogging.collect() } in boolean_doesNotLogIfSameValue()
203 val job = launch { flowWithLogging.collect() } in boolean_worksForStateFlows()
267 val job = launch { flowWithLogging.collect() } in int_logsInitialWhenCollected()
297 val job = launch { flowWithLogging.collect() } in intNullable_logsNull()
343 val job = launch { flowWithLogging.collect() } in int_logsUpdates()
385 val job = launch { flowWithLogging.collect() } in int_doesNotLogIfSameValue()
432 val job = launch { flowWithLogging.collect() } in int_worksForStateFlows()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DContactThrottlingList.java67 new ContactInfo(uri, sipCode, timestamp)).collect(Collectors.toList()); in addToThrottlingList()
78 contactInfo.mContactUri).collect(Collectors.toList()); in getNotInThrottlingListUris()
91 .collect(Collectors.toList()); in getInThrottlingListUris()
102 .collect(Collectors.toList()); in cleanUpExpiredContacts()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/touch/
DDreamOverlayTouchMonitorTest.java158 .collect(Collectors.toCollection(HashSet::new))); in testReportedDisplayBounds()
188 .collect(Collectors.toCollection(HashSet::new))); in testEntryTouchZone()
217 .collect(Collectors.toCollection(HashSet::new))); in testSessionCount()
256 .collect(Collectors.toCollection(HashSet::new))); in testInputEventPropagation()
276 .collect(Collectors.toCollection(HashSet::new))); in testInputGesturePropagation()
295 .collect(Collectors.toCollection(HashSet::new))); in testGestureConsumption()
319 .collect(Collectors.toCollection(HashSet::new))); in testBroadcast()
343 .collect(Collectors.toCollection(HashSet::new))); in testPush()
388 .collect(Collectors.toCollection(HashSet::new))); in testPop()
406 .collect(Collectors.toCollection(HashSet::new))); in testPauseWithNoActiveSessions()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/ui/binder/
DFooterActionsViewBinder.kt43 import kotlinx.coroutines.flow.collect in <lambda>()
112 viewModel.isVisible.collect { isVisible -> view.isInvisible = !isVisible } in <lambda>()
115 launch { viewModel.alpha.collect { view.alpha = it } } in <lambda>()
117 viewModel.backgroundAlpha.collect { in <lambda>()
127 viewModel.security.collect { security -> in <lambda>()
137 viewModel.foregroundServices.collect { foregroundServices -> in <lambda>()
151 viewModel.userSwitcher.collect { userSwitcher -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DJavaAdapter.kt27 import kotlinx.coroutines.flow.collect
43 repeatOnLifecycle(state) { flow.collect { consumer.accept(it) } } in collectFlow()
DFlow.kt45 collect { newVal -> in <lambda>()
157 other.collect { sampledRef.set(it) } in setChanges()
159 collect { in setChanges()
241 collect { in throttle()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataUtils.java113 .collect(Collectors.toSet()); in getNetworkCapabilitiesFromString()
184 .collect(Collectors.joining("|")) + "]"; in networkCapabilitiesToString()
199 .collect(Collectors.joining("|")) + "]"; in networkCapabilitiesToString()
388 .collect(Collectors.toList()) in getHighestPriorityNetworkCapabilityFromDataProfile()
404 .boxed().collect(Collectors.toSet()), in getGroupedNetworkRequestList()
413 .collect(Collectors.toList()); in getGroupedNetworkRequestList()
430 .collect(Collectors.toList()); in getGroupedNetworkRequestList()

12345678910>>...19