/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | ModelMultiCallbacksTest.java | 42 import com.android.launcher3.util.TestUtil; 73 TestUtil.uninstallDummyApp(); in tearDown() 119 TestUtil.uninstallDummyApp(); in testTwoCallbacks_receiveUpdates() 133 TestUtil.installDummyApp(); in testTwoCallbacks_receiveUpdates() 134 getCallbacks().onPackageAdded(TestUtil.DUMMY_PACKAGE, Process.myUserHandle()); in testTwoCallbacks_receiveUpdates() 136 assertTrue(cb1.allApps().contains(TestUtil.DUMMY_PACKAGE)); in testTwoCallbacks_receiveUpdates() 137 assertTrue(cb2.allApps().contains(TestUtil.DUMMY_PACKAGE)); in testTwoCallbacks_receiveUpdates() 140 TestUtil.uninstallDummyApp(); in testTwoCallbacks_receiveUpdates() 141 getCallbacks().onPackageRemoved(TestUtil.DUMMY_PACKAGE, Process.myUserHandle()); in testTwoCallbacks_receiveUpdates() 143 assertFalse(cb1.allApps().contains(TestUtil.DUMMY_PACKAGE)); in testTwoCallbacks_receiveUpdates() [all …]
|
D | FolderIconLoadTest.kt | 26 import com.android.launcher3.util.TestUtil 68 TestUtil.uninstallDummyApp() in tearDown() 150 TestUtil.runOnExecutorSync(Executors.MODEL_EXECUTOR) { cache.clearMemoryCache() } in setupAndLoadFolder()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/ |
D | ModelTestExtensions.kt | 31 TestUtil.runOnExecutorSync(Executors.MODEL_EXECUTOR) { in <lambda>() 39 TestUtil.runOnExecutorSync(Executors.MAIN_EXECUTOR) { forceReload() } in <lambda>() 46 TestUtil.runOnExecutorSync(Executors.MAIN_EXECUTOR) { addCallbacksAndLoad(mockCb) } in <lambda>() 47 TestUtil.runOnExecutorSync(Executors.MODEL_EXECUTOR) {} in <lambda>() 48 TestUtil.runOnExecutorSync(Executors.MAIN_EXECUTOR) {} in <lambda>() 49 TestUtil.runOnExecutorSync(Executors.MAIN_EXECUTOR) { removeCallbacks(mockCb) } in <lambda>() 73 TestUtil.runOnExecutorSync(Executors.MODEL_EXECUTOR) { in <lambda>()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/dragging/ |
D | TaplUninstallRemoveTest.java | 40 import com.android.launcher3.util.TestUtil; 81 TestUtil.installDummyApp(); in installDummyAppAndWaitForUIUpdate() 108 TestUtil.uninstallDummyApp(); in testUninstallFromWorkspace() 126 TestUtil.uninstallDummyApp(); in testUninstallFromAllApps() 137 Point[] gridPositions = TestUtil.getCornersAndCenterPositions(mLauncher); in uninstallWorkspaceIcon() 171 TestUtil.uninstallDummyApp(); in uninstallWorkspaceIcon()
|
D | TaplDragTest.java | 43 import com.android.launcher3.util.TestUtil; 150 Point[] targets = TestUtil.getCornersAndCenterPositions(mLauncher); in testDragShortcutToMultipleWorkspaceCells() 225 Point[] targets = TestUtil.getCornersAndCenterPositions(mLauncher); in testDragAppIconToMultipleWorkspaceCells()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
D | BugleServiceTestCase.java | 23 import com.android.messaging.TestUtil; 44 TestUtil.testSetup(getContext(), this); in setUp() 50 TestUtil.testTeardown(this); in tearDown()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/ |
D | BugleActivityInstrumentationTestCase.java | 22 import com.android.messaging.TestUtil; 44 TestUtil.testSetup(getInstrumentation().getTargetContext(), this); in setUp() 50 TestUtil.testTeardown(this); in tearDown()
|
D | BugleActivityUnitTestCase.java | 23 import com.android.messaging.TestUtil; 44 TestUtil.testSetup(getInstrumentation().getTargetContext(), this); in setUp() 53 TestUtil.testTeardown(this); in tearDown()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | TaplPrivateSpaceTest.java | 34 import com.android.launcher3.util.TestUtil; 124 TestUtil.uninstallDummyApp(); in testUserInstalledAppIsShownAboveDivider() 126 TestUtil.installDummyAppForUser(mProfileUserId); in testUserInstalledAppIsShownAboveDivider() 149 TestUtil.uninstallDummyApp(); in testPrivateSpaceAppLongPressUninstallMenu() 151 TestUtil.installDummyAppForUser(mProfileUserId); in testPrivateSpaceAppLongPressUninstallMenu()
|
D | AbstractTaplTestsTaskbar.java | 30 import com.android.launcher3.util.TestUtil; 56 mLauncherLayout = TestUtil.setLauncherDefaultLayout(mTargetContext, layoutBuilder); in setUp()
|
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/appsetid/ |
D | AppSetIdManagerJetpackTest.java | 29 import com.android.adservices.TestUtil; 38 TestUtil mTestUtil = new TestUtil(InstrumentationRegistry.getInstrumentation(), TAG);
|
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/adid/ |
D | AdIdManagerJetpackTest.java | 29 import com.android.adservices.TestUtil; 38 private TestUtil mTestUtil = new TestUtil(InstrumentationRegistry.getInstrumentation(), TAG);
|
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/ |
D | AllAppsActionManagerTest.kt | 24 import com.android.launcher3.util.TestUtil 67 TestUtil.runOnExecutorSync(bgExecutor) {} // Force system action to unregister. in toggleTaskbar_destroyedAfterActionRegistered_actionUnregistered() 76 TestUtil.runOnExecutorSync(bgExecutor) {} // Force system action to unregister. in toggleTaskbar_destroyedBeforeActionRegistered_pendingActionUnregistered()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
D | BugleTestCase.java | 40 TestUtil.testSetup(super.getContext(), this); in setUp() 46 TestUtil.testTeardown(this); in tearDown()
|
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/topics/ |
D | TopicsManagerJetpackTest.java | 31 import com.android.adservices.TestUtil; 43 TestUtil mTestUtil = new TestUtil(InstrumentationRegistry.getInstrumentation(), TAG);
|
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
D | TestUtil.java | 27 public class TestUtil { class 31 public TestUtil() { in TestUtil() method in TestUtil
|
D | VideoCapture.java | 47 private TestUtil testUtil = new TestUtil();
|
D | ImageCapture.java | 44 private TestUtil testUtil = new TestUtil();
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
D | TestUtil.java | 27 public class TestUtil { class 31 public TestUtil() { in TestUtil() method in TestUtil
|
D | VideoCapture.java | 49 private TestUtil testUtil = new TestUtil();
|
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
D | TestUtil.java | 27 public class TestUtil { class 28 private static String TAG = TestUtil.class.getSimpleName();
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 51 import com.android.server.wifi.TestUtil; 148 TestUtil.sendWifiStateChanged(broadcastReceiver, mContext, in verifyWifiStateCallbacks() 150 TestUtil.sendWifiStateChanged(broadcastReceiver, mContext, in verifyWifiStateCallbacks() 153 TestUtil.sendWifiStateChanged(broadcastReceiver, mContext, in verifyWifiStateCallbacks() 155 TestUtil.sendWifiStateChanged(broadcastReceiver, mContext, in verifyWifiStateCallbacks()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/compat/ |
D | TaplPromiseIconUiTest.java | 38 import com.android.launcher3.util.TestUtil; 81 TestUtil.uninstallDummyApp(); in tearDown() 171 TestUtil.installDummyApp(); in installDummyAppAndWaitForUIUpdate()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/backuprestore/ |
D | BackupAndRestoreDBSelectionTest.kt | 27 import com.android.launcher3.util.TestUtil 58 TestUtil.runOnExecutorSync(MODEL_EXECUTOR) { in oldDatabasesNotPresentAfterRestore()
|
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/measurement/ |
D | MeasurementManagerJetpackTest.java | 35 import com.android.adservices.TestUtil; 48 TestUtil mTestUtil = new TestUtil(InstrumentationRegistry.getInstrumentation(), TAG);
|