Searched refs:failure (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/os/
H A DMessageQueueTest.java47 failure(new RuntimeException(
52 failure(new RuntimeException(
60 failure(new RuntimeException(
127 failure(new RuntimeException(
132 failure(new RuntimeException(
140 failure(new RuntimeException(
175 failure(new RuntimeException(
179 failure(new RuntimeException(String.format(
183 failure(new RuntimeException(String.format(
187 failure(ne
[all...]
H A DTestHandlerThread.java72 public void failure(RuntimeException failure) { argument
75 mFailure = failure;
90 mFailure = new RuntimeException("no failure exception set");
H A DMessengerTest.java75 failure(new RuntimeException(
80 failure(new RuntimeException(
85 failure(new RuntimeException(
H A DIdleHandlerTest.java77 failure(new RuntimeException(
113 failure(new RuntimeException(
148 failure(new RuntimeException(
184 failure(new RuntimeException(
H A DBroadcasterTest.java56 failure();
91 failure();
155 failure();
190 failure();
226 failure();
H A DHandlerTester.java55 public void failure() { method in class:HandlerTester
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
H A DCamera2CaptureCallbackForwarder.java52 final CaptureFailure failure) {
56 mListener.onCaptureFailed(session, request, failure);
51 onCaptureFailed(final CameraCaptureSession session, final CaptureRequest request, final CaptureFailure failure) argument
H A DCamera2CaptureCallbackSplitter.java59 CaptureFailure failure) {
61 target.onCaptureFailed(session, request, failure);
58 onCaptureFailed(CameraCaptureSession session, CaptureRequest request, CaptureFailure failure) argument
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingCaptureCallback.java147 CaptureFailure failure) {
148 if (mProxy != null) mProxy.onCaptureFailed(session, request, failure);
146 onCaptureFailed(CameraCaptureSession session, CaptureRequest request, CaptureFailure failure) argument
/frameworks/base/core/java/com/android/internal/midi/
H A DMidiDispatcher.java30 * provided to the MidiDispatcher, it will be notified about the failure, but the exception
42 void onReceiverFailure(MidiReceiver receiver, IOException failure); argument
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCallbackProxies.java126 CaptureRequest request, CaptureFailure failure) {
127 mProxy.invoke("onCaptureFailed", camera, request, failure);
125 onCaptureFailed(CameraDevice camera, CaptureRequest request, CaptureFailure failure) argument
H A DCameraDeviceImpl.java311 public void setRemoteFailure(final ServiceSpecificException failure) { argument
315 switch (failure.errorCode) {
332 Log.e(TAG, "Unexpected failure in opening camera device: " + failure.errorCode +
333 failure.getMessage());
1168 CaptureRequest request, CaptureFailure failure);
2100 // Dispatch the failure callback
2114 final CaptureFailure failure = new CaptureFailure(
2128 failure);
2140 // Dispatch the failure callbac
1167 onCaptureFailed(CameraDevice camera, CaptureRequest request, CaptureFailure failure) argument
[all...]
/frameworks/av/camera/include/camera/ndk/
H A DNdkCameraCaptureSession.h112 /// Struct to describe a capture failure
121 * for every new result or failure; and the scope is the lifetime of the
190 * The definition of camera capture failure callback.
199 * @param failure The {@link ACameraCaptureFailure} desribes the capture failure. The memory is
205 ACaptureRequest* request, ACameraCaptureFailure* failure);
345 * or capture failure for it have been returned via this {@link ACameraCaptureSession_captureCallbacks}.
347 * <p>In total, there will be at least one result/failure returned by this listener
356 * or capture failure for it have been returned via this {@link ACameraCaptureSession_captureCallbacks}.
/frameworks/av/include/camera/ndk/
H A DNdkCameraCaptureSession.h112 /// Struct to describe a capture failure
121 * for every new result or failure; and the scope is the lifetime of the
190 * The definition of camera capture failure callback.
199 * @param failure The {@link ACameraCaptureFailure} desribes the capture failure. The memory is
205 ACaptureRequest* request, ACameraCaptureFailure* failure);
345 * or capture failure for it have been returned via this {@link ACameraCaptureSession_captureCallbacks}.
347 * <p>In total, there will be at least one result/failure returned by this listener
356 * or capture failure for it have been returned via this {@link ACameraCaptureSession_captureCallbacks}.
/frameworks/av/media/libstagefright/codec2/include/
H A DC2Work.h50 Failure failure; member in struct:android::C2SettingResult
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java574 boolean failure = false;
592 failure = true;
594 return !failure;
611 failure = true;
630 failure = true;
644 failure = true;
720 failure = true;
789 failure = true;
794 failure = true;
797 return !failure; // Tru
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraCaptureSession.java997 * @param failure
998 * The output failure from the capture, including the failure reason
1007 @NonNull CaptureRequest request, @NonNull CaptureFailure failure) {
1016 * <p>In total, there will be at least one result/failure returned by this listener
1006 onCaptureFailed(@onNull CameraCaptureSession session, @NonNull CaptureRequest request, @NonNull CaptureFailure failure) argument
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSession.java254 Throwable failure = null;
260 failure = e;
264 data, failure == null ? structure : null, failure, content,
1432 void doOnHandleAssist(Bundle data, AssistStructure structure, Throwable failure, argument
1434 if (failure != null) {
1435 onAssistStructureFailure(failure);
1440 void doOnHandleAssistSecondary(Bundle data, AssistStructure structure, Throwable failure, argument
1442 if (failure != null) {
1443 onAssistStructureFailure(failure);
1458 onAssistStructureFailure(Throwable failure) argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DEphemeralResolverConnection.java244 public final int failure; field in class:EphemeralResolverConnection.ConnectionException
246 failure = _failure;
H A DInstantAppResolver.java116 if (e.failure == ConnectionException.FAILURE_BIND) {
118 } else if (e.failure == ConnectionException.FAILURE_CALL) {
214 if (e.failure == ConnectionException.FAILURE_BIND) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcFailCause.java27 * Returned as the reason for a connection failure as defined
135 * Map of subId -> set of data call setup permanent failure for the carrier.
179 // Retrieve the permanent failure from carrier config
190 for (String failure : permanentFailureStrings) {
191 permanentFailureSet.add(DcFailCause.valueOf(failure));
/frameworks/av/camera/ndk/impl/
H A DACameraDevice.cpp219 ALOGE("Convert capture request to internal format failure! ret %d", ret);
244 ALOGE("Camera %s submit request remote failure: ret %d", getId(), sequenceId);
733 // Fire capture failure callback if there is one registered
735 sp<CameraCaptureFailure> failure(new CameraCaptureFailure());
736 failure->frameNumber = frameNumber;
738 failure->reason = CAPTURE_FAILURE_REASON_ERROR;
739 failure->sequenceId = sequenceId;
740 failure->wasImageCaptured = (errorCode ==
748 msg->setObject(kCaptureFailureKey, failure);
934 ALOGE("%s: Cannot find capture failure!", __FUNCTION_
939 ACameraCaptureFailure* failure = local
[all...]
/frameworks/base/core/java/android/net/
H A DPacProxySelector.java133 public void connectFailed(URI uri, SocketAddress address, IOException failure) { argument
/frameworks/base/media/java/android/media/midi/
H A DMidiDeviceServer.java358 public void onReceiverFailure(MidiReceiver receiver, IOException failure) {
359 Log.e(TAG, "MidiInputPort failed to send data", failure);
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2AgentImpl.java436 CaptureFailure failure) {
437 Log.e(TAG, "Focusing failed with reason " + failure.getReason());
615 CaptureFailure failure) {
617 failure.getReason());
970 CaptureFailure failure) {
971 Log.e(TAG, "Capture attempt failed with reason " + failure.getReason());

Completed in 339 milliseconds

12