Home
last modified time | relevance | path

Searched refs:directExecutor (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/broadcast/
DActionReceiverTest.kt97 private val directExecutor = Executor { it.run() } in <lambda>() constant in com.android.systemui.broadcast.ActionReceiverTest
126 val receiverData = ReceiverData(receiver1, IntentFilter(ACTION1), directExecutor, USER) in testRegistersOnFirstAdd()
138 val receiverData1 = ReceiverData(receiver1, IntentFilter(ACTION1), directExecutor, USER) in testRegistersOnlyOnce()
139 val receiverData2 = ReceiverData(receiver2, IntentFilter(ACTION1), directExecutor, USER) in testRegistersOnlyOnce()
149 val receiverData = ReceiverData(receiver1, IntentFilter(ACTION1), directExecutor, USER) in testRemovingLastReceiverUnregisters()
161 val receiverData1 = ReceiverData(receiver1, IntentFilter(ACTION1), directExecutor, USER) in testRemovingWhileOtherReceiversDoesntUnregister()
162 val receiverData2 = ReceiverData(receiver2, IntentFilter(ACTION1), directExecutor, USER) in testRemovingWhileOtherReceiversDoesntUnregister()
178 val receiverData = ReceiverData(receiver1, filter, directExecutor, USER) in testReceiverHasCategories()
188 val receiverData = ReceiverData(receiver1, IntentFilter(ACTION2), directExecutor, USER) in testNotRegisteredWithWrongAction_throwsException()
195 val receiverData = ReceiverData(receiver1, IntentFilter(ACTION1), directExecutor, USER) in testReceiverGetsBroadcast()
[all …]
/frameworks/base/libs/WindowManager/Shell/multivalentTests/src/com/android/wm/shell/bubbles/
DBubblePositionerTest.kt35 import com.google.common.util.concurrent.MoreExecutors.directExecutor
271 val bubble = Bubble.createAppBubble(intent, UserHandle(1), null, directExecutor()) in testGetExpandedViewHeight_max()
297 directExecutor() in testGetExpandedViewHeight_customHeight_valid()
325 directExecutor() in testGetExpandedViewHeight_customHeight_tooSmall()
419 val bubble = Bubble.createAppBubble(intent, UserHandle(1), null, directExecutor()) in testExpandedViewY_phoneLandscape()
436 val bubble = Bubble.createAppBubble(intent, UserHandle(1), null, directExecutor()) in testExpandedViewY_phonePortrait()
455 val bubble = Bubble.createAppBubble(intent, UserHandle(1), null, directExecutor()) in testExpandedViewY_smallTabletLandscape()
473 val bubble = Bubble.createAppBubble(intent, UserHandle(1), null, directExecutor()) in testExpandedViewY_smallTabletPortrait()
492 val bubble = Bubble.createAppBubble(intent, UserHandle(1), null, directExecutor()) in testExpandedViewY_largeScreenLandscape()
510 val bubble = Bubble.createAppBubble(intent, UserHandle(1), null, directExecutor()) in testExpandedViewY_largeScreenPortrait()
DBubbleTaskViewTest.kt27 import com.google.common.util.concurrent.MoreExecutors.directExecutor
46 bubbleTaskView = BubbleTaskView(taskView, directExecutor()) in setUp()
DBubbleStackViewTest.kt47 import com.google.common.util.concurrent.MoreExecutors.directExecutor in <lambda>()
366 directExecutor() in <lambda>()
375 val bubble = Bubble.createAppBubble(intent, UserHandle(1), icon, directExecutor()) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DBubbleEducationControllerTest.kt34 import com.google.common.util.concurrent.MoreExecutors.directExecutor
126 directExecutor() in createFakeBubble()
130 Bubble.createAppBubble(intent, UserHandle(1), null, directExecutor()) in createFakeBubble()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/controller/
DQuickAccessWalletControllerTest.java107 MoreExecutors.directExecutor(), in setUp()
108 MoreExecutors.directExecutor(), in setUp()
202 eq(MoreExecutors.directExecutor()), mRequestCaptor.capture(), in queryWalletCards_walletEnabled_queryCards()
221 eq(MoreExecutors.directExecutor()), mRequestCaptor.capture(), in queryWalletCards_walletEnabled_queryMultipleCards()
/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/
DBackupRestoreStorageManagerTest.kt26 import com.google.common.util.concurrent.MoreExecutors.directExecutor
153 val executor = directExecutor() in notifyRestoreFinished()
177 val executor = directExecutor() in notifyBackupManager()
DObserverTest.kt37 private val executor1: Executor = MoreExecutors.directExecutor()
DSharedPreferencesStorageTest.kt78 val executor: Executor = MoreExecutors.directExecutor() in <lambda>()
DKeyedObserverTest.kt42 private val executor1: Executor = MoreExecutors.directExecutor() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/
DAppClipsViewModelTest.java22 import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
73 getContext().getMainExecutor(), directExecutor()).create(AppClipsViewModel.class); in setUp()
DAppClipsActivityTest.java25 import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
102 directExecutor()), mPackageManager, mUserTracker,
DAppClipsTrampolineActivityTest.java130 mBgExecutor = MoreExecutors.directExecutor(); in setUp()
131 mMainExecutor = MoreExecutors.directExecutor(); in setUp()
/frameworks/libs/systemui/weathereffects/graphics/tests/src/com/google/android/wallpaper/weathereffects/graphics/
DFrameBufferTest.kt33 private val executor = MoreExecutors.directExecutor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/util/
DUnfoldOnlyProgressProviderTest.kt44 UnfoldOnlyProgressProvider(foldProvider, MoreExecutors.directExecutor(), sourceProvider) in setUp()
/frameworks/base/media/tests/mediatestutils/java/com/android/media/mediatestutils/
DTestUtils.java123 MoreExecutors.directExecutor()); // Direct executor is fine since lightweight
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsProviderSelectorActivityTest.kt71 @Main private val executor: Executor = MoreExecutors.directExecutor()
73 @Background private val backExecutor: Executor = MoreExecutors.directExecutor()
DControlsFavoritingActivityTest.kt68 @Main private val executor: Executor = MoreExecutors.directExecutor()
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/
DBackupRestoreStorageManager.kt32 private val executor = MoreExecutors.directExecutor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayApplierTest.java107 mManager = new ThemeOverlayApplier(mOverlayManager, MoreExecutors.directExecutor(), in setup()
109 MoreExecutors.directExecutor()) { in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/model/
DBiometricPromptRequestTest.kt79 val executor = MoreExecutors.directExecutor() in <lambda>()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDeviceStateControllerTests.java62 private Executor mExecutor = MoreExecutors.directExecutor();
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/
DLocationManagerServiceTest.java189 MoreExecutors.directExecutor(), in FakeAbstractLocationProvider()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/
DNotificationShadeWindowControllerImplTest.java111 private final Executor mMainExecutor = MoreExecutors.directExecutor();
112 private final Executor mBackgroundExecutor = MoreExecutors.directExecutor();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/camera/
DCameraGestureHelperTest.kt105 uiExecutor = MoreExecutors.directExecutor(), in setUp()

12