Home
last modified time | relevance | path

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

12345678910

/packages/services/Car/car-lib/
DAndroid.bp152 …args: " -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9 -error 10 -error 1…
153 … " -error 12 -error 13 -error 14 -error 15 -error 16 -error 17 -error 18 -error 19 -error 20 " +
154 " -error 21 -error 23 -error 24 -error 25 -hide 113 ",
176 …args: " -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9 -error 10 -error 1…
177 … " -error 12 -error 13 -error 14 -error 15 -error 16 -error 17 -error 18 -error 19 -error 20 " +
178 " -error 21 -error 23 -error 24 -error 25 -hide 113 ",
193 …args: " -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9 -error 10 -error 1…
194 … " -error 12 -error 13 -error 14 -error 15 -error 16 -error 17 -error 18 -error 19 -error 20 " +
195 " -error 21 -error 23 -error 24 -error 25 -hide 113 ",
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_pan.cpp33 #define error(fmt, ...) \ macro
61 bt_status_t error, const char* ifname) { in control_state_callback() argument
64 error("Callbacks Obj is NULL: '%s", __func__); in control_state_callback()
72 (jint)local_role, (jint)state, (jint)error, in control_state_callback()
77 bt_status_t error, in connection_state_callback() argument
83 error("Callbacks Obj is NULL: '%s", __func__); in connection_state_callback()
90 error("Fail to new jbyteArray bd addr for PAN channel state"); in connection_state_callback()
94 addr.get(), (jint)state, (jint)error, in connection_state_callback()
120 error("Bluetooth module is not loaded"); in initializeNative()
138 error("Failed to get Bluetooth PAN Interface"); in initializeNative()
[all …]
/packages/modules/DnsResolver/
Dgetaddrinfo.cpp186 error = EAI_MEMORY; \
194 error = get_port((ai), (serv), 0); \
195 if (error != 0) goto free; \
335 int error = 0; in android_getaddrinfofornetcontext() local
339 error = EAI_NONAME; in android_getaddrinfofornetcontext()
343 if (hints && (error = validateHints(hints))) break; in android_getaddrinfofornetcontext()
354 error = get_portmatch(&tmp, servname); in android_getaddrinfofornetcontext()
355 if (error) break; in android_getaddrinfofornetcontext()
375 error = explore_null(&tmp, servname, &cur->ai_next); in android_getaddrinfofornetcontext()
377 error = explore_numeric_scope(&tmp, hostname, servname, &cur->ai_next); in android_getaddrinfofornetcontext()
[all …]
Dstats.proto53 NS_R_NO_ERROR = 0; // No error occurred.
54 NS_R_FORMERR = 1; // Format error.
56 NS_R_NXDOMAIN = 3; // Name error.
220 SYS_EIO = 5; // I/O error
223 SYS_ENOEXEC = 8; // Exec format error
250 SYS_EDEADLOCK = 35; // File locking deadlock error
281 SYS_EADV = 68; // Advertise error
282 SYS_ESRMNT = 69; // Srmount error
283 SYS_ECOMM = 70; // Communication error on send
284 SYS_EPROTO = 71; // Protocol error
[all …]
/packages/services/Car/tools/emulator/
Dvhal_emulator_test.py100 self._log.error("generateTestValue: valType=0x%X is not handled", valType)
108 self._log.error("getValueFromMsg: Received invalid value")
129 self._log.error("getValueFromMsg: valType=0x%X is not handled", valType)
132 self._log.error("getValueFromMsg: Received malformed message: %s", str(rxMsg))
147 self._log.error("getVmsMessageTypeFromMsg: Received invalid message")
158 … self._log.error("rxMsg Type expected: 0x%X, received: 0x%X", expectedType, rxMsg.msg_type)
161 … self._log.error("rxMsg Status expected: 0x%X, received: 0x%X", expectedStatus, rxMsg.status)
176 … self._log.error("testGetConfig failed. prop=0x%X, expected:\n%s\nreceived:\n%s",
190 self._log.error("testGetBadConfig prop=0x%X, expected:None, received:\n%s",
200 self._log.error("testGetPropertyAll: Failed to receive proper rxMsg")
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClient.java150 error("Tried to do a reconnect operation on a client that is not connected"); in refreshSession()
211 error("Adding messages failed, connection state: " + isConnected()); in getImageProperties()
224 error("Adding messages failed, connection state: " + isConnected()); in getImage()
272 error("Error connecting, code: " + responseCode); in connect()
276 error("Exception while connecting to AVRCP BIP server", e); in connect()
292 error("Exception while disconnecting from AVRCP BIP server", e); in refreshObexSession()
309 error("Error reconnecting, code: " + responseCode); in refreshObexSession()
313 error("Exception while reconnecting to AVRCP BIP server", e); in refreshObexSession()
331 error("Exception while disconnecting from AVRCP BIP server: " + e.toString()); in disconnect()
340 error("Exception while closing AVRCP BIP session: ", e); in disconnect()
[all …]
DAvrcpCoverArtStorage.java91 error("Cannot store image. Cannot provide a valid path to storage"); in addImage()
98 error("Cannot store image. Cannot get a valid path to per-device storage"); in addImage()
111 error("Failed to store '" + imageHandle + "' to '" + path + "'"); in addImage()
131 error("Cannot remove image. Cannot get a valid path to storage"); in removeImage()
150 error("Cannot remove images for device. Cannot get a valid path to storage"); in removeImagesForDevice()
163 error("Cannot remove images, cannot get a valid path to storage. Is it mounted?"); in clear()
175 error("Cannot get storage directory, state=" + Environment.getExternalStorageState()); in getStorageDirectory()
194 error("Cannot delete directory, file is null"); in deleteStorageDirectory()
243 private void error(String msg) { in error() method in AvrcpCoverArtStorage
/packages/screensavers/Basic/src/com/android/dreams/basic/
DColorsGLRenderer.java180 int error = mEgl.eglGetError(); in initGL() local
181 if (error == EGL10.EGL_BAD_NATIVE_WINDOW) { in initGL()
186 + GLUtils.getEGLErrorString(error)); in initGL()
251 String error = glGetProgramInfoLog(program); in buildProgram() local
252 Log.d(TAG, "Error while linking program:\n" + error); in buildProgram()
274 String error = glGetShaderInfoLog(shader); in buildShader() local
275 Log.d(TAG, "Error while compiling shader:\n" + error); in buildShader()
284 int error = mEgl.eglGetError(); in checkEglError() local
285 if (error != EGL10.EGL_SUCCESS) { in checkEglError()
286 Log.w(TAG, "EGL error = 0x" + Integer.toHexString(error)); in checkEglError()
[all …]
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeNfcManager.java214 int error = doGetLastError(); in createLlcpConnectionlessSocket() local
216 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpConnectionlessSocket()
218 switch (error) { in createLlcpConnectionlessSocket()
221 throw new LlcpException(error); in createLlcpConnectionlessSocket()
238 int error = doGetLastError(); in createLlcpServerSocket() local
240 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpServerSocket()
242 switch (error) { in createLlcpServerSocket()
245 throw new LlcpException(error); in createLlcpServerSocket()
262 int error = doGetLastError(); in createLlcpSocket() local
264 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpSocket()
[all …]
/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/services/Car/car-bugreportd/
Dmain.cpp127 int error = 0; in zipFilesToFd() local
131 error = writer->StartEntry(name.c_str(), 0); in zipFilesToFd()
132 if (error) { in zipFilesToFd()
133 ALOGE("Failed to start entry %s", writer->ErrorCodeString(error)); in zipFilesToFd()
156 error = writer->WriteBytes(buffer, bytes_read); in zipFilesToFd()
157 if (error) { in zipFilesToFd()
158 ALOGE("WriteBytes() failed %s", ZipWriter::ErrorCodeString(error)); in zipFilesToFd()
164 error = writer->FinishEntry(); in zipFilesToFd()
165 if (error) { in zipFilesToFd()
166 ALOGE("failed to finish entry %s", writer->ErrorCodeString(error)); in zipFilesToFd()
[all …]
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/
DColorExtractionAlgorithm.java218 float error = in bestFit() local
222 if (error < minError) { in bestFit()
223 minError = error; in bestFit()
240 float error = Float.POSITIVE_INFINITY; in findTonalPalette() local
260 if (h <= candidate.minHue && candidate.minHue - h < error) { in findTonalPalette()
262 error = candidate.minHue - h; in findTonalPalette()
263 } else if (h >= candidate.maxHue && h - candidate.maxHue < error) { in findTonalPalette()
265 error = h - candidate.maxHue; in findTonalPalette()
267 && h - fract(candidate.maxHue) < error) { in findTonalPalette()
269 error = h - fract(candidate.maxHue); in findTonalPalette()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DProvisioningManagerHelper.java90 public void error(int titleId, int messageId, boolean factoryResetRequired) { in error() method in ProvisioningManagerHelper
94 callback.error(titleId, messageId, factoryResetRequired); in error()
105 final Pair<Pair<Integer, Integer>, Boolean> error = mLastError; in callLastCallbackLocked() local
107 callback.error(error.first.first, error.first.second, error.second); in callLastCallbackLocked()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageProperties.java212 error("XML parser error when parsing XML", e); in parse()
214 error("I/O error when parsing XML", e); in parse()
279 error("Native format " + format.toString() + " is invalid."); in toString()
297 error("Variant format " + format.toString() + " is invalid."); in toString()
320 error("Attachment format " + format.toString() + " is invalid."); in toString()
345 error("Falied to serialize ImageProperties", e); in toString()
347 error("Falied to serialize ImageProperties", e); in toString()
349 error("Falied to serialize ImageProperties", e); in toString()
372 private static void error(String msg) { in error() method in BipImageProperties
376 private static void error(String msg, Throwable e) { in error() method in BipImageProperties
DBipImageDescriptor.java233 error("Failed to parse '" + s + "'"); in parseInt()
288 error("Missing required fields [ " + (mEncoding == null ? "encoding " : "") in toString()
317 error(e.toString()); in toString()
319 error(e.toString()); in toString()
321 error(e.toString()); in toString()
326 private static void error(String msg) { in error() method in BipImageDescriptor
/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/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java648 public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) { in onReceivedSslError() argument
649 final String strErrorUrl = error.getUrl(); in onReceivedSslError()
652 sslErrorName(error), sanitizeURL(errorUrl), error.getCertificate())); in onReceivedSslError()
665 mSslError = error; in onReceivedSslError()
798 private void showSslAlertDialog(SslErrorHandler handler, SslError error, String title) { in showSslAlertDialog() argument
803 setViewSecurityCertificate(sslWarningView.findViewById(R.id.certificate_layout), error); in showSslAlertDialog() local
805 .setText(sslErrorName(error)); in showSslAlertDialog()
807 ((TextView) sslWarningView.findViewById(R.id.address)).setText(error.getUrl()); in showSslAlertDialog()
821 private void setViewSecurityCertificate(LinearLayout certificateLayout, SslError error) { in setViewSecurityCertificate() argument
823 .setText(sslErrorMessage(error)); in setViewSecurityCertificate()
[all …]
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailAlertViewHolder.java23 import com.android.dialer.voicemail.listui.error.VoicemailErrorMessage.Action;
41 void setTitle(CharSequence error) { in setTitle() argument
42 voicemailErrorTitleTextView.setText(error); in setTitle()
45 void setDescription(CharSequence error) { in setDescription() argument
46 voicemailErrorDetailsTextView.setText(error); in setDescription()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java437 boolean error = false; in sendEventHandler()
479 error = true; in sendEventHandler()
484 if (!error) { in sendEventHandler()
492 error = true; in sendEventHandler()
496 if (!error) { in sendEventHandler()
509 error = true; in sendEventHandler()
516 error = true; in sendEventHandler()
519 error = true; in sendEventHandler()
529 if ((!error) && (putOperation != null)) { in sendEventHandler()
/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/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DStructNlMsgErr.java43 struct.error = byteBuffer.getInt(); in parse()
48 public int error; field in StructNlMsgErr
55 byteBuffer.putInt(error); in pack()
64 + "error{" + error + "}, " in toString()
/packages/modules/NetworkStack/tests/hostdriven/host/src/com/android/networkstack/hosttests/
DNetworkStackHostTests.kt71 val error = mDevice.installPackage( in testInstallAndRollback() constant
74 assumeFalse(error != null && error.contains("Unknown option --staged")) in testInstallAndRollback()
75 assertNull(error, "Error installing module package: $error") in testInstallAndRollback()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DPasswordHelper.java114 private int translateSettingsToSuwError(int error) { in translateSettingsToSuwError() argument
116 if ((error & CONTAINS_NON_DIGITS) > 0) { in translateSettingsToSuwError()
120 if ((error & CONTAINS_INVALID_CHARACTERS) > 0) { in translateSettingsToSuwError()
124 if ((error & TOO_SHORT) > 0) { in translateSettingsToSuwError()
128 if ((error & CONTAINS_SEQUENTIAL_DIGITS) > 0) { in translateSettingsToSuwError()
/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()

12345678910