Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/
H A DDefaultRadioTunerTest.java130 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
H A DTunerAdapterTest.java398 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
653 RuntimeException thrown = assertThrows(RuntimeException.class, in getParameters_whenServiceDied_fails() local
[all …]
H A DRadioAnnouncementTest.java43 NullPointerException thrown = assertThrows(NullPointerException.class, () -> { in constructor_withNullSelector_fails() local
53 NullPointerException thrown = assertThrows(NullPointerException.class, () -> { in constructor_withNullVendorInfo_fails() local
H A DRadioMetadataTest.java83 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
H A DProgramSelectorTest.java185 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
H A DProgramListTest.java282 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
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
H A DTunerSessionHidlTest.java392 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
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
811 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in isConfigFlagSet_whenHalThrowsRemoteException_fails() local
851 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in setParameters_whenHalThrowsRemoteException_fails() local
[all …]
H A DBroadcastRadioServiceHidlTest.java147 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
H A DRadioModuleHidlTest.java110 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in getImage_withInvalidIdFromRadioModule_throwsIllegalArgumentException() local
H A DAnnouncementAggregatorHidlTest.java131 IllegalStateException thrown = assertThrows(IllegalStateException.class, in watchModule_afterClosed_throwsException() local
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
H A DTunerSessionTest.java413 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in tune_withInvalidSelector_throwsIllegalArgumentException() local
456 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in tune_withUnknownErrorFromHal_fails() local
598 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in seek_withInternalErrorFromHal_fails() local
635 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in cancel_whenHalThrowsRemoteException_fails() 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
1062 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in isConfigFlagSet_withUnsupportedFlag_throwsRuntimeException() local
1089 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in isConfigFlagSet_whenHalThrowsRemoteException_fails() local
1130 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in setParameters_whenHalThrowsRemoteException_fails() local
[all …]
H A DBroadcastRadioServiceImplTest.java161 IllegalStateException thrown = assertThrows(IllegalStateException.class, in openSession_forNonCurrentUser_throwsException() local
173 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in openSession_withoutAudio_fails() local
H A DRadioModuleTest.java110 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in getImage_withInvalidIdFromRadioModule_throwsIllegalArgumentException() local
H A DAnnouncementAggregatorTest.java130 IllegalStateException thrown = assertThrows(IllegalStateException.class, in watchModule_afterClosed_throwsException() local
/aosp14/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/
H A DIntermediateClass.java82 public static int get5(Throwable thrown) { in get5()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DProxyAccessibilityServiceConnectionTest.java219 UnsupportedOperationException thrown = in testSetServiceInfo_setIllegalOperationExceptionThrown() local
229 UnsupportedOperationException thrown = in testDisableSelf_setIllegalOperationExceptionThrown_() local
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
H A DPrimarySwitchControllerTest.java29 public final ExpectedException thrown = ExpectedException.none(); field in PrimarySwitchControllerTest
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
H A DBarChartInfoTest.java35 public final ExpectedException thrown = ExpectedException.none(); field in BarChartInfoTest
H A DAppEntitiesHeaderControllerTest.java42 public final ExpectedException thrown = ExpectedException.none(); field in AppEntitiesHeaderControllerTest
H A DBarChartPreferenceTest.java41 public final ExpectedException thrown = ExpectedException.none(); field in BarChartPreferenceTest
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
H A DSensorControllerTest.java87 Throwable thrown = assertThrows( in createSensor_invalidHandle_throwsException() local
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/
H A DIRadioServiceAidlImplTest.java126 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in openTuner_withNullCallbackForAidlImpl_fails() local
H A DIRadioServiceHidlImplTest.java124 NullPointerException thrown = assertThrows(NullPointerException.class, in openTuner_withNullCallbackForHidlImpl_fails() local
/aosp14/frameworks/base/core/java/android/util/
H A DBase64OutputStream.java108 IOException thrown = null; in close() local
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
H A 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

12