Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/wifi/cts/
DNsdManagerTest.java54 public void onRegistrationFailed(NsdServiceInfo serviceInfo, int errorCode) { in initRegistrationListener()
55 setEvent("onRegistrationFailed", errorCode); in initRegistrationListener()
59 public void onUnregistrationFailed(NsdServiceInfo serviceInfo, int errorCode) { in initRegistrationListener()
60 setEvent("onUnregistrationFailed", errorCode); in initRegistrationListener()
78 public void onStartDiscoveryFailed(String serviceType, int errorCode) { in initDiscoveryListener()
79 setEvent("onStartDiscoveryFailed", errorCode); in initDiscoveryListener()
83 public void onStopDiscoveryFailed(String serviceType, int errorCode) { in initDiscoveryListener()
84 setEvent("onStopDiscoveryFailed", errorCode); in initDiscoveryListener()
116 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode) { in initResolveListener()
117 setEvent("onResolveFailed", errorCode); in initResolveListener()
[all …]
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DTestAccountAuthenticator.java90 int errorCode = AccountManager.ERROR_CODE_INVALID_RESPONSE; in addAccount() local
93 errorCode = options.getInt(AccountManager.KEY_ERROR_CODE); in addAccount()
96 result.putInt(AccountManager.KEY_ERROR_CODE, errorCode); in addAccount()
144 int errorCode = AccountManager.ERROR_CODE_INVALID_RESPONSE; in confirmCredentials() local
147 errorCode = options.getInt(AccountManager.KEY_ERROR_CODE); in confirmCredentials()
150 result.putInt(AccountManager.KEY_ERROR_CODE, errorCode); in confirmCredentials()
207 int errorCode = AccountManager.ERROR_CODE_INVALID_RESPONSE; in getAuthToken() local
210 errorCode = options.getInt(AccountManager.KEY_ERROR_CODE); in getAuthToken()
213 result.putInt(AccountManager.KEY_ERROR_CODE, errorCode); in getAuthToken()
268 int errorCode = AccountManager.ERROR_CODE_INVALID_RESPONSE; in updateCredentials() local
[all …]
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DCtsInstrumentationApkTest.java96 String errorCode = null; in run() local
98 errorCode = testDevice.installPackage(apkFile, true, options); in run()
99 if (errorCode != null) { in run()
101 apkFileName, testDevice.getSerialNumber(), errorCode)); in run()
DCtsTest.java1002 String errorCode = getDevice().installPackage(apkFile, true, options); in installPrerequisiteApks() local
1003 if (errorCode != null) { in installPrerequisiteApks()
1004 CLog.e("Failed to install %s. Reason: %s", apkName, errorCode); in installPrerequisiteApks()
DDeqpTestRunner.java1740 String errorCode = getDevice().installPackage(apkFile, true, options); in installTestApk() local
1741 if (errorCode != null) { in installTestApk()
1742 CLog.e("Failed to install %s. Reason: %s", DEQP_ONDEVICE_APK, errorCode); in installTestApk()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/targetprep/
DCtsRootDeviceSetup.java81 String errorCode = device.installPackage(ctsBuild.getTestApp(DEVICE_ADMIN_APK_FILE_NAME), in enableDeviceAdmin() local
83 if (errorCode != null) { in enableDeviceAdmin()
87 DEVICE_ADMIN_APK_FILE_NAME, device.getSerialNumber(), errorCode)); in enableDeviceAdmin()
/cts/tests/tests/graphics/src/android/opengl/cts/
DEglContextTest.java156 int errorCode; in checkGlError() local
157 if ((errorCode = GLES20.glGetError()) != GLES20.GL_NO_ERROR) { in checkGlError()
158 throw new RuntimeException("gl error: " + Integer.toHexString(errorCode)); in checkGlError()
/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/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechWrapper.java178 public void onError(String utteranceId, int errorCode) { in onError() argument
181 mErredUtterances.put(utteranceId, errorCode); in onError()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCaptureResultTest.java247 int errorCode = listener.getErrorCode(); in testPartialResult() local
248 if ((errorCode & TotalAndPartialResultListener.ERROR_DUPLICATED_REQUEST) != 0) { in testPartialResult()
252 if ((errorCode & TotalAndPartialResultListener.ERROR_WRONG_CALLBACK_ORDER) != 0) { in testPartialResult()
624 private int errorCode = 0; field in CaptureResultTest.TotalAndPartialResultListener
649 errorCode |= ERROR_DUPLICATED_REQUEST; in onCaptureCompleted()
676 errorCode |= ERROR_WRONG_CALLBACK_ORDER; in checkCallbackOrder()
692 return errorCode; in getErrorCode()
/cts/tests/tests/hardware/src/android/hardware/fingerprint/cts/
DFingerprintManagerTest.java40 public void onAuthenticationError(int errorCode, CharSequence errString) {
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DScanCallbackTest.java104 public void onScanFailed(int errorCode) { in onScanFailed() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
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/webkit/src/android/webkit/cts/
DWebViewClientTest.java627 public void onReceivedError(WebView view, int errorCode, in onReceivedError() argument
629 super.onReceivedError(view, errorCode, description, failingUrl); in onReceivedError()
630 mOnReceivedErrorCode = errorCode; in onReceivedError()
DWebViewSslTest.java933 public void onReceivedError(WebView view, int errorCode, String description, in onReceivedError() argument
935 mErrorCode = errorCode; in onReceivedError()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex70704 private int errorCode