/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/util/ |
D | ActiveTrackpadListTest.kt | 83 TestUtil.runOnExecutorSync(MAIN_EXECUTOR) {} in update callback not called in constructor() 93 TestUtil.runOnExecutorSync(MAIN_EXECUTOR) {} in update called on add only once() 99 TestUtil.runOnExecutorSync(MAIN_EXECUTOR) {} in update called on add only once() 104 TestUtil.runOnExecutorSync(MAIN_EXECUTOR) {} in update called on add only once() 110 TestUtil.runOnExecutorSync(MAIN_EXECUTOR) {} in update called on add only once() 120 TestUtil.runOnExecutorSync(MAIN_EXECUTOR) {} in update called on remove only once() 124 TestUtil.runOnExecutorSync(MAIN_EXECUTOR) {} in update called on remove only once() 129 TestUtil.runOnExecutorSync(MAIN_EXECUTOR) {} in update called on remove only once()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/graphics/ |
D | ThemeManagerTest.kt | 58 TestUtil.runOnExecutorSync(MAIN_EXECUTOR) {} in isMonoThemeEnabled get and set() 64 TestUtil.runOnExecutorSync(MAIN_EXECUTOR) {} in isMonoThemeEnabled get and set() 76 TestUtil.runOnExecutorSync(MAIN_EXECUTOR) {} in callback called on theme change() 84 TestUtil.runOnExecutorSync(MAIN_EXECUTOR) {} in iconState changes with theme() 88 TestUtil.runOnExecutorSync(MAIN_EXECUTOR) {} in iconState changes with theme() 92 TestUtil.runOnExecutorSync(MAIN_EXECUTOR) {} in iconState changes with theme()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/ |
D | ModelTestExtensions.kt | 36 TestUtil.runOnExecutorSync(Executors.MODEL_EXECUTOR) { in <lambda>() 46 TestUtil.runOnExecutorSync(Executors.MAIN_EXECUTOR) { forceReload() } in <lambda>() 53 TestUtil.runOnExecutorSync(Executors.MAIN_EXECUTOR) { addCallbacksAndLoad(mockCb) } in <lambda>() 54 TestUtil.runOnExecutorSync(Executors.MODEL_EXECUTOR) {} in <lambda>() 55 TestUtil.runOnExecutorSync(Executors.MAIN_EXECUTOR) {} in <lambda>() 56 TestUtil.runOnExecutorSync(Executors.MAIN_EXECUTOR) { removeCallbacks(mockCb) } in <lambda>() 79 TestUtil.runOnExecutorSync(Executors.MODEL_EXECUTOR) { in <lambda>()
|
D | LauncherModelHelper.java | 25 import static com.android.launcher3.util.TestUtil.runOnExecutorSync; 138 runOnExecutorSync(Executors.MODEL_EXECUTOR, () -> { }); in getBgDataModel() 228 mDestroyTask.add(() -> runOnExecutorSync(MODEL_EXECUTOR, () -> in setupDefaultLayoutProvider()
|
D | LauncherBindableItemsContainerTest.kt | 72 TestUtil.runOnExecutorSync(MAIN_EXECUTOR) { in <lambda>() 97 TestUtil.runOnExecutorSync(MAIN_EXECUTOR) { in <lambda>()
|
D | DaggerSingletonDeadlockTest.kt | 58 TestUtil.runOnExecutorSync(Executors.MAIN_EXECUTOR) { in objectCreationOnBackgroundThread()
|
D | VibratorWrapperTest.kt | 69 TestUtil.runOnExecutorSync(Executors.MAIN_EXECUTOR) {} in init_register_onChangeListener()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/pm/ |
D | UserCacheTest.kt | 54 TestUtil.runOnExecutorSync(MODEL_EXECUTOR) { in getBadgeDrawable only returns a UserBadgeDrawable given a user in the cache() 70 TestUtil.runOnExecutorSync(MODEL_EXECUTOR) { in getPreInstallApps returns list of pre installed apps given a user() 85 TestUtil.runOnExecutorSync(MODEL_EXECUTOR) { in getUserProfiles returns copy of UserCache profiles() 101 TestUtil.runOnExecutorSync(MODEL_EXECUTOR) { in getUserForSerialNumber returns user key matching given entry serial number() 116 TestUtil.runOnExecutorSync(MODEL_EXECUTOR) { in getUserInfo returns cached UserIconInfo given user key() 132 TestUtil.runOnExecutorSync(MODEL_EXECUTOR) { in getSerialNumberForUser returns cached UserIconInfo serial number given user key()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/icons/ |
D | IconCacheTest.java | 30 import static com.android.launcher3.util.TestUtil.runOnExecutorSync; 167 runOnExecutorSync(MODEL_EXECUTOR, in launcherActivityInfo_cached_in_memory() 173 runOnExecutorSync(MODEL_EXECUTOR, in launcherActivityInfo_cached_in_memory() 182 runOnExecutorSync(MODEL_EXECUTOR, in launcherActivityInfo_cached_in_memory() 192 runOnExecutorSync(MODEL_EXECUTOR, () -> mIconCache.getShortcutIcon(info, si)); in shortcutInfo_not_cached_in_memory() 197 runOnExecutorSync(MODEL_EXECUTOR, in shortcutInfo_not_cached_in_memory() 204 runOnExecutorSync(MODEL_EXECUTOR, in shortcutInfo_not_cached_in_memory() 215 runOnExecutorSync(MODEL_EXECUTOR, in shortcutInfo_not_cached_in_memory() 286 runOnExecutorSync(MODEL_EXECUTOR, () -> { in executeIconUpdate()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/model/ |
D | WidgetsPredicationUpdateTaskTest.java | 26 import static com.android.launcher3.util.TestUtil.runOnExecutorSync; 165 runOnExecutorSync(MODEL_EXECUTOR, () -> { in widgetsRecommendationRan_shouldOnlyReturnNotAddedWidgetsInAppPredictionOrder() 180 runOnExecutorSync(MAIN_EXECUTOR, () -> { }); in widgetsRecommendationRan_shouldOnlyReturnNotAddedWidgetsInAppPredictionOrder() 204 runOnExecutorSync(MODEL_EXECUTOR, () -> { in widgetsRecommendationRan_shouldReturnEmptyWidgetsWhenEmpty() 221 runOnExecutorSync(MAIN_EXECUTOR, () -> { }); in widgetsRecommendationRan_shouldReturnEmptyWidgetsWhenEmpty() 234 runOnExecutorSync(MODEL_EXECUTOR, () -> { in widgetsRecommendations_excludesWidgetsHiddenForPicker() 246 runOnExecutorSync(MAIN_EXECUTOR, () -> { }); in widgetsRecommendations_excludesWidgetsHiddenForPicker()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/model/ |
D | PackageUpdatedTaskTest.kt | 135 TestUtil.runOnExecutorSync(Executors.MODEL_EXECUTOR) { in OP_ADD triggers model callbacks and adds new items to AllAppsList() 153 TestUtil.runOnExecutorSync(Executors.MODEL_EXECUTOR) { in OP_UPDATE triggers model callbacks and updates items in AllAppsList() 170 TestUtil.runOnExecutorSync(Executors.MODEL_EXECUTOR) { in OP_REMOVE triggers model callbacks and removes packages and icons() 186 TestUtil.runOnExecutorSync(Executors.MODEL_EXECUTOR) { in OP_UNAVAILABLE triggers model callbacks and removes package from AllAppsList() 204 TestUtil.runOnExecutorSync(Executors.MODEL_EXECUTOR) { in OP_SUSPEND triggers model callbacks and updates flags in AllAppsList() 221 TestUtil.runOnExecutorSync(Executors.MODEL_EXECUTOR) { in OP_UNSUSPEND triggers no callbacks when app not suspended() 237 TestUtil.runOnExecutorSync(Executors.MODEL_EXECUTOR) { in OP_USER_AVAILABILITY_CHANGE triggers no callbacks if current user not work or private()
|
D | PackageInstallStateChangedTaskTest.java | 23 import static com.android.launcher3.util.TestUtil.runOnExecutorSync; 97 runOnExecutorSync(MODEL_EXECUTOR, () -> { in testSessionUpdate_ignore_installed() 108 runOnExecutorSync(MODEL_EXECUTOR, () -> { in testSessionUpdate_shortcuts_updated() 118 runOnExecutorSync(MODEL_EXECUTOR, () -> { in testSessionUpdate_widgets_updated()
|
D | CacheDataUpdatedTaskTest.java | 25 import static com.android.launcher3.util.TestUtil.runOnExecutorSync; 118 runOnExecutorSync(MODEL_EXECUTOR, () -> { in testCacheUpdate_update_apps() 133 runOnExecutorSync(MODEL_EXECUTOR, () -> { in testSessionUpdate_ignores_normal_apps() 151 runOnExecutorSync(MODEL_EXECUTOR, () -> { in testSessionUpdate_updates_pending_apps()
|
D | AddWorkspaceItemsTaskTest.kt | 26 import com.android.launcher3.util.TestUtil.runOnExecutorSync 176 runOnExecutorSync(Executors.MODEL_EXECUTOR) { in testAddItems() 179 runOnExecutorSync(Executors.MAIN_EXECUTOR) {} in testAddItems()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/ |
D | FavoriteItemsTransaction.java | 20 import static com.android.launcher3.util.TestUtil.runOnExecutorSync; 59 runOnExecutorSync(MODEL_EXECUTOR, () -> { in commit() 106 runOnExecutorSync(MAIN_EXECUTOR, model::forceReload); in commit()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/pm/ |
D | InstallSessionHelperTest.kt | 182 TestUtil.runOnExecutorSync(MODEL_EXECUTOR) { in promiseIconAddedForId returns true if there is a promiseIcon with the session id() 204 TestUtil.runOnExecutorSync(MODEL_EXECUTOR) { in removePromiseIconId removes promiseIconId for given Session id() 231 TestUtil.runOnExecutorSync(MODEL_EXECUTOR) { in tryQueuePromiseAppIcon will update promise icon ids from eligible sessions() 260 TestUtil.runOnExecutorSync(MODEL_EXECUTOR) { in verifySessionInfo is true if can verify given SessionInfo()
|
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/ |
D | AllAppsActionManagerTest.kt | 94 TestUtil.runOnExecutorSync(bgExecutor) {} // Force system action to unregister. in toggleTaskbar_destroyedAfterActionRegistered_actionUnregistered() 103 TestUtil.runOnExecutorSync(bgExecutor) {} // Force system action to unregister. in toggleTaskbar_destroyedBeforeActionRegistered_pendingActionUnregistered()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/ |
D | GeneratedPreviewTest.kt | 125 TestUtil.runOnExecutorSync(DatabaseWidgetPreviewLoader.getLoaderExecutor()) {} in <lambda>() 126 TestUtil.runOnExecutorSync(MAIN_EXECUTOR) {} in <lambda>()
|
D | LauncherAppWidgetHostTest.kt | 69 TestUtil.runOnExecutorSync(Executors.MAIN_EXECUTOR) {} in Runnable called when app widget removed()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/workspace/ |
D | ThemeIconsTest.java | 82 TestUtil.runOnExecutorSync(MAIN_EXECUTOR, btv::performLongClick); in testShortcutIconWithoutTheme() 113 TestUtil.runOnExecutorSync(MAIN_EXECUTOR, btv::performLongClick); in testShortcutIconWithTheme()
|
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/launcher3/model/ |
D | WidgetsPredictionsRequesterTest.kt | 160 TestUtil.runOnExecutorSync(MODEL_EXECUTOR) { in <lambda>() 198 TestUtil.runOnExecutorSync(Executors.MAIN_EXECUTOR) {} in <lambda>()
|
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/ |
D | TaskbarControllerTestUtil.kt | 29 TestUtil.runOnExecutorSync(MAIN_EXECUTOR) { runTest() } in runOnMainSync()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/popup/ |
D | SystemShortcutTest.java | 205 TestUtil.runOnExecutorSync(MAIN_EXECUTOR, () -> systemShortcut.onClick(mView)); in testDontSuggestAppForPredictedItem() 223 TestUtil.runOnExecutorSync(MAIN_EXECUTOR, () -> systemShortcut.onClick(mView)); in testDontSuggestAppForPredictedItemWithUndo() 231 TestUtil.runOnExecutorSync(MAIN_EXECUTOR, snackbar.findViewById( in testDontSuggestAppForPredictedItemWithUndo()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/ui/ |
D | BubbleTextViewTest.java | 502 TestUtil.runOnExecutorSync(MAIN_EXECUTOR, in applyingPendingIcon_preserves_last_icon() 510 TestUtil.runOnExecutorSync(MAIN_EXECUTOR, in applyingPendingIcon_preserves_last_icon() 518 TestUtil.runOnExecutorSync(MAIN_EXECUTOR, () -> { in applyingPendingIcon_preserves_last_icon()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/backuprestore/ |
D | BackupAndRestoreDBSelectionTest.kt | 77 TestUtil.runOnExecutorSync(MODEL_EXECUTOR) { in oldDatabasesNotPresentAfterRestore()
|