Home
last modified time | relevance | path

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

/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DCleanupTest.kt56 val thrown = assertFailsWith<TestException1> { in testThrowTry() constant
74 val thrown = assertFailsWith<TestException2> { in testThrowCleanup() constant
92 val thrown = assertFailsWith<TestException1> { in testThrowBoth() constant
161 val thrown = assertFailsWith<TestException2> { in testThrowInCatch() constant
180 val thrown = assertFailsWith<TestException1> { in testMultipleCleanups() constant
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/
DIntermediateClass.java82 public static int get5(Throwable thrown) { in get5()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DPrimarySwitchControllerTest.java29 public final ExpectedException thrown = ExpectedException.none(); field in PrimarySwitchControllerTest
DProviderTileTest.java52 public final ExpectedException thrown = ExpectedException.none(); field in ProviderTileTest
DSwitchesProviderTest.java56 public final ExpectedException thrown = ExpectedException.none(); field in SwitchesProviderTest
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DBackupFileDecryptorTaskTest.java292 MalformedEncryptedFileException thrown = in decryptFile_throwsForBadChunksMetadataOffset() local
314 MalformedEncryptedFileException thrown = in decryptFile_throwsForChunksMetadataOffsetBeyondEndOfFile() local
335 MalformedEncryptedFileException thrown = in decryptFile_throwsForChunksMetadataOffsetBeforeBeginningOfFile() local
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DBarChartInfoTest.java35 public final ExpectedException thrown = ExpectedException.none(); field in BarChartInfoTest
DAppEntitiesHeaderControllerTest.java42 public final ExpectedException thrown = ExpectedException.none(); field in AppEntitiesHeaderControllerTest
DBarChartPreferenceTest.java41 public final ExpectedException thrown = ExpectedException.none(); field in BarChartPreferenceTest
/frameworks/base/core/java/android/util/
DBase64OutputStream.java108 IOException thrown = null; in close() local
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DStagingManagerTest.java460 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in getStagedApexInfos_validatePreConditions() local
470 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in getStagedApexInfos_validatePreConditions() local
480 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in getStagedApexInfos_validatePreConditions() local
/frameworks/base/core/tests/coretests/src/com/android/internal/infra/
DAndroidFutureTest.java184 ExecutionException thrown = expectThrows(ExecutionException.class, in testThenCombine_functionThrowingException() local
/frameworks/base/tests/PlatformCompatGating/src/com/android/tests/gating/
DPlatformCompatPermissionsTest.java55 public final ExpectedException thrown = ExpectedException.none(); field in PlatformCompatPermissionsTest
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java335 final Throwable[] thrown = new Throwable[1]; in runOnUiThread() local
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java163 Throwable thrown = null; in loadFromDisk() local
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java528 Exception thrown = null; in testTooDarkBrightnessConfigurationThrowException() local