Searched defs:error (Results 251 - 275 of 293) sorted by relevance

<<1112

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DRemotePrintDocument.java129 CharSequence error = mCurrentCommand.getError();
133 notifyUpdateFailed(error);
163 public void onUpdateFailed(CharSequence error); argument
351 throw new IllegalStateException("No update error to clear");
401 private void notifyUpdateFailed(CharSequence error) { argument
405 mUpdateCallbacks.onUpdateFailed(error);
679 protected final void failed(CharSequence error) { argument
685 mError = error;
821 private void handleOnLayoutFailed(CharSequence error, int sequence) { argument
832 failed(error);
984 onLayoutFailed(CharSequence error, int sequence) argument
1139 handleOnWriteFailed(CharSequence error, int sequence) argument
1273 onWriteFailed(CharSequence error, int sequence) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DTethering.java459 // If provisioning is successful, enable tethering, otherwise just send the error.
536 // Ignore the error status of the interface. If the interface is available,
544 // return an error.
640 "error", TextUtils.join(",", erroredList)));
1064 // we treated the error and want now to clear it
1525 // transitioned to an error state; exit early.
1827 int state, int error) {
1832 tetherState.lastError = error;
1838 mLog.log(String.format("OBSERVED iface=%s state=%s error=%s", iface, state, error));
1826 notifyInterfaceStateChange(String iface, TetherInterfaceStateMachine who, int state, int error) argument
[all...]
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java393 Slog.e(TAG, "error in release", e);
407 Slog.e(TAG, "error in unregisterCallback", e);
429 Slog.e(TAG, "error in onSessionReleased", e);
440 Slog.e(TAG, "error in onSessionReleased", e);
459 Slog.e(TAG, "error in release", e);
472 Slog.e(TAG, "error in unregisterCallback", e);
649 Slog.e(TAG, "error in createSession", e);
662 Slog.e(TAG, "error in onSessionCreated", e);
678 Slog.e(TAG, "error in releaseSession", e);
740 Slog.e(TAG, "error i
2696 onError(int error) argument
[all...]
/frameworks/base/tools/aapt/
H A DImages.cpp1386 status_t error = UNKNOWN_ERROR; local
1429 error = NO_ERROR;
1451 if (error != NO_ERROR) {
1455 return error;
1470 status_t error = UNKNOWN_ERROR; local
1480 return error;
1488 return error;
1496 return error;
1499 // Set a jump point for libpng to long jump back to on error
1503 return error;
[all...]
H A DCommand.cpp256 *outError = "error print resolved resource attribute";
430 String8 error; local
466 String8 category = AaptXml::getAttribute(tree, CATEGORY_ATTR, &error);
467 if (error != "") {
468 if (outError != NULL) *outError = error;
901 SourcePos(manifestFile, tree.getLineNumber()).error(
909 SourcePos(manifestFile, tree.getLineNumber()).error(
917 String8 error; local
918 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error);
919 if (error !
933 String8 error; local
950 String8 error; local
988 String8 error; local
[all...]
/frameworks/base/tools/aapt2/cmd/
H A DLink.cpp201 // where PP > 7f, as 0x7fPPEEEE. Any potential overlapping is verified and an error occurs if such
504 bool error = false; local
596 error |= !FlattenXml(context_, doc.get(), dst_path, options_.keep_raw_values,
600 error |= !io::CopyFileToArchive(context_, file_op.file_to_copy, file_op.dst_path,
606 return !error;
719 // ID 0x7f. So if one is not found, this is an error.
735 // We had an error with reading, so fail.
820 * stripped, or there is an error and false is returned.
828 bool error = false; local
849 error
1219 bool error = false; local
1668 bool error = false; local
1979 std::string error; local
1993 std::string error; local
[all...]
/frameworks/native/libs/hwc2on1adapter/include/hwc2on1adapter/
H A DHWC2On1Adapter.h92 auto error = getAdapter(device)->createVirtualDisplay(width, height, local
94 return static_cast<int32_t>(error);
100 auto error = getAdapter(device)->destroyVirtualDisplay(display); local
101 return static_cast<int32_t>(error);
122 auto error = getAdapter(device)->registerCallback(descriptor, local
124 return static_cast<int32_t>(error);
473 auto error = ((*display).*member)(std::forward<Args>(args)...); local
474 return static_cast<int32_t>(error);
619 auto error = std::get<HWC2::Error>(result); local
620 if (error
[all...]
/frameworks/native/opengl/libagl/
H A Degl.cpp76 static T setError(GLint error, T returnValue) { argument
83 pthread_setspecific(gEGLErrorKey, (void*)(uintptr_t)error);
90 GLint error = (GLint)(uintptr_t)pthread_getspecific(gEGLErrorKey);
91 if (error == 0) {
97 return error;
503 // internal compile error on simulator builds
1197 // error, this attribute doesn't exist
1209 // it is an error to set a context current, if it's already
1307 // there was a problem in the ctor, the error
1353 // there was a problem in the ctor, the error
[all...]
H A Dcontext.h633 GLenum error; member in struct:android::gl::ogles_context_t
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp340 bool error; local
363 startDim = hwcTestParseDim(in, error);
364 // Any parse error or characters not used by parser
365 if (error
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DComposerHal.cpp229 Error error = kDefaultError; local
233 error = tmpError;
234 if (error != Error::NONE) {
242 return error;
260 Error error = kDefaultError; local
263 error = tmpError;
264 if (error != Error::NONE) {
271 return error;
282 Error error = kDefaultError; local
285 error
307 Error error = kDefaultError; local
324 Error error = kDefaultError; local
341 Error error = kDefaultError; local
357 Error error = kDefaultError; local
383 Error error = kDefaultError; local
399 Error error = kDefaultError; local
417 Error error = kDefaultError; local
449 Error error = execute(); local
539 Error error = execute(); local
554 Error error = execute(); local
739 auto error = unwrapRet(ret); local
746 Error error = kDefaultError; local
879 auto error = static_cast<Error>(readSigned()); local
[all...]
H A DHWC2.cpp117 auto error = display->getType(&displayType); local
118 if (error != Error::None) {
120 ": %s (%d)", display->getId(), to_string(error).c_str(),
121 static_cast<int32_t>(error));
126 error = display->setVsyncEnabled(HWC2::Vsync::Disable);
127 if (error != Error::None) {
129 ": %s (%d)", display->getId(), to_string(error).c_str(),
130 static_cast<int32_t>(error));
157 auto error = static_cast<Error>(intError); local
158 if (error !
322 auto error = static_cast<Error>(intError); local
340 auto error = static_cast<Error>(intError); local
394 auto error = static_cast<Error>(intError); local
411 auto error = static_cast<Error>(intError); local
440 auto error = static_cast<Error>(intError); local
469 auto error = static_cast<Error>(intError); local
506 auto error = static_cast<Error>(intError); local
539 auto error = static_cast<Error>(intError); local
557 auto error = static_cast<HWC2::Error>(intError); local
580 auto error = static_cast<Error>(intError); local
611 auto error = static_cast<Error>(intError); local
688 auto error = static_cast<Error>(intError); local
705 auto error = static_cast<Error>(intError); local
734 auto error = static_cast<Error>(intError); local
764 auto error = static_cast<Error>(intError); local
781 auto error = static_cast<Error>(intError); local
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pServiceImpl.java242 // Protocol error
249 // Protocol error
255 // Previous protocol error, or disruptive behavior
274 // Unknown error
278 * Returns P2p status corresponding to a given error value
279 * @param error integer error value
282 public static P2pStatus valueOf(int error) { argument
283 switch(error) {
693 loge("Full connection failure, error
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSMSDispatcher.java482 messageRef, null /* ackPdu */, -1 /* unknown error code */);
682 int error = RESULT_ERROR_GENERIC_FAILURE;
685 error = RESULT_ERROR_FDN_CHECK_FAILURE;
687 tracker.onFailed(mContext, error, errorCode);
699 * @param sentIntent the PendingIntent to send the error to
715 * @return The result error based on input service state for not in service error
1127 return; // queue limit reached; error was returned to caller
1156 return; // queue limit reached; error was returned to caller
1394 * @param errorCode The error cod
1494 onFailed(Context context, int error, int errorCode) argument
[all...]
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dpicasso-2.5.2.jar ... .squareup.picasso.Picasso$LoadedFrom) abstract void error () void cancel () com.squareup.picasso.Request getRequest ...
/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dpicasso-2.5.2.jar ... .squareup.picasso.Picasso$LoadedFrom) abstract void error () void cancel () com.squareup.picasso.Request getRequest ...
/frameworks/base/media/java/android/media/
H A DAudioSystem.java191 /* Command failed or unspecified audio error. see ErrorCallback */
199 * Handles the audio error callback.
205 * param error error code:
210 void onError(int error); argument
214 * Registers a callback to be invoked when an error occurs.
227 private static void errorCallbackFromNative(int error) argument
236 errorCallback.onError(error);
/frameworks/base/media/java/android/media/tv/
H A DTvInputManager.java117 * an unspecified error.
199 * completed due to a problem that does not fit under any other error codes, or the error code
543 * @param error The error code.
545 void onError(Session session, @TvInputManager.RecordingError int error) { argument
718 void postError(final int error) { argument
722 mSessionCallback.onError(mSession, error);
1092 public void onError(int error, int seq) {
1099 record.postError(error);
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintActivity.java584 public void onUpdateFailed(CharSequence error) { argument
590 ensureErrorUiShown(error, PrintErrorFragment.ACTION_RETRY);
2100 new DocumentTransformer(this, mPrintJob, mFileProvider, attributes, error -> {
2101 if (error == null) {
2108 onPrintDocumentError(error);
3137 protected void onPostExecute(String error) {
3139 mCallback.accept(error);
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiControlService.java118 * @param error result of send request.
126 void onSendCompleted(int error); argument
844 HdmiLogger.error("Invalid message type:" + command);
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp557 bool error = false; local
561 error = true;
569 if (!error) {
1036 bool error = checkAndClearExceptionFromCallback(env, "interceptKeyBeforeDispatching"); local
1039 if (!error) {
/frameworks/base/telephony/java/android/telephony/
H A DTelephony.java443 Uri uri, int folder, int error) {
474 values.put(ERROR_CODE, error);
779 * Set by BroadcastReceiver to indicate a generic error while
838 * <li><em>"errorCode"</em> - An optional int error code associated with receiving
845 * <p>If a BroadcastReceiver encounters an error while processing
875 * <p>If a BroadcastReceiver encounters an error while processing
898 * <p>If a BroadcastReceiver encounters an error while processing
929 * <p>If a BroadcastReceiver encounters an error while processing
970 * <p>If a BroadcastReceiver encounters an error while processing
1001 * <p>If a BroadcastReceiver encounters an error whil
442 moveMessageToFolder(Context context, Uri uri, int folder, int error) argument
[all...]
/frameworks/base/tests/net/java/com/android/server/
H A DConnectivityServiceTest.java465 public void setStartKeepaliveError(int error) { argument
466 mStartKeepaliveError = error;
469 public void setStopKeepaliveError(int error) { argument
470 mStopKeepaliveError = error;
2699 public int error; field in class:ConnectivityServiceTest.TestKeepaliveCallback.CallbackValue
2703 this.error = PacketKeepalive.SUCCESS;
2704 assertTrue("onError callback must have error", type != CallbackType.ON_ERROR);
2707 public CallbackValue(CallbackType type, int error) { argument
2709 this.error = error;
2739 onError(int error) argument
2761 expectError(int error) argument
[all...]
/frameworks/native/cmds/installd/
H A DInstalldNativeService.cpp106 static binder::Status error() { function in namespace:android::installd::__anon1477
110 static binder::Status error(const std::string& msg) { function in namespace:android::installd::__anon1477
115 static binder::Status error(uint32_t code, const std::string& msg) { function in namespace:android::installd::__anon1477
369 return error("Failed to prepare " + path);
376 return error("Failed to restorecon " + path);
383 return error("Failed to write_path_inode for " + path);
390 return error("Failed to get_path_inode for " + path);
400 return error("Failed to prepare " + path);
407 return error("Failed to restorecon " + path);
411 return error("Faile
[all...]
/frameworks/native/libs/hwc2on1adapter/
H A DHWC2On1Adapter.cpp785 Error error = mDevice.setAllDisplays(); local
786 if (error != Error::None) {
788 to_string(error).c_str());
789 return error;
813 auto error = config->getHwc1IdForColorMode(mActiveColorMode, &hwc1Id); local
814 if (error != Error::None) {
815 return error;
856 auto error = mActiveConfig->getHwc1IdForColorMode(mode, &hwc1Config); local
857 if (error != Error::None) {
858 return error;
920 int error = 0; local
954 int error = mDevice.mHwc1Device->eventControl(mDevice.mHwc1Device, local
2477 Error error = display->set(*mHwc1Contents[hwc1Id]); local
[all...]

Completed in 306 milliseconds

<<1112