| /packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/cluster/ |
| D | ClusterHomeManagerPermissionTest.java | 84 SecurityException thrown = assertThrows(SecurityException.class, in testRegisterClusterStateListener_requiresPermission() local 92 SecurityException thrown = assertThrows(SecurityException.class, in testRegisterClusterNavigationStateListener_requiresPermission() local 101 SecurityException thrown = assertThrows(SecurityException.class, in testGetClusterState_requiresPermission() local 108 SecurityException thrown = assertThrows(SecurityException.class, in testUnReportState_requiresPermission() local 115 SecurityException thrown = assertThrows(SecurityException.class, in testRequestDisplay_requiresPermission() local 122 SecurityException thrown = assertThrows(SecurityException.class, in testStartFixedActivityModeAsUser_requiresPermission() local 130 SecurityException thrown = assertThrows(SecurityException.class, in testStopFixedActivityMode_requiresPermission() local
|
| /packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/ |
| D | FakeVhalConfigParserUnitTest.java | 68 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in testDefaultConfigFileIsEmpty() local 98 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in testConfigFileHaveInvalidJsonObject() local 110 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in testConfigFileRootIsNotArray() local 121 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in testConfigFileRootHasElementIsNotJsonObject() local 135 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in testParseEachPropertyJsonObjectIsEmpty() local 160 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in testParsePropertyIdFieldNotExist() local 171 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in testParsePropertyIdValueNull() local 182 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in testParsePropertyIdWithWrongValueType() local 205 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in testParsePropertyIdWithEmptyStringValue() local 217 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in testParsePropertyIdWithIntStringValue() local [all …]
|
| /packages/services/Car/tests/carservice_unit_test/src/android/car/oem/ |
| D | OemCarAudioFocusEvaluationRequestUnitTest.java | 119 IllegalStateException thrown = assertThrows(IllegalStateException.class, () -> in builder_withReuse_fails() local 170 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in setFocusHolders_withNullHolders_fails() local 193 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in addFocusHolders_withNullHolder_fails() local 216 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in setFocusLosers_withNullLosers_fails() local 239 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in addFocusLosers_withNullLosers_fails() local 262 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in setMutedVolumeGroups_withNullGroups_fails() local 285 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in addMutedVolumeGroups_withNullGroups_fails() local 298 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in setAudioFocusRequest_withNullGroups_fails() local
|
| D | OemCarAudioFocusResultUnitTest.java | 135 IllegalStateException thrown = assertThrows(IllegalStateException.class, () -> in builder_withReuse_fails() local 145 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in setAudioFocusEntry_withNullEntry_fails() local 172 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in setNewlyLostAudioFocusEntries_withNullEntries_fails() local 199 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in addNewlyLostAudioFocusEntry_withNullEntry_fails() local 226 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in setNewlyBlockedAudioFocusEntries_withNullEntries_fails() local 252 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in addNewlyBlockedAudioFocusEntry_withNullEntry_fails() local
|
| /packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
| D | AdSelectionConfigValidatorTest.java | 133 IllegalArgumentException thrown = in testVerifyEmptySeller() local 150 IllegalArgumentException thrown = in testVerifyNotDomainNameSeller() local 166 IllegalArgumentException thrown = in testVerifyInvalidSeller() local 187 IllegalArgumentException thrown = in testVerifyNoHostSeller() local 203 IllegalArgumentException thrown = in testVerifyNoHostDecisionLogicUri() local 224 IllegalArgumentException thrown = in testVerifyInconsistentSellerUris() local 246 IllegalArgumentException thrown = in testVerifyTrustedScoringSignalsUriIsRelative() local 264 IllegalArgumentException thrown = in testVerifyTrustedScoringSignalsUriIsNotHTTPS() local 289 IllegalArgumentException thrown = in testVerifyInconsistentSellerUrisByPrefix() local 322 IllegalArgumentException thrown = in testContextualAdsDecisionLogicEtldMismatch() local
|
| /packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/ |
| D | AudioControlWrapperV2Test.java | 128 IllegalStateException thrown = assertThrows(IllegalStateException.class, in registerFocusListener_throws() local 187 IllegalStateException thrown = assertThrows(IllegalStateException.class, in onAudioFocusChange_throws() local 203 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in onDevicesToMuteChange_throws() local 215 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in registerAudioGainCallback_throws() local 225 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in unregisterAudioGainCallback_throws() local 249 IllegalStateException thrown = assertThrows(IllegalStateException.class, in linkToDeath_throws() local 275 IllegalStateException thrown = assertThrows(IllegalStateException.class, in unlinkToDeath_throws() local
|
| D | AudioControlWrapperV1Test.java | 100 IllegalStateException thrown = assertThrows(IllegalStateException.class, in getBusForContext_throws() local 159 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in onDevicesToMuteChange_throws() local 171 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in registerAudioGainCallback_throws() local 181 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in unregisterAudioGainCallback_throws() local 205 IllegalStateException thrown = assertThrows(IllegalStateException.class, in linkToDeath_throws() local 231 IllegalStateException thrown = assertThrows(IllegalStateException.class, in unlinkToDeath_throws() local
|
| D | HalAudioDeviceInfoTest.java | 115 Throwable thrown = assertThrows(NullPointerException.class, in constructor_requiresNonNullAudioPort() local 128 Throwable thrown = assertThrows(NullPointerException.class, in constructor_requiresNonNullAudioGains() local 150 Throwable thrown = assertThrows(IllegalStateException.class, in constructor_requiresJointModeAudioGain() local 172 Throwable thrown = assertThrows(IllegalArgumentException.class, in constructor_requiresMaxGainLargerThanMin() local 194 Throwable thrown = assertThrows(IllegalArgumentException.class, in constructor_requiresDefaultGainLargerThanMin() local 216 Throwable thrown = assertThrows(IllegalArgumentException.class, in constructor_requiresDefaultGainSmallerThanMax() local 238 Throwable thrown = assertThrows(IllegalArgumentException.class, in constructor_requiresGainStepSizeFactorOfRange() local 260 Throwable thrown = assertThrows(IllegalArgumentException.class, in constructor_requiresGainStepSizeFactorOfRangeToDefault() local 276 Throwable thrown = assertThrows(IllegalArgumentException.class, in constructor_requiresAudioPortDeviceExt() local 289 Throwable thrown = assertThrows(IllegalArgumentException.class, in constructor_requiresConnectionBus() local [all …]
|
| /packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/ |
| D | CarOccupantZoneManagerPermissionTest.java | 68 SecurityException thrown = assertThrows(SecurityException.class, in testDisplayIdForDriver() local 77 SecurityException thrown = assertThrows(SecurityException.class, in testGetAudioZoneIdForOccupant() local 85 SecurityException thrown = assertThrows(SecurityException.class, in testGetOccupantForAudioZoneId() local 94 SecurityException thrown = assertThrows(SecurityException.class, in testAssignProfileUserToOccupantZone() local
|
| /packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
| D | CarAudioZonesHelperTest.java | 709 IllegalArgumentException thrown = in loadAudioZones_versionOneFailsOnAudioZoneId() local 726 IllegalArgumentException thrown = in loadAudioZones_versionOneFailsOnOccupantZoneId() local 843 IllegalArgumentException thrown = in loadAudioZones_failsOnDuplicateOccupantZoneId() local 860 IllegalArgumentException thrown = in loadAudioZones_failsOnDuplicateAudioZoneId() local 877 IllegalArgumentException thrown = in loadAudioZones_failsOnDuplicateZoneConfigName() local 895 IllegalArgumentException thrown = in loadAudioZones_failsOnEmptyZoneConfigName() local 913 NullPointerException thrown = in loadAudioZones_failsOnMissingZoneConfigName() local 931 IllegalArgumentException thrown = in loadAudioZones_failsOnPrimaryZoneWithMultipleConfigs() local 951 IllegalArgumentException thrown = in loadAudioZones_failsOnEmptyInputDeviceAddress() local 968 IllegalArgumentException thrown = in loadAudioZones_failsOnNonNumericalAudioZoneId() local [all …]
|
| /packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
| D | CarAudioMirrorRequestHandlerTest.java | 112 NullPointerException thrown = assertThrows(NullPointerException.class, () -> { in registerAudioZonesMirrorStatusCallback_withNullCallback_fails() local 123 NullPointerException thrown = assertThrows(NullPointerException.class, () -> { in unregisterAudioZonesMirrorStatusCallback_withNullCallback_fails() local 205 NullPointerException thrown = assertThrows(NullPointerException.class, () -> { in setMirrorDeviceInfos_withNullMirrorDeviceAddress() local 268 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in getAudioDeviceInfo_forInvalidRequestIdFails() local 303 NullPointerException thrown = assertThrows(NullPointerException.class, () -> { in enableMirrorForZones_withNullZoneIds_fails() local 313 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in enableMirrorForZones_withInvalidRequestId() local 368 NullPointerException thrown = assertThrows(NullPointerException.class, in rejectMirrorForZones_withNullZones_fails() local 381 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in rejectMirrorForZones_withEmptyZones_fails() local 460 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in verifyValidRequestId_withNoLongerValidRequest() local 470 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in verifyValidRequestId_withInvalidRequestId() local
|
| D | CarAudioDeviceInfoTest.java | 58 Throwable thrown = assertThrows(NullPointerException.class, in constructor_requiresNonNullGain() local 71 Throwable thrown = assertThrows(IllegalStateException.class, in constructor_requiresJointModeGain() local 84 Throwable thrown = assertThrows(IllegalArgumentException.class, in constructor_requiresMaxGainLargerThanMin() local 98 Throwable thrown = assertThrows(IllegalArgumentException.class, in constructor_requiresDefaultGainLargerThanMin() local 112 Throwable thrown = assertThrows(IllegalArgumentException.class, in constructor_requiresDefaultGainSmallerThanMax() local 125 Throwable thrown = assertThrows(IllegalArgumentException.class, in constructor_requiresGainStepSizeFactorOfRange() local 138 Throwable thrown = assertThrows(IllegalArgumentException.class, in constructor_requiresGainStepSizeFactorOfRangeToDefault() local
|
| D | CarAudioContextInfoTest.java | 55 NullPointerException thrown = assertThrows(NullPointerException.class, () -> { in constructor_withNullAttributes_fails() local 66 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in constructor_withEmptyAudioAttributes_fails() local 77 NullPointerException thrown = assertThrows(NullPointerException.class, () -> { in constructor_withNullName_fails() local 88 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in constructor_withEmptyName_fails() local 99 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> { in constructor_withNegativeId_fails() local
|
| D | CarAudioServiceUnitTest.java | 747 NullPointerException thrown = in constructor_withNullContext_fails() local 756 NullPointerException thrown = in constructor_withNullContextAndNullPath_fails() local 771 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in constructor_withInvalidVolumeConfiguration_fails() local 974 IllegalStateException thrown = assertThrows(IllegalStateException.class, in createAudioPatch_onMediaOutputDevice_failsForConfigurationMissing() local 989 SecurityException thrown = assertThrows(SecurityException.class, in createAudioPatch_onMediaOutputDevice_failsForMissingPermission() local 1029 IllegalStateException thrown = assertThrows(IllegalStateException.class, in releaseAudioPatch_failsForConfigurationMissing() local 1044 SecurityException thrown = assertThrows(SecurityException.class, in releaseAudioPatch_failsForMissingPermission() local 1062 NullPointerException thrown = assertThrows(NullPointerException.class, in releaseAudioPatch_forNullSourceAddress_throwsNullPointerException() local 1085 SecurityException thrown = assertThrows(SecurityException.class, in setZoneIdForUid_withoutRoutingPermission_fails() local 1102 IllegalStateException thrown = assertThrows(IllegalStateException.class, in setZoneIdForUid_withoutDynamicRouting_fails() local [all …]
|
| D | CoreAudioVolumeGroupCallbackTest.java | 99 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in registerVolumeGroupCallbackToAudioManager_withNullExecutor_fails() local 126 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in instantiate_withNullAudioManager_fails() local 135 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in instantiate_withNullVolumeInfoWrapper_fails() local
|
| D | CarZonesAudioFocusUnitTest.java | 103 NullPointerException thrown = assertThrows(NullPointerException.class, in newCarZonesAudioFocus_withNullAudioManager_throws() local 115 NullPointerException thrown = assertThrows(NullPointerException.class, in newCarZonesAudioFocus_withNullPackageManager_throws() local 127 NullPointerException thrown = assertThrows(NullPointerException.class, in newCarZonesAudioFocus_withNullCarAudioZones_throws() local 139 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in newCarZonesAudioFocus_withEmptyCarAudioZones_throws() local 151 NullPointerException thrown = assertThrows(NullPointerException.class, in newCarZonesAudioFocus_withNullCarAudioSettings_throws() local 169 NullPointerException thrown = assertThrows(NullPointerException.class, in newCarZonesAudioFocus_withNullCarVolumeInfo_succeeds() local
|
| D | CarAudioPlaybackCallbackTest.java | 86 NullPointerException thrown = assertThrows(NullPointerException.class, in constructor_withNullAudioZones_fails() local 96 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in constructor_withEmptyAudioZones_fails() local 107 NullPointerException thrown = assertThrows(NullPointerException.class, in constructor_withNullSystemClockWrapper_fails() local 118 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in constructor_withNegativeKeyEventTimeout_fails() local
|
| /packages/modules/AdServices/sdksandbox/tests/cts/inprocess/src/com/android/sdksandbox/tests/cts/inprocess/ |
| D | SdkSandboxRestrictionsTest.java | 90 UnsupportedSchemeException thrown = assertThrows( in testNoWidevineAccess() local 114 SecurityException thrown = assertThrows( in testCannotRequestPermissions() local 133 SecurityException thrown = assertThrows( in testNoImplicitIntents() local 145 SecurityException thrown = in testSendBroadcastsRestrictions_withAction() local 157 SecurityException thrown = in testSendBroadcastRestrictions_withoutAction() local 267 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in testSanboxCannotAccess_MediaStoreApi() local 295 SecurityException thrown = assertThrows(SecurityException.class, in testSanboxCannotAccess_StorageAccessFramework() local
|
| /packages/services/Car/tests/carservice_unit_test/src/android/car/media/ |
| D | CarAudioManagerUnitTest.java | 627 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in registerCarVolumeGroupEventCallback_withNullExecutor_fails() local 638 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in registerCarVolumeGroupEventCallback_withNullCallback_fails() local 688 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in unregisterCarVolumeGroupEventCallback_withNullCallback_fails() local 941 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in switchAudioZoneToConfig_withNullConfig_fails() local 952 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in switchAudioZoneToConfig_withNullExecutor_fails() local 963 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in switchAudioZoneToConfig_withNullCallback_fails() local 1005 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in setPrimaryZoneMediaAudioRequestCallback_withNullExecutor_fails() local 1016 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in setPrimaryZoneMediaAudioRequestCallback_withNullCallback_fails() local 1031 IllegalStateException thrown = assertThrows(IllegalStateException.class, () -> in setPrimaryZoneMediaAudioRequestCallback_forMultipleTimes_fails() local 1171 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in requestMediaAudioOnPrimaryZone_withNullOccupantZoneInfo() local [all …]
|
| D | CarVolumeGroupEventUnitTest.java | 101 IllegalStateException thrown = assertThrows(IllegalStateException.class, () -> in builder_withReuse_fails() local 110 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in build_withNullVolumeGroupInfo_fails() local 122 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in build_withNullExtraInfo_fails() local 134 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in addCarVolumeGroupInfo_withNullEntry_fails() local 175 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> in setExtraInfos_withNullEntry_fails() local
|
| D | CarVolumeGroupInfoUnitTest.java | 87 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in build_withNullName_fails() local 126 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in setMaxVolumeGainIndex_withMinLargerThanMax_buildFails() local 139 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in setVolumeGainIndex_withGainOutOfMinMaxRange_buildFails() local 180 NullPointerException thrown = assertThrows(NullPointerException.class, in setAudioAttribute_withNull_buildFails() local 196 IllegalStateException thrown = assertThrows(IllegalStateException.class, () -> in builder_withReuse_fails() local
|
| /packages/services/Car/tests/carservice_unit_test/src/android/car/util/concurrent/ |
| D | AndroidFutureTest.java | 70 ExecutionException thrown = assertThrows(ExecutionException.class, in testCompleteExceptionally_uncompleted() local 199 ExecutionException thrown = assertThrows(ExecutionException.class, () -> fromParcel.get()); in testWriteToParcel_completedExceptionally() local 224 ExecutionException thrown = in testWriteToParcel_uncompleted_Exception() local 244 ExecutionException thrown = assertThrows(ExecutionException.class, () -> future.get()); in testSupply_futureThrowingException() local 269 ExecutionException thrown = assertThrows(ExecutionException.class, () -> farFuture.get()); in testThenApply_functionThrowingException() local 296 ExecutionException thrown = assertThrows(ExecutionException.class, in testThenCompose_functionThrowingException() local 327 ExecutionException thrown = assertThrows(ExecutionException.class, in testThenCombine_functionThrowingException() local
|
| /packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/ |
| D | SafetyCenterManagerTest.kt | 211 val thrown = in setSafetySourceData_unknownId_throwsIllegalArgumentException() constant 223 val thrown = in setSafetySourceData_staticId_throwsIllegalArgumentException() constant 237 val thrown = in setSafetySourceData_differentPackage_throwsIllegalArgumentException() constant 258 val thrown = in setSafetySourceData_wronglySignedPackage_throwsIllegalArgumentException() constant 288 val thrown = in setSafetySourceData_invalidPackageCertificate_throwsIllegalArgumentException() constant 302 val thrown = in setSafetySourceData_sourceInStatelessGroupNotUnspecified_throwsIllegalArgumentException() constant 320 val thrown = in setSafetySourceData_nullUnknownId_throwsIllegalArgumentException() constant 332 val thrown = in setSafetySourceData_nullStaticId_throwsIllegalArgumentException() constant 346 val thrown = in setSafetySourceData_nullDifferentPackage_throwsIllegalArgumentException() constant 363 val thrown = in setSafetySourceData_issueOnlyWithStatus_throwsIllegalArgumentException() constant [all …]
|
| /packages/services/Car/tests/carservice_unit_test/src/android/car/os/ |
| D | ThreadPolicyWithPriorityUnitTest.java | 60 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in testThreadPolicyWithPriorityInvalidPolicy() local 72 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in testThreadPolicyWithPriorityPriorityTooSmall() local 84 IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, in testThreadPolicyWithPriorityPriorityTooLarge() local
|
| /packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/autodelete/ |
| D | AutoDeleteRangeTest.kt | 76 val thrown = in fromNumberOfMonths_unsupportedNumberOfMonths_throws() constant 88 val thrown = in deletionEnd_rangeNever_throws() constant
|