/frameworks/base/tests/PlatformCompatGating/src/com/android/tests/gating/ |
D | PlatformCompatPermissionsTest.java | 54 public final ExpectedException thrown = ExpectedException.none(); field in PlatformCompatPermissionsTest 80 thrown.expect(SecurityException.class); in reportChange_noLogCompatChangePermission_throwsSecurityException() 98 thrown.expect(SecurityException.class); in reportChangeByPackageName_noLogCompatChangePermission_throwsSecurityException() 116 thrown.expect(SecurityException.class); in reportChangeByUid_noLogCompatChangePermission_throwsSecurityException() 132 thrown.expect(SecurityException.class); in isChangeEnabled_noReadCompatConfigPermission_throwsSecurityException() 141 thrown.expect(SecurityException.class); in isChangeEnabled_noLogCompatChangeConfigPermission_throwsSecurityException() 160 thrown.expect(SecurityException.class); in isChangeEnabledByPackageName_noReadCompatConfigPermission_throwsSecurityException() 169 thrown.expect(SecurityException.class); in isChangeEnabledByPackageName_noLogompatConfigPermission_throwsSecurityException() 188 thrown.expect(SecurityException.class); in isChangeEnabledByUid_noReadCompatConfigPermission_throwsSecurityException() 196 thrown.expect(SecurityException.class); in isChangeEnabledByUid_noLogCompatChangePermission_throwsSecurityException() [all …]
|
/frameworks/base/core/java/android/util/ |
D | Base64OutputStream.java | 108 IOException thrown = null; in close() local 113 thrown = e; in close() 123 if (thrown == null) { in close() 124 thrown = e; in close() 126 thrown.addSuppressed(e); in close() 130 if (thrown != null) { in close() 131 throw thrown; in close()
|
/frameworks/base/tests/testables/tests/src/android/testing/ |
D | DexmakerShareClassLoaderRuleTest.java | 72 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/ |
D | AndroidHandler.java | 91 Throwable thrown = r.getThrown(); 92 if (thrown != null) { 97 thrown.printStackTrace(pw);
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | BarChartInfoTest.java | 35 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()
|
D | AppEntitiesHeaderControllerTest.java | 42 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()
|
D | BarChartPreferenceTest.java | 41 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/ |
D | IntermediateClass.java | 82 public static int get5(Throwable thrown) { in get5() argument 84 ClassInSecondaryDex.canThrowAll(thrown); in get5()
|
/frameworks/base/core/java/android/app/ |
D | SharedPreferencesImpl.java | 149 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/ |
D | DisplayManagerServiceTest.java | 341 Exception thrown = null; in testTooDarkBrightnessConfigurationThrowException() local 345 thrown = e; in testTooDarkBrightnessConfigurationThrowException()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 1751 Exception thrown = null; 1756 thrown = e; 1758 assertNotNull("Exception was not thrown", thrown); 1759 assertEquals("Exception type different", expectedException, thrown.getClass());
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 3885 // Value 2: A SecurityException was thrown 3892 // Value 1: An IllegalArgumentException was thrown
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 4768 // Number of exceptions thrown by the API. 4796 // This is an exception class name thrown by the system server.
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 110615 Ljava/util/logging/LogRecord;->thrown:Ljava/lang/Throwable;
|