/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/ |
D | DefaultRadioTunerTest.java | 122 UnsupportedOperationException thrown = assertThrows( in seek_forRadioTuner_throwsException() local 134 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in getMetadataImage_forRadioTuner_throwsException() local 156 UnsupportedOperationException thrown = assertThrows( in isConfigFlagSet_forRadioTuner_throwsException() local 167 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in setConfigFlag_forRadioTuner_throwsException() local 176 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in setParameters_forRadioTuner_throwsException() local 185 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in getParameters_forRadioTuner_throwsException() local
|
D | TunerAdapterTest.java | 187 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in getConfiguration_withInvalidParameters_fails() local 420 RuntimeException thrown = assertThrows(RuntimeException.class, in tune_withSelectorWhenServiceDied_fails() local 463 RuntimeException thrown = assertThrows(RuntimeException.class, in cancelAnnouncement_whenServiceDied_fails() local 520 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in getMetadataImage_withImageIdUnavailable_fails() local 529 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in getMetadataImage_withInvalidId_fails() local 540 RuntimeException thrown = assertThrows(RuntimeException.class, in getMetadataImage_whenServiceDied_fails() local 561 RuntimeException thrown = assertThrows(RuntimeException.class, in startBackgroundScan_whenServiceDied_fails() local 584 IllegalStateException thrown = assertThrows(IllegalStateException.class, in isAnalogForced_whenNotSupported_fails() local 606 IllegalStateException thrown = assertThrows(IllegalStateException.class, in setAnalogForced_whenNotSupported_fails() local 629 RuntimeException thrown = assertThrows(RuntimeException.class, in isConfigFlagSupported_whenServiceDied_fails() local [all …]
|
D | RadioMetadataTest.java | 104 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in putString_withIllegalKey() local 117 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in putInt_withIllegalKey() local 130 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in putBitmap_withIllegalKey() local 143 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in putClock_withIllegalKey() local 158 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in putStringArray_withIllegalKey_throwsException() local 171 NullPointerException thrown = assertThrows(NullPointerException.class, () -> { in putStringArray_withNullKey_throwsException() local 183 NullPointerException thrown = assertThrows(NullPointerException.class, () -> { in putStringArray_withNullString_throwsException() local 298 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in getBitmapId_withIllegalKey_fails() local 310 NullPointerException thrown = assertThrows(NullPointerException.class, () -> { in getBitmapId_withNullKey_fails() local 370 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in getStringArray_withKeyNotInMetadata() 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 | ProgramSelectorTest.java | 128 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in construct_withNullInSecondaryIdsForSelector() local 196 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in getFirstId_withIdNotInSelector() local 345 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in createAmFmSelector_withInvalidBand_throwsIllegalArgumentException() local 358 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in createAmFmSelector_withInvalidFrequency_throwsIllegalArgumentException() local 371 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in createAmFmSelector_withInvalidSubChannel_throwsIllegalArgumentException() local 383 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in createAmFmSelector_withSubChannelNotSupported_throwsIllegalArgumentException() local
|
D | ProgramListTest.java | 303 IllegalStateException thrown = assertThrows(IllegalStateException.class, in getProgramList_forTunerAdapterWhenListNotReady_fails() local 316 RuntimeException thrown = assertThrows(RuntimeException.class, in getProgramList_forTunerAdapterWhenServiceDied_fails() local 351 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in getDynamicProgramList_forTunerAdapterWithServiceDied_throwsException() local
|
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | FadeManagerConfigurationUnitTest.java | 315 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in testSetFadeState_toInvalid_fails() local 344 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in testSetFadeOutVolShaperConfig_withNullAudioAttributes_fails() local 370 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in testSetFadeInVolShaperConfig_withNullAudioAttributes_fails() local 398 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in testSetFadeOutDuration_withNullAudioAttributes_fails() local 409 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in testSetFadeOutDuration_withInvalidDuration_fails() local 420 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in testSetFadeInDuration_withNullAudioAttributes_fails() local 431 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in testSetFadeInDuration_withInvalidDuration_fails() local 481 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in testSetFadeableUsages_withInvalidUsage_fails() local 491 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in testSetFadeableUsages_withNullUsages_fails() local 580 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in testAddFadeableUsage_withInvalidUsage_fails() local [all …]
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
D | TunerSessionHidlTest.java | 396 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in tune_withUnsupportedSelector_throwsException() local 423 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in tune_withUnknownErrorFromHal_fails() local 437 IllegalStateException thrown = assertThrows(IllegalStateException.class, in tune_withClosedTuner_fails() local 497 IllegalStateException thrown = assertThrows(IllegalStateException.class, () -> { in step_withHalInInvalidState_fails() local 576 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in seek_withInternalErrorFromHal_fails() local 609 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in cancel_whenHalThrowsRemoteException_fails() local 622 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in getImage_withInvalidId_throwsIllegalArgumentException() local 646 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in getImage_whenHalThrowsException_fails() local 692 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in startProgramListUpdates_withUnknownErrorFromHal_fails() local 752 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in setConfigFlag_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 | AnnouncementAggregatorHidlTest.java | 89 RuntimeException thrown = assertThrows(RuntimeException.class, in constructor_withBinderDied() local 150 IllegalStateException thrown = assertThrows(IllegalStateException.class, in watchModule_afterClosed_throwsException() local
|
D | RadioModuleHidlTest.java | 110 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in getImage_withInvalidIdFromRadioModule_throwsIllegalArgumentException() local
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
D | TunerSessionTest.java | 399 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in tune_withUnsupportedSelector_throwsException() local 414 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in tune_withInvalidSelector_throwsIllegalArgumentException() local 442 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in tune_withUnknownErrorFromHal_fails() local 456 IllegalStateException thrown = assertThrows(IllegalStateException.class, in tune_withClosedTuner_fails() local 518 IllegalStateException thrown = assertThrows(IllegalStateException.class, () -> { in step_withHalInInvalidState_fails() local 597 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in seek_withInternalErrorFromHal_fails() local 630 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in cancel_whenHalThrowsRemoteException_fails() local 643 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in getImage_withInvalidId_throwsIllegalArgumentException() local 668 RuntimeException thrown = assertThrows(RuntimeException.class, () -> { in getImage_whenHalThrowsException_fails() local 971 ParcelableException thrown = assertThrows(ParcelableException.class, () -> { in startProgramListUpdates_withUnknownErrorFromHal_fails() local [all …]
|
D | RadioModuleTest.java | 109 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in getImage_withInvalidIdFromRadioModule_throwsIllegalArgumentException() local 130 ParcelableException thrown = assertThrows(ParcelableException.class, () -> in addAnnouncementListener_whenHalThrowsRemoteException() local
|
D | AnnouncementAggregatorTest.java | 88 RuntimeException thrown = assertThrows(RuntimeException.class, () -> in constructor_withBinderDied() local 148 IllegalStateException thrown = assertThrows(IllegalStateException.class, in watchModule_afterClosed_throwsException() local
|
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
|
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/ |
D | ExtendedMockitoRuleTest.java | 510 Exception thrown = assertThrows(Exception.class, in testAfterSessionFinished_whenSessionFailsToFinish() local 546 Exception thrown = assertThrows(Exception.class, in testMockitoFrameworkCleared_whenTestFails() local 564 Exception thrown = assertThrows(Exception.class, in testMockitoFrameworkCleared_whenAfterSessionFinished() local 580 Exception thrown = assertThrows(Exception.class, in testMockitoFrameworkCleared_whenStaticMockFixturesFailed() local 594 Exception thrown = assertThrows(Exception.class, in testMockitoFrameworkCleared_whenSessionFailsToFinish() local
|
/frameworks/base/tools/hoststubgen/hoststubgen/test-tiny-framework/tiny-test/src/com/android/hoststubgen/test/tinyframework/ |
D | TinyFrameworkClassWithAnnotTest.java | 26 public ExpectedException thrown = ExpectedException.none(); field in TinyFrameworkClassWithAnnotTest
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | ProxyAccessibilityServiceConnectionTest.java | 223 UnsupportedOperationException thrown = in testSetServiceInfo_setIllegalOperationExceptionThrown() local 233 UnsupportedOperationException thrown = in testDisableSelf_setIllegalOperationExceptionThrown() 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/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
|
/frameworks/base/services/tests/servicestests/src/com/android/server/os/ |
D | BugreportManagerServiceImplTest.java | 216 Exception thrown = assertThrows(IllegalArgumentException.class, in testStartBugreport_throwsForNonAdminUser() local 233 Exception thrown = assertThrows(IllegalArgumentException.class, in testStartBugreport_throwsForNotAffiliatedUser() local
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/ |
D | IRadioServiceAidlImplTest.java | 126 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in openTuner_withNullCallbackForAidlImpl_fails() local
|
D | IRadioServiceHidlImplTest.java | 127 NullPointerException thrown = assertThrows(NullPointerException.class, in openTuner_withNullCallbackForHidlImpl_fails() local
|
/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/ |
D | CarActivityInterceptorUpdatableTest.java | 351 var thrown = in registerInterceptor_existingIndex_throwsException() local 360 var thrown = in unregisterInterceptor_throwsException() local
|