Home
last modified time | relevance | path

Searched refs:emit (Results 1 – 25 of 229) sorted by relevance

12345678910

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DDisplaySwitchLatencyTrackerTest.kt138 areAnimationEnabled.emit(true) in unfold_logsLatencyTillTransitionStarted()
141 deviceState.emit(DeviceState.FOLDED) in unfold_logsLatencyTillTransitionStarted()
142 screenPowerState.emit(ScreenPowerState.SCREEN_OFF) in unfold_logsLatencyTillTransitionStarted()
145 deviceState.emit(DeviceState.HALF_FOLDED) in unfold_logsLatencyTillTransitionStarted()
148 screenPowerState.emit(ScreenPowerState.SCREEN_ON) in unfold_logsLatencyTillTransitionStarted()
152 deviceState.emit(DeviceState.UNFOLDED) in unfold_logsLatencyTillTransitionStarted()
187 areAnimationEnabled.emit(true) in unfold_progressUnavailable_logsLatencyTillScreenTurnedOn()
190 deviceState.emit(DeviceState.FOLDED) in unfold_progressUnavailable_logsLatencyTillScreenTurnedOn()
191 screenPowerState.emit(ScreenPowerState.SCREEN_OFF) in unfold_progressUnavailable_logsLatencyTillScreenTurnedOn()
194 deviceState.emit(DeviceState.HALF_FOLDED) in unfold_progressUnavailable_logsLatencyTillScreenTurnedOn()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DAodAlphaViewModel.kt56 goneToAodTransitionViewModel.enterFromTopAnimationAlpha.onStart { emit(0f) }, in <lambda>()
57 goneToDozingTransitionViewModel.lockscreenAlpha.onStart { emit(0f) }, in <lambda>()
58 keyguardInteractor.keyguardAlpha.onStart { emit(1f) }, in <lambda>()
61 emit(0f) in <lambda>()
67 emit(goneToAodAlpha) in <lambda>()
73 emit(goneToDozingAlpha) in <lambda>()
75 emit(keyguardAlpha) in <lambda>()
81 goneToAodTransitionViewModel.enterFromTopAnimationAlpha.onStart { emit(0f) }, in <lambda>()
82 goneToDozingTransitionViewModel.lockscreenAlpha.onStart { emit(0f) }, in <lambda>()
83 keyguardInteractor.keyguardAlpha.onStart { emit(1f) }, in <lambda>()
[all …]
DAodBurnInViewModel.kt80 keyguardInteractor.keyguardTranslationY.onStart { emit(0f) }, in <lambda>()
81 burnIn(params).onStart { emit(BurnInModel()) }, in <lambda>()
84 .onStart { emit(StateToValue()) }, in <lambda>()
86 emit(0f) in <lambda>()
89 emit(StateToValue()) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DConditionalRestarterTest.kt66 conditionA.canRestart.emit(true) in restart_ImmediatelySatisfied()
67 conditionB.canRestart.emit(true) in restart_ImmediatelySatisfied()
76 conditionA.canRestart.emit(false) in restart_WaitsForConditionA()
77 conditionB.canRestart.emit(true) in restart_WaitsForConditionA()
84 conditionA.canRestart.emit(true) in restart_WaitsForConditionA()
92 conditionA.canRestart.emit(true) in restart_WaitsForConditionB()
93 conditionB.canRestart.emit(false) in restart_WaitsForConditionB()
100 conditionB.canRestart.emit(true) in restart_WaitsForConditionB()
108 conditionA.canRestart.emit(true) in restart_WaitsForAllConditions()
109 conditionB.canRestart.emit(false) in restart_WaitsForAllConditions()
[all …]
DScreenIdleConditionTest.kt59 isAsleep.emit(false) in testCondition_awake()
69 isAsleep.emit(true) in testCondition_asleep()
79 isAsleep.emit(false) in testCondition_invokesRetry()
83 isAsleep.emit(true) in testCondition_invokesRetry()
DNotOccludedConditionTest.kt65 transitionValue.emit(1f) in testCondition_occluded()
74 transitionValue.emit(0f) in testCondition_notOccluded()
83 transitionValue.emit(1f) in testCondition_invokesRetry()
87 transitionValue.emit(0f) in testCondition_invokesRetry()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/domain/interactor/
DConnectedDisplayInteractorTest.kt88 fakeDisplayRepository.emit(emptySet()) in <lambda>()
98 fakeDisplayRepository.emit(emptySet()) in <lambda>()
108 fakeDisplayRepository.emit(setOf(display(type = TYPE_INTERNAL))) in <lambda>()
118 fakeDisplayRepository.emit(setOf(display(type = TYPE_EXTERNAL))) in <lambda>()
128 fakeDisplayRepository.emit( in <lambda>()
140 fakeDisplayRepository.emit( in <lambda>()
152 fakeDisplayRepository.emit( in <lambda>()
170 fakeDisplayRepository.emit(setOf(display(type = TYPE_VIRTUAL))) in <lambda>()
180 fakeDisplayRepository.emit(setOf(display(type = TYPE_VIRTUAL))) in <lambda>()
197 fakeDisplayRepository.emit(display(type = TYPE_VIRTUAL)) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/kotlin/
DFlowUtilTests.kt147 stop.emit(Unit) in <lambda>()
214 emit(1) in <lambda>()
230 emit(1) in <lambda>()
231 samplee.emit(1) in <lambda>()
232 emit(2) in <lambda>()
233 samplee.emit(2) in <lambda>()
234 samplee.emit(3) in <lambda>()
235 emit(3) in <lambda>()
236 emit(4) in <lambda>()
260 emit(1) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/display/data/repository/
DFakeDisplayRepository.kt60 suspend fun emit(value: Display?) = displayAdditionEventFlow.emit(value) in emit() method in com.android.systemui.display.data.repository.FakeDisplayRepository
63 suspend fun emit(value: Set<Display>) = flow.emit(value) in emit() method in com.android.systemui.display.data.repository.FakeDisplayRepository
66 suspend fun emit(value: DisplayRepository.PendingDisplay?) = pendingDisplayFlow.emit(value) in emit() method in com.android.systemui.display.data.repository.FakeDisplayRepository
83 suspend fun emitDisplayChangeEvent(displayId: Int) = _displayChangeEvent.emit(displayId) in emit()
DFakeDeviceStateRepository.kt27 suspend fun emit(value: DeviceStateRepository.DeviceState) = flow.emit(value) method in com.android.systemui.display.data.repository.FakeDeviceStateRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/
DSimBouncerInteractor.kt180 _bouncerMessageChanged.emit(resources.getString(R.string.kg_invalid_sim_pin_hint)) in verifySimPin()
192 _bouncerMessageChanged.emit(null) in verifySimPin()
201 _bouncerMessageChanged.emit(null) in verifySimPin()
203 _bouncerMessageChanged.emit( in verifySimPin()
224 _bouncerMessageChanged.emit(resources.getString(R.string.kg_puk_enter_pin_hint)) in verifySimPuk()
226 _bouncerMessageChanged.emit(resources.getString(R.string.kg_invalid_sim_puk_hint)) in verifySimPuk()
238 _bouncerMessageChanged.emit(resources.getString(R.string.kg_enter_confirm_pin_hint)) in verifySimPuk()
240 _bouncerMessageChanged.emit(resources.getString(R.string.kg_invalid_sim_pin_hint)) in verifySimPuk()
252 _bouncerMessageChanged.emit(resources.getString(R.string.kg_puk_enter_pin_hint)) in verifySimPuk()
266 _bouncerMessageChanged.emit(null) in verifySimPuk()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DSharedNotificationContainerViewModel.kt316 emit(false) // do not fade in in <lambda>()
323 emit(true) in <lambda>()
337 emit(false) in <lambda>()
344 emit(true) in <lambda>()
375 .onStart { emit(Triple(0f, false, 0f)) } in <lambda>()
410 emit(1f) in <lambda>()
413 emit(1f) in <lambda>()
416 emit(1f - qsExpansion) in <lambda>()
421 .onStart { emit(1f) } in <lambda>()
434 emit(false) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/events/
DSystemEventCoordinatorTest.kt78 connectedDisplayInteractor.emit() in startObserving_propagatesConnectedDisplayStatusEvents()
79 connectedDisplayInteractor.emit() in startObserving_propagatesConnectedDisplayStatusEvents()
89 connectedDisplayInteractor.emit() in stopObserving_doesNotPropagateConnectedDisplayStatusEvents()
95 connectedDisplayInteractor.emit() in stopObserving_doesNotPropagateConnectedDisplayStatusEvents()
102 suspend fun emit() = flow.emit(Unit) method in com.android.systemui.statusbar.events.SystemEventCoordinatorTest.FakeConnectedDisplayInteractor
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DBatteryControllerExt.kt40 .onStart { emit(isPluggedIn) } in BatteryController()
54 .onStart { emit(isPowerSave) } in isBatteryPowerSaveEnabled()
72 .onStart { emit(0) } in getBatteryLevel()
86 .onStart { emit(isExtremeSaverOn) } in isExtremePowerSaverEnabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/
DLogDiffsForTableTest.kt119 emit(bool) in boolean_logsUpdates()
166 emit(bool) in boolean_doesNotLogIfSameValue()
237 flow.emit(true) in boolean_worksForStateFlows()
244 flow.emit(false) in boolean_worksForStateFlows()
252 flow.emit(false) in boolean_worksForStateFlows()
317 emit(int) in intNullable_logsNull()
368 emit(int) in int_logsUpdates()
415 emit(bool) in int_doesNotLogIfSameValue()
491 flow.emit(2222) in int_worksForStateFlows()
498 flow.emit(3333) in int_worksForStateFlows()
[all …]
/frameworks/native/opengl/tools/glgen/src/
DGenerateGL.java34 private static void emit(int version, boolean ext, boolean pack, in emit() method in GenerateGL
161 emit(0, false, false, in main()
163 emit(0, true, false, in main()
165 emit(1, false, false, in main()
167 emit(1, true, false, in main()
169 emit(1, true, true, in main()
/frameworks/compile/mclinker/lib/LD/
DMsgHandler.cpp20 emit(); in ~MsgHandler()
23 bool MsgHandler::emit() { in emit() function in mcld::MsgHandler
25 return m_Engine.emit(); in emit()
/frameworks/compile/mclinker/include/mcld/
DLinker.h51 bool emit(FileOutputBuffer& pOutput);
55 bool emit(const Module& pModule, const std::string& pPath);
58 bool emit(const Module& pModule, int pFileDescriptor);
/frameworks/compile/slang/
DRSCCOptions.td52 def emit_asm : Flag<["-"], "emit-asm">,
55 def emit_llvm : Flag<["-"], "emit-llvm">,
56 HelpText<"Build ASTs then convert to LLVM, emit .ll file">;
57 def emit_bc : Flag<["-"], "emit-bc">,
58 HelpText<"Build ASTs then convert to LLVM, emit .bc file">;
59 def emit_nothing : Flag<["-"], "emit-nothing">,
60 HelpText<"Build ASTs then convert to LLVM, but emit nothing">;
105 def MP : Flag<["-"], "MP">, HelpText<"Also emit phony target for dependency files">;
108 def emit_dep : Flag<["-"], "emit-dep">, Alias<M>;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
DLogContextInteractorImplTest.kt187 deviceStateRepository.emit(DeviceStateRepository.DeviceState.HALF_FOLDED) in foldStateChanges()
190 deviceStateRepository.emit(DeviceStateRepository.DeviceState.CONCURRENT_DISPLAY) in foldStateChanges()
193 deviceStateRepository.emit(DeviceStateRepository.DeviceState.UNFOLDED) in foldStateChanges()
196 deviceStateRepository.emit(DeviceStateRepository.DeviceState.FOLDED) in foldStateChanges()
199 deviceStateRepository.emit(DeviceStateRepository.DeviceState.REAR_DISPLAY) in foldStateChanges()
202 deviceStateRepository.emit(DeviceStateRepository.DeviceState.UNKNOWN) in foldStateChanges()
209 deviceStateRepository.emit(DeviceStateRepository.DeviceState.FOLDED) in contextSubscriberChanges()
237 deviceStateRepository.emit(DeviceStateRepository.DeviceState.HALF_FOLDED) in contextSubscriberChanges()
252 deviceStateRepository.emit(DeviceStateRepository.DeviceState.UNFOLDED) in contextSubscriberChanges()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ui/
DAnimatedValueTest.kt43 events.emit(AnimatableEvent(value = 1, startAnimating = false)) in <lambda>()
56 events.emit(AnimatableEvent(value = 1, startAnimating = true)) in <lambda>()
69 events.emit(AnimatableEvent(value = 1, startAnimating = true)) in <lambda>()
70 events.emit(AnimatableEvent(value = 2, startAnimating = true)) in <lambda>()
83 events.emit(AnimatableEvent(value = 1, startAnimating = true)) in <lambda>()
98 events.emit(AnimatableEvent(value = 1, startAnimating = true)) in <lambda>()
102 events.emit(AnimatableEvent(value = 2, startAnimating = true)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/
DFingerprintPropertyRepository.kt140 .onStart { emit(props.value != UNINITIALIZED_PROPS) }, in <lambda>()
141 sensorId.map {}.onStart { if (props.value != UNINITIALIZED_PROPS) emit(Unit) }, in <lambda>()
144 .onStart { if (props.value != UNINITIALIZED_PROPS) emit(Unit) }, in <lambda>()
145 sensorType.map {}.onStart { if (props.value != UNINITIALIZED_PROPS) emit(Unit) }, in <lambda>()
146 strength.map {}.onStart { if (props.value != UNINITIALIZED_PROPS) emit(Unit) }, in <lambda>()
/frameworks/base/services/core/java/com/android/server/display/utils/
DPlog.java105 emit("[PLOG " + mId + "] " + message); in write()
113 protected abstract void emit(String message); in emit() method in Plog
137 protected void emit(String message) { in emit() method in Plog.SystemPlog
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardInteractor.kt134 flow { emit(newBounds) } in <lambda>()
258 .onStart { emit(0f) } in <lambda>()
312 .onStart { emit(false) } in <lambda>()
353 emit(MathUtils.constrainedMap(0f, 1f, 0.95f, 1f, legacyShadeExpansion)) in <lambda>()
356 emit(1f) in <lambda>()
359 .onStart { emit(1f) } in <lambda>()
367 shadeRepository.legacyShadeExpansion.onStart { emit(0f) }, in <lambda>()
368 keyguardTransitionInteractor.transitionValue(GONE).onStart { emit(0f) }, in <lambda>()
374 emit(0f) in <lambda>()
381 emit( in <lambda>()
/frameworks/compile/mclinker/include/mcld/Target/
DELFDynamic.h42 virtual size_t emit(uint8_t* pAddress) const = 0;
74 inline size_t emit(uint8_t* pAddress) const;
105 inline size_t emit(uint8_t* pAddress) const;
154 void emit(const LDSection& pSection, MemoryRegion& pRegion) const;

12345678910