/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardTransitionAuditLogger.kt | 53 powerInteractor.detailedWakefulness.collect { in start() 59 sharedNotificationContainerViewModel.isOnLockscreen.collect { in start() 65 shadeInteractor.isUserInteracting.collect { in start() 72 sharedNotificationContainerViewModel.bounds.debounce(20L).collect { in start() 79 sharedNotificationContainerViewModel.isOnLockscreenWithoutShade.collect { in start() 85 keyguardInteractor.primaryBouncerShowing.collect { in start() 91 keyguardInteractor.alternateBouncerShowing.collect { in start() 97 keyguardInteractor.isDozing.collect { logger.log(TAG, VERBOSE, "isDozing", it) } in start() 101 keyguardInteractor.isAbleToDream.collect { in start() 107 keyguardInteractor.isKeyguardGoingAway.collect { in start() [all …]
|
D | FromDreamingTransitionInteractor.kt | 87 .collect { startTransitionTo(KeyguardState.ALTERNATE_BOUNCER) } in <lambda>() 108 .collect { pair -> in <lambda>() 140 .collect { maybeStartTransitionToOccludedOrInsecureCamera() } in <lambda>() 158 .collect { in <lambda>() 176 .collect { startTransitionTo(KeyguardState.LOCKSCREEN) } in <lambda>() 193 .collect { startTransitionTo(KeyguardState.GONE) } in <lambda>() 205 .collect { startTransitionTo(KeyguardState.GONE) } in <lambda>() 211 keyguardInteractor.dozeTransitionModel.filterRelevantKeyguardState().collect { in <lambda>()
|
D | FromGlanceableHubTransitionInteractor.kt | 121 .collect { startTransitionTo(KeyguardState.PRIMARY_BOUNCER) } in <lambda>() 131 .collect { pair -> startTransitionTo(KeyguardState.ALTERNATE_BOUNCER) } in <lambda>() 139 .collect { in <lambda>() 153 .collect { maybeStartTransitionToOccludedOrInsecureCamera() } in <lambda>() 161 .collect { isOccludedAndNotDreaming -> in <lambda>() 172 .collect { startTransitionTo(KeyguardState.GONE) } in <lambda>()
|
D | FromOccludedTransitionInteractor.kt | 76 .collect { startTransitionTo(KeyguardState.PRIMARY_BOUNCER) } in <lambda>() 84 .collect { startTransitionTo(KeyguardState.DREAMING) } in <lambda>() 98 .collect { (_, isIdleOnCommunal, showCommunalFromOccluded, dreamFromOccluded) -> in <lambda>() 118 .collect { (_, _, isIdleOnCommunal, showCommunalFromOccluded, dreamFromOccluded) in <lambda>() 161 .collect { in <lambda>() 179 .collect { startTransitionTo(KeyguardState.ALTERNATE_BOUNCER) } in <lambda>()
|
D | FromDreamingLockscreenHostedTransitionInteractor.kt | 82 .collect { startTransitionTo(KeyguardState.LOCKSCREEN) } in <lambda>() 93 .collect { startTransitionTo(KeyguardState.OCCLUDED) } in <lambda>() 103 .collect { startTransitionTo(KeyguardState.PRIMARY_BOUNCER) } in <lambda>() 115 .collect { startTransitionTo(KeyguardState.GONE) } in <lambda>() 123 .collect { startTransitionTo(KeyguardState.DOZING) } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/binder/ |
D | KeyguardBouncerViewBinder.kt | 119 viewModel.isShowing.collect { isShowing -> in <lambda>() 156 viewModel.startingToHide.collect { in <lambda>() 162 viewModel.startDisappearAnimation.collect { in <lambda>() 168 viewModel.bouncerExpansionAmount.collect { expansion -> in <lambda>() 174 primaryBouncerToGoneTransitionViewModel.bouncerAlpha.collect { alpha -> in <lambda>() 182 .collect { in <lambda>() 189 viewModel.isInteractable.collect { isInteractable -> in <lambda>() 195 viewModel.keyguardPosition.collect { position -> in <lambda>() 201 viewModel.updateResources.collect { in <lambda>() 208 viewModel.bouncerShowMessage.collect { in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/binder/ |
D | WifiViewBinder.kt | 87 visibilityState.collect { visibilityState -> in <lambda>() 104 viewModel.wifiIcon.collect { wifiIcon -> in <lambda>() 113 iconTint.collect { tint -> in <lambda>() 122 launch { decorTint.collect { tint -> dotView.setDecorColor(tint) } } in <lambda>() 127 viewModel.isActivityInViewVisible.distinctUntilChanged().collect { visible in <lambda>() 135 viewModel.isActivityOutViewVisible.distinctUntilChanged().collect { visible in <lambda>() 143 viewModel.isActivityInViewVisible.distinctUntilChanged().collect { visible in <lambda>() 150 viewModel.isActivityOutViewVisible.distinctUntilChanged().collect { visible in <lambda>() 158 viewModel.isActivityContainerVisible.distinctUntilChanged().collect { visible -> in <lambda>() 164 viewModel.isAirplaneSpacerVisible.distinctUntilChanged().collect { visible -> in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/startable/ |
D | SceneContainerStartable.kt | 171 .collect { shadeSessionStorage.clear() } in <lambda>() 220 .collect { (isVisible, loggingReason) -> in <lambda>() 274 .collect { (isAnySimLocked, unlockStatus) -> in <lambda>() 379 .collect { (targetSceneKey, loggingReason) -> in <lambda>() 390 powerInteractor.detailedWakefulness.collect { wakefulness -> in <lambda>() 393 if (wakefulness.isAsleep()) return@collect in <lambda>() 394 if (!wakefulness.powerButtonLaunchGestureTriggered) return@collect in <lambda>() 395 if (wakefulness.lastSleepReason != WakeSleepReason.POWER_BUTTON) return@collect in <lambda>() 401 ?: return@collect in <lambda>() 413 powerInteractor.isAsleep.collect { isAsleep -> in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
D | DeviceEntryIconViewBinder.kt | 92 viewModel.isVisible.collect { isVisible -> in <lambda>() 98 viewModel.isLongPressEnabled.collect { isEnabled -> in <lambda>() 103 viewModel.isUdfpsSupported.collect { udfpsSupported -> in <lambda>() 121 viewModel.accessibilityDelegateHint.collect { hint -> in <lambda>() 137 viewModel.useBackgroundProtection.collect { useBackgroundProtection -> in <lambda>() 146 viewModel.burnInOffsets.collect { burnInOffsets -> in <lambda>() 154 viewModel.deviceEntryViewAlpha.collect { alpha -> view.alpha = alpha } in <lambda>() 164 fgViewModel.viewModel.collect { viewModel -> in <lambda>() 191 bgViewModel.alpha.collect { alpha -> bgView.alpha = alpha } in <lambda>() 194 bgViewModel.color.collect { color -> in <lambda>()
|
D | WindowManagerLockscreenVisibilityViewBinder.kt | 38 viewModel.surfaceBehindVisibility.collect { in bind() 44 viewModel.lockscreenVisibility.collect { in bind() 50 viewModel.aodVisibility.collect { lockscreenVisibilityManager.setAodVisible(it) } in bind() 54 viewModel.surfaceBehindAnimating.collect { in bind()
|
D | AlternateBouncerUdfpsViewBinder.kt | 50 viewModel.accessibilityDelegateHint.collect { hint -> in <lambda>() 55 launch("$TAG#viewModel.alpha") { viewModel.alpha.collect { view.alpha = it } } in <lambda>() 61 viewModel.fgViewModel.collect { fgViewModel -> in <lambda>() 81 viewModel.bgColor.collect { color -> in <lambda>() 86 viewModel.bgAlpha.collect { alpha -> bgView.alpha = alpha } in <lambda>()
|
D | KeyguardIndicationAreaBinder.kt | 76 viewModel.alpha.collect { alpha -> view.alpha = alpha } in <lambda>() 81 viewModel.indicationAreaTranslationX.collect { translationX -> in <lambda>() 97 .collect { paddingPx -> view.setPadding(paddingPx, 0, paddingPx, 0) } in <lambda>() 106 .collect { translationY -> view.translationY = translationY } in <lambda>() 110 configurationBasedDimensions.collect { dimensions -> in <lambda>() 123 viewModel.configurationChange.collect { in <lambda>()
|
D | KeyguardRootViewBinder.kt | 150 occludingAppDeviceEntryMessageViewModel?.message?.collect { biometricMessage in <lambda>() 169 viewModel.alpha(viewState).collect { alpha -> in <lambda>() 181 viewModel.burnInLayerVisibility.collect { visibility -> in <lambda>() 188 viewModel.burnInLayerAlpha.collect { alpha -> in <lambda>() 196 viewModel.topClippingBounds.collect { clipTop -> in <lambda>() 212 viewModel.lockscreenStateAlpha(viewState).collect { alpha -> in <lambda>() 222 viewModel.translationY.collect { y -> in <lambda>() 230 viewModel.translationX.collect { state -> in <lambda>() 231 val px = state.value ?: return@collect in <lambda>() 258 viewModel.scale.collect { scaleViewModel -> in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/footer/ui/viewbinder/ |
D | FooterViewBinder.kt | 86 viewModel.clearAllButton.labelId.collect { textId -> in <lambda>() 92 viewModel.clearAllButton.accessibilityDescriptionId.collect { textId -> in <lambda>() 98 viewModel.clearAllButton.isVisible.collect { isVisible -> in <lambda>() 123 viewModel.manageButtonShouldLaunchHistory.collect { shouldLaunchHistory -> in <lambda>() 133 viewModel.manageOrHistoryButton.labelId.collect { textId -> in <lambda>() 139 viewModel.manageOrHistoryButton.accessibilityDescriptionId.collect { textId -> in <lambda>() 145 viewModel.manageOrHistoryButton.isVisible.collect { isVisible -> in <lambda>() 161 viewModel.message.isVisible.collect { visible -> footer.setFooterLabelVisible(visible) } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/binder/ |
D | MobileIconBinder.kt | 104 viewModel.isVisible.collect { isVisible -> in <lambda>() 125 visibilityState.collect { state -> in <lambda>() 138 viewModel.icon.distinctUntilChanged().collect { icon -> in <lambda>() 154 viewModel.contentDescription.distinctUntilChanged().collect { in <lambda>() 161 viewModel.networkTypeIcon.distinctUntilChanged().collect { dataTypeId -> in <lambda>() 180 viewModel.networkTypeBackground.collect { background -> in <lambda>() 198 viewModel.roaming.distinctUntilChanged().collect { isRoaming -> in <lambda>() 207 viewModel.activityInVisible.collect { visible -> in <lambda>() 214 viewModel.activityOutVisible.collect { visible -> in <lambda>() 221 launch { viewModel.activityInVisible.collect { activityIn.isVisible = it } } in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewbinder/ |
D | NotificationScrollViewBinder.kt | 78 .collect { view.setScrimClippingShape(it) } in <lambda>() 81 launch { viewModel.maxAlpha.collect { view.setMaxAlpha(it) } } in <lambda>() 82 launch { viewModel.scrolledToTop.collect { view.setScrolledToTop(it) } } in <lambda>() 83 launch { viewModel.expandFraction.collect { view.setExpandFraction(it.coerceIn(0f, 1f)) } } in <lambda>() 84 launch { viewModel.isScrollable.collect { view.setScrollingEnabled(it) } } in <lambda>() 85 launch { viewModel.isDozing.collect { isDozing -> view.setDozing(isDozing) } } in <lambda>()
|
D | SharedNotificationContainerBinder.kt | 67 viewModel.configurationBasedDimensions.collect { in <lambda>() 101 viewModel.shadeCollapseFadeIn.collect { fadeIn -> in <lambda>() 128 .collect { controller.setMaxDisplayedNotifications(it) } in <lambda>() 133 viewModel.bounds.collect { in <lambda>() 145 .collect { y -> controller.setTranslationY(y) } in <lambda>() 149 launch { viewModel.translationX.collect { x -> controller.translationX = x } } in <lambda>() 152 viewModel.keyguardAlpha(viewState).collect { in <lambda>() 159 viewModel.glanceableHubAlpha.collect { in <lambda>()
|
/frameworks/base/services/tests/selinux/src/com/android/server/selinux/ |
D | SelinuxAuditLogsCollectorTest.java | 97 boolean done = mSelinuxAutidLogsCollector.collect(ANSWER_TAG); in testWriteAuditLogs() 133 boolean done = mSelinuxAutidLogsCollector.collect(ANSWER_TAG); in testWriteAuditLogs_multiplePerms() 171 boolean done = mSelinuxAutidLogsCollector.collect(ANSWER_TAG); in testWriteAuditLogs_withPaths() 242 boolean done = mSelinuxAutidLogsCollector.collect(ANSWER_TAG); in testWriteAuditLogs_withCategories() 311 boolean done = mSelinuxAutidLogsCollector.collect(ANSWER_TAG); in testWriteAuditLogs_withPathAndCategories() 335 boolean done = mSelinuxAutidLogsCollector.collect(ANSWER_TAG); in testWriteAuditLogs_permissive() 371 boolean done = mSelinuxAutidLogsCollector.collect(ANSWER_TAG); in testNotWriteAuditLogs_notTestDomain() 401 boolean done = mSelinuxAutidLogsCollector.collect(ANSWER_TAG); in testWriteAuditLogs_upToQuota() 430 boolean done = mSelinuxAutidLogsCollector.collect(ANSWER_TAG); in testWriteAuditLogs_resetQuota() 454 done = mSelinuxAutidLogsCollector.collect(ANSWER_TAG); in testWriteAuditLogs_resetQuota() [all …]
|
D | SelinuxAuditLogsJobTest.java | 57 when(mAuditLogsCollector.collect(anyInt())).thenReturn(true); in testFinishSuccessfully() 67 when(mAuditLogsCollector.collect(anyInt())).thenReturn(false); in testInterrupt() 77 when(mAuditLogsCollector.collect(anyInt())).thenReturn(false); in testInterruptAndResume() 81 when(mAuditLogsCollector.collect(anyInt())).thenReturn(true); in testInterruptAndResume() 94 when(mAuditLogsCollector.collect(anyInt())) in testRequestStop()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/ |
D | BiometricViewBinder.kt | 238 viewModel.hideSensorIcon.collect { showWithoutIcon -> in <lambda>() 257 viewModel.fingerprintStartMode.collect { newMode -> in <lambda>() 279 .collect { dismissOnClick -> in <lambda>() 292 viewModel.isIndicatorMessageVisible.collect { show -> in <lambda>() 299 viewModel.promptPadding.collect { promptPadding -> in <lambda>() 325 .collect { credentialFallbackButton.text = it } in <lambda>() 327 launch { viewModel.negativeButtonText.collect { negativeButton.text = it } } in <lambda>() 329 viewModel.isConfirmButtonVisible.collect { show -> in <lambda>() 334 viewModel.isCancelButtonVisible.collect { show -> in <lambda>() 339 viewModel.isNegativeButtonVisible.collect { show -> in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/binder/ |
D | StatusBarUserChipViewBinder.kt | 29 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>()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest12.java | 89 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/packages/SystemUI/src/com/android/systemui/statusbar/notification/ui/viewbinder/ |
D | HeadsUpNotificationViewBinder.kt | 40 .collect { (newKeys, animationsEnabled) -> in <lambda>() 61 viewModel.topHeadsUpRow.collect { key -> in <lambda>() 66 viewModel.hasPinnedHeadsUpRow.collect { parentView.setInHeadsUpPinnedMode(it) } in <lambda>() 69 parentView.isHeadsUpAnimatingAway.collect { viewModel.setHeadsUpAnimatingAway(it) } in <lambda>()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | AppActivity.java | 21 import com.google.common.collect.ImmutableCollection; 22 import com.google.common.collect.ImmutableMap; 23 import com.google.common.collect.ImmutableSet;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ui/binder/ |
D | KeyguardStatusBarViewBinder.kt | 38 viewModel.isVisible.collect { isVisible -> in <lambda>() 43 launch { viewModel.isBatteryCharging.collect { view.onBatteryChargingChanged(it) } } in <lambda>() 46 viewModel.isKeyguardUserSwitcherEnabled.distinctUntilChanged().collect { in <lambda>()
|