Home
last modified time | relevance | path

Searched refs:errorCode (Results 1 – 25 of 39) sorted by relevance

12

/cts/tests/tests/wifi/src/android/net/wifi/cts/
DNsdManagerTest.java58 public void onRegistrationFailed(NsdServiceInfo serviceInfo, int errorCode) { in initRegistrationListener()
59 setEvent("onRegistrationFailed", errorCode); in initRegistrationListener()
63 public void onUnregistrationFailed(NsdServiceInfo serviceInfo, int errorCode) { in initRegistrationListener()
64 setEvent("onUnregistrationFailed", errorCode); in initRegistrationListener()
82 public void onStartDiscoveryFailed(String serviceType, int errorCode) { in initDiscoveryListener()
83 setEvent("onStartDiscoveryFailed", errorCode); in initDiscoveryListener()
87 public void onStopDiscoveryFailed(String serviceType, int errorCode) { in initDiscoveryListener()
88 setEvent("onStopDiscoveryFailed", errorCode); in initDiscoveryListener()
120 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode) { in initResolveListener()
121 setEvent("onResolveFailed", errorCode); in initResolveListener()
[all …]
/cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/aidl/android/telephony/cts/embmstestapp/
DICtsStreamingMiddlewareControl.aidl31 void fireErrorOnStream(int errorCode, String message); in fireErrorOnStream() argument
33 void fireErrorOnSession(int errorCode, String message); in fireErrorOnSession() argument
DICtsGroupCallMiddlewareControl.aidl31 void fireErrorOnGroupCall(int errorCode, String message); in fireErrorOnGroupCall() argument
33 void fireErrorOnSession(int errorCode, String message); in fireErrorOnSession() argument
DICtsDownloadMiddlewareControl.aidl33 void fireErrorOnSession(int errorCode, String message); in fireErrorOnSession() argument
/cts/tests/tests/opengl/src/android/opengl/cts/
DEgl14Utils.java164 int errorCode; in checkGlError() local
165 if ((errorCode = GLES20.glGetError()) != GLES20.GL_NO_ERROR) { in checkGlError()
166 throw new RuntimeException("gl error: " + Integer.toHexString(errorCode)); in checkGlError()
/cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/
DCtsGroupCallService.java156 public void fireErrorOnGroupCall(int errorCode, String message) {
157 mHandler.post(() -> mGroupCallCallback.onError(errorCode, message));
161 public void fireErrorOnSession(int errorCode, String message) {
162 mHandler.post(() -> mAppCallback.onError(errorCode, message));
DCtsStreamingService.java212 public void fireErrorOnStream(int errorCode, String message) {
213 mHandler.post(() -> mStreamCallback.onError(errorCode, message));
217 public void fireErrorOnSession(int errorCode, String message) {
218 mHandler.post(() -> mAppCallback.onError(errorCode, message));
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DBiometricTest.java121 public void onAuthenticationError(int errorCode, CharSequence errString) {
123 if (errorCode == BiometricPrompt.BIOMETRIC_ERROR_NO_DEVICE_CREDENTIAL) {
128 showToastAndLog("Error: " + errorCode + " " + errString);
131 if (errorCode == BiometricPrompt.BIOMETRIC_ERROR_NO_BIOMETRICS) {
136 showToastAndLog("Error: " + errorCode + " " + errString);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleConnectionPriorityServerService.java229 public void onStartFailure(int errorCode) {
230 super.onStartFailure(errorCode);
231 if (errorCode == ADVERTISE_FAILED_FEATURE_UNSUPPORTED) {
DBleEncryptedServerService.java446 public void onStartFailure(int errorCode) {
447 super.onStartFailure(errorCode);
448 if (errorCode == ADVERTISE_FAILED_FEATURE_UNSUPPORTED) {
DBleScannerService.java223 public void onScanFailed(int errorCode) { in onScanFailed() argument
224 Log.e(TAG, "Scan fail. Error code: " + new Integer(errorCode).toString()); in onScanFailed()
DBleAdvertiserService.java291 public void onStartFailure(int errorCode) { in onStartFailure() argument
292 Log.e(TAG, "fail. Error code: " + errorCode); in onStartFailure()
/cts/tests/tests/hardware/src/android/hardware/biometrics/cts/
DBiometricPromptTest.java54 public void onAuthenticationError(int errorCode, CharSequence errString) {
55 mErrorReceived = errorCode;
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsGroupCallTestBase.java63 public void onError(int errorCode, @Nullable String message) { in onError() argument
64 MbmsGroupCallSessionCallback.super.onError(errorCode, message); in onError()
67 args.arg1 = errorCode; in onError()
DMbmsGroupCallTest.java45 public void onError(int errorCode, @Nullable String message) { in onError() argument
46 GroupCallCallback.super.onError(errorCode, message); in onError()
48 args.arg1 = errorCode; in onError()
DMbmsDownloadTestBase.java70 public void onError(int errorCode, @Nullable String message) { in onError() argument
73 args.arg1 = errorCode; in onError()
77 "Got error: " + errorCode + ": " + message); in onError()
DMbmsStreamingTestBase.java64 public void onError(int errorCode, @Nullable String message) { in onError() argument
67 args.arg1 = errorCode; in onError()
DMbmsStreamingServiceTest.java49 public void onError(int errorCode, @Nullable String message) { in onError() argument
51 args.arg1 = errorCode; in onError()
/cts/hostsidetests/security/src/android/security/cts/
DFileSystemPermissionTest.java216 int errorCode = p.waitFor(); in execAndCaptureOutput() local
218 if ((errorCode != 0) || (stderrContents.length > 0)) { in execAndCaptureOutput()
220 cmd[0] + " failed with error code " + errorCode in execAndCaptureOutput()
/cts/tests/tests/accounts/src/android/accounts/cts/
DMockAccountAuthenticator.java486 int errorCode = AccountManager.ERROR_CODE_INVALID_RESPONSE; in fillResultWithError() local
489 errorCode = options.getInt(AccountManager.KEY_ERROR_CODE); in fillResultWithError()
492 result.putInt(AccountManager.KEY_ERROR_CODE, errorCode); in fillResultWithError()
514 int errorCode = AccountManager.ERROR_CODE_INVALID_RESPONSE; in isCredentialsUpdateSuggested() local
516 result.putInt(AccountManager.KEY_ERROR_CODE, errorCode); in isCredentialsUpdateSuggested()
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DAudioProtocol.java449 private void sendSimpleReplyHeader(int command, int errorCode) throws IOException { in sendSimpleReplyHeader() argument
450 Log.d(TAG, "sending reply cmd " + command + " err " + errorCode); in sendSimpleReplyHeader()
451 sendReplyWithData(command, errorCode, 0, null); in sendSimpleReplyHeader()
454 … private void sendReplyWithData(int cmd, int errorCode, int len, byte[] data) throws IOException { in sendReplyWithData() argument
459 mReplyBuffer.putInt(errorCode); in sendReplyWithData()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DInstallUpdateTest.java156 public void onInstallUpdateError(int errorCode, String errorMessage) { in assertUpdateError() argument
157 callbackErrorCode = errorCode; in assertUpdateError()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DIdentityCredentialAuthentication.java257 public void onAuthenticationError(int errorCode, CharSequence errString) { in startTest()
258 super.onAuthenticationError(errorCode, errString); in startTest()
259 showToast("onAuthenticationError " + errorCode + ": " + errString); in startTest()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureResultTest.java245 int errorCode = listener.getErrorCode(); in testPartialResult() local
246 if ((errorCode & TotalAndPartialResultListener.ERROR_DUPLICATED_REQUEST) != 0) { in testPartialResult()
250 if ((errorCode & TotalAndPartialResultListener.ERROR_WRONG_CALLBACK_ORDER) != 0) { in testPartialResult()
811 private int errorCode = 0; field in CaptureResultTest.TotalAndPartialResultListener
836 errorCode |= ERROR_DUPLICATED_REQUEST; in onCaptureCompleted()
863 errorCode |= ERROR_WRONG_CALLBACK_ORDER; in checkCallbackOrder()
879 return errorCode; in getErrorCode()
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DTestAccountAuthenticator.java396 int errorCode = AccountManager.ERROR_CODE_INVALID_RESPONSE; in fillDefaultError() local
399 errorCode = options.getInt(AccountManager.KEY_ERROR_CODE); in fillDefaultError()
402 result.putInt(AccountManager.KEY_ERROR_CODE, errorCode); in fillDefaultError()

12