Home
last modified time | relevance | path

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

123

/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/error/
DCecClientWrapperException.java25 private ErrorCodes errorCode; field in CecClientWrapperException
27 public CecClientWrapperException(ErrorCodes errorCode) { in CecClientWrapperException() argument
28 super(errorCode.getExceptionMessage()); in CecClientWrapperException()
29 this.errorCode = errorCode; in CecClientWrapperException()
32 public CecClientWrapperException(ErrorCodes errorCode, String messageToBeAppend) { in CecClientWrapperException() argument
33 super(errorCode.getExceptionMessage() + messageToBeAppend); in CecClientWrapperException()
34 this.errorCode = errorCode; in CecClientWrapperException()
38 ErrorCodes errorCode, Throwable cause, String messageToBeAppend) { in CecClientWrapperException() argument
39 super(errorCode.getExceptionMessage() + messageToBeAppend, cause); in CecClientWrapperException()
40 this.errorCode = errorCode; in CecClientWrapperException()
[all …]
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/duplex/
DDuplexAudioManager.java85 int errorCode = mRecorder.setupStream( in setupStreams() local
87 if (errorCode != StreamBase.OK) { in setupStreams()
88 Log.e(TAG, "Recorder setupStream() failed code: " + errorCode); in setupStreams()
89 return errorCode; in setupStreams()
108 int errorCode = mPlayer.setupStream( in setupStreams() local
110 if (errorCode != StreamBase.OK) { in setupStreams()
111 Log.e(TAG, "Player - setupStream() failed code: " + errorCode); in setupStreams()
112 return errorCode; in setupStreams()
/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/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/systemupdate/
DInstallUpdateTest.java184 AtomicInteger errorCode = new AtomicInteger(); in assertUpdateError() local
188 errorCode.set(getUpdateError(fileName)); in assertUpdateError()
192 return errorCode.get() == expectedErrorCode; }); in assertUpdateError()
193 assertWithMessage("error code when updating %s", fileName).that(errorCode.get()) in assertUpdateError()
204 public void onInstallUpdateError(int errorCode, String errorMessage) { in getUpdateError()
205 Log.d(TAG, "onInstallUpdateError(): errorCode=" + errorCode in getUpdateError()
207 callbackErrorCode = errorCode; in getUpdateError()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DDataSharingService.java99 public void onError(int errorCode) { in shareData()
100 mSessionErrorCode = errorCode; in shareData()
124 public void onError(int errorCode) { in attemptConcurrentRequest()
126 mConcurrentRequestErrorCode = errorCode; in attemptConcurrentRequest()
DDataSharingActivity.java84 public void onError(int errorCode) { in onStart()
85 mSessionErrorCode = errorCode; in onStart()
DOutOfProcessDataSharingService.java129 public void onError(int errorCode) { in shareData()
130 mSessionErrorCode = errorCode; in shareData()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDisplayHashManagerTest.java191 int errorCode = mSyncDisplayHashResultCallback.getError(); in testGenerateAndVerifyDisplayHash_EmptyBounds() local
192 assertEquals(DISPLAY_HASH_ERROR_INVALID_BOUNDS, errorCode); in testGenerateAndVerifyDisplayHash_EmptyBounds()
219 int errorCode = mSyncDisplayHashResultCallback.getError(); in testGenerateDisplayHash_BoundsOutOfView() local
220 assertEquals(DISPLAY_HASH_ERROR_NOT_VISIBLE_ON_SCREEN, errorCode); in testGenerateDisplayHash_BoundsOutOfView()
248 int errorCode = mSyncDisplayHashResultCallback.getError(); in testGenerateDisplayHash_ViewOffscreen() local
249 assertEquals(DISPLAY_HASH_ERROR_NOT_VISIBLE_ON_SCREEN, errorCode); in testGenerateDisplayHash_ViewOffscreen()
307 int errorCode = mSyncDisplayHashResultCallback.getError(); in testGenerateDisplayHash_WindowOffscreen() local
308 assertEquals(DISPLAY_HASH_ERROR_NOT_VISIBLE_ON_SCREEN, errorCode); in testGenerateDisplayHash_WindowOffscreen()
317 int errorCode = mSyncDisplayHashResultCallback.getError(); in testGenerateDisplayHash_InvalidHashAlgorithm() local
318 assertEquals(DISPLAY_HASH_ERROR_INVALID_HASH_ALGORITHM, errorCode); in testGenerateDisplayHash_InvalidHashAlgorithm()
[all …]
/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricCallbackHelper.java96 public void onAuthenticationError(int errorCode, CharSequence errString) { in onAuthenticationError() argument
97 Log.d(TAG, "onAuthenticationError: " + errorCode + ", " + errString); in onAuthenticationError()
98 mState.mErrorsReceived.add(errorCode); in onAuthenticationError()
/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/tests/tests/permission3/UsePermissionApp30WithBluetooth/src/android/permission3/cts/usepermission/
DAccessBluetoothOnCommand.kt70 override fun onScanFailed(errorCode: Int) { in call()
71 Log.e(LOG_TAG, "onScanFailed() - errorCode = $errorCode") in call()
72 observedErrorCode.set(errorCode) in call()
/cts/tests/tests/permission/AppThatRequestBluetoothPermission30/src/android/permission/cts/appthatrequestpermission/
DAccessBluetoothOnCommand.java80 public void onScanFailed(int errorCode) { in call()
81 Log.v(TAG, "onScanFailed() - errorCode = " + errorCode); in call()
82 observedErrorCode.set(errorCode); in call()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/fingerprint/
DFingerprintCallbackHelper.java87 public void onAuthenticationError(int errorCode, CharSequence errString) { in onAuthenticationError() argument
88 mState.mErrorsReceived.add(errorCode); in onAuthenticationError()
/cts/tests/tests/opengl/src/android/opengl/cts/
DEgl14Utils.java173 int errorCode; in checkGlError() local
174 if ((errorCode = GLES20.glGetError()) != GLES20.GL_NO_ERROR) { in checkGlError()
175 throw new RuntimeException("gl error: " + Integer.toHexString(errorCode)); in checkGlError()
/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) {
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DRcsUceAdapterTest.java444 public void onError(int errorCode, long retryAfterMilliseconds) { in testMethodPermissions()
523 public void onError(int errorCode, long retryAfterMilliseconds) { in testCapabilitiesRequestAllowed()
524 errorQueue.offer(errorCode); in testCapabilitiesRequestAllowed()
652 public void onError(int errorCode, long retryAfterMilliseconds) { in testCapabilitiesRequestWithCmdError()
653 errorQueue.offer(errorCode); in testCapabilitiesRequestWithCmdError()
734 public void onError(int errorCode, long retryAfterMilliseconds) { in testCapabilitiesRequestWithResponseError()
735 errorQueue.offer(errorCode); in testCapabilitiesRequestWithResponseError()
962 public void onError(int errorCode, long retryAfterMilliseconds) { in testRequestCapabilitiesWithPresenceMechanism()
963 errorQueue.offer(errorCode); in testRequestCapabilitiesWithPresenceMechanism()
1133 public void onError(int errorCode, long retryAfterMilliseconds) { in testCacheQuerySuccessWhenNetworkBlocked()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
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()
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()
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()
/cts/tests/tests/hardware/src/android/hardware/biometrics/cts/
DBiometricPromptTest.java50 public void onAuthenticationError(int errorCode, CharSequence errString) {
51 mErrorReceived = errorCode;
/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()

123