Home
last modified time | relevance | path

Searched refs:expectedError (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/jvmti/redefining/app/src/android/jvmti/cts/
DJvmtiRedefineClassesTest.java55 public int expectedError; field in JvmtiRedefineClassesTest.RedefineError
64 this.expectedError = err; in RedefineError()
87 assertEquals(err.expectedError, redefineClass(err.target, err.dexData)); in checkRedefinition()
649 assertEquals(e.expectedError, retransformClass(e.target)); in checkRetransformation()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCallComposerTest.java194 String expectedError = TelephonyUtils.parseErrorCodeToString(expectedErrorCode, in pictureUploadHelper() local
197 fail("Did not get the expected error: " + expectedError); in pictureUploadHelper()
199 fail("Got a UUID from Telephony when we expected " + expectedError); in pictureUploadHelper()
204 fail("Expected " + expectedError + ", got " + observedError); in pictureUploadHelper()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricSimpleTests.java328 int expectedError; in testWhenCredentialNotEnrolled() local
330 expectedError = BiometricPrompt.BIOMETRIC_ERROR_NO_DEVICE_CREDENTIAL; in testWhenCredentialNotEnrolled()
332 expectedError = BiometricPrompt.BIOMETRIC_ERROR_HW_NOT_PRESENT; in testWhenCredentialNotEnrolled()
334 expectedError = BiometricPrompt.BIOMETRIC_ERROR_NO_BIOMETRICS; in testWhenCredentialNotEnrolled()
340 eq(expectedError), in testWhenCredentialNotEnrolled()
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/
DUiAutomationTestBase.kt178 val expectedError = if (userRejected) REASON_USER_REJECTED else REASON_CANCELED in <lambda>() constant
181 expected = listOf(OnFailure(expectedError)) in <lambda>()
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DSatelliteManagerTestOnMockService.java3192 @SatelliteManager.SatelliteResult int expectedError; in testSatelliteAttachEnabledForCarrier() local
3250 expectedError = SatelliteManager.SATELLITE_RESULT_INVALID_MODEM_STATE; in testSatelliteAttachEnabledForCarrier()
3251 setSatelliteError(expectedError); in testSatelliteAttachEnabledForCarrier()
3252 requestSatelliteAttachEnabledForCarrier(true, expectedError); in testSatelliteAttachEnabledForCarrier()
3259 expectedError = SatelliteManager.SATELLITE_RESULT_SUCCESS; in testSatelliteAttachEnabledForCarrier()
3260 requestSatelliteAttachEnabledForCarrier(false, expectedError); in testSatelliteAttachEnabledForCarrier()
3267 expectedError = SatelliteManager.SATELLITE_RESULT_RADIO_NOT_AVAILABLE; in testSatelliteAttachEnabledForCarrier()
3268 setSatelliteError(expectedError); in testSatelliteAttachEnabledForCarrier()
3269 requestSatelliteAttachEnabledForCarrier(true, expectedError); in testSatelliteAttachEnabledForCarrier()
3364 @SatelliteManager.SatelliteResult int expectedError; in testNtnSignalStrength() local
[all …]
DSatelliteManagerTestBase.java1032 int expectedError) { in requestSatelliteEnabled() argument
1045 assertEquals(expectedError, (long) errorCode); in requestSatelliteEnabled()