/aosp14/frameworks/base/test-base/src/android/test/ |
H A D | InstrumentationTestCase.java | 140 final Throwable[] exceptions = new Throwable[1]; in runTestOnUiThread() local 146 exceptions[0] = throwable; in runTestOnUiThread() 150 if (exceptions[0] != null) { in runTestOnUiThread() 151 throw exceptions[0]; in runTestOnUiThread() 191 final Throwable[] exceptions = new Throwable[1]; in runTest() local 197 exceptions[0] = throwable; in runTest() 201 if (exceptions[0] != null) { in runTest() 202 throw exceptions[0]; in runTest()
|
/aosp14/frameworks/base/test-runner/api/ |
H A D | lint-baseline.txt | 3 Methods must not throw generic exceptions (`java.lang.Exception`) 5 Methods must not throw generic exceptions (`java.lang.Exception`) 7 Methods must not throw generic exceptions (`java.lang.Throwable`) 9 Methods must not throw generic exceptions (`java.lang.Exception`) 11 Methods must not throw generic exceptions (`java.lang.Exception`) 13 Methods must not throw generic exceptions (`java.lang.Exception`) 15 Methods must not throw generic exceptions (`java.lang.Exception`) 17 Methods must not throw generic exceptions (`java.lang.Exception`) 19 Methods must not throw generic exceptions (`java.lang.Exception`) 21 Methods must not throw generic exceptions (`java.lang.Exception`) [all …]
|
/aosp14/frameworks/base/core/tests/utillib/src/android/test/ |
H A D | BandwidthTestCase.java | 76 final Throwable[] exceptions = new Throwable[1]; in runTest() local 82 exceptions[0] = throwable; in runTest() 86 if (exceptions[0] != null) { in runTest() 87 throw exceptions[0]; in runTest()
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/ |
H A D | SystemPartitionParseTest.kt | 81 val exceptions = buildApks() regex 92 if (exceptions.isEmpty()) return 95 exceptions.joinToString(separator = "\n") { it.message.orEmpty() })
|
/aosp14/frameworks/base/tools/traceinjection/src/com/android/traceinjection/ |
H A D | TraceInjectionClassVisitor.java | 37 String[] exceptions) { in visitMethod() argument 38 MethodVisitor chain = super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/ |
H A D | ExitDesktopTaskTransitionHandlerTest.java | 112 ArrayList<Exception> exceptions = new ArrayList<>(); in testTransitExitDesktopModeAnimation() local 121 exceptions.add(e); in testTransitExitDesktopModeAnimation() 124 if (!exceptions.isEmpty()) { in testTransitExitDesktopModeAnimation() 125 throw exceptions.get(0); in testTransitExitDesktopModeAnimation()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/ |
H A D | SharedLibrary.java | 91 @Immutable.Policy(exceptions = {Immutable.Policy.Exception.FINAL_CLASSES_WITH_FINAL_FIELDS}) 98 @Immutable.Policy(exceptions = {Immutable.Policy.Exception.FINAL_CLASSES_WITH_FINAL_FIELDS})
|
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ime/ |
H A D | ShowImeOnAppStartWhenLaunchingAppFromFixedOrientationTest.kt | 23 import android.tools.common.flicker.subject.exceptions.ExceptionMessageBuilder 24 import android.tools.common.flicker.subject.exceptions.InvalidPropertyException
|
/aosp14/frameworks/base/tools/processors/immutability/src/android/processor/immutability/ |
H A D | Immutable.java | 58 Exception[] exceptions() default {}; in exceptions() method
|
H A D | ImmutabilityProcessor.kt | 128 val newPolicyExceptions = parentPolicyExceptions + policyAnnotation?.exceptions.orEmpty() 343 val newPolicyExceptions = parentPolicyExceptions + policyAnnotation?.exceptions.orEmpty()
|
/aosp14/frameworks/base/services/permission/ |
H A D | Android.bp | 32 // Adds reflection-less suppressed exceptions and AutoCloseable.use().
|
/aosp14/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
H A D | VcnGatewayConnectionConnectedStateTest.java | 26 import static android.net.ipsec.ike.exceptions.IkeProtocolException.ERROR_TYPE_AUTHENTICATION_FAILE… 27 import static android.net.ipsec.ike.exceptions.IkeProtocolException.ERROR_TYPE_TEMPORARY_FAILURE; 64 import android.net.ipsec.ike.exceptions.IkeException; 65 import android.net.ipsec.ike.exceptions.IkeInternalException; 66 import android.net.ipsec.ike.exceptions.IkeProtocolException;
|
/aosp14/frameworks/base/services/robotests/ |
H A D | README | 19 * If you encounter any exceptions that might be caused by a different version of the class being
|
/aosp14/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
H A D | LockFindingClassVisitor.java | 73 String[] exceptions) { in visitMethod() argument 75 MethodNode mn = new TryCatchBlockSorter(null, access, name, desc, signature, exceptions); in visitMethod() 76 MethodVisitor chain = super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
H A D | PhoneSizeSpecSourceTest.java | 45 import org.mockito.exceptions.misusing.InvalidUseOfMatchersException;
|
/aosp14/frameworks/base/media/jni/soundpool/ |
H A D | Android.bp | 60 "modernize-use-uncaught-exceptions",
|
/aosp14/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | VpnIkev2Utils.java | 75 import android.net.ipsec.ike.exceptions.IkeException; 76 import android.net.ipsec.ike.exceptions.IkeProtocolException;
|
/aosp14/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
H A D | README.md | 70 We follow conventions for usage of exceptions in the service, in order to correctly and consistently 120 - Most calls (see exceptions below) originating from SoundTriggerMiddlewareService simply propagate
|
/aosp14/frameworks/base/tools/aapt2/ |
H A D | Android.bp | 48 "-fno-exceptions",
|
/aosp14/frameworks/base/services/core/java/com/android/server/vcn/ |
H A D | VcnGatewayConnection.java | 28 import static android.net.ipsec.ike.exceptions.IkeProtocolException.ERROR_TYPE_AUTHENTICATION_FAILE… 75 import android.net.ipsec.ike.exceptions.IkeException; 76 import android.net.ipsec.ike.exceptions.IkeInternalException; 77 import android.net.ipsec.ike.exceptions.IkeProtocolException;
|
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | Camera2SwitchPreviewTest.java | 20 import com.android.ex.camera2.exceptions.TimeoutRuntimeException;
|
H A D | Camera2StillCaptureTest.java | 47 import com.android.ex.camera2.exceptions.TimeoutRuntimeException;
|
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | Camera2SurfaceViewTestCase.java | 60 import com.android.ex.camera2.exceptions.TimeoutRuntimeException;
|
/aosp14/frameworks/base/core/api/ |
H A D | system-lint-baseline.txt | 7 Methods must not throw generic exceptions (`java.lang.Throwable`) 9 Methods must not throw generic exceptions (`java.lang.Throwable`) 11 Methods must not throw generic exceptions (`java.lang.Throwable`)
|
/aosp14/frameworks/base/packages/SystemUI/docs/ |
H A D | status-bar-data-pipeline.md | 121 may be exceptions to this guide for specific use cases.
|