Home
last modified time | relevance | path

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

12345

/packages/services/Car/
Dapicheck.mk143 -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9 -error 10 -error 11 \
144 -error 12 -error 13 -error 14 -error 15 -error 16 -error 17 -error 18 -error 19 -error 20 \
145 -error 21 -error 23 -error 24 -error 25 -hide 113, \
202 -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9 -error 10 -error 11 \
203 -error 12 -error 13 -error 14 -error 15 -error 16 -error 17 -error 18 -error 19 -error 20 \
204 -error 21 -error 23 -error 24 -error 25 -hide 113, \
/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()
112 error("Bluetooth module is not loaded"); in initializeNative()
130 error("Failed to get Bluetooth PAN Interface"); in initializeNative()
138 error("Failed to initialize Bluetooth PAN, status: %d", status); in initializeNative()
[all …]
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
DNativeNfcManager.java202 int error = doGetLastError(); in createLlcpConnectionlessSocket() local
204 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpConnectionlessSocket()
206 switch (error) { in createLlcpConnectionlessSocket()
209 throw new LlcpException(error); in createLlcpConnectionlessSocket()
226 int error = doGetLastError(); in createLlcpServerSocket() local
228 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpServerSocket()
230 switch (error) { in createLlcpServerSocket()
233 throw new LlcpException(error); in createLlcpServerSocket()
250 int error = doGetLastError(); in createLlcpSocket() local
252 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpSocket()
[all …]
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeNfcManager.java173 int error = doGetLastError(); in createLlcpConnectionlessSocket() local
175 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpConnectionlessSocket()
177 switch (error) { in createLlcpConnectionlessSocket()
180 throw new LlcpException(error); in createLlcpConnectionlessSocket()
197 int error = doGetLastError(); in createLlcpServerSocket() local
199 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpServerSocket()
201 switch (error) { in createLlcpServerSocket()
204 throw new LlcpException(error); in createLlcpServerSocket()
221 int error = doGetLastError(); in createLlcpSocket() local
223 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpSocket()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DDeviceOwnerProvisioningService.java173 error(R.string.device_owner_error_wifi, in startDeviceOwnerProvisioning()
193 error(R.string.device_owner_error_hash_mismatch); in startDeviceOwnerProvisioning()
196 error(R.string.device_owner_error_download_failed); in startDeviceOwnerProvisioning()
199 error(R.string.device_owner_error_general); in startDeviceOwnerProvisioning()
220 error(R.string.device_owner_error_general); in startDeviceOwnerProvisioning()
231 error(R.string.device_owner_error_package_invalid); in startDeviceOwnerProvisioning()
234 error(R.string.device_owner_error_installation_failed); in startDeviceOwnerProvisioning()
237 error(R.string.device_owner_error_general); in startDeviceOwnerProvisioning()
253 error(R.string.device_owner_error_general); in startDeviceOwnerProvisioning()
278 error(R.string.device_owner_error_general); in startDeviceOwnerProvisioning()
[all …]
DProfileOwnerProvisioningService.java128 error(e.getMessage(), e); in doInBackground()
132 error("Failed to initialize managed profile, aborting.", e); in doInBackground()
285 error(e.getMessage(), e); in startManagedProfileOrUserProvisioning()
287 error("Provisioning failed", e); in startManagedProfileOrUserProvisioning()
295 error("Delete non required apps task failed.", new Exception()); in startManagedProfileOrUserProvisioning()
541 private void error(String dialogMessage, Exception e) { in error() method in ProfileOwnerProvisioningService
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dstrtod.h146 int error = (remaining == 0) ? 0 : kUlp / 2; in StrtodDiyFp() local
150 error <<= -v.e; in StrtodDiyFp()
170 error += kUlp / 2; in StrtodDiyFp()
175 error += kUlp + (error == 0 ? 0 : 1); in StrtodDiyFp()
179 error <<= oldExp - v.e; in StrtodDiyFp()
187 error = (error >> scaleExp) + 1 + static_cast<int>(kUlp); in StrtodDiyFp()
194 if (precisionBits >= halfWay + static_cast<unsigned>(error)) { in StrtodDiyFp()
204 …urn halfWay - static_cast<unsigned>(error) >= precisionBits || precisionBits >= halfWay + static_c… in StrtodDiyFp()
/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/services/Car/libvehiclenetwork/native/
DVehicleNetwork.cpp54 VehicleHalError* error = new VehicleHalError(errorCode, property, operation); in handleHalError() local
55 if (error == NULL) { in handleHalError()
59 mHalErrors.push_back(error); in handleHalError()
85 VehicleHalError* error = NULL; in doHandleHalError() local
90 error = *itr; in doHandleHalError()
94 if (error != NULL) { in doHandleHalError()
95 mListener->onHalError(error->errorCode, error->property, error->operation); in doHandleHalError()
96 delete error; in doHandleHalError()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Ddocumenttest.cpp393 ParseResult error(a.GetParseError(), a.GetErrorOffset()); in TYPED_TEST() local
395 EXPECT_NE(error.Code(), noError.Code()); in TYPED_TEST()
396 EXPECT_NE(error.Offset(), noError.Offset()); in TYPED_TEST()
402 EXPECT_EQ(b.GetParseError(), error.Code()); in TYPED_TEST()
404 EXPECT_EQ(b.GetErrorOffset(), error.Offset()); in TYPED_TEST()
410 EXPECT_EQ(c.GetParseError(), error.Code()); in TYPED_TEST()
412 EXPECT_EQ(c.GetErrorOffset(), error.Offset()); in TYPED_TEST()
488 ParseResult error(a.GetParseError(), a.GetErrorOffset()); in TYPED_TEST() local
490 EXPECT_NE(error.Code(), noError.Code()); in TYPED_TEST()
491 EXPECT_NE(error.Offset(), noError.Offset()); in TYPED_TEST()
[all …]
/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/services/Car/vehicle_network_service/
DVehicleNetworkService.cpp81 void VehicleHalMessageHandler::handleHalError(VehicleHalError* error) { in handleHalError() argument
83 mHalErrors.push_back(error); in handleHalError()
129 VehicleHalError* error = NULL; in doHandleHalError() local
134 error = *itr; in doHandleHalError()
138 if (error != NULL) { in doHandleHalError()
139 mService.dispatchHalError(error); in doHandleHalError()
987 VehicleHalError* error = NULL; in onHalError() local
997 error = new VehicleHalError(errorCode, property, operation); in onHalError()
998 if (error == NULL) { in onHalError()
1005 handler->handleHalError(error); in onHalError()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/components/
DErrorDialogActivity.java55 final CharSequence error = getIntent().getCharSequenceExtra( in onCreate() local
57 showGenericErrorDialog(error); in onCreate()
59 final int error = getIntent().getIntExtra(ERROR_MESSAGE_ID_EXTRA, -1); in onCreate() local
60 if (error == -1) { in onCreate()
64 showGenericErrorDialog(error); in onCreate()
/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/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java391 boolean error = false; in sendEventHandler()
431 error = true; in sendEventHandler()
436 if (!error) { in sendEventHandler()
442 error = true; in sendEventHandler()
446 if (!error) { in sendEventHandler()
459 error = true; in sendEventHandler()
466 error = true; in sendEventHandler()
469 error = true; in sendEventHandler()
479 if ((!error) && (putOperation != null)) { in sendEventHandler()
/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/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/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/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/services/Car/libvehiclenetwork/libvehiclenetwork-audio-helper/src/
Dvehicle-network-audio-helper-for-c.cpp35 goto error; in vehicle_network_audio_helper_create()
39 goto error; in vehicle_network_audio_helper_create()
44 error: in vehicle_network_audio_helper_create()
/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()
483 error = true; in sendFile()
505 if (!error) { in sendFile()
/packages/services/Telephony/src/com/android/phone/
DErrorDialogActivity.java47 final int error = getIntent().getIntExtra(ERROR_MESSAGE_ID_EXTRA, -1); in onCreate() local
48 if (error == -1) { in onCreate()
52 showGenericErrorDialog(error); in onCreate()
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/apps/Settings/src/com/android/settings/
DCredentialStorage.java519 mError = (TextView) view.findViewById(R.id.error); in UnlockDialog()
552 int error = mKeyStore.getLastError(); in onDismiss() local
553 if (error == KeyStore.NO_ERROR) { in onDismiss()
561 } else if (error == KeyStore.UNINITIALIZED) { in onDismiss()
568 } else if (error >= KeyStore.WRONG_PASSWORD) { in onDismiss()
570 mRetriesRemaining = error - KeyStore.WRONG_PASSWORD + 1; in onDismiss()

12345