/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/ |
H A 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
|
H A D | TunerAdapterTest.java | 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 653 RuntimeException thrown = assertThrows(RuntimeException.class, in getParameters_whenServiceDied_fails() local [all …]
|
H A 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
|
H A 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
|
H A 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
|
H A 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
|
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
H A D | TunerSessionHidlTest.java | 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 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 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
|
H A D | RadioModuleHidlTest.java | 110 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in getImage_withInvalidIdFromRadioModule_throwsIllegalArgumentException() local
|
H A D | AnnouncementAggregatorHidlTest.java | 131 IllegalStateException thrown = assertThrows(IllegalStateException.class, in watchModule_afterClosed_throwsException() local
|
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
H A D | TunerSessionTest.java | 413 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 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
|
H A D | RadioModuleTest.java | 110 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in getImage_withInvalidIdFromRadioModule_throwsIllegalArgumentException() local
|
H A D | AnnouncementAggregatorTest.java | 130 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 D | IntermediateClass.java | 82 public static int get5(Throwable thrown) { in get5()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | ProxyAccessibilityServiceConnectionTest.java | 219 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 D | PrimarySwitchControllerTest.java | 29 public final ExpectedException thrown = ExpectedException.none(); field in PrimarySwitchControllerTest
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
H A D | BarChartInfoTest.java | 35 public final ExpectedException thrown = ExpectedException.none(); field in BarChartInfoTest
|
H A D | AppEntitiesHeaderControllerTest.java | 42 public final ExpectedException thrown = ExpectedException.none(); field in AppEntitiesHeaderControllerTest
|
H A D | BarChartPreferenceTest.java | 41 public final ExpectedException thrown = ExpectedException.none(); field in BarChartPreferenceTest
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/ |
H A D | SensorControllerTest.java | 87 Throwable thrown = assertThrows( in createSensor_invalidHandle_throwsException() local
|
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/ |
H A D | IRadioServiceAidlImplTest.java | 126 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in openTuner_withNullCallbackForAidlImpl_fails() local
|
H A D | IRadioServiceHidlImplTest.java | 124 NullPointerException thrown = assertThrows(NullPointerException.class, in openTuner_withNullCallbackForHidlImpl_fails() local
|
/aosp14/frameworks/base/core/java/android/util/ |
H A D | Base64OutputStream.java | 108 IOException thrown = null; in close() local
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
H A 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
|