Home
last modified time | relevance | path

Searched refs:assertSuccess (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/pm/parsing/result/
DParseInputAndResultTest.kt140 assertSuccess(value, input.success(value)) in success()
145 assertSuccess(input.enableDeferredError(TEST_PACKAGE, Build.VERSION_CODES.Q)) in deferErrorEnableFirstSdkQ()
147 assertSuccess(input.deferError("Test error", ENABLED_ERROR)) in deferErrorEnableFirstSdkQ()
152 assertSuccess(input.deferError("Test error", ENABLED_ERROR)) in deferErrorEnableLastSdkQ()
154 assertSuccess(input.enableDeferredError(TEST_PACKAGE, Build.VERSION_CODES.Q)) in deferErrorEnableLastSdkQ()
160 assertSuccess(input.enableDeferredError(TEST_PACKAGE, Build.VERSION_CODES.R)) in deferErrorEnableFirstSdkR()
172 assertSuccess(input.deferError(error, ENABLED_ERROR)) in deferErrorEnableLastSdkR()
184 assertSuccess(input.enableDeferredError(TEST_PACKAGE, Build.VERSION_CODES.Q)) in enableDeferredErrorAndSuccessSdkQ()
186 assertSuccess(value, input.success(value)) in enableDeferredErrorAndSuccessSdkQ()
192 assertSuccess(input.enableDeferredError(TEST_PACKAGE, Build.VERSION_CODES.R)) in enableDeferredErrorAndSuccessSdkR()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest7.java22 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertSuccess;
104 assertSuccess(callShellCommand("reset-config")); in testRoot()
113 assertSuccess(callShellCommand("reset-config")); in testRestConfig()
122 assertSuccess(callShellCommand("override-config", in testOverrideConfig()
139 assertSuccess(callShellCommand("reset-throttling")); in testResetThrottling()
191 assertSuccess(callShellCommand("reset-throttling", "--user", "10")); in testResetThrottling_user_running()
212 assertSuccess(callShellCommand("reset-all-throttling")); in testResetAllThrottling()
244 assertSuccess(callShellCommand("get-default-launcher")), in testLauncherCommands()
248 assertSuccess(callShellCommand("get-default-launcher", "--user", "10")), in testLauncherCommands()
258 assertSuccess(callShellCommand("get-default-launcher")), in testLauncherCommands()
[all …]
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java166 public static List<String> assertSuccess(List<String> result) { in assertSuccess() method in ShortcutManagerTestUtils
182 assertSuccess(result); in assertHaveIds()