Home
last modified time | relevance | path

Searched defs:exception (Results 1 – 25 of 45) sorted by relevance

12

/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DRetryRuleTest.java52 RetryableStatement(int numberFailures, T exception) { in RetryableStatement()
56 RetryableStatement(int numberFailures, T exception, @Nullable Runnable cleaner) { in RetryableStatement()
138 final RetryableException exception = new RetryableException("Y U NO?"); in testNeverCleanWhenDisabledAndStatementThrowsRetryableException() local
154 final RetryableException exception = new RetryableException(timeout, "Y U NO?"); in testPassOnRetryableExceptionWithTimeout() local
186 final RetryableException exception = new RetryableException("Y U NO?"); in testFailWhenDisabledAndStatementThrowsRetryableException() local
199 final RuntimeException exception = new RuntimeException("Y U NO?"); in testFailWhenDisabledAndStatementThrowsNonRetryableException() local
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
DExposedService.java33 String exception = null; in onBind() local
54 String exception = null; in onStartCommand() local
DExposedActivity.java41 String exception = null; in onCreate() local
DNormalWebActivity.java43 String exception = null; in onCreate() local
DNormalActivity.java50 String exception = null; in onCreate() local
DNormalService.java37 String exception = null; in onStartCommand() local
DExposedProvider.java55 String exception = null; in query() local
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_status.cpp75 binder_exception_t exception, in checkIsErrorException()
123 for (binder_exception_t exception : kErrorExceptions) { in TEST() local
132 for (binder_exception_t exception : kErrorExceptions) { in TEST() local
167 for (binder_exception_t exception : kUnknownExceptions) { in TEST() local
179 for (binder_exception_t exception : kUnknownExceptions) { in TEST() local
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/common/src/com/android/cts/appdataisolation/common/
DFileUtils.java57 Exception exception = expectThrows(FileNotFoundException.class, () -> { in assertDirIsNotAccessible() local
70 Exception exception = expectThrows(FileNotFoundException.class, () -> { in assertDirDoesNotExist() local
116 Exception exception = expectThrows(FileNotFoundException.class, () -> { in assertFileDoesNotExist() local
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManager_NameNotFoundExceptionTest.java29 PackageManager.NameNotFoundException exception = new PackageManager.NameNotFoundException(); in testNameNotFoundException() local
/cts/tests/signature/lib/common/src/android/signature/cts/
DLogHelper.java22 static void loge(String message, Exception exception) { in loge()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/ImplicitlyExposedApp/src/com/android/cts/implicitapp/
DImplicitActivity.java40 String exception = null; in onCreate() local
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/a/
DAppSearchInstantAppTest.java47 ExecutionException exception = expectThrows(ExecutionException.class, () -> in testInstantAppDoesntHaveAccess() local
/cts/tests/tests/car/src/android/car/cts/
DExceptionsTest.java49 CarNotConnectedException exception = new CarNotConnectedException(); in testCarNotConnectedException() local
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBroadcastRpcBase.java88 final String exception = responseBundle.get().getString(EXTRA_EXCEPTION); in invoke() local
115 Throwable exception = null; in onReceive() local
DSafeCleanerRule.java71 public SafeCleanerRule add(Throwable exception) { in add()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DUnsafeStateExceptionTest.java62 UnsafeStateException exception = new UnsafeStateException(VALID_OPERATION, reason); in assertExceptionWithValidReason() local
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DDeviceInfo.java150 private void error(String message, Throwable exception) { in error()
156 private void failed(String message, Throwable exception) { in failed()
/cts/tests/tests/appop/ndk-jni/android/app/appops/cts/
DNDKAppOpsLoggingTest.cpp24 jclass exception = env->FindClass("java/lang/RuntimeException"); in Java_android_app_appops_cts_AppOpsLoggingTestKt_nativeStartStopAudioRecord() local
/cts/tests/sensor/jni/
DnativeTestHelper.cpp41 jobject exception = env->NewObject(exClass, constructor, msgStr, nullptr); in fail() local
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchSchemaMigrationCtsTestBase.java360 ExecutionException exception = in testSchemaMigration_NA_NB_C_ND() local
381 ExecutionException exception = in testSchemaMigration_NA_NB_NC_ND() local
773 ExecutionException exception = in testSchemaMigration_sameVersion() local
901 ExecutionException exception = in testSchemaMigration_noMigration() local
970 ExecutionException exception = in testSchemaMigration_sourceToNowhere() local
DSetSchemaRequestCtsTest.java330 IllegalArgumentException exception = in testSetVersion() local
349 IllegalArgumentException exception = in testSetVersion_emptyDb() local
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/util/src/com/android/cts/util/
DTestResult.java88 String status, String exception, Intent intent, in TestResult()
139 private String exception; field in TestResult.Builder
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAbstractContentCaptureActivity.java118 final AtomicReference<Exception> exception = new AtomicReference<>(); in syncCallOnUiThread() local
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DUtils.java125 Exception exception = exceptionRef.get(); in callOnHandlerThread() local

12