Home
last modified time | relevance | path

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

123

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothSocketExceptionTest.java31 BluetoothSocketException exception = in test_getErrorCode_returnsCorrectErrorCode() local
40 BluetoothSocketException exception = in test_getMessage_returnsCustomErrorMsg() local
48 BluetoothSocketException exception = in test_getMessage_returnsErrorMsgWhenOnlyCodeIsProvided() local
/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
/cts/tests/tests/car/src/android/car/cts/
DPlatformVersionMismatchExceptionTest.java39 PlatformVersionMismatchException exception = new PlatformVersionMismatchException( in testExpectedVersionAndMessage() local
60 PlatformVersionMismatchException exception = new PlatformVersionMismatchException( in testExceptionParceable() local
DCarAudioManagerTest.java193 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in isAudioFeatureEnabled_withNonAudioFeature_fails() local
411 Exception exception = assertThrows(SecurityException.class, in getVolumeGroupInfo_withoutPermission() local
441 Exception exception = assertThrows(SecurityException.class, in getVolumeGroupInfosForZone_withoutPermission() local
476 Exception exception = assertThrows(SecurityException.class, in getAudioAttributesForVolumeGroup_withoutPermission() local
735 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in getCurrentAudioZoneConfigInfo_withInvalidZoneId_fails() local
777 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in getAudioZoneConfigInfos_withInvalidZoneId_fails() local
818 NullPointerException exception = assertThrows(NullPointerException.class, in switchAudioZoneToConfig_withNullConfig_fails() local
835 NullPointerException exception = assertThrows(NullPointerException.class, in switchAudioZoneToConfig_withNullExecutor_fails() local
852 NullPointerException exception = assertThrows(NullPointerException.class, in switchAudioZoneToConfig_withNullCallback_fails() local
1097 NullPointerException exception = assertThrows(NullPointerException.class, in registerCarVolumeGroupEventCallback_nullCallback_throwsNPE() local
[all …]
DExceptionsTest.java45 CarNotConnectedException exception = new CarNotConnectedException(); in testCarNotConnectedException() local
/cts/common/device-side/bedstead/remoteframeworkclasses/src/types/main/java/com/android/bedstead/remoteframeworkclasses/
DSimpleAccountManagerFuture.java63 Throwable exception = mException.get(); in getResult() local
92 Throwable exception = mException.get(); in getResult() 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/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/
DAppSearchInstantAppTest.java46 ExecutionException exception = expectThrows(ExecutionException.class, () -> in testInstantAppDoesntHaveAccess() local
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/ImplicitlyExposedApp/src/com/android/cts/implicitapp/
DImplicitActivity.java40 String exception = null; in onCreate() local
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBroadcastRpcBase.java89 final String exception = responseBundle.get().getString(EXTRA_EXCEPTION); in invoke() local
116 Throwable exception = null; in onReceive() local
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DUnsafeStateExceptionTest.java58 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/tests/car_builtin/src/android/car/cts/builtin/util/
DSlogfTest.java233 Exception exception = new Exception(EXCEPTION_MSG); in testW_msg5() local
288 Exception exception = new Exception(EXCEPTION_MSG); in testE_msg4() local
357 Exception exception = new Exception(EXCEPTION_MSG); in testWTF_msg5() local
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchSchemaMigrationCtsTestBase.java359 ExecutionException exception = in testSchemaMigration_NA_NB_C_ND() local
380 ExecutionException exception = in testSchemaMigration_NA_NB_NC_ND() local
772 ExecutionException exception = in testSchemaMigration_sameVersion() local
900 ExecutionException exception = in testSchemaMigration_noMigration() local
969 ExecutionException exception = in testSchemaMigration_sourceToNowhere() 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/inputmethod/src/android/view/inputmethod/cts/
DPackageVisibilityTest.java99 final Exception exception = event.getReturnExceptionValue(); in testTargetPackageIsVisibleFromIme() local

123