Home
last modified time | relevance | path

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

123

/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/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/systemupdate/
DInstallUpdateTest.java159 AtomicInteger errorCode = new AtomicInteger(); in assertUpdateError() local
163 errorCode.set(getUpdateError(fileName)); in assertUpdateError()
167 return errorCode.get() == expectedErrorCode; }); in assertUpdateError()
168 assertWithMessage("error code when updating %s", fileName).that(errorCode.get()) in assertUpdateError()
179 public void onInstallUpdateError(int errorCode, String errorMessage) { in getUpdateError()
180 Log.d(TAG, "onInstallUpdateError(): errorCode=" + errorCode in getUpdateError()
182 callbackErrorCode = errorCode; in getUpdateError()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDisplayHashManagerTest.java172 int errorCode = mSyncDisplayHashResultCallback.getError(); in testGenerateAndVerifyDisplayHash_EmptyBounds() local
173 assertEquals(DISPLAY_HASH_ERROR_INVALID_BOUNDS, errorCode); in testGenerateAndVerifyDisplayHash_EmptyBounds()
200 int errorCode = mSyncDisplayHashResultCallback.getError(); in testGenerateDisplayHash_BoundsOutOfView() local
201 assertEquals(DISPLAY_HASH_ERROR_NOT_VISIBLE_ON_SCREEN, errorCode); in testGenerateDisplayHash_BoundsOutOfView()
231 int errorCode = mSyncDisplayHashResultCallback.getError(); in testGenerateDisplayHash_ViewOffscreen() local
232 assertEquals(DISPLAY_HASH_ERROR_NOT_VISIBLE_ON_SCREEN, errorCode); in testGenerateDisplayHash_ViewOffscreen()
279 int errorCode = mSyncDisplayHashResultCallback.getError(); in testGenerateDisplayHash_WindowOffscreen() local
280 assertEquals(DISPLAY_HASH_ERROR_NOT_VISIBLE_ON_SCREEN, errorCode); in testGenerateDisplayHash_WindowOffscreen()
289 int errorCode = mSyncDisplayHashResultCallback.getError(); in testGenerateDisplayHash_InvalidHashAlgorithm() local
290 assertEquals(DISPLAY_HASH_ERROR_INVALID_HASH_ALGORITHM, errorCode); in testGenerateDisplayHash_InvalidHashAlgorithm()
[all …]
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DDataSharingService.java96 public void onError(int errorCode) { in shareData()
97 mSessionErrorCode = errorCode; in shareData()
121 public void onError(int errorCode) { in attemptConcurrentRequest()
123 mConcurrentRequestErrorCode = errorCode; in attemptConcurrentRequest()
DDataSharingActivity.java84 public void onError(int errorCode) { in onStart()
85 mSessionErrorCode = errorCode; in onStart()
DOutOfProcessDataSharingService.java113 public void onError(int errorCode) { in shareData()
114 mSessionErrorCode = errorCode; in shareData()
/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/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/permission3/UsePermissionApp30WithBluetooth/src/android/permission3/cts/usepermission/
DAccessBluetoothOnCommand.kt68 override fun onScanFailed(errorCode: Int) { in call()
69 Log.v(TAG, "onScanFailed() - errorCode = $errorCode") in call()
70 observedErrorCode.set(errorCode) in call()
/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/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/telephony/current/src/android/telephony/cts/
DTelephonyUtils.java110 public static String parseErrorCodeToString(int errorCode, in parseErrorCodeToString() argument
117 if (field.getInt(null) == errorCode) { in parseErrorCodeToString()
126 return String.format("??%d??", errorCode); in parseErrorCodeToString()
/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.java441 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()
649 public void onError(int errorCode, long retryAfterMilliseconds) { in testCapabilitiesRequestWithCmdError()
650 errorQueue.offer(errorCode); in testCapabilitiesRequestWithCmdError()
731 public void onError(int errorCode, long retryAfterMilliseconds) { in testCapabilitiesRequestWithResponseError()
732 errorQueue.offer(errorCode); in testCapabilitiesRequestWithResponseError()
947 public void onError(int errorCode, long retryAfterMilliseconds) { in testRequestCapabilitiesWithPresenceMechanism()
948 errorQueue.offer(errorCode); in testRequestCapabilitiesWithPresenceMechanism()
1104 public void onError(int errorCode, long retryAfterMilliseconds) { in testRequestCapabilitiesFromCacheWithPresenceMechanism()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
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()
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()
/cts/tests/tests/vcn/src/android/net/vcn/cts/
DVcnManagerTest.java270 @NonNull String gatewayConnectionName, int errorCode, @Nullable Throwable detail) { in onGatewayConnectionError() argument
272 new GatewayConnectionError(gatewayConnectionName, errorCode, detail)); in onGatewayConnectionError()
287 public final int errorCode; field in VcnManagerTest.GatewayConnectionError
291 @NonNull String gatewayConnectionName, int errorCode, @Nullable Throwable detail) { in GatewayConnectionError() argument
293 this.errorCode = errorCode; in GatewayConnectionError()
/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