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.kt142 assertSuccess(value, input.success(value)) in success()
147 assertSuccess(input.enableDeferredError(TEST_PACKAGE, Build.VERSION_CODES.Q)) in deferErrorEnableFirstSdkQ()
149 assertSuccess(input.deferError("Test error", ENABLED_ERROR)) in deferErrorEnableFirstSdkQ()
154 assertSuccess(input.deferError("Test error", ENABLED_ERROR)) in deferErrorEnableLastSdkQ()
156 assertSuccess(input.enableDeferredError(TEST_PACKAGE, Build.VERSION_CODES.Q)) in deferErrorEnableLastSdkQ()
162 assertSuccess(input.enableDeferredError(TEST_PACKAGE, Build.VERSION_CODES.R)) in deferErrorEnableFirstSdkR()
174 assertSuccess(input.deferError(error, ENABLED_ERROR)) in deferErrorEnableLastSdkR()
186 assertSuccess(input.enableDeferredError(TEST_PACKAGE, Build.VERSION_CODES.Q)) in enableDeferredErrorAndSuccessSdkQ()
188 assertSuccess(value, input.success(value)) in enableDeferredErrorAndSuccessSdkQ()
194 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;
107 assertSuccess(callShellCommand("reset-config")); in testRoot()
116 assertSuccess(callShellCommand("reset-config")); in testRestConfig()
125 assertSuccess(callShellCommand("override-config", in testOverrideConfig()
142 assertSuccess(callShellCommand("reset-throttling")); in testResetThrottling()
194 assertSuccess(callShellCommand("reset-throttling", "--user", "10")); in testResetThrottling_user_running()
215 assertSuccess(callShellCommand("reset-all-throttling")); in testResetAllThrottling()
247 assertSuccess(callShellCommand("get-default-launcher")), in testLauncherCommands()
251 assertSuccess(callShellCommand("get-default-launcher", "--user", "10")), in testLauncherCommands()
261 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()