Home
last modified time | relevance | path

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

12

/cts/tests/tests/telephony/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
DICtsDownloadMiddlewareControl.aidl33 void fireErrorOnSession(int errorCode, String message); in fireErrorOnSession() argument
/cts/tests/tests/net/src/android/net/wifi/cts/
DNsdManagerTest.java56 public void onRegistrationFailed(NsdServiceInfo serviceInfo, int errorCode) { in initRegistrationListener()
57 setEvent("onRegistrationFailed", errorCode); in initRegistrationListener()
61 public void onUnregistrationFailed(NsdServiceInfo serviceInfo, int errorCode) { in initRegistrationListener()
62 setEvent("onUnregistrationFailed", errorCode); in initRegistrationListener()
80 public void onStartDiscoveryFailed(String serviceType, int errorCode) { in initDiscoveryListener()
81 setEvent("onStartDiscoveryFailed", errorCode); in initDiscoveryListener()
85 public void onStopDiscoveryFailed(String serviceType, int errorCode) { in initDiscoveryListener()
86 setEvent("onStopDiscoveryFailed", errorCode); in initDiscoveryListener()
118 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode) { in initResolveListener()
119 setEvent("onResolveFailed", errorCode); in initResolveListener()
[all …]
/cts/tests/tests/hardware/src/android/hardware/cts/
DEgl14Utils.java142 int errorCode; in checkGlError() local
143 if ((errorCode = GLES20.glGetError()) != GLES20.GL_NO_ERROR) { in checkGlError()
144 throw new RuntimeException("gl error: " + Integer.toHexString(errorCode)); in checkGlError()
/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/hardware/src/android/hardware/biometrics/cts/
DBiometricPromptTest.java54 public void onAuthenticationError(int errorCode, CharSequence errString) {
55 mErrorReceived = errorCode;
/cts/tests/tests/telephony/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/
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/tests/tests/telephony/src/android/telephony/embms/cts/
DMbmsDownloadTestBase.java61 public void onError(int errorCode, @Nullable String message) { in onError() argument
64 args.arg1 = errorCode; in onError()
68 "Got error: " + errorCode + ": " + message); in onError()
DMbmsStreamingTestBase.java40 public void onError(int errorCode, @Nullable String message) { in onError() argument
43 args.arg1 = errorCode; in onError()
DMbmsStreamingServiceTest.java45 public void onError(int errorCode, @Nullable String message) { in onError() argument
47 args.arg1 = errorCode; in onError()
/cts/hostsidetests/security/src/android/cts/security/
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/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleConnectionPriorityServerService.java383 public void onStartFailure(int errorCode) {
384 super.onStartFailure(errorCode);
385 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()
DBleEncryptedServerService.java446 public void onStartFailure(int errorCode) {
447 super.onStartFailure(errorCode);
448 if (errorCode == ADVERTISE_FAILED_FEATURE_UNSUPPORTED) {
DBleAdvertiserService.java291 public void onStartFailure(int errorCode) { in onStartFailure() argument
292 Log.e(TAG, "fail. Error code: " + errorCode); in onStartFailure()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DScanCallbackTest.java104 public void onScanFailed(int errorCode) { in onScanFailed() argument
/cts/tests/tests/hardware/src/android/hardware/fingerprint/cts/
DFingerprintManagerTest.java41 public void onAuthenticationError(int errorCode, CharSequence errString) {
/cts/tests/tests/media/src/android/media/cts/
DMediaSession2TestBase.java247 public void onError(MediaController2 controller, int errorCode, Bundle extras) { in onError() argument
248 mCallbackProxy.onError(controller, errorCode, extras); in onError()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureResultTest.java246 int errorCode = listener.getErrorCode(); in testPartialResult() local
247 if ((errorCode & TotalAndPartialResultListener.ERROR_DUPLICATED_REQUEST) != 0) { in testPartialResult()
251 if ((errorCode & TotalAndPartialResultListener.ERROR_WRONG_CALLBACK_ORDER) != 0) { in testPartialResult()
771 private int errorCode = 0; field in CaptureResultTest.TotalAndPartialResultListener
796 errorCode |= ERROR_DUPLICATED_REQUEST; in onCaptureCompleted()
823 errorCode |= ERROR_WRONG_CALLBACK_ORDER; in checkCallbackOrder()
839 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()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSystemUpdatePolicyTest.java274 private void validateFreezePeriodsFails(int errorCode, String... dates) { in validateFreezePeriodsFails() argument
281 errorCode,e.getErrorCode()); in validateFreezePeriodsFails()
/cts/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechWrapper.java218 public void onError(String utteranceId, int errorCode) { in onError() argument
221 mErredUtterances.put(utteranceId, errorCode); in onError()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewClientTest.java789 public void onReceivedError(WebView view, int errorCode, in onReceivedError() argument
791 super.onReceivedError(view, errorCode, description, failingUrl); in onReceivedError()
792 mOnReceivedErrorCode = errorCode; in onReceivedError()

12