Home
last modified time | relevance | path

Searched refs:assertThrows (Results 1 – 25 of 1202) sorted by relevance

12345678910>>...49

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/telephony/
DBluetoothCallTest.java21 import static org.junit.Assert.assertThrows;
84 assertThrows( in getRemainingPostDialSequence_whenInnerCallIsNull_throwsNPE()
90 assertThrows(NullPointerException.class, () -> mBluetoothCall.answer(1)); in answer_whenInnerCallIsNull_throwsNPE()
95 assertThrows(NullPointerException.class, () -> mBluetoothCall.deflect(null)); in deflect_whenInnerCallIsNull_throwsNPE()
100 assertThrows(NullPointerException.class, () -> mBluetoothCall.reject(true, "text")); in reject_whenInnerCallIsNull_throwsNPE()
105 assertThrows(NullPointerException.class, () -> mBluetoothCall.disconnect()); in disconnect_whenInnerCallIsNull_throwsNPE()
110 assertThrows(NullPointerException.class, () -> mBluetoothCall.hold()); in hold_whenInnerCallIsNull_throwsNPE()
115 assertThrows(NullPointerException.class, () -> mBluetoothCall.unhold()); in unhold_whenInnerCallIsNull_throwsNPE()
120 assertThrows( in enterBackgroundAudioProcessing_whenInnerCallIsNull_throwsNPE()
126 assertThrows( in exitBackgroundAudioProcessing_whenInnerCallIsNull_throwsNPE()
[all …]
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/storage/s2/
DS2SupportTest.java19 import static com.android.storage.testing.MoreAsserts.assertThrows;
31 assertThrows(IllegalArgumentException.class, () -> S2Support.cellIdToString(0)); in cellIdToString()
32 assertThrows(IllegalArgumentException.class, () -> S2Support.cellIdToString( in cellIdToString()
48 assertThrows(IllegalArgumentException.class, () -> S2Support.cellIdToString( in cellIdToString()
50 assertThrows(IllegalArgumentException.class, () -> S2Support.cellIdToString( in cellIdToString()
54 assertThrows(IllegalArgumentException.class, () -> S2Support.cellIdToString( in cellIdToString()
56 assertThrows(IllegalArgumentException.class, () -> S2Support.cellIdToString( in cellIdToString()
58 assertThrows(IllegalArgumentException.class, () -> S2Support.cellIdToString( in cellIdToString()
60 assertThrows(IllegalArgumentException.class, () -> S2Support.cellIdToString( in cellIdToString()
62 assertThrows(IllegalArgumentException.class, () -> S2Support.cellIdToString( in cellIdToString()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientServiceBinderTest.java25 import static org.junit.Assert.assertThrows;
72 assertThrows(NullPointerException.class, () -> mBinder.getConnectedDevices(null)); in getConnectedDevices()
79 assertThrows( in getDevicesMatchingConnectionStates()
88 assertThrows(NullPointerException.class, () -> mBinder.getConnectionState(mDevice, null)); in getConnectionState()
89 assertThrows( in getConnectionState()
99 assertThrows( in setConnectionPolicy()
102 assertThrows( in setConnectionPolicy()
107 assertThrows( in setConnectionPolicy()
119 assertThrows(NullPointerException.class, () -> mBinder.getConnectionPolicy(mDevice, null)); in getConnectionPolicy()
120 assertThrows( in getConnectionPolicy()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DQosCharacteristicsTest.java26 import static org.junit.Assert.assertThrows;
118 assertThrows(IllegalArgumentException.class, () -> in testMandatoryFieldsInvalid()
122 assertThrows(IllegalArgumentException.class, () -> in testMandatoryFieldsInvalid()
126 assertThrows(IllegalArgumentException.class, () -> in testMandatoryFieldsInvalid()
130 assertThrows(IllegalArgumentException.class, () -> in testMandatoryFieldsInvalid()
136 assertThrows(IllegalArgumentException.class, () -> in testMandatoryFieldsInvalid()
148 assertThrows(IllegalArgumentException.class, () -> in testOptionalFieldsInvalid_zeroValue()
150 assertThrows(IllegalArgumentException.class, () -> in testOptionalFieldsInvalid_zeroValue()
152 assertThrows(IllegalArgumentException.class, () -> in testOptionalFieldsInvalid_zeroValue()
154 assertThrows(IllegalArgumentException.class, () -> in testOptionalFieldsInvalid_zeroValue()
[all …]
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/
DActiveOperationalDatasetTest.java26 import static org.junit.Assert.assertThrows;
132 assertThrows( in fromThreadTlvs_tooLongTlv_throwsIllegalArgument()
142 assertThrows( in fromThreadTlvs_invalidNetworkKeyTlv_throwsIllegalArgument()
151 assertThrows( in fromThreadTlvs_noNetworkKeyTlv_throwsIllegalArgument()
161 assertThrows( in fromThreadTlvs_invalidActiveTimestampTlv_throwsIllegalArgument()
170 assertThrows( in fromThreadTlvs_noActiveTimestampTlv_throwsIllegalArgument()
179 assertThrows( in fromThreadTlvs_invalidNetworkNameTlv_emptyName_throwsIllegalArgument()
192 assertThrows( in fromThreadTlvs_invalidNetworkNameTlv_tooLongName_throwsIllegalArgument()
201 assertThrows( in fromThreadTlvs_noNetworkNameTlv_throwsIllegalArgument()
210 assertThrows( in fromThreadTlvs_invalidChannelTlv_channelMissing_throwsIllegalArgument()
[all …]
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/storage/
DAtomicFileDatastoreTest.java29 import static org.junit.Assert.assertThrows;
104 assertThrows( in testConstructor_emptyOrNullArgs()
113 assertThrows( in testConstructor_emptyOrNullArgs()
122 assertThrows( in testConstructor_emptyOrNullArgs()
131 assertThrows( in testConstructor_emptyOrNullArgs()
143 assertThrows( in testConstructor_parentPathDirectoryDoesNotExist()
165 assertThrows(exceptionClass, () -> mDatastore.putBoolean(key, true)); in testKeyFails()
166 assertThrows(exceptionClass, () -> mDatastore.putInt(key, 7)); in testKeyFails()
167 assertThrows(exceptionClass, () -> mDatastore.putString(key, "foo")); in testKeyFails()
169 assertThrows(exceptionClass, () -> mDatastore.putBooleanIfNew(key, true)); in testKeyFails()
[all …]
/packages/services/Car/tests/CarLibUnitTest/src/com/android/car/internal/util/
DAnnotationValidationsUnitTest.java19 import static org.junit.Assert.assertThrows;
47 assertThrows(IllegalStateException.class, in testValidateUserIdIntInvalidTooSmall()
53 assertThrows(IllegalStateException.class, in testValidateUserIdIntInvalidTooLarge()
64 assertThrows(IllegalStateException.class, in testValidateAppIdIntInvalidTooLarge()
71 assertThrows(IllegalStateException.class, in testValidateAppIdIntInvalidNegative()
82 assertThrows(IllegalStateException.class, in testValidateIntRangeInvalidTooSmall()
88 assertThrows(IllegalStateException.class, in testValidateIntRangeInvalidTooLarge()
99 assertThrows(IllegalStateException.class, in testValidateIntRangeLongInvalidTooSmall()
106 assertThrows(IllegalStateException.class, in testValidateIntRangeLongInvalidTooLarge()
118 assertThrows(IllegalStateException.class, in testValidateFloatRangeInvalidTooSmall()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/usd/
DSubscribeConfigTest.java21 import static org.junit.Assert.assertThrows;
89 assertThrows(NullPointerException.class, () -> new SubscribeConfig.Builder(null)); in testSubscribeConfigWithInvalidArgs()
90 assertThrows(IllegalArgumentException.class, () -> new SubscribeConfig.Builder("")); in testSubscribeConfigWithInvalidArgs()
91 assertThrows(IllegalArgumentException.class, in testSubscribeConfigWithInvalidArgs()
94 assertThrows(IllegalArgumentException.class, () -> builder.setQueryPeriodMillis(-1)); in testSubscribeConfigWithInvalidArgs()
95 assertThrows(IllegalArgumentException.class, () -> builder.setSubscribeType(4)); in testSubscribeConfigWithInvalidArgs()
96 assertThrows(IllegalArgumentException.class, () -> builder.setServiceProtoType(4)); in testSubscribeConfigWithInvalidArgs()
97 assertThrows(IllegalArgumentException.class, () -> builder.setTtlSeconds(-1)); in testSubscribeConfigWithInvalidArgs()
98 assertThrows(NullPointerException.class, in testSubscribeConfigWithInvalidArgs()
100 assertThrows(IllegalArgumentException.class, in testSubscribeConfigWithInvalidArgs()
[all …]
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/storage/io/
DTypedStreamsTest.java19 import static com.android.storage.testing.MoreAsserts.assertThrows;
145 assertThrows(IllegalArgumentException.class, in writeVarByteValueUnusedBitsCheck()
147 assertThrows(IllegalArgumentException.class, in writeVarByteValueUnusedBitsCheck()
150 assertThrows(IllegalArgumentException.class, in writeVarByteValueUnusedBitsCheck()
152 assertThrows(IllegalArgumentException.class, in writeVarByteValueUnusedBitsCheck()
155 assertThrows(IllegalArgumentException.class, in writeVarByteValueUnusedBitsCheck()
157 assertThrows(IllegalArgumentException.class, in writeVarByteValueUnusedBitsCheck()
160 assertThrows(IllegalArgumentException.class, in writeVarByteValueUnusedBitsCheck()
162 assertThrows(IllegalArgumentException.class, in writeVarByteValueUnusedBitsCheck()
165 assertThrows(IllegalArgumentException.class, in writeVarByteValueUnusedBitsCheck()
[all …]
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/storage/util/
DBitwiseUtilsTest.java19 import static com.android.storage.testing.MoreAsserts.assertThrows;
30 assertThrows(IllegalArgumentException.class, () -> BitwiseUtils.maxUnsignedValue(0)); in maxUnsignedValue()
31 assertThrows(IllegalArgumentException.class, () -> BitwiseUtils.maxUnsignedValue(64)); in maxUnsignedValue()
42 assertThrows(IllegalArgumentException.class, () -> BitwiseUtils.getLowBitsMask(-1)); in getLowBitsMask()
43 assertThrows(IllegalArgumentException.class, () -> BitwiseUtils.getLowBitsMask(65)); in getLowBitsMask()
54 assertThrows(IllegalArgumentException.class, () -> BitwiseUtils.getMidBitsMask(0, 1)); in getMidBitsMask()
55 assertThrows(IllegalArgumentException.class, () -> BitwiseUtils.getMidBitsMask(65, 1)); in getMidBitsMask()
56 assertThrows(IllegalArgumentException.class, () -> BitwiseUtils.getMidBitsMask(64, 65)); in getMidBitsMask()
57 assertThrows(IllegalArgumentException.class, () -> BitwiseUtils.getMidBitsMask(16, 17)); in getMidBitsMask()
148 assertThrows(IllegalArgumentException.class, () -> BitwiseUtils.getHighBitsMask(65)); in getHighBitMask()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/framework/src/com/android/adservices/
DAdServicesParcelableUtilTest.java21 import static org.junit.Assert.assertThrows;
49 assertThrows( in testWriteNullableToParcel_nullParcelThrows()
58 assertThrows( in testWriteNullableToParcel_nullParcelWriterThrows()
67 assertThrows( in testReadNullableFromParcel_nullParcelThrows()
74 assertThrows( in testReadNullableFromParcel_nullParcelReaderThrows()
126 assertThrows( in testWriteMapToParcel_nullParcelThrows()
135 assertThrows( in testWriteMapToParcel_nullMapThrows()
142 assertThrows( in testReadMapFromParcel_nullParcelThrows()
151 assertThrows( in testReadMapFromParcel_nullConverterThrows()
160 assertThrows( in testReadMapFromParcel_nullClassThrows()
[all …]
/packages/modules/StatsD/framework/test/hostsidetests/app/src/com/android/tests/statsd/framework/appnopermission/
DStatsdPermissionTest.java20 import static org.junit.Assert.assertThrows;
48 StatsUnavailableException e = assertThrows(StatsManager.StatsUnavailableException.class, in testApisThrowExceptionWithoutPermission()
58 e = assertThrows( in testApisThrowExceptionWithoutPermission()
62 e = assertThrows( in testApisThrowExceptionWithoutPermission()
70 e = assertThrows( in testApisThrowExceptionWithoutPermission()
74 e = assertThrows(StatsManager.StatsUnavailableException.class, in testApisThrowExceptionWithoutPermission()
81 e = assertThrows(StatsManager.StatsUnavailableException.class, in testApisThrowExceptionWithoutPermission()
85 e = assertThrows(StatsManager.StatsUnavailableException.class, in testApisThrowExceptionWithoutPermission()
89 e = assertThrows(StatsManager.StatsUnavailableException.class, in testApisThrowExceptionWithoutPermission()
93 e = assertThrows(StatsManager.StatsUnavailableException.class, in testApisThrowExceptionWithoutPermission()
[all …]
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/phr/validations/
DFhirResourceValidatorTest.java35 import static org.junit.Assert.assertThrows;
67 assertThrows(UnsupportedOperationException.class, () -> new FhirResourceValidator()); in testConstructor_structuralValidationDisabled_throws()
76 assertThrows( in testValidateFhirResource_invalidTypeInt_throws()
228 assertThrows( in testValidateFhirResource_missingRequiredPrimitiveTypeField_throws()
246 assertThrows( in testValidateFhirResource_unknownField_throws()
267 assertThrows( in testValidateFhirResource_unknownFieldWithUnderscore_throws()
292 assertThrows( in testValidateFhirResource_nonPrimitiveFieldWithUnderscore_throws()
310 assertThrows( in testValidateFhirResource_missingRequiredField_throws()
335 assertThrows( in testValidateFhirResource_requiredNonPrimitiveFieldWithUnderscore_throws()
361 assertThrows( in testValidateFhirResource_missingRequiredMultiTypeField_throws()
[all …]
DFhirPrimitiveTypeValidatorTest.java38 import static org.junit.Assert.assertThrows;
74 assertThrows( in testValidate_primitiveValidationFlagDisabled_throws()
82 assertThrows( in testValidate_notPrimitive_complexType_throws()
90 assertThrows( in testValidate_objectIsNull_throws()
122 assertThrows( in testValidate_r4BooleanInvalid_asString_throws()
144 assertThrows( in testValidate_r4BooleanInvalid_objectIsJsonNull_throws()
179 assertThrows( in testValidate_r4CanonicalInvalid_containWhiteSpace_throws()
197 assertThrows( in testValidate_r4CanonicalInvalid_objectIsJsonNull_throws()
237 assertThrows( in testValidate_r4CodeInvalid_emptyString_throws()
249 assertThrows( in testValidate_r4CodeInvalid_leadingWhiteSpaces_throws()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapAppParamsTest.java21 import static org.junit.Assert.assertThrows;
310 assertThrows( in setters_withIllegalArguments()
313 assertThrows( in setters_withIllegalArguments()
315 assertThrows( in setters_withIllegalArguments()
318 assertThrows( in setters_withIllegalArguments()
321 assertThrows( in setters_withIllegalArguments()
324 assertThrows( in setters_withIllegalArguments()
327 assertThrows( in setters_withIllegalArguments()
330 assertThrows( in setters_withIllegalArguments()
333 assertThrows( in setters_withIllegalArguments()
[all …]
/packages/modules/Bluetooth/service/tests/src/com/android/server/bluetooth/
DBluetoothServiceBinderTest.java25 import static org.junit.Assert.assertThrows;
133 assertThrows(NullPointerException.class, () -> mBinder.registerAdapter(null)); in registerAdapter()
141 assertThrows(NullPointerException.class, () -> mBinder.unregisterAdapter(null)); in unregisterAdapter()
150 assertThrows(NullPointerException.class, () -> mBinder.enable(null)); in enableNoRestrictEnable()
164 assertThrows(NullPointerException.class, () -> mBinder.enable(null)); in enableWithRestrictEnable()
177 assertThrows(NullPointerException.class, () -> mBinder.enableNoAutoConnect(null)); in enableNoAutoConnect()
183 assertThrows(SecurityException.class, () -> mBinder.enableNoAutoConnect(mSource)); in enableNoAutoConnect()
195 assertThrows(NullPointerException.class, () -> mBinder.disable(null, true)); in disableNoRestrictEnable()
197 assertThrows(SecurityException.class, () -> mBinder.disable(mSource, false)); in disableNoRestrictEnable()
211 assertThrows(NullPointerException.class, () -> mBinder.disable(null, true)); in disableWithRestrictEnable()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/customaudience/
DCustomAudienceBlobValidatorTest.java79 import static org.junit.Assert.assertThrows;
172 assertThrows( in testConstructor_nullClock_throws()
190 assertThrows( in testConstructor_nullNameValidator_throws()
208 assertThrows( in testConstructor_nullActivationTimeValidator_throws()
226 assertThrows( in testConstructor_nullUserBiddingSignalsValidator_throws()
244 assertThrows( in testConstructor_nullExpirationTimeValidator_throws()
262 assertThrows( in testConstructor_nullBuyerValidator_throws()
280 assertThrows( in testConstructor_nullBiddingLogicUriValidator_throws()
298 assertThrows( in testConstructor_nullDailyUpdateUriValidator_throws()
316 assertThrows( in testConstructor_nullTrustedBiddingDataValidator_throws()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/util/
DValidationTest.java19 import static org.junit.Assert.assertThrows;
34 assertThrows( in testValidateNonNull_throwsExceptionWhenNull_oneArgument()
42 assertThrows( in testValidateNonNull_throwsExceptionWhenNull_twoArguments()
55 assertThrows( in testValidateNotEmpty_throwsExceptionWhenEmpty_oneArgument()
63 assertThrows( in testValidateNotEmpty_throwsExceptionWhenEmpty_twoArguments()
76 assertThrows( in testValidateUri_throwsExceptionWhenNull_oneArgument()
84 assertThrows( in testValidateUri_throwsExceptionWhenNull_twoArguments()
92 assertThrows( in testValidateUri_throwsExceptionWhenInvalid_oneArgument()
100 assertThrows( in testValidateUri_throwsExceptionWhenInvalid_twoArguments()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalHelperTest.java49 import static org.junit.Assert.assertThrows;
136 assertThrows(IllegalArgumentException.class, in testParseInitialUserInfoRequestType_invalid()
142 assertThrows(IllegalArgumentException.class, () -> UserHalHelper.convertFlags(null, null)); in testConvertFlags_nullUser()
165 assertThrows(IllegalArgumentException.class, () -> UserHalHelper.getFlags(null, 10)); in testGetFlags_nullUserManager()
170 assertThrows(IllegalArgumentException.class, in testGetFlags_noUser()
276 assertThrows(NullPointerException.class, () -> in testAddUsersInfo_nullCurrentUser()
289 assertThrows(IllegalArgumentException.class, () -> in testAddUsersInfo_mismatchNumberUsers()
317 assertThrows(NullPointerException.class, () -> UserHalHelper.addUserInfo(intValues, null)); in testAddUserInfo_nullCurrentUser()
380 assertThrows(NullPointerException.class, in testUserIdentificationGetRequestToHalPropValue_null()
390 assertThrows(NullPointerException.class, in testUserIdentificationGetRequestToHalPropValue_nullAssociationTypes()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/util/
DDataTypeConversionUtilTest.java22 import static org.junit.Assert.assertThrows;
46 assertThrows( in byteArrayToI32_shortArray_Failure()
53 assertThrows( in byteArrayToI32_longArray_failure()
75 assertThrows( in byteArrayToI16_shortArray_Failure()
82 assertThrows( in byteArrayToI16_longArray_failure()
159 assertThrows( in fiveBytesArbitraryByteArrayToI32()
165 assertThrows( in fiveBytesArbitraryByteArrayToI32()
206 assertThrows( in macAddressByteArrayToLong_badLength()
209 assertThrows( in macAddressByteArrayToLong_badLength()
215 assertThrows( in macAddressByteArrayToLong_badLength()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DAudioControlWrapperV1Test.java27 import static org.junit.Assert.assertThrows;
103 IllegalStateException thrown = assertThrows(IllegalStateException.class, in getBusForContext_throws()
138 assertThrows(UnsupportedOperationException.class, in registerFocusListener_throws()
144 assertThrows(UnsupportedOperationException.class, in unregisterFocusListener_throws()
150 assertThrows(UnsupportedOperationException.class, in onAudioFocusChange_throws()
156 assertThrows(UnsupportedOperationException.class, in onDevicesToDuckChange_throws()
162 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in onDevicesToMuteChange_throws()
174 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in registerAudioGainCallback_throws()
184 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in unregisterAudioGainCallback_throws()
194 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in setModuleChangeCallback_throws()
[all …]
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DKeyedFrequencyCapTest.java22 import static org.junit.Assert.assertThrows;
132 assertThrows( in testBuildNegativeCount_throws()
143 assertThrows( in testSetNegativeCount_throws()
155 assertThrows( in testBuildZeroCount_throws()
166 assertThrows( in testSetZeroCount_throws()
178 assertThrows( in testBuildNegativeInterval_throws()
189 assertThrows( in testSetNegativeInterval_throws()
201 assertThrows( in testBuildZeroInterval_throws()
212 assertThrows( in testSetZeroInterval_throws()
224 assertThrows( in testBuildIntervalLessThanSecond_throws()
[all …]
DUpdateAdCounterHistogramRequestTest.java21 import static org.junit.Assert.assertThrows;
133 assertThrows( in testBuildZeroAdSelectionId_throws()
144 assertThrows( in testSetZeroAdSelectionId_throws()
156 assertThrows( in testBuildWinType_throws()
167 assertThrows( in testSetWinType_throws()
179 assertThrows( in testBuildInvalidType_throws()
187 assertThrows( in testBuildInvalidType_throws()
195 assertThrows( in testBuildInvalidType_throws()
206 assertThrows( in testSetInvalidType_throws()
215 assertThrows( in testSetInvalidType_throws()
[all …]
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/
DOnDevicePersonalizationManagingServiceTest.java25 import static org.junit.Assert.assertThrows;
161 assertThrows( in testEnabledGlobalKillSwitchOnExecute()
176 assertThrows( in testUnsupportedDeviceOnExecute()
228 assertThrows( in testExecuteInvokesAppRequestFlowWithBestValue_exceedLimit()
243 assertThrows( in testExecuteThrowsIfAppPackageNameIncorrect()
258 assertThrows( in testExecuteThrowsIfAppPackageNameNull()
273 assertThrows( in testExecuteThrowsIfAppPackageNameMissing()
288 assertThrows( in testExecuteThrowsIfHandlerMissing()
303 assertThrows( in testExecuteThrowsIfServicePackageMissing()
318 assertThrows( in testExecuteThrowsIfServiceClassMissing()
[all …]
/packages/modules/Uwb/framework/tests/src/android/uwb/
DUwbManagerTest.java23 import static org.junit.Assert.assertThrows;
124 assertThrows(RuntimeException.class, () -> mUwbManager.getSpecificationInfo()); in testGettersAndSetters()
134 assertThrows(RuntimeException.class, () -> mUwbManager.elapsedRealtimeResolutionNanos()); in testGettersAndSetters()
148 assertThrows(RuntimeException.class, () -> mUwbManager.isUwbEnabled()); in testGettersAndSetters()
154 assertThrows(RuntimeException.class, () -> mUwbManager.getChipInfos()); in testGettersAndSetters()
160 assertThrows(RuntimeException.class, () -> mUwbManager.getDefaultChipId()); in testGettersAndSetters()
166 assertThrows(RuntimeException.class, () -> mUwbManager.getAllServiceProfiles()); in testGettersAndSetters()
172 assertThrows( in testGettersAndSetters()
179 assertThrows(RuntimeException.class, () -> mUwbManager.getAdfCertificateInfo(PARAMS)); in testGettersAndSetters()
191 assertThrows( in testOpenRangingSession()
[all …]

12345678910>>...49