Home
last modified time | relevance | path

Searched refs:yield (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/native/libs/ftl/
Dfuture_test.cpp35 auto future = ftl::yield(42); in TEST()
40 auto future = ftl::yield(std::move(ptr)); in TEST()
44 auto future = ftl::yield(123); in TEST()
45 ftl::Future<char> futures[] = {ftl::yield('a'), ftl::yield('b')}; in TEST()
108 auto future = ftl::yield(42); in TEST()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/wifi/domain/interactor/
DWifiInteractorImplTest.kt37 import kotlinx.coroutines.yield
197 yield() in isEnabled_matchesRepoIsEnabled()
201 yield() in isEnabled_matchesRepoIsEnabled()
205 yield() in isEnabled_matchesRepoIsEnabled()
218 yield() in isDefault_matchesRepoIsDefault()
222 yield() in isDefault_matchesRepoIsDefault()
226 yield() in isDefault_matchesRepoIsDefault()
262 yield() in activity_matchesRepoWifiActivity()
267 yield() in activity_matchesRepoWifiActivity()
272 yield() in activity_matchesRepoWifiActivity()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DWatchdogDiagnosticsTest.java113 Thread.yield(); in printAnnotatedStack()
119 Thread.yield(); in printAnnotatedStack()
124 Thread.yield(); in printAnnotatedStack()
127 Thread.yield(); in printAnnotatedStack()
/frameworks/native/include/ftl/
Dfuture.h86 friend Future<V> yield(V&&);
89 friend Future<V> yield(Args&&...);
115 inline Future<V> yield(V&& value) { in yield() function
120 inline Future<V> yield(Args&&... args) { in yield() function
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DConvenienceExtensions.kt28 for (i in 0 until childCount) yield(getChildAt(i)) in <lambda>()
34 yield(x) in <lambda>()
DNamedListenerSet.kt45 listeners.iterator().forEach { yield(it.listener) } in isEmpty()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/flags/
DSceneContainerFlagParameterization.kt39 yield(FlagsParameterization(mOverrides + mapOf(flagNameToDisable to false))) in <lambda>()
43 yield(FlagsParameterization(mOverrides + flagNamesToEnable.associateWith { true })) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/
DFakeKeyguardQuickAffordanceConfig.kt24 import kotlinx.coroutines.yield
56 yield() in setState()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/user/data/repository/
DFakeUserRepository.kt34 import kotlinx.coroutines.yield
123 yield() in setSelectedUserInfo()
142 yield() in setSettings()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DClockEventControllerTest.kt62 import kotlinx.coroutines.yield
316 yield() in keyguardCallback_verifyKeyguardChanged()
340 yield() in listenForDozeAmountTransition_updatesClockDozeAmount()
362 yield() in listenForTransitionToAodFromGone_updatesClockDozeAmountToOne()
384 yield() in listenForTransitionToLSFromOccluded_updatesClockDozeAmountToZero()
406 yield() in listenForTransitionToAodFromLockscreen_neverUpdatesClockDozeAmount()
428 yield() in listenForAnyStateToLockscreenTransition_neverUpdatesClockDozeAmount()
450 yield() in listenForAnyStateToDozingTransition_UpdatesClockDozeAmountToOne()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DFlattenerTest.cpp175 .WillOnce(Return(ByMove(ftl::yield<FenceResult>(Fence::NO_FENCE)))); in expectAllLayersFlattened()
451 .WillOnce(Return(ByMove(ftl::yield<FenceResult>(Fence::NO_FENCE)))); in TEST_F()
474 .WillOnce(Return(ByMove(ftl::yield<FenceResult>(Fence::NO_FENCE)))); in TEST_F()
526 .WillOnce(Return(ByMove(ftl::yield<FenceResult>(Fence::NO_FENCE)))); in TEST_F()
540 .WillOnce(Return(ByMove(ftl::yield<FenceResult>(Fence::NO_FENCE)))); in TEST_F()
569 .WillOnce(Return(ByMove(ftl::yield<FenceResult>(Fence::NO_FENCE)))); in TEST_F()
624 .WillOnce(Return(ByMove(ftl::yield<FenceResult>(Fence::NO_FENCE)))); in TEST_F()
688 .WillOnce(Return(ByMove(ftl::yield<FenceResult>(Fence::NO_FENCE)))); in TEST_F()
760 .WillOnce(Return(ByMove(ftl::yield<FenceResult>(Fence::NO_FENCE)))); in TEST_F()
830 .WillOnce(Return(ByMove(ftl::yield<FenceResult>(Fence::NO_FENCE)))); in TEST_F()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataUtils.java95 yield -1; in getNetworkCapabilityFromString()
172 yield "Unknown(" + netCap + ")"; in networkCapabilityToString()
261 yield "UNKNOWN(" + status + ")";
386 yield "Unknown(" + imsFeature + ")";
485 yield "UNKNOWN(" + linkStatus + ")";
521 yield "UNKNOWN(" + dataActivity + ")";
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DBasicTexture.java168 public void yield() { in yield() method in BasicTexture
199 t.yield(); in yieldAllTextures()
DRawTexture.java65 public void yield() { in yield() method in RawTexture
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/data/model/
DSceneStack.kt51 yield(head) in SceneStack()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaMetadataRetrieverTest.java91 Thread.yield(); // Don't be evil in testGetEmbeddedPicture()
144 Thread.yield(); // Don't be evil in testThumbnailCapture()
184 Thread.yield(); // Don't be evil in testMetadataRetrieval()
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
DUnitTest.java92 this.yield(); in waitForMessage()
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
DUnitTest.java103 this.yield(); in waitForMessage()
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
DUnitTest.java103 this.yield(); in waitForMessage()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleDataRepository.kt40 import kotlinx.coroutines.yield in <lambda>()
180 yield() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DFoldAodAnimationControllerTest.kt45 import kotlinx.coroutines.yield
193 yield() in onFolded_onScreenTurningOnWithoutDozingThenWithDozing_doesNotLogLatency()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVisualizerTest.java254 this.yield(); in run()
260 this.yield(); in run()
DBassBoostTest.java307 this.yield(); in run()
313 this.yield(); in run()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/util/
DNamedListenerSetTest.kt103 sequence { forEachNamed { name, listener -> yield(name to listener) } }.toList() in <lambda>()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DCompositionEngineTest.cpp126 .WillOnce(Return(ftl::yield<std::monostate>({}))); in TEST_F()
128 .WillOnce(Return(ftl::yield<std::monostate>({}))); in TEST_F()
130 .WillOnce(Return(ftl::yield<std::monostate>({}))); in TEST_F()
324 .WillOnce(Return(ftl::yield<std::monostate>({}))); in setOutputs()

123