/cts/tests/appfunctions/src/android/app/appfunctions/cts/ |
D | ExecuteAppFunctionExceptionTest.kt | 42 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/ |
D | BluetoothSocketExceptionTest.java | 36 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/ |
D | RetryRuleTest.java | 52 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/ |
D | ExposedService.java | 33 String exception = null; in onBind() local 54 String exception = null; in onStartCommand() local
|
D | ExposedActivity.java | 41 String exception = null; in onCreate() local
|
D | NormalWebActivity.java | 43 String exception = null; in onCreate() local
|
D | NormalActivity.java | 50 String exception = null; in onCreate() local
|
D | NormalService.java | 37 String exception = null; in onStartCommand() local
|
/cts/tests/tests/car/src/android/car/cts/ |
D | PlatformVersionMismatchExceptionTest.java | 39 PlatformVersionMismatchException exception = new PlatformVersionMismatchException( in testExpectedVersionAndMessage() local 60 PlatformVersionMismatchException exception = new PlatformVersionMismatchException( in testExceptionParceable() local
|
D | CarAudioManagerTest.java | 217 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 …]
|
D | ExceptionsTest.java | 38 CarNotConnectedException exception = new CarNotConnectedException(); in testCarNotConnectedException() local
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/types/main/java/com/android/bedstead/remoteframeworkclasses/ |
D | SimpleAccountManagerFuture.java | 63 Throwable exception = mException.get(); in getResult() local 92 Throwable exception = mException.get(); in getResult() local
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | test_status.cpp | 75 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/ |
D | ServicesTest.kt | 37 val exception = assertThrows(NeneException::class.java) { in unavailableService_serviceIsAvailable_throws() constant
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManager_NameNotFoundExceptionTest.java | 29 PackageManager.NameNotFoundException exception = new PackageManager.NameNotFoundException(); in testNameNotFoundException() local
|
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/common/src/com/android/cts/appdataisolation/common/ |
D | FileUtils.java | 57 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/ |
D | PocNotificationListenerService.java | 31 String exception = null; in onListenerConnected() local
|
/cts/tests/tests/security/src/android/security/cts/CVE_2024_0024/ |
D | PocActivity.java | 31 String exception = null; in onResume() local
|
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/ |
D | AnnotationExecutor.java | 48 default void onTestFailed(@NonNull Throwable exception) {} in onTestFailed()
|
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/ |
D | AppSearchInstantAppTest.java | 46 ExecutionException exception = expectThrows(ExecutionException.class, () -> in testInstantAppDoesntHaveAccess() local
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/ImplicitlyExposedApp/src/com/android/cts/implicitapp/ |
D | ImplicitActivity.java | 40 String exception = null; in onCreate() local
|
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/media/ |
D | CarAudioManagerPermissionTest.java | 255 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/ |
D | BroadcastRpcBase.java | 89 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/ |
D | AppOpsTest.kt | 341 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/ |
D | UnsafeStateExceptionTest.java | 58 UnsafeStateException exception = new UnsafeStateException(VALID_OPERATION, reason); in assertExceptionWithValidReason() local
|