/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/duplex/ |
D | DuplexAudioManager.java | 85 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/ |
D | InstallUpdateTest.java | 159 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/ |
D | DisplayHashManagerTest.java | 172 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/ |
D | DataSharingService.java | 96 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()
|
D | DataSharingActivity.java | 84 public void onError(int errorCode) { in onStart() 85 mSessionErrorCode = errorCode; in onStart()
|
D | OutOfProcessDataSharingService.java | 113 public void onError(int errorCode) { in shareData() 114 mSessionErrorCode = errorCode; in shareData()
|
/cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/aidl/android/telephony/cts/embmstestapp/ |
D | ICtsStreamingMiddlewareControl.aidl | 31 void fireErrorOnStream(int errorCode, String message); in fireErrorOnStream() argument 33 void fireErrorOnSession(int errorCode, String message); in fireErrorOnSession() argument
|
D | ICtsGroupCallMiddlewareControl.aidl | 31 void fireErrorOnGroupCall(int errorCode, String message); in fireErrorOnGroupCall() argument 33 void fireErrorOnSession(int errorCode, String message); in fireErrorOnSession() argument
|
D | ICtsDownloadMiddlewareControl.aidl | 33 void fireErrorOnSession(int errorCode, String message); in fireErrorOnSession() argument
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | BiometricCallbackHelper.java | 96 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/ |
D | AccessBluetoothOnCommand.kt | 68 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/ |
D | CtsGroupCallService.java | 156 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));
|
D | CtsStreamingService.java | 212 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/ |
D | AccessBluetoothOnCommand.java | 80 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/ |
D | FingerprintCallbackHelper.java | 87 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/ |
D | TelephonyUtils.java | 110 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/ |
D | Egl14Utils.java | 173 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/ |
D | BleConnectionPriorityServerService.java | 229 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/ |
D | RcsUceAdapterTest.java | 441 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/ |
D | MbmsDownloadTestBase.java | 70 public void onError(int errorCode, @Nullable String message) { in onError() argument 73 args.arg1 = errorCode; in onError() 77 "Got error: " + errorCode + ": " + message); in onError()
|
D | MbmsGroupCallTest.java | 45 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()
|
D | MbmsGroupCallTestBase.java | 63 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/ |
D | VcnManagerTest.java | 270 @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/ |
D | BiometricPromptTest.java | 50 public void onAuthenticationError(int errorCode, CharSequence errString) { 51 mErrorReceived = errorCode;
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
D | MockAccountAuthenticator.java | 486 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()
|