| /frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/ |
| D | DefaultRadioTunerTest.java | 130 UnsupportedOperationException thrown = assertThrows( in seek_forRadioTuner_throwsException() local 154 UnsupportedOperationException thrown = assertThrows( in isConfigFlagSet_forRadioTuner_throwsException() local 165 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in setConfigFlag_forRadioTuner_throwsException() local 174 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in setParameters_forRadioTuner_throwsException() local 183 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in getParameters_forRadioTuner_throwsException() local
|
| D | TunerAdapterTest.java | 165 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in getConfiguration_withInvalidParameters_fails() local 398 RuntimeException thrown = assertThrows(RuntimeException.class, in tune_withSelectorWhenServiceDied_fails() local 441 RuntimeException thrown = assertThrows(RuntimeException.class, in cancelAnnouncement_whenServiceDied_fails() local 498 RuntimeException thrown = assertThrows(RuntimeException.class, in getMetadataImage_whenServiceDied_fails() local 519 RuntimeException thrown = assertThrows(RuntimeException.class, in startBackgroundScan_whenServiceDied_fails() local 542 IllegalStateException thrown = assertThrows(IllegalStateException.class, in isAnalogForced_whenNotSupported_fails() local 564 IllegalStateException thrown = assertThrows(IllegalStateException.class, in setAnalogForced_whenNotSupported_fails() local 587 RuntimeException thrown = assertThrows(RuntimeException.class, in isConfigFlagSupported_whenServiceDied_fails() local 610 RuntimeException thrown = assertThrows(RuntimeException.class, in isConfigFlagSet_whenServiceDied_fails() local 630 RuntimeException thrown = assertThrows(RuntimeException.class, in setConfigFlag_whenServiceDied_fails() local [all …]
|
| D | RadioAnnouncementTest.java | 43 NullPointerException thrown = assertThrows(NullPointerException.class, () -> { in constructor_withNullSelector_fails() local 53 NullPointerException thrown = assertThrows(NullPointerException.class, () -> { in constructor_withNullVendorInfo_fails() local
|
| D | RadioMetadataTest.java | 83 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in putString_withIllegalKey() local 96 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in putInt_withIllegalKey() local 109 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in putClock_withIllegalKey() local
|
| D | ProgramSelectorTest.java | 185 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in getFirstId_withIdNotInSelector() local 322 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in createAmFmSelector_withInvalidFrequency_throwsIllegalArgumentException() local 335 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in createAmFmSelector_withInvalidSubChannel_throwsIllegalArgumentException() local 347 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in createAmFmSelector_withSubChannelNotSupported_throwsIllegalArgumentException() local
|
| D | ProgramListTest.java | 282 IllegalStateException thrown = assertThrows(IllegalStateException.class, in getProgramList_forTunerAdapterWhenListNotReady_fails() local 295 RuntimeException thrown = assertThrows(RuntimeException.class, in getProgramList_forTunerAdapterWhenServiceDied_fails() local 330 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in getDynamicProgramList_forTunerAdapterWithServiceDied_throwsException() local
|
| /frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/ |
| D | CleanupTest.kt | 56 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<AssertionError> { in testAssertionErrorInCatch() constant 199 val thrown = assertFailsWith<TestException1> { in testMultipleCleanups() constant
|
| /frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
| D | TunerSessionHidlTest.java | 365 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in tune_withUnsupportedSelector_throwsException() local 392 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in tune_withUnknownErrorFromHal_fails() local 467 IllegalStateException thrown = assertThrows(IllegalStateException.class, () -> { in step_withHalInInvalidState_fails() local 546 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in seek_withInternalErrorFromHal_fails() local 595 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in cancel_whenHalThrowsRemoteException_fails() local 608 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in getImage_withInvalidId_throwsIllegalArgumentException() local 633 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in getImage_whenHalThrowsException_fails() local 678 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in startProgramListUpdates_withUnknownErrorFromHal_fails() local 738 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in setConfigFlag_withUnsupportedFlag_throwsRuntimeException() local 784 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in isConfigFlagSet_withUnsupportedFlag_throwsRuntimeException() local [all …]
|
| D | BroadcastRadioServiceHidlTest.java | 147 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in openSession_withIdNotFound() local 161 IllegalStateException thrown = assertThrows(IllegalStateException.class, in openSession_forNonCurrentUser_throwsException() local 173 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in openSession_withoutAudio_fails() local
|
| D | RadioModuleHidlTest.java | 110 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in getImage_withInvalidIdFromRadioModule_throwsIllegalArgumentException() local
|
| D | AnnouncementAggregatorHidlTest.java | 131 IllegalStateException thrown = assertThrows(IllegalStateException.class, in watchModule_afterClosed_throwsException() local
|
| /frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
| D | TunerSessionTest.java | 398 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in tune_withUnsupportedSelector_throwsException() local 413 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in tune_withInvalidSelector_throwsIllegalArgumentException() local 456 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in tune_withUnknownErrorFromHal_fails() local 519 IllegalStateException thrown = assertThrows(IllegalStateException.class, () -> { in step_withHalInInvalidState_fails() local 598 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in seek_withInternalErrorFromHal_fails() local 635 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in cancel_whenHalThrowsRemoteException_fails() local 648 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in getImage_withInvalidId_throwsIllegalArgumentException() local 673 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in getImage_whenHalThrowsException_fails() local 957 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in startProgramListUpdates_withUnknownErrorFromHal_fails() local 1017 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in setConfigFlag_withUnsupportedFlag_throwsRuntimeException() local [all …]
|
| D | BroadcastRadioServiceImplTest.java | 161 IllegalStateException thrown = assertThrows(IllegalStateException.class, in openSession_forNonCurrentUser_throwsException() local 173 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in openSession_withoutAudio_fails() local
|
| D | RadioModuleTest.java | 110 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in getImage_withInvalidIdFromRadioModule_throwsIllegalArgumentException() local
|
| D | AnnouncementAggregatorTest.java | 130 IllegalStateException thrown = assertThrows(IllegalStateException.class, in watchModule_afterClosed_throwsException() local
|
| /frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/ |
| D | IntermediateClass.java | 82 public static int get5(Throwable thrown) { in get5()
|
| /frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
| D | ProxyAccessibilityServiceConnectionTest.java | 219 UnsupportedOperationException thrown = in testSetServiceInfo_setIllegalOperationExceptionThrown() local 229 UnsupportedOperationException thrown = in testDisableSelf_setIllegalOperationExceptionThrown_() local
|
| /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/ |
| D | PrimarySwitchControllerTest.java | 29 public final ExpectedException thrown = ExpectedException.none(); field in PrimarySwitchControllerTest
|
| /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
| D | BarChartInfoTest.java | 35 public final ExpectedException thrown = ExpectedException.none(); field in BarChartInfoTest
|
| D | AppEntitiesHeaderControllerTest.java | 42 public final ExpectedException thrown = ExpectedException.none(); field in AppEntitiesHeaderControllerTest
|
| /frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/ |
| D | SensorControllerTest.java | 87 Throwable thrown = assertThrows( in createSensor_invalidHandle_throwsException() local
|
| /frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/ |
| D | IRadioServiceHidlImplTest.java | 124 NullPointerException thrown = assertThrows(NullPointerException.class, in openTuner_withNullCallbackForHidlImpl_fails() local
|
| D | IRadioServiceAidlImplTest.java | 126 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in openTuner_withNullCallbackForAidlImpl_fails() local
|
| /frameworks/base/core/java/android/util/ |
| D | Base64OutputStream.java | 108 IOException thrown = null; in close() local
|
| /frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
| D | StagingManagerTest.java | 460 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
|