Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 102) sorted by relevance

12345

/packages/apps/Browser/src/com/android/browser/
DPageDialogsHandler.java280 final SslError error) { in showSSLCertificateOnError() argument
282 SslCertificate cert = error.getCertificate(); in showSSLCertificateOnError()
289 mSSLCertificateOnErrorError = error; in showSSLCertificateOnError()
290 mSSLCertificateOnErrorDialog = createSslCertificateDialog(cert, error) in showSSLCertificateOnError()
301 onReceivedSslError(view, handler, error); in showSSLCertificateOnError()
317 error.getUrl()); in showSSLCertificateOnError()
329 onReceivedSslError(view, handler, error); in showSSLCertificateOnError()
343 SslError error) { in createSslCertificateDialog() argument
351 if (error == null) { in createSslCertificateDialog()
358 if (error.hasError(SslError.SSL_UNTRUSTED)) { in createSslCertificateDialog()
[all …]
DErrorConsoleView.java293 ConsoleMessage error = mMessages.get(position); in getView() local
295 if (error == null) { in getView()
307 headline.setText(error.sourceId() + ":" + error.lineNumber()); in getView()
308 subText.setText(error.message()); in getView()
309 switch (error.messageLevel()) { in getView()
DTab.java264 ErrorDialog(int title, String desc, int error) { in ErrorDialog() argument
267 mError = error; in ErrorDialog()
515 final SslErrorHandler handler, final SslError error) {
532 handleProceededAfterSslError(error);
541 view, handler, error);
564 handleProceededAfterSslError(error);
1057 SslError error) { in onReceivedSslError() argument
1058 mClient.onReceivedSslError(view, handler, error); in onReceivedSslError()
1967 private void handleProceededAfterSslError(SslError error) { in handleProceededAfterSslError() argument
1968 if (error.getUrl().equals(mCurrentState.mUrl)) { in handleProceededAfterSslError()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DDeviceOwnerProvisioningService.java171 error(R.string.device_owner_error_wifi, in startDeviceOwnerProvisioning()
195 error(R.string.device_owner_error_hash_mismatch); in startDeviceOwnerProvisioning()
198 error(R.string.device_owner_error_download_failed); in startDeviceOwnerProvisioning()
201 error(R.string.device_owner_error_general); in startDeviceOwnerProvisioning()
224 error(R.string.device_owner_error_general); in startDeviceOwnerProvisioning()
235 error(R.string.device_owner_error_package_invalid); in startDeviceOwnerProvisioning()
238 error(R.string.device_owner_error_installation_failed); in startDeviceOwnerProvisioning()
241 error(R.string.device_owner_error_package_name_invalid); in startDeviceOwnerProvisioning()
244 error(R.string.device_owner_error_general); in startDeviceOwnerProvisioning()
263 error(R.string.device_owner_error_package_not_installed); in startDeviceOwnerProvisioning()
[all …]
DProfileOwnerProvisioningService.java136 error(e.getMessage(), e); in doInBackground()
140 error("Failed to initialize managed profile, aborting.", e); in doInBackground()
278 error(e.getMessage(), e); in startManagedProfileProvisioning()
280 error("Provisioning failed", e); in startManagedProfileProvisioning()
288 error("Delete non required apps task failed.", new Exception()); in startManagedProfileProvisioning()
570 private void error(String dialogMessage, Exception e) { in error() method in ProfileOwnerProvisioningService
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_pan.cpp23 error("Callback: '%s' is not called on the correct thread", __FUNCTION__);\
38 #define error(fmt, ...) ALOGE ("## ERROR : %s(L%d): " fmt "##",__FUNCTION__, __LINE__, ## __VA_ARGS… macro
59 static void control_state_callback(btpan_control_state_t state, int local_role, bt_status_t error, in control_state_callback() argument
65 (jint)error, js_ifname); in control_state_callback()
69 static void connection_state_callback(btpan_connection_state_t state, bt_status_t error, const bt_b… in connection_state_callback() argument
76 error("Fail to new jbyteArray bd addr for PAN channel state"); in connection_state_callback()
83 (jint)error, (jint)local_role, (jint)remote_role); in connection_state_callback()
115 error("Bluetooth module is not loaded"); in initializeNative()
133 error("Failed to get Bluetooth PAN Interface"); in initializeNative()
141 error("Failed to initialize Bluetooth PAN, status: %d", status); in initializeNative()
[all …]
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeNfcManager.java128 int error = doGetLastError(); in createLlcpConnectionlessSocket() local
130 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpConnectionlessSocket()
132 switch (error) { in createLlcpConnectionlessSocket()
135 throw new LlcpException(error); in createLlcpConnectionlessSocket()
152 int error = doGetLastError(); in createLlcpServerSocket() local
154 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpServerSocket()
156 switch (error) { in createLlcpServerSocket()
159 throw new LlcpException(error); in createLlcpServerSocket()
176 int error = doGetLastError(); in createLlcpSocket() local
178 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpSocket()
[all …]
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
DNativeNfcManager.java186 int error = doGetLastError(); in createLlcpConnectionlessSocket() local
188 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpConnectionlessSocket()
190 switch (error) { in createLlcpConnectionlessSocket()
193 throw new LlcpException(error); in createLlcpConnectionlessSocket()
210 int error = doGetLastError(); in createLlcpServerSocket() local
212 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpServerSocket()
214 switch (error) { in createLlcpServerSocket()
217 throw new LlcpException(error); in createLlcpServerSocket()
234 int error = doGetLastError(); in createLlcpSocket() local
236 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpSocket()
[all …]
/packages/screensavers/Basic/src/com/android/dreams/basic/
DColorsGLRenderer.java179 int error = mEgl.eglGetError(); in initGL() local
180 if (error == EGL10.EGL_BAD_NATIVE_WINDOW) { in initGL()
185 + GLUtils.getEGLErrorString(error)); in initGL()
250 String error = glGetProgramInfoLog(program); in buildProgram() local
251 Log.d(TAG, "Error while linking program:\n" + error); in buildProgram()
273 String error = glGetShaderInfoLog(shader); in buildShader() local
274 Log.d(TAG, "Error while compiling shader:\n" + error); in buildShader()
283 int error = mEgl.eglGetError(); in checkEglError() local
284 if (error != EGL10.EGL_SUCCESS) { in checkEglError()
285 Log.w(TAG, "EGL error = 0x" + Integer.toHexString(error)); in checkEglError()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java285 boolean error = false; in sendEventHandler()
325 error = true; in sendEventHandler()
330 if (!error) { in sendEventHandler()
336 error = true; in sendEventHandler()
340 if (!error) { in sendEventHandler()
353 error = true; in sendEventHandler()
360 error = true; in sendEventHandler()
363 error = true; in sendEventHandler()
373 if ((!error) && (putOperation != null)) { in sendEventHandler()
/packages/apps/Gallery2/src/com/android/photos/views/
DBlockingGLTextureView.java222 int error = mEgl.eglGetError(); in createSurface() local
223 if (error == EGL10.EGL_BAD_NATIVE_WINDOW) { in createSurface()
292 public static void throwEglException(String function, int error) { in throwEglException() argument
293 String message = formatEglError(function, error); in throwEglException()
297 public static void logEglErrorAsWarning(String tag, String function, int error) { in logEglErrorAsWarning() argument
298 Log.w(tag, formatEglError(function, error)); in logEglErrorAsWarning()
301 public static String formatEglError(String function, int error) { in formatEglError() argument
302 return function + " failed: " + error; in formatEglError()
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java338 public ConnectState(byte[] address, int state, int error, int local_role, int remote_role) { in ConnectState() argument
341 this.error = error; in ConnectState()
347 int error; field in PanService.ConnectState
351 private void onConnectStateChanged(byte[] address, int state, int error, int local_role, in onConnectStateChanged() argument
358 msg.obj = new ConnectState(address, state, error, local_role, remote_role); in onConnectStateChanged()
361 private void onControlStateChanged(int local_role, int state, int error, String ifname) { in onControlStateChanged() argument
363 log("onControlStateChanged: " + state + ", error: " + error + ", ifname: " + ifname); in onControlStateChanged()
364 if(error == 0) in onControlStateChanged()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DExternalAccountType.java148 final StringBuilder error = new StringBuilder(); in ExternalAccountType()
149 error.append("Problem reading XML"); in ExternalAccountType()
151 error.append(" in line "); in ExternalAccountType()
152 error.append(parser.getLineNumber()); in ExternalAccountType()
154 error.append(" for external package "); in ExternalAccountType()
155 error.append(packageName); in ExternalAccountType()
157 Log.e(TAG, error.toString(), e); in ExternalAccountType()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java338 boolean error = false; in sendFile()
369 error = true; in sendFile()
375 if (!error) { in sendFile()
384 error = true; in sendFile()
387 if (!error) { in sendFile()
394 if (!error) { in sendFile()
489 error = true; in sendFile()
507 if (!error) { in sendFile()
DBluetoothOppObexServerSession.java440 boolean error = false; in receiveFile()
446 error = true; in receiveFile()
451 if (!error) { in receiveFile()
458 if (!error) { in receiveFile()
462 if (!error) { in receiveFile()
500 error = true; in receiveFile()
/packages/apps/Nfc/nxp/jni/
Dcom_android_nfc_NativeNfcManager.cpp1192 goto error; in nfc_jni_transaction_callback()
1198 error: in nfc_jni_transaction_callback()
1908 goto error; in com_android_nfc_NfcManager_doCreateLlcpConnectionlessSocket()
1934 goto error; in com_android_nfc_NfcManager_doCreateLlcpConnectionlessSocket()
1942 goto error; in com_android_nfc_NfcManager_doCreateLlcpConnectionlessSocket()
1949 goto error; in com_android_nfc_NfcManager_doCreateLlcpConnectionlessSocket()
1968 error: in com_android_nfc_NfcManager_doCreateLlcpConnectionlessSocket()
2019 goto error; in com_android_nfc_NfcManager_doCreateLlcpServiceSocket()
2043 goto error; in com_android_nfc_NfcManager_doCreateLlcpServiceSocket()
2062 goto error; in com_android_nfc_NfcManager_doCreateLlcpServiceSocket()
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DStopRequestException.java52 final String error = "Unhandled HTTP response: " + code + " " + message; in throwUnhandledHttpError() local
54 throw new StopRequestException(code, error); in throwUnhandledHttpError()
56 throw new StopRequestException(STATUS_UNHANDLED_REDIRECT, error); in throwUnhandledHttpError()
58 throw new StopRequestException(STATUS_UNHANDLED_HTTP_CODE, error); in throwUnhandledHttpError()
/packages/apps/Settings/src/com/android/settings/
DCredentialStorage.java520 mError = (TextView) view.findViewById(R.id.error); in UnlockDialog()
553 int error = mKeyStore.getLastError(); in onDismiss() local
554 if (error == KeyStore.NO_ERROR) { in onDismiss()
562 } else if (error == KeyStore.UNINITIALIZED) { in onDismiss()
569 } else if (error >= KeyStore.WRONG_PASSWORD) { in onDismiss()
571 mRetriesRemaining = error - KeyStore.WRONG_PASSWORD + 1; in onDismiss()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DResendMessageAction.java95 String error = "ResendMessageAction: Cannot resend message " + messageId + "; "; in executeAction() local
97 error += ("status = " + MessageData.getStatusDescription(message.getStatus())); in executeAction()
99 error += "not found in database"; in executeAction()
101 LogUtil.e(TAG, error); in executeAction()
/packages/services/Telephony/src/com/android/phone/
DTimeConsumingPreferenceActivity.java19 public void onError(Preference preference, int error); in onError() argument
184 public void onError(Preference preference, int error) { in onError() argument
186 if (DBG) Log.d(LOG_TAG, "onError, preference=" + preference.getKey() + ", error=" + error); in onError()
189 showDialog(error); in onError()
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
DSurfaceTextureView.java52 int error; in checkGlError() local
53 while ((error = GLES20.glGetError()) != GLES20.GL_NO_ERROR) { in checkGlError()
54 Log.e(TAG, op + ": glError " + error); in checkGlError()
55 throw new RuntimeException(op + ": glError " + error); in checkGlError()
/packages/services/Telephony/src/com/android/phone/settings/
DVoicemailSettingsActivity.java728 Throwable error = null; in handleForwardingSettingsReadResult() local
730 error = ar.exception; in handleForwardingSettingsReadResult()
731 if (DBG) Log.d(LOG_TAG, "FwdRead: ar.exception=" + error.getMessage()); in handleForwardingSettingsReadResult()
734 error = (Throwable) ar.userObj; in handleForwardingSettingsReadResult()
735 if (DBG) Log.d(LOG_TAG, "FwdRead: userObj=" + error.getMessage()); in handleForwardingSettingsReadResult()
745 if (error != null) { in handleForwardingSettingsReadResult()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraErrorCallback.java25 public void onError(int error, android.hardware.Camera camera) { in onError() argument
26 Log.e(TAG, "Got camera error callback. error=" + error); in onError()
27 if (error == android.hardware.Camera.CAMERA_ERROR_SERVER_DIED) { in onError()
/packages/apps/Camera/src/com/android/camera/
DCameraErrorCallback.java26 public void onError(int error, android.hardware.Camera camera) { in onError() argument
27 Log.e(TAG, "Got camera error callback. error=" + error); in onError()
28 if (error == android.hardware.Camera.CAMERA_ERROR_SERVER_DIED) { in onError()
/packages/apps/Messaging/jni/
DGifTranscoder.cpp79 int error; in transcode() local
87 gifIn = DGifOpenFileName(pathIn, &error); in transcode()
92 LOGE("Could not open input GIF: %s, error = %d", pathIn, error); in transcode()
96 gifOut = EGifOpenFileName(pathOut, false, &error); in transcode()
101 LOGE("Could not open output GIF: %s, error = %d", pathOut, error); in transcode()

12345