/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/customization/ui/viewmodel/ |
D | CustomizationPickerViewModelTest.kt | 30 import kotlinx.coroutines.test.runTest 68 testScope.runTest { in initial tab is lock screen() 80 testScope.runTest { in setInitialScreen - home screen() 94 testScope.runTest { in setInitialScreen - home screen - but lock screen already selected from before() 114 testScope.runTest { in switching to the home screen() 128 testScope.runTest { in switching to the home screen and back to the lock screen() 143 testScope.runTest { in restores saved state()
|
D | WallpaperQuickSwitchViewModelTest.kt | 35 import kotlinx.coroutines.test.runTest in <lambda>() 83 testScope.runTest { in <lambda>() 93 testScope.runTest { in <lambda>() 124 testScope.runTest { in <lambda>() 156 testScope.runTest { in <lambda>()
|
/packages/apps/ThemePicker/tests/src/com/android/customization/picker/clock/ui/viewmodel/ |
D | ClockCarouselViewModelTest.kt | 29 import kotlinx.coroutines.test.runTest 69 fun setSelectedClock() = runTest { in <lambda>() 78 fun setShouldShowCarousel() = runTest { in <lambda>() 89 fun shouldNotShowCarouselWhenSingleClock() = runTest { in <lambda>() 100 fun setShouldShowSingleClock() = runTest { in <lambda>() 111 fun shouldNotShowSingleClockWhenMultipleClocks() = runTest { in <lambda>()
|
D | ClockSettingsViewModelTest.kt | 22 import kotlinx.coroutines.test.runTest 70 fun clickOnColorSettingsTab() = runTest { in <lambda>() 83 fun setSelectedColor() = runTest { in <lambda>() 116 fun setColorTone() = runTest { in setColorTone() 148 fun setClockSize() = runTest { in <lambda>()
|
/packages/apps/ThemePicker/tests/src/com/android/customization/model/themedicon/domain/interactor/ |
D | ThemedIconSnapshotRestorerTest.kt | 25 import kotlinx.coroutines.test.runTest 54 fun `set up and restore - active`() = runTest { in <lambda>() 66 fun `set up and restore - inactive`() = runTest { in <lambda>() 78 fun `set up - deactivate - restore to active`() = runTest { in <lambda>() 91 fun `set up - activate - restore to inactive`() = runTest { in <lambda>()
|
/packages/apps/ThemePicker/tests/src/com/android/customization/model/mode/ |
D | DarkModeSnapshotRestorerTest.kt | 26 import kotlinx.coroutines.test.runTest 56 testScope.runTest { in set up and restore - active() 69 testScope.runTest { in set up and restore - inactive() 82 testScope.runTest { in set up - deactivate - restore to active() 96 testScope.runTest { in set up - activate - restore to inactive()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | TestNetworkRunnable.java | 59 private void runTest() throws Exception { in runTest() method in TestNetworkRunnable 86 mTest.runTest(testIface, tunNetworkCallback); in runTest() 112 runTest(); in run() 114 runWithShellPermissionIdentity(this::runTest, MANAGE_TEST_NETWORKS); in run() 121 void runTest(TestNetworkInterface testIface, TestNetworkCallback tunNetworkCallback) in runTest() method
|
/packages/modules/Bluetooth/system/packet/tests/avrcp/ |
D | get_element_attributes_packet_test.cc | 129 EXPECT_NO_FATAL_FAILURE(helper.runTest(test_data, mtu, false, false)); in TEST() 132 EXPECT_NO_FATAL_FAILURE(helper.runTest(test_data, mtu)); in TEST() 135 EXPECT_NO_FATAL_FAILURE(helper.runTest(test_data, mtu)); in TEST() 138 EXPECT_NO_FATAL_FAILURE(helper.runTest(test_data, mtu, true, false)); in TEST() 141 EXPECT_NO_FATAL_FAILURE(helper.runTest(test_data, mtu)); in TEST() 144 EXPECT_NO_FATAL_FAILURE(helper.runTest(test_data, mtu, false, false)); in TEST()
|
D | get_item_attributes_packet_test.cc | 154 EXPECT_NO_FATAL_FAILURE(helper.runTest(test_data, mtu, false, false)); in TEST() 157 EXPECT_NO_FATAL_FAILURE(helper.runTest(test_data, mtu)); in TEST() 160 EXPECT_NO_FATAL_FAILURE(helper.runTest(test_data, mtu)); in TEST() 163 EXPECT_NO_FATAL_FAILURE(helper.runTest(test_data, mtu, true, false)); in TEST() 166 EXPECT_NO_FATAL_FAILURE(helper.runTest(test_data, mtu)); in TEST() 169 EXPECT_NO_FATAL_FAILURE(helper.runTest(test_data, mtu, false, false)); in TEST()
|
/packages/apps/ThemePicker/tests/src/com/android/customization/model/picker/quickaffordance/ui/viewmodel/ |
D | KeyguardQuickAffordancePickerViewModelTest.kt | 50 import kotlinx.coroutines.test.runTest in <lambda>() 114 testScope.runTest { in <lambda>() 196 testScope.runTest { in <lambda>() 232 testScope.runTest { in <lambda>() 278 testScope.runTest { in <lambda>() 302 testScope.runTest { in <lambda>() 331 testScope.runTest { in <lambda>() 351 testScope.runTest { in <lambda>() 374 testScope.runTest { in <lambda>()
|
/packages/apps/ThemePicker/tests/src/com/android/customization/model/grid/domain/interactor/ |
D | GridInteractorTest.kt | 30 import kotlinx.coroutines.test.runTest in <lambda>() 76 testScope.runTest { in <lambda>() 103 testScope.runTest { in <lambda>() 121 testScope.runTest { in <lambda>() 141 testScope.runTest { in <lambda>()
|
D | GridSnapshotRestorerTest.kt | 28 import kotlinx.coroutines.test.runTest in <lambda>() 66 testScope.runTest { in <lambda>() 85 testScope.runTest { in <lambda>()
|
/packages/apps/ThemePicker/tests/src/com/android/customization/picker/clock/domain/interactor/ |
D | ClockPickerInteractorTest.kt | 12 import kotlinx.coroutines.test.runTest 40 fun setSelectedClock() = runTest { in <lambda>() 48 fun setClockSize() = runTest { in <lambda>() 58 fun setColor() = runTest { in <lambda>()
|
/packages/modules/IntentResolver/java/tests/src/com/android/intentresolver/ |
D | ImagePreviewImageLoaderTest.kt | 30 import kotlinx.coroutines.test.runTest 73 fun test_prePopulate() = runTest { in <lambda>() 84 fun test_invoke_return_cached_image() = runTest { in <lambda>() 92 fun test_invoke_old_records_evicted_from_the_cache() = runTest { in <lambda>()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | RequestPinItemTest.java | 88 runTest("pinWidgetNoConfig", true, (info, view) -> info instanceof LauncherAppWidgetInfo && in testPinWidgetNoConfig() 102 runTest("pinWidgetNoConfig", true, (info, view) -> info instanceof LauncherAppWidgetInfo && in testPinWidgetNoConfig_customPreview() 111 runTest("pinWidgetWithConfig", true, in testPinWidgetWithConfig() 125 runTest("pinShortcut", false, new ItemOperator() { in testPinShortcut() 135 private void runTest(String activityMethod, boolean isWidget, ItemOperator itemMatcher, in runTest() method in RequestPinItemTest
|
D | AddConfigWidgetTest.java | 70 runTest(true); in testWidgetConfig() 76 runTest(false); in testConfigCancelled() 83 private void runTest(boolean acceptConfig) throws Throwable { in runTest() method in AddConfigWidgetTest
|
/packages/apps/RemoteProvisioner/tests/hosttest/src/com/android/remoteprovisioner/hosttest/ |
D | RemoteProvisionerWidevineTests.java | 37 private void runTest(String testClassName, String testMethodName) throws Exception { in runTest() method in RemoteProvisionerWidevineTests 44 runTest("WidevineTest", "testIfProvisioningNeededIsConsistentWithSystemStatus"); in testIfProvisioningNeededIsConsistentWithSystemStatus() 50 runTest("WidevineTest", "testProvisionWidevine"); in testWipeAndReprovisionCert()
|
D | RemoteProvisionerStatsTests.java | 82 runTest("ServerToSystemTest", "testGenerateKeyRkpOnly"); in testGenerateKeyRkpOnly() 150 runTest("ServerToSystemTest", "testDataBudgetEmptyCallGenerateRkpKeyService"); in testDataBudgetEmptyCallGenerateRkpKeyService() 184 runTest("ServerToSystemTest", "testRetryableRkpError"); in testRetryableRkpError() 219 runTest("ServerToSystemTest", "testRetryNeverWhenDeviceNotRegistered"); in testRetryNeverWhenDeviceNotRegistered() 254 runTest("ServerToSystemTest", "testRetryWithoutNetworkTee"); in testRetryWithoutNetworkTee() 289 runTest("ServerToSystemTest", "testPeriodicProvisionerRoundTrip"); in testPeriodicProvisionerRoundTrip() 327 runTest("ServerToSystemTest", "testPeriodicProvisionerNoop"); in testPeriodicProvisionerNoop() 369 runTest("ServerToSystemTest", "testPeriodicProvisionerDataBudgetEmpty"); in testPeriodicProvisionerDataBudgetEmpty() 404 runTest("ServerToSystemTest", "testPeriodicProvisionerProvisioningDisabled"); in testPeriodicProvisionerProvisioningDisabled() 437 private void runTest(String testClassName, String testMethodName) throws Exception { in runTest() method in RemoteProvisionerStatsTests
|
/packages/apps/ThemePicker/tests/src/com/android/customization/model/picker/color/domain/interactor/ |
D | ColorPickerInteractorTest.kt | 31 import kotlinx.coroutines.test.runTest 65 fun select() = runTest { in <lambda>() 84 fun snapshotRestorer_updatesSnapshot() = runTest { in <lambda>() 102 fun snapshotRestorer_doesNotUpdateSnapshotOnExternalUpdates() = runTest { in snapshotRestorer_doesNotUpdateSnapshotOnExternalUpdates()
|
D | ColorPickerSnapshotRestorerTest.kt | 33 import kotlinx.coroutines.test.runTest 66 fun restoreToSnapshot_noCallsToStore_restoresToInitialSnapshot() = runTest { in <lambda>() 82 fun restoreToSnapshot_withCallToStore_restoresToInitialSnapshot() = runTest { in <lambda>()
|
/packages/apps/ThemePicker/tests/src/com/android/customization/picker/notifications/data/repository/ |
D | NotificationsRepositoryTest.kt | 29 import kotlinx.coroutines.test.runTest 61 testScope.runTest { in settings() 83 testScope.runTest { in setSettings()
|
/packages/apps/ThemePicker/tests/src/com/android/customization/model/picker/quickaffordance/data/repository/ |
D | KeyguardQuickAffordancePickerRepositoryTest.kt | 32 import kotlinx.coroutines.test.runTest 71 testScope.runTest { in isFeatureEnabled - enabled() 87 testScope.runTest { in isFeatureEnabled - not enabled()
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/customization/domain/interactor/ |
D | WallpaperInteractorTest.kt | 30 import kotlinx.coroutines.test.runTest 65 testScope.runTest { in previews - limits to maximum results() 85 testScope.runTest { in wallpaperUpdateEvents() 116 testScope.runTest { in setWallpaper()
|
/packages/apps/ThemePicker/tests/src/com/android/customization/model/picker/quickaffordance/domain/interactor/ |
D | KeyguardQuickAffordancePickerInteractorTest.kt | 36 import kotlinx.coroutines.test.runTest 85 testScope.runTest { in select() 119 testScope.runTest { in unselectAll()
|
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/ |
D | DriverFuzzTest.cpp | 49 ExecutionResult<void> runTest(const ::test_helper::TestModel& testModel) { in runTest() function 79 android::nn::runTest(testModel); in nnapiFuzzTest()
|