Home
last modified time | relevance | path

Searched refs:Throwable (Results 1 – 25 of 1520) sorted by relevance

12345678910>>...61

/aosp12/art/runtime/mirror/
H A Dthrowable.cc50 void Throwable::SetCause(ObjPtr<Throwable> cause) { in SetCause()
53 ObjPtr<Throwable> current_cause = in SetCause()
54 GetFieldObject<Throwable>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_)); in SetCause()
72 bool Throwable::IsCheckedException() { in IsCheckedException()
79 bool Throwable::IsError() { in IsError()
83 int32_t Throwable::GetStackDepth() { in GetStackDepth()
95 std::string Throwable::Dump() { in Dump()
154 ObjPtr<Throwable> cause = GetFieldObject<Throwable>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_)); in Dump()
162 ObjPtr<Object> Throwable::GetStackState() { in GetStackState()
166 ObjPtr<Object> Throwable::GetStackTrace() { in GetStackTrace()
[all …]
/aosp12/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
H A DOverlayBaseTest.java201 public void testBoolean() throws Throwable { in testBoolean()
221 public void testIntegerArray() throws Throwable { in testIntegerArray()
229 public void testDrawable() throws Throwable { in testDrawable()
249 public void testAppString() throws Throwable { in testAppString()
255 public void testApp2() throws Throwable { in testApp2()
261 public void testAppXml() throws Throwable { in testAppXml()
278 public void testAppRaw() throws Throwable { in testAppRaw()
337 public void testRewrite() throws Throwable { in testRewrite()
404 public void testMatrix100000() throws Throwable { in testMatrix100000()
411 public void testMatrix100001() throws Throwable { in testMatrix100001()
[all …]
/aosp12/frameworks/base/tests/PlatformCompatGating/src/com/android/tests/gating/
H A DPlatformCompatPermissionsTest.java80 throws Throwable { in reportChange_noLogCompatChangePermission_throwsSecurityException()
89 throws Throwable { in reportChange_logCompatChangePermission_noThrow()
98 throws Throwable { in reportChangeByPackageName_noLogCompatChangePermission_throwsSecurityException()
107 throws Throwable { in reportChangeByPackageName_logCompatChangePermission_noThrow()
116 throws Throwable { in reportChangeByUid_noLogCompatChangePermission_throwsSecurityException()
124 throws Throwable { in reportChangeByUid_logCompatChangePermission_noThrow()
132 throws Throwable { in isChangeEnabled_noReadCompatConfigPermission_throwsSecurityException()
141 throws Throwable { in isChangeEnabled_noLogCompatChangeConfigPermission_throwsSecurityException()
151 throws Throwable { in isChangeEnabled_readAndLogCompatChangeConfigPermission_noThrow()
160 throws Throwable { in isChangeEnabledByPackageName_noReadCompatConfigPermission_throwsSecurityException()
[all …]
/aosp12/frameworks/base/core/java/android/hardware/camera2/impl/
H A DICameraDeviceUserWrapper.java79 } catch (Throwable t) { in submitRequest()
89 } catch (Throwable t) { in submitRequestList()
98 } catch (Throwable t) { in cancelRequest()
107 } catch (Throwable t) { in beginConfigure()
118 } catch (Throwable t) { in endConfigure()
127 } catch (Throwable t) { in deleteStream()
137 } catch (Throwable t) { in createStream()
147 } catch (Throwable t) { in createInputStream()
156 } catch (Throwable t) { in getInputSurface()
165 } catch (Throwable t) { in createDefaultRequest()
[all …]
/aosp12/frameworks/base/core/tests/coretests/src/android/util/
H A DLogNullabilityTest.java47 Log.v(null, "", new Throwable()); in nullTagWithThrowable()
48 Log.d(null, "", new Throwable()); in nullTagWithThrowable()
49 Log.i(null, "", new Throwable()); in nullTagWithThrowable()
50 Log.w(null, "", new Throwable()); in nullTagWithThrowable()
51 Log.e(null, "", new Throwable()); in nullTagWithThrowable()
101 Log.v("", null, new Throwable()); in nullMessageWithThrowable()
102 Log.d("", null, new Throwable()); in nullMessageWithThrowable()
103 Log.i("", null, new Throwable()); in nullMessageWithThrowable()
104 Log.w("", null, new Throwable()); in nullMessageWithThrowable()
105 Log.e("", null, new Throwable()); in nullMessageWithThrowable()
[all …]
H A DCloseGuardTest.java32 public void testEnabled_NotOpen() throws Throwable { in testEnabled_NotOpen()
38 public void testEnabled_OpenNotClosed() throws Throwable { in testEnabled_OpenNotClosed()
45 public void testEnabled_OpenThenClosed() throws Throwable { in testEnabled_OpenThenClosed()
53 public void testOpen_withNullMethodName_throwsNPE() throws Throwable { in testOpen_withNullMethodName_throwsNPE()
59 throws Throwable { in assertUnreleasedResources()
93 public void finalize() throws Throwable { in finalize()
/aosp12/frameworks/base/core/java/com/android/internal/inputmethod/
H A DCallbackUtils.java54 Throwable exception = null; in onResult()
58 } catch (Throwable throwable) { in onResult()
80 Throwable exception = null; in onResult()
84 } catch (Throwable throwable) { in onResult()
107 Throwable exception = null; in onResult()
111 } catch (Throwable throwable) { in onResult()
134 Throwable exception = null; in onResult()
161 Throwable exception = null; in onResult()
187 Throwable exception = null; in onResult()
212 Throwable exception = null; in onResult()
[all …]
/aosp12/frameworks/base/core/java/com/android/internal/infra/
H A DAndroidFuture.java161 } catch (Throwable e) { in cancel()
231 Throwable err = null; in whenCompleteAsync()
236 } catch (Throwable e) { in whenCompleteAsync()
262 } catch (Throwable t) { in callListener()
274 } catch (Throwable t2) { in callListener()
363 } catch (Throwable t) { in run()
416 } catch (Throwable t) { in run()
500 } catch (Throwable t) { in run()
544 Throwable unwrapExecutionException(Throwable t) { in unwrapExecutionException()
603 Throwable throwable; in readThrowable()
[all …]
/aosp12/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/
H A DLoginTest.java35 public void testLaunchActivity() throws Throwable { in testLaunchActivity()
42 public void testLaunchActivity_contain100Views() throws Throwable { in testLaunchActivity_contain100Views()
49 public void testLaunchActivity_contain300Views() throws Throwable { in testLaunchActivity_contain300Views()
56 public void testLaunchActivity_contain500Views() throws Throwable { in testLaunchActivity_contain500Views()
63 public void testLaunchActivity_noService() throws Throwable { in testLaunchActivity_noService()
68 public void testLaunchActivity_noService_contain100Views() throws Throwable { in testLaunchActivity_noService_contain100Views()
73 public void testLaunchActivity_noService_contain300Views() throws Throwable { in testLaunchActivity_noService_contain300Views()
78 public void testLaunchActivity_noService_contain500Views() throws Throwable { in testLaunchActivity_noService_contain500Views()
82 private void testActivityLaunchTime(int layoutId, int numViews) throws Throwable { in testActivityLaunchTime()
99 public void testOnVisibilityAggregated_visibleChanged() throws Throwable { in testOnVisibilityAggregated_visibleChanged()
[all …]
/aosp12/frameworks/base/core/java/android/util/
H A DExceptionUtils.java43 public static String getCompleteMessage(String msg, Throwable t) { in getCompleteMessage()
55 public static String getCompleteMessage(Throwable t) { in getCompleteMessage()
59 public static <E extends Throwable> void propagateIfInstanceOf( in propagateIfInstanceOf()
60 @Nullable Throwable t, Class<E> c) throws E { in propagateIfInstanceOf()
69 public static <E extends Exception> RuntimeException propagate(@NonNull Throwable t, Class<E> c) in propagate()
75 public static RuntimeException propagate(@NonNull Throwable t) { in propagate()
85 public static @NonNull Throwable getRootCause(@NonNull Throwable t) { in getRootCause()
95 public static @NonNull Throwable appendCause(@NonNull Throwable t, @Nullable Throwable cause) { in appendCause()
H A DLog.java107 TerribleFailure(String msg, Throwable cause) { super(msg, cause); } in TerribleFailure()
145 public static int v(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in v()
166 public static int d(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in d()
187 public static int i(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in i()
208 public static int w(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in w()
240 public static int w(@Nullable String tag, @Nullable Throwable tr) { in w()
293 public static int wtf(@Nullable String tag, @NonNull Throwable tr) { in wtf()
347 public static String getStackTraceString(@Nullable Throwable tr) { in getStackTraceString()
354 Throwable t = tr; in getStackTraceString()
424 @Nullable Throwable tr) { in printlns()
[all …]
/aosp12/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipSessionListenerProxy.java54 } catch (Throwable t) { in onCalling()
70 } catch (Throwable t) { in onRinging()
85 } catch (Throwable t) { in onRingingBack()
101 } catch (Throwable t) { in onCallEstablished()
116 } catch (Throwable t) { in onCallEnded()
132 } catch (Throwable t) { in onCallTransferring()
147 } catch (Throwable t) { in onCallBusy()
163 } catch (Throwable t) { in onCallChangeFailed()
179 } catch (Throwable t) { in onError()
194 } catch (Throwable t) { in onRegistering()
[all …]
/aosp12/frameworks/base/tests/testables/tests/src/android/testing/
H A DDexmakerShareClassLoaderRuleTest.java48 public void rule_setsProperty() throws Throwable { in rule_setsProperty()
53 public void rule_resetsProperty() throws Throwable { in rule_resetsProperty()
59 public void rule_resetsProperty_toExactValue() throws Throwable { in rule_resetsProperty_toExactValue()
66 public void rule_preventsOtherThreadFromInterfering() throws Throwable { in rule_preventsOtherThreadFromInterfering()
69 public void evaluate() throws Throwable { in rule_preventsOtherThreadFromInterfering()
72 final Throwable[] thrown = new Throwable[1]; in rule_preventsOtherThreadFromInterfering()
79 } catch (Throwable tr) { in rule_preventsOtherThreadFromInterfering()
95 public void rule_isReentrant() throws Throwable { in rule_isReentrant()
98 public void evaluate() throws Throwable { in rule_isReentrant()
113 public void evaluate() throws Throwable {
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
H A DProvisionLogger.java45 public static void logd(String message, Throwable t) { in logd()
54 public static void logd(Throwable t) { in logd()
72 public static void logv(String message, Throwable t) { in logv()
81 public static void logv(Throwable t) { in logv()
99 public static void logi(String message, Throwable t) { in logi()
108 public static void logi(Throwable t) { in logi()
126 public static void logw(String message, Throwable t) { in logw()
135 public static void logw(Throwable t) { in logw()
153 public static void loge(String message, Throwable t) { in loge()
162 public static void loge(Throwable t) { in loge()
/aosp12/art/test/1934-jvmti-signal-thread/src/art/
H A DTest1934.java79 final Throwable[] out_err = new Throwable[] { null, }; in testStopBeforeStart()
98 final Throwable[] out_err = new Throwable[] { null, }; in testInterruptBeforeStart()
117 final Throwable[] out_err = new Throwable[] { null, }; in testStopWait()
144 final Throwable[] out_err = new Throwable[] { null, }; in testInterruptWait()
176 final Throwable[] out_err = new Throwable[] { null, }; in testStopInNative()
219 final Throwable[] out_err = new Throwable[] { null, }; in testStopRecur()
240 final Throwable[] out_err = new Throwable[] { null, }; in testInterruptRecur()
263 final Throwable[] out_err = new Throwable[] { null, }; in testStopSpinning()
/aosp12/packages/apps/Camera2/src/com/android/camera/debug/
H A DLoggers.java108 public void d(String msg, Throwable tr) {
116 public void e(String msg, Throwable tr) {
124 public void i(String msg, Throwable tr) {
132 public void v(String msg, Throwable tr) {
140 public void w(String msg, Throwable tr) {
161 public void d(String msg, Throwable tr) {
171 public void e(String msg, Throwable tr) {
181 public void i(String msg, Throwable tr) {
191 public void v(String msg, Throwable tr) {
201 public void w(String msg, Throwable tr) {
/aosp12/art/test/Transaction/
H A DTransaction.java57 } catch (Throwable e) {
68 } catch (Throwable e) {
81 } catch (Throwable e) {
91 } catch (Throwable e) {
96 } catch (Throwable e) {
104 public void finalize() throws Throwable { in finalize()
/aosp12/art/test/959-invoke-polymorphic-accessors/src/
H A DMain.java102 throws Throwable { in setByte()
123 throws Throwable { in getByte()
145 throws Throwable { in setChar()
166 throws Throwable { in getChar()
188 throws Throwable { in setShort()
209 throws Throwable { in getShort()
226 throws Throwable { in setInt()
247 throws Throwable { in getInt()
264 throws Throwable { in setLong()
285 throws Throwable { in getLong()
[all …]
/aosp12/frameworks/base/core/tests/coretests/src/android/print/
H A DIPrintManagerParametersTest.java248 public void testGetPrintJobInfo() throws Throwable {
270 public void testGetPrintJobInfos() throws Throwable {
297 public void testPrint() throws Throwable {
333 public void testCancelPrintJob() throws Throwable {
357 public void testRestartPrintJob() throws Throwable {
458 public void testGetPrintServices() throws Throwable {
477 public void testSetPrintServiceEnabled() throws Throwable {
570 public void testStartPrinterDiscovery() throws Throwable {
609 public void testStopPrinterDiscovery() throws Throwable {
630 public void testValidatePrinters() throws Throwable {
[all …]
/aosp12/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
H A DShadowSlog.java33 protected static int v(String tag, String msg, Throwable tr) { in v()
43 protected static int d(String tag, String msg, Throwable tr) { in d()
53 protected static int i(String tag, String msg, Throwable tr) { in i()
63 protected static int w(String tag, String msg, Throwable tr) { in w()
68 protected static int w(String tag, Throwable tr) { in w()
78 protected static int e(String tag, String msg, Throwable tr) { in e()
98 protected static int wtf(String tag, Throwable tr) { in wtf()
103 protected static int wtf(String tag, String msg, Throwable tr) { in wtf()
/aosp12/frameworks/multidex/library/test/src/android/util/
H A DLog.java78 public static int v(String tag, String msg, Throwable tr) { in v()
99 public static int d(String tag, String msg, Throwable tr) { in d()
120 public static int i(String tag, String msg, Throwable tr) { in i()
141 public static int w(String tag, String msg, Throwable tr) { in w()
151 public static int w(String tag, Throwable tr) { in w()
172 public static int e(String tag, String msg, Throwable tr) { in e()
180 public static String getStackTraceString(Throwable tr) { in getStackTraceString()
187 Throwable t = tr; in getStackTraceString()
/aosp12/frameworks/base/test-base/src/android/test/
H A DInstrumentationTestCase.java139 public void runTestOnUiThread(final Runnable r) throws Throwable { in runTestOnUiThread()
140 final Throwable[] exceptions = new Throwable[1]; in runTestOnUiThread()
145 } catch (Throwable throwable) { in runTestOnUiThread()
160 protected void runTest() throws Throwable { in runTest()
191 final Throwable[] exceptions = new Throwable[1]; in runTest()
196 } catch (Throwable throwable) { in runTest()
210 private void runMethod(Method runMethod, int tolerance) throws Throwable { in runMethod()
214 private void runMethod(Method runMethod, int tolerance, boolean isRepetitive) throws Throwable { in runMethod()
215 Throwable exception = null; in runMethod()
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/
H A DEditorCursorTest.java69 public void setUp() throws Throwable { in setUp()
82 public void testCursorIsInViewBoundariesWhenOnRightForLtr() throws Throwable { in testCursorIsInViewBoundariesWhenOnRightForLtr()
91 public void testCursorIsInViewBoundariesWhenOnLeftForLtr() throws Throwable { in testCursorIsInViewBoundariesWhenOnLeftForLtr()
100 public void testCursorIsInViewBoundariesWhenOnRightForRtl() throws Throwable { in testCursorIsInViewBoundariesWhenOnRightForRtl()
109 public void testCursorIsInViewBoundariesWhenOnLeftForRtl() throws Throwable { in testCursorIsInViewBoundariesWhenOnLeftForRtl()
119 public void testCursorIsOnLeft_withFirstStrongLtrAlgorithm() throws Throwable { in testCursorIsOnLeft_withFirstStrongLtrAlgorithm()
138 public void testCursorIsOnRight_withFirstStrongRtlAlgorithm() throws Throwable { in testCursorIsOnRight_withFirstStrongRtlAlgorithm()
157 public void testCursorIsOnLeft_withLtrAlgorithm() throws Throwable { in testCursorIsOnLeft_withLtrAlgorithm()
176 public void testCursorIsOnRight_withRtlAlgorithm() throws Throwable { in testCursorIsOnRight_withRtlAlgorithm()
195 final Integer textDirection, final Integer selection) throws Throwable { in setEditTextProperties()
[all …]
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DSystemServicesTestRuleTest.java36 public void testRule_rethrows_unchecked_exceptions() throws Throwable { in testRule_rethrows_unchecked_exceptions()
40 public void evaluate() throws Throwable { in testRule_rethrows_unchecked_exceptions()
49 public void testRule_rethrows_checked_exceptions() throws Throwable { in testRule_rethrows_checked_exceptions()
53 public void evaluate() throws Throwable { in testRule_rethrows_checked_exceptions()
62 public void testRule_ranSuccessfully() throws Throwable { in testRule_ranSuccessfully()
67 public void evaluate() throws Throwable { in testRule_ranSuccessfully()
/aosp12/frameworks/base/core/java/android/os/
H A DParcelableException.java38 public ParcelableException(Throwable t) { in ParcelableException()
43 public <T extends Throwable> void maybeRethrow(Class<T> clazz) throws T { in maybeRethrow()
50 public static Throwable readFromParcel(Parcel in) { in readFromParcel()
55 if (Throwable.class.isAssignableFrom(clazz)) { in readFromParcel()
56 return (Throwable) clazz.getConstructor(String.class).newInstance(msg); in readFromParcel()
64 public static void writeToParcel(Parcel out, Throwable t) { in writeToParcel()

12345678910>>...61