Home
last modified time | relevance | path

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

1234

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothSocketExceptionTest.java32 BluetoothSocketException exception = in test_getErrorCode_returnsCorrectErrorCode() local
41 BluetoothSocketException exception = in test_getMessage_returnsCustomErrorMsg() local
49 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.java215 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in isAudioFeatureEnabled_withNonAudioFeature_fails() local
602 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in setGroupVolume_aboveMax_throwsException() local
618 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in setGroupVolume_belowMin_throwsException() local
657 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in getVolumeGroupCount_withInvalidZoneId_throwsException() local
684 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in getVolumeGroupIdForUsage_withInvalidZoneId_throwsException() local
775 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in getUsagesForVolumeGroupId_withInvalidZone_throwsException() local
789 IllegalStateException exception = assertThrows(IllegalStateException.class, in getOutputDeviceForUsage_withoutDynamicRouting_throws() local
802 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in getOutputDeviceForUsage_withInvalidZoneId_throws() local
815 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in getOutputDeviceForUsage_withInvalidUsage_throws() local
843 IllegalStateException exception = assertThrows(IllegalStateException.class, in getInputDevicesForZoneId_withoutDynamicRouting_throws() local
[all …]
DExceptionsTest.java38 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/tests/tests/content/src/android/content/pm/cts/
DPackageManager_NameNotFoundExceptionTest.java29 PackageManager.NameNotFoundException exception = new PackageManager.NameNotFoundException(); in testNameNotFoundException() 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/security/src/android/security/cts/CVE_2024_23713/
DPocNotificationListenerService.java31 String exception = null; in onListenerConnected() local
/cts/tests/tests/security/src/android/security/cts/CVE_2024_0024/
DPocActivity.java31 String exception = null; in onResume() local
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/
DAnnotationExecutor.java44 default void onTestFailed(@NonNull Throwable exception) {} in onTestFailed()
/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/helper_a/
DAppSearchInstantAppTest.java46 ExecutionException exception = expectThrows(ExecutionException.class, () -> in testInstantAppDoesntHaveAccess() local
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/media/
DCarAudioManagerPermissionTest.java253 Exception exception = assertThrows(SecurityException.class, in getAudioAttributesForVolumeGroup_withoutPermission() local
262 Exception exception = assertThrows(SecurityException.class, in getVolumeGroupInfo_withoutPermission() local
271 Exception exception = assertThrows(SecurityException.class, in getVolumeGroupInfosForZone_withoutPermission() local
297 Exception exception = assertThrows(SecurityException.class, in registerCarVolumeGroupEventCallback_nonNullInputs_throwsPermissionError() local
DCarAudioManagerPublicPermissionTest.java78 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in isAudioFeatureEnabled_withNonAudioFeature_fails() 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/tests/appop/src/android/app/appops/cts/
DAppOpsTest.kt280 var exception = try { in overlappingActiveAttributionOps() variable
658 val exception = try { in startWatchingNoted_withoutExecutor_whenOpNoted_receivesCallback() constant
719 val exception = try { in startWatchingNoted_withExecutor_whenOpNoted_receivesCallback() constant
791 val exception = try { in startWatchingNoted_withoutExecutor_whenOpNoted_receivesDeviceAttributedCallback() constant
862 val exception = try { in startWatchingNoted_withExecutor_whenOpNoted_receivesDeviceAttributedCallback() constant
1098 val exception = try { in testRestrictedSettingsOpsRead() constant
/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()

1234