/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/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/ |
D | MasterSwitchControllerTest.java | 29 public final ExpectedException thrown = ExpectedException.none(); field in MasterSwitchControllerTest 40 thrown.expect(UnsupportedOperationException.class); in getMetaData_shouldThrowUnsupportedOperationException() 47 thrown.expect(UnsupportedOperationException.class); in getBundle_shouldThrowUnsupportedOperationException()
|
D | ProviderTileTest.java | 52 public final ExpectedException thrown = ExpectedException.none(); field in ProviderTileTest 93 thrown.expect(NullPointerException.class); in getIcon_noContextOrMetadata_shouldThrowNullPointerException()
|
/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 | 92 Throwable thrown = r.getThrown(); 93 if (thrown != null) { 98 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 114 thrown.expect(ArrayIndexOutOfBoundsException.class); in setAppEntity_indexLessThanZero_shouldThrowArrayIndexOutOfBoundsException() 121 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/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/ |
D | BackupFileDecryptorTaskTest.java | 292 MalformedEncryptedFileException thrown = in decryptFile_throwsForBadChunksMetadataOffset() local 296 assertThat(thrown) in decryptFile_throwsForBadChunksMetadataOffset() 314 MalformedEncryptedFileException thrown = in decryptFile_throwsForChunksMetadataOffsetBeyondEndOfFile() local 318 assertThat(thrown) in decryptFile_throwsForChunksMetadataOffsetBeyondEndOfFile() 335 MalformedEncryptedFileException thrown = in decryptFile_throwsForChunksMetadataOffsetBeforeBeginningOfFile() local 339 assertThat(thrown) in decryptFile_throwsForChunksMetadataOffsetBeforeBeginningOfFile()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoControlsService.kt | 124 private fun makeToyControl(icon: Icon?, thrown: Boolean): Control { in makeToyControl() 132 if (thrown) getString(R.string.control_toy_status) else "", in makeToyControl() 136 .setSubtitle(if (thrown) "" else getString(R.string.control_toy_subtitle)) in makeToyControl()
|
/frameworks/base/core/java/android/app/ |
D | SharedPreferencesImpl.java | 163 Throwable thrown = null; in loadFromDisk() local 182 thrown = t; in loadFromDisk() 187 mThrowable = thrown; in loadFromDisk() 193 if (thrown == null) { in loadFromDisk()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 355 Exception thrown = null; in testTooDarkBrightnessConfigurationThrowException() local 359 thrown = e; in testTooDarkBrightnessConfigurationThrowException()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 1816 Exception thrown = null; 1821 thrown = e; 1823 assertNotNull("Exception was not thrown", thrown); 1824 assertEquals("Exception type different", expectedException, thrown.getClass());
|
/frameworks/opt/setupwizard/tools/docs/ |
D | doclava.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/ccil/
org/ ... |
/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/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 5646 // Number of exceptions thrown by the API. 5674 // This is an exception class name thrown by the system server.
|