Searched defs:error (Results 151 - 175 of 351) sorted by relevance

1234567891011>>

/frameworks/base/core/jni/
H A Dandroid_media_RemoteDisplay.cpp90 virtual void onDisplayError(int32_t error) { argument
94 gRemoteDisplayClassInfo.notifyDisplayError, error);
H A Dandroid_os_VintfObject.cpp111 std::string error; local
112 int32_t status = VintfObject::CheckCompatibility(cPackageInfo, &error, checks);
114 LOG(WARNING) << "VintfObject.verify() returns " << status << ": " << error; local
H A Dfd_utils.cpp131 // |NULL| if an error occurred.
509 // error occurred.
528 bool error = false; local
536 // We'll only store the last error message.
545 // TODO(narayan): This will be an error in a future android release.
546 // error = true;
560 // We flag an error and remove it from the list of files we're
562 error = true;
584 // TODO(narayan): This will be an error in a future android release.
585 // error
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityTestsBase.java108 public void finishBad(String error) { argument
109 finishWithResult(Activity.RESULT_CANCELED, (new Intent()).setAction(error));
113 RuntimeException where = new RuntimeException("Original error was here");
/frameworks/base/libs/androidfw/
H A DZipFileRO.cpp70 const int32_t error = OpenArchive(zipFileName, &handle); local
71 if (error) {
72 ALOGW("Error opening archive %s: %s", zipFileName, ErrorCodeString(error));
85 const int32_t error = OpenArchiveFd(fd, debugFileName, &handle, assume_ownership); local
86 if (error) {
87 ALOGW("Error opening archive fd %d %s: %s", fd, debugFileName, ErrorCodeString(error));
101 const int32_t error = FindEntry(mHandle, data->name, &(data->entry)); local
102 if (error) {
154 int32_t error = StartIteration(mHandle, &(ze->cookie), local
157 if (error) {
171 int32_t error = Next(ze->cookie, &(ze->entry), &(ze->name)); local
247 const int32_t error = ExtractToMemory(mHandle, &(zipEntry->entry), local
265 const int32_t error = ExtractEntryToFile(mHandle, &(zipEntry->entry), fd); local
[all...]
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaVulkanPipeline.cpp170 status_t error = buffer->initCheck(); local
171 if (error < 0) {
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp53 static const char* egl_error_str(EGLint error) { argument
54 switch (error) {
71 return "Unknown error";
214 LOG_ALWAYS_FATAL("Failed to choose config, error = %s", eglErrorString());
244 ALOGE("Device claims wide gamut support, cannot find matching config, error = %s",
264 LOG_ALWAYS_FATAL_IF(mEglContext == EGL_NO_CONTEXT, "Failed to create context, error = %s",
346 ALOGW("Failed to destroy surface %p, error=%s", (void*)surface, eglErrorString());
377 ALOGW("Failed to make current on surface %p, error=%s", (void*)surface,
380 LOG_ALWAYS_FATAL("Failed to make current on surface %p, error=%s", (void*)surface,
423 LOG_ALWAYS_FATAL("Failed to set damage region on surface %p, error
[all...]
/frameworks/base/libs/hwui/tests/macrobench/
H A Dmain.cpp197 bool error = false; local
223 error = true;
231 error = true;
242 error = true;
255 error = true;
263 error = true;
267 error = true;
273 error = true;
277 error = true;
298 error
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvRecordingClient.java231 * This is called when an error occurred while establishing a connection to the recording
270 * @param error The error code. Should be one of the followings.
277 public void onError(@TvInputManager.RecordingError int error) { argument
378 public void onError(TvInputManager.Session session, int error) { argument
380 Log.d(TAG, "onError(error=" + error + ")");
386 mCallback.onError(error);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaRecorderStressTest.java136 public void onError(int error, android.hardware.Camera camera) { argument
137 fail(String.format("Camera error, code: %d", error));
143 fail(String.format("Media recorder error, code: %d\textra: %d", what, extra));
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaPlayerStateUnitTestTemplate.java374 * Sets the error value of the corresponding state to the given error.
377 * @param error the value of the state error to be set.
379 private void setStateError(MediaPlayerStateErrors.MediaPlayerState state, boolean error) { argument
382 mStateErrors.errorInIdleState = error;
385 mStateErrors.errorInIdleStateAfterReset = error;
388 mStateErrors.errorInInitializedState = error;
391 mStateErrors.errorInPreparedState = error;
394 mStateErrors.errorInPreparedStateAfterStop = error;
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLU.java29 * Return an error string from a GL or GLU error code.
31 * @param error - a GL or GLU error code.
32 * @return the error string for the input error code, or NULL if the input
33 * was not a valid GL or GLU error code.
35 public static String gluErrorString(int error) { argument
36 switch (error) {
38 return "no error";
[all...]
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
H A DCaptivePortalLoginActivity.java320 // HTTP error page in the absence of network connection.
434 public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) { argument
435 Log.w(TAG, "SSL error (error: " + error.getPrimaryError() + " host: "
437 + Uri.parse(error.getUrl()).getHost() + " certificate: "
438 + error.getCertificate() + "); displaying SSL warning.");
/frameworks/base/packages/SystemUI/src/com/android/systemui/fingerprint/
H A DFingerprintDialogImpl.java125 public void onFingerprintError(String error) { argument
126 if (DEBUG) Log.d(TAG, "onFingerprintError: " + error);
127 mHandler.obtainMessage(MSG_FINGERPRINT_ERROR, error).sendToTarget();
164 private void handleFingerprintError(String error) { argument
165 if (DEBUG) Log.d(TAG, "handleFingerprintError: " + error);
170 mDialogView.showErrorMessage(error);
H A DFingerprintDialogView.java126 mErrorText = mLayout.findViewById(R.id.error);
298 // Shows an error/help message
313 public void showErrorMessage(String error) { argument
314 showTemporaryMessage(error);
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DAuthenticationClient.java84 * (cancelled by the user, or an error such as lockout has occurred).
135 public boolean onError(int error, int vendorCode) { argument
146 mFingerprintManager.getErrorString(error, vendorCode));
148 Slog.e(TAG, "Remote exception when sending error", e);
151 return super.onError(error, vendorCode);
213 // TODO: if the dialog is showing, this error should be delayed. On a similar
H A DClientMonitor.java149 * Called when we get notification from fingerprint HAL that an error has occurred with the
151 * @param error
154 public boolean onError(int error, int vendorCode) { argument
157 mReceiver.onError(getHalDeviceId(), error, vendorCode);
/frameworks/base/services/core/jni/
H A Dcom_android_server_connectivity_Vpn.cpp69 goto error;
76 goto error;
83 goto error;
88 error:
220 int error = SYSTEM_ERROR; local
230 if ((error = ifc_add_address(name, address, jPrefixLength)) != 0) {
232 strerror(-error));
235 if ((error = ifc_del_address(name, address, jPrefixLength)) != 0) {
237 strerror(-error));
248 return !error;
253 throwException(JNIEnv *env, int error, const char *message) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java97 public QueryPoolException(String error) { argument
98 super(error);
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DAutomaticActivity.java44 * Threshold of error change required to consider a test regressed/improved
84 float error = mErrorCalculator.calcErrorRS(mSoftwareBitmap, mHardwareBitmap);
88 handleError(modifierNames, error);
122 TestResult(String label, float error) { argument
124 mTotalError = error;
127 public void addInto(float error) { argument
128 mTotalError += error;
168 Log.e(LOG_TAG, "error parsing input json", e);
170 Log.e(LOG_TAG, "error reading input json from sd", e);
210 c.report(String.format("tests with error ove
248 addForAllModifiers(String fullName, float error, String[] modifierNames, HashMap<String, TestResult> modifierResults) argument
260 handleError(final String[] modifierNames, final float error) argument
[all...]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DPlayerSession.java165 public void onError(int type, int extra, Bundle extras, Throwable error) { argument
169 if (error != null) {
170 bob.setErrorMessage(error.getLocalizedMessage());
/frameworks/base/tests/net/java/com/android/server/connectivity/
H A DIpConnectivityMetricsTest.java615 void connectEvent(int netid, int error, int latencyMs, String ipAddr) throws Exception { argument
616 mNetdListener.onConnectEvent(netid, error, latencyMs, ipAddr, 80, 1);
H A DNetdEventListenerServiceTest.java478 Thread connectEventAction(int netId, int error, int latencyMs, String ipAddr) { argument
481 mService.onConnectEvent(netId, error, latencyMs, ipAddr, 80, 1);
/frameworks/base/tests/net/jni/
H A Dapf_jni.cpp82 static void throwException(JNIEnv* env, const std::string& error) { argument
88 env->ThrowNew(newExcCls, error.c_str());
/frameworks/base/tools/aapt2/cmd/
H A DConvert.cpp182 std::string error; variable
183 unique_ptr<xml::XmlResource> xml = DeserializeXmlResourceFromPb(pb_node, &error);
187 << *file->path << ": " << error);
243 std::string error; variable
244 std::unique_ptr<xml::XmlResource> xml = xml::Inflate(data->data(), data->size(), &error);
247 << error);

Completed in 1720 milliseconds

1234567891011>>