Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/systemupdate/
DInstallUpdateTest.java182 private void assertUpdateError(String fileName, int expectedErrorCode) { in assertUpdateError() argument
183 Log.v(TAG, "assertUpdateError(" + fileName + ", " + expectedErrorCode + ")"); in assertUpdateError()
192 return errorCode.get() == expectedErrorCode; }); in assertUpdateError()
194 .isEqualTo(expectedErrorCode); in assertUpdateError()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCallComposerTest.java155 int expectedErrorCode) throws Exception { in pictureUploadHelper() argument
188 if (result.second != null && expectedErrorCode < 0) { in pictureUploadHelper()
193 } else if (expectedErrorCode >= 0) { in pictureUploadHelper()
194 String expectedError = TelephonyUtils.parseErrorCodeToString(expectedErrorCode, in pictureUploadHelper()
200 } else if (result.second.getErrorCode() != expectedErrorCode) { in pictureUploadHelper()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewSslTest.java839 int expectedErrorCode) { in loadUrlUntilError() argument
843 if (client.onReceivedErrorCode() == expectedErrorCode) { in loadUrlUntilError()
848 "Reached max number of tries and never saw error " + expectedErrorCode); in loadUrlUntilError()
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DSatelliteManagerTestOnMockService.java4601 int expectedTransferState, int expectedPendingCount, int expectedErrorCode) { in assertSingleSendDatagramStateChanged() argument
4606 expectedTransferState, expectedPendingCount, expectedErrorCode)); in assertSingleSendDatagramStateChanged()
4611 int expectedTransferState, int expectedPendingCount, int expectedErrorCode) { in assertSingleReceiveDatagramStateChanged() argument
4618 expectedTransferState, expectedPendingCount, expectedErrorCode)); in assertSingleReceiveDatagramStateChanged()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DRcsUceAdapterTest.java2291 int expectedErrorCode = expectedResult.argi1; in testTerminatedCallbackWithCapabilitiesRequest() local
2293 assertEquals(expectedErrorCode, waitForIntResult(errorQueue)); in testTerminatedCallbackWithCapabilitiesRequest()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java1886 String expectedErrorCode = "INSTALL_PARSE_FAILED"; in testInstall_withLongUsesPermissionName_fail() local
1888 assertThat(installResult).contains(expectedErrorCode); in testInstall_withLongUsesPermissionName_fail()