Home
last modified time | relevance | path

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

1234

/cts/tests/appfunctions/src/android/app/appfunctions/cts/
DExecuteAppFunctionExceptionTest.kt42 val exception = in testConstructor_withErrorCodeAndMessage() constant
63 val exception = in testConstructor_withErrorCodeMessageAndExtras() constant
143 val exception = in testParcelable() constant
171 val exception = in testParcel_nullErrorMessage() constant
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothSocketExceptionTest.java36 BluetoothSocketException exception = in getErrorCode_returnsCorrectErrorCode() local
46 BluetoothSocketException exception = in getMessage_returnsCustomErrorMsg() local
54 BluetoothSocketException exception = in 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.java217 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in isAudioFeatureEnabled_withNonAudioFeature_fails() local
641 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in setGroupVolume_aboveMax_throwsException() local
657 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in setGroupVolume_belowMin_throwsException() local
696 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in getVolumeGroupCount_withInvalidZoneId_throwsException() local
723 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in getVolumeGroupIdForUsage_withInvalidZoneId_throwsException() local
814 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in getUsagesForVolumeGroupId_withInvalidZone_throwsException() local
828 IllegalStateException exception = assertThrows(IllegalStateException.class, in getOutputDeviceForUsage_withoutDynamicRouting_throws() local
841 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in getOutputDeviceForUsage_withInvalidZoneId_throws() local
854 IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, in getOutputDeviceForUsage_withInvalidUsage_throws() local
882 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/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/services/
DServicesTest.kt37 val exception = assertThrows(NeneException::class.java) { in unavailableService_serviceIsAvailable_throws() constant
/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.java48 default void onTestFailed(@NonNull Throwable exception) {} in onTestFailed()
/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/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/media/
DCarAudioManagerPermissionTest.java255 Exception exception = assertThrows(SecurityException.class, in getAudioAttributesForVolumeGroup_withoutPermission() local
264 Exception exception = assertThrows(SecurityException.class, in getVolumeGroupInfo_withoutPermission() local
273 Exception exception = assertThrows(SecurityException.class, in getVolumeGroupInfosForZone_withoutPermission() local
299 Exception exception = assertThrows(SecurityException.class, in registerCarVolumeGroupEventCallback_nonNullInputs_throwsPermissionError() 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.kt341 var exception = try { in overlappingActiveAttributionOps() variable
719 val exception = try { in startWatchingNoted_withoutExecutor_whenOpNoted_receivesCallback() constant
780 val exception = try { in startWatchingNoted_withExecutor_whenOpNoted_receivesCallback() constant
852 val exception = try { in startWatchingNoted_withoutExecutor_whenOpNoted_receivesDeviceAttributedCallback() constant
923 val exception = try { in startWatchingNoted_withExecutor_whenOpNoted_receivesDeviceAttributedCallback() constant
1178 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

1234