Home
last modified time | relevance | path

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

/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/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.java1043 String errorCode = getDevice().installPackage(apkFile, true, options); in installPrerequisiteApks() local
1044 if (errorCode != null) { in installPrerequisiteApks()
1045 CLog.e("Failed to install %s. Reason: %s", apkName, errorCode); in installPrerequisiteApks()
DDeqpTestRunner.java1814 String errorCode = getDevice().installPackage(apkFile, true, options); in installTestApk() local
1815 if (errorCode != null) { in installTestApk()
1816 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/camera/src/android/hardware/camera2/cts/
DCaptureResultTest.java248 int errorCode = listener.getErrorCode(); in testPartialResult() local
249 if ((errorCode & TotalAndPartialResultListener.ERROR_DUPLICATED_REQUEST) != 0) { in testPartialResult()
253 if ((errorCode & TotalAndPartialResultListener.ERROR_WRONG_CALLBACK_ORDER) != 0) { in testPartialResult()
656 private int errorCode = 0; field in CaptureResultTest.TotalAndPartialResultListener
681 errorCode |= ERROR_DUPLICATED_REQUEST; in onCaptureCompleted()
708 errorCode |= ERROR_WRONG_CALLBACK_ORDER; in checkCallbackOrder()
724 return errorCode; in getErrorCode()
/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/hardware/src/android/hardware/fingerprint/cts/
DFingerprintManagerTest.java41 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/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechWrapper.java197 public void onError(String utteranceId, int errorCode) { in onError() argument
200 mErredUtterances.put(utteranceId, errorCode); in onError()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewClientTest.java693 public void onReceivedError(WebView view, int errorCode, in onReceivedError() argument
695 super.onReceivedError(view, errorCode, description, failingUrl); in onReceivedError()
696 mOnReceivedErrorCode = errorCode; in onReceivedError()
DWebViewSslTest.java933 public void onReceivedError(WebView view, int errorCode, String description, in onReceivedError() argument
935 mErrorCode = errorCode; in onReceivedError()
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp118 static void onError(void* obj, ACameraDevice* device, int errorCode) { in onError() argument
119 ALOGV("Camera %s receive error %d!", ACameraDevice_getId(device), errorCode); in onError()
126 thiz->mLatestError = errorCode; in onError()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex70704 private int errorCode