Searched defs:error (Results 51 - 75 of 293) sorted by relevance

1234567891011>>

/frameworks/av/media/libmedia/
H A DIRemoteDisplayClient.cpp60 void onDisplayError(int32_t error) argument
64 data.writeInt32(error);
95 int32_t error = data.readInt32(); local
96 onDisplayError(error);
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Daacenc_core.c61 Word32 error = 0; local
67 error=1;
70 if (!error) {
74 if (!error) {
75 error = InitElementInfo (config.nChannelsOut,
79 if (!error) {
83 if (!error) {
88 error = psyMainInit(&hAacEnc->psyKernel,
97 if(!error) {
102 if (!error) {
[all...]
/frameworks/base/cmds/hid/src/com/android/commands/hid/
H A DHid.java44 error("Usage: hid [FILE]");
63 error("HID injection failed.", e);
86 error("Error reading in events.", ex);
104 error("Unknown command \"" + e.getCommand() + "\". Ignoring event.");
122 private static void error(String msg) { method in class:Hid
123 error(msg, null);
126 private static void error(String msg, Exception e) { method in class:Hid
/frameworks/base/core/java/android/speech/
H A DRecognitionListener.java62 * A network or recognition error occurred.
64 * @param error code is defined in {@link SpeechRecognizer}
66 void onError(int error); argument
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DSOAPBuilder.java46 public static String buildUpdateResponse(String sessionID, OSUError error) { argument
48 buildSppUpdateResponse(envelope.getChildren().get(0), sessionID, error);
111 OSUError error) {
117 if (error == null) {
125 if (error != null) {
127 errorAttributes.put("errorCode", OMAConstants.mapError(error));
110 buildSppUpdateResponse(XMLNode parent, String sessionID, OSUError error) argument
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DKeepalivePacketData.java93 final public int error; field in class:KeepalivePacketData.InvalidPacketException
94 public InvalidPacketException(int error) { argument
95 this.error = error;
/frameworks/base/telephony/java/android/telephony/ims/stub/
H A DImsUtListenerImplBase.java49 public void utConfigurationUpdateFailed(IImsUt ut, int id, ImsReasonInfo error) argument
61 public void utConfigurationQueryFailed(IImsUt ut, int id, ImsReasonInfo error) argument
/frameworks/base/tools/aapt2/java/
H A DManifestClassGenerator.cpp107 bool error = false; local
112 error |= !WriteSymbol(res->file.source, diag, child_el,
115 error |= !WriteSymbol(res->file.source, diag, child_el,
121 if (error) {
/frameworks/base/tools/aapt2/link/
H A DProductFilter.cpp84 bool error = false; local
103 // An error occurred, we could not pick a product.
104 error = true;
120 return !error;
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DLog.java49 public void error(String format, Object... args) { method in class:Log
59 error(format + "\n" + sw.toString(), args);
/frameworks/compile/mclinker/lib/Support/
H A DTargetRegistry.cpp92 std::string error; local
93 result = lookupTarget(pTriple.getTriple(), error);
96 "'\n" + "(Detail: " + error + ")\n";
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
H A Ddisplay_client.h21 int error; local
23 if (auto surface = Create(attributes, &error))
26 status.SetError(error);
57 // TODO(eieio,avakulenko): Remove error param once pdx::ClientBase::Create()
59 explicit Surface(const SurfaceAttributes& attributes, int* error = nullptr);
61 int* error = nullptr);
81 explicit DisplayClient(int* error = nullptr);
/frameworks/native/libs/vr/libpdx_default_transport/private/pdx/default_transport/
H A Dservice_utility.h44 ServiceUtility(const std::string& endpoint_path, int* error = nullptr)
46 if (error)
47 *error = Client::error();
60 int error; local
61 auto utility = ServiceUtility::Create(fpath, &error);
63 if (error != -ECONNREFUSED) {
65 strerror(-error));
67 return kIgnoreErrors ? 0 : error;
76 return kIgnoreErrors ? 0 : -status.error();
[all...]
/frameworks/native/libs/vr/libperformance/
H A Dperformance_client.cpp15 PerformanceClient::PerformanceClient(int* error) argument
18 if (error)
19 *error = Client::error();
70 return status ? 0 : -status.error();
85 return -status.error();
97 int error; local
98 if (auto client = android::dvr::PerformanceClient::Create(&error))
101 return error;
106 int error; local
114 int error; local
[all...]
/frameworks/native/libs/vr/libvrflinger/
H A Dacquired_buffer.cpp16 int* error) {
20 if (error)
21 *error = ret;
15 AcquiredBuffer(const std::shared_ptr<BufferConsumer>& buffer, int* error) argument
/frameworks/rs/rsov/compiler/
H A DRSSPIRVWriter.cpp142 int error; local
143 auto wordsOut = spiritPasses.run(words, &error);
145 if (error != 0) {
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DTextInputLayoutActions.java40 return "Enables/disables the error";
55 public static ViewAction setError(final CharSequence error) { argument
64 return "Sets the error";
72 layout.setError(error);
88 return "Sets the error text appearance";
136 return "Sets the error";
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DTestCaseCollector.java114 mTestCases.add(error(clazz, "InstantiationException: could not instantiate " +
117 mTestCases.add(error(clazz, "IllegalAccessException: could not instantiate " +
122 private UiAutomatorTestCase error(Class<?> clazz, final String message) { method in class:TestCaseCollector
/frameworks/base/core/java/android/animation/
H A DKeyframeSet.java151 public static PathKeyframes ofPath(Path path, float error) { argument
152 return new PathKeyframes(path, error);
/frameworks/base/core/java/android/net/http/
H A DSslError.java52 * A generic error occurred
62 // Update if you add a new SSL error!!!
67 * The SSL error set bitfield (each individual error is a bit index;
73 * The SSL certificate associated with the error set
78 * The URL associated with the error set.
83 * Creates a new SslError object using the supplied error and certificate.
85 * @param error The SSL error
90 public SslError(int error, SslCertificat argument
102 SslError(int error, X509Certificate certificate) argument
113 SslError(int error, SslCertificate certificate, String url) argument
128 SslError(int error, X509Certificate certificate, String url) argument
139 SslErrorFromChromiumErrorCode( int error, SslCertificate cert, String url) argument
176 addError(int error) argument
190 hasError(int error) argument
[all...]
/frameworks/base/core/java/android/print/
H A DPrintDocumentAdapter.java140 * LayoutResultCallback#onLayoutFailed(CharSequence)}, if an error occurred;
198 * CharSequence)}, if an error occurred; or {@link WriteResultCallback#onWriteCancelled()},
278 * Notifies that an error occurred while writing the data.
280 * @param error The <strong>localized</strong> error message.
281 * shown to the user. May be <code>null</code> if error is unknown.
283 public void onWriteFailed(CharSequence error) { argument
322 * Notifies that an error occurred while laying out the document.
324 * @param error The <strong>localized</strong> error messag
327 onLayoutFailed(CharSequence error) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisCallback.java32 * {@link #error} can be called at any stage in the synthesis process to
33 * indicate that an error has occurred, but if the call is made after a call
100 * <p>This method has to be called if {@link #start} and/or {@link #error} was called.
113 void error(); method in interface:SynthesisCallback
124 void error(@TextToSpeech.Error int errorCode); method in interface:SynthesisCallback
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfUtils.cpp42 // Check if the last pdfium command failed and if so, forward the error to java via an exception. If
45 long error = FPDF_GetLastError(); local
46 switch (error) {
63 jniThrowException(env, "java/io/IOException", "page not found or content error");
67 jniThrowException(env, "java/lang/Exception", "load XFA error");
70 jniThrowException(env, "java/lang/Exception", "layout XFA error");
75 jniThrowExceptionFmt(env, "java/lang/Exception", "unknown error %d", error);
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerFunctionalTest.java69 * Verifies a particular error code was received from a download
72 * @param error The error code expected
75 public void doErrorTest(Uri uri, int error) throws Exception { argument
88 verifyInt(cursor, DownloadManager.COLUMN_REASON, error);
264 * Tests the download failure error after too many redirects (>5).
280 * Tests the download failure error from an unhandled HTTP status code
291 * Tests the download failure error from an unhandled HTTP status code
396 * Tests that we get an error code when the server drops the connection during a download.
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestHelper.java46 public void onError(int error, android.hardware.Camera camera) { argument
47 Assert.fail(String.format("Camera error, code: %d", error));

Completed in 4436 milliseconds

1234567891011>>