Home
last modified time | relevance | path

Searched refs:thrown (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/util/
DBase64OutputStream.java107 IOException thrown = null; in close() local
112 thrown = e; in close()
122 if (thrown == null) { in close()
123 thrown = e; in close()
125 thrown.addSuppressed(e); in close()
129 if (thrown != null) { in close()
130 throw thrown; in close()
/frameworks/base/tests/testables/tests/src/android/testing/
DDexmakerShareClassLoaderRuleTest.java72 final Throwable[] thrown = new Throwable[1]; in rule_preventsOtherThreadFromInterfering()
80 thrown[0] = tr; in rule_preventsOtherThreadFromInterfering()
86 if (thrown[0] != null) { in rule_preventsOtherThreadFromInterfering()
87 throw thrown[0]; in rule_preventsOtherThreadFromInterfering()
/frameworks/base/core/java/com/android/internal/logging/
DAndroidHandler.java92 Throwable thrown = r.getThrown();
93 if (thrown != null) {
98 thrown.printStackTrace(pw);
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DBarChartInfoTest.java35 public final ExpectedException thrown = ExpectedException.none(); field in BarChartInfoTest
63 thrown.expect(IllegalStateException.class); in builder_noTitle_shouldThrowIllegalStateException()
117 thrown.expect(IllegalStateException.class); in addBarViewInfo_moreInfosThanMaxAllowed_shouldThrowIllegalStateException()
DAppEntitiesHeaderControllerTest.java42 public final ExpectedException thrown = ExpectedException.none(); field in AppEntitiesHeaderControllerTest
115 thrown.expect(ArrayIndexOutOfBoundsException.class); in setAppEntity_indexLessThanZero_shouldThrowArrayIndexOutOfBoundsException()
122 thrown.expect(ArrayIndexOutOfBoundsException.class); in asetAppEntity_indexGreaterThanMaximum_shouldThrowArrayIndexOutOfBoundsException()
DBarChartPreferenceTest.java41 public final ExpectedException thrown = ExpectedException.none(); field in BarChartPreferenceTest
253 thrown.expect(IllegalStateException.class); in setBarViewInfos_moreInfosThanMaxAllowed_shouldThrowIllegalStateException()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/
DIntermediateClass.java82 public static int get5(Throwable thrown) { in get5() argument
84 ClassInSecondaryDex.canThrowAll(thrown); in get5()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java149 Throwable thrown = null; in loadFromDisk() local
168 thrown = t; in loadFromDisk()
173 mThrowable = thrown; in loadFromDisk()
179 if (thrown == null) { in loadFromDisk()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java341 Exception thrown = null; in testTooDarkBrightnessConfigurationThrowException() local
345 thrown = e; in testTooDarkBrightnessConfigurationThrowException()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/proto/com/google/protobuf/
Dmap_initialization_order_test.proto39 // The symptom is a NullPointerException being thrown.
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1751 Exception thrown = null;
1756 thrown = e;
1758 assertNotNull("Exception was not thrown", thrown);
1759 assertEquals("Exception type different", expectedException, thrown.getClass());
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBMessageTests.m289 // We're mostly testing that no exception is thrown.
311 // We're mostly testing that no exception is thrown.
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
DCHANGES.txt732 * Fixed a bug that caused NullPointerException to be thrown when
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto3885 // Value 2: A SecurityException was thrown
3892 // Value 1: An IllegalArgumentException was thrown
/frameworks/base/cmds/statsd/src/
Datoms.proto4207 // Number of exceptions thrown by the API.
4235 // This is an exception class name thrown by the system server.
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt118144 Ljava/util/logging/LogRecord;->thrown:Ljava/lang/Throwable;