Searched refs:Status (Results 1 - 25 of 275) sorted by relevance

1234567891011

/frameworks/hardware/interfaces/displayservice/1.0/
H A DIDisplayEventReceiver.hal30 init(IEventCallback callback) generates (Status status);
43 setVsyncRate(int32_t count) generates (Status status);
53 requestNextVsync() generates (Status status);
64 close() generates (Status status);
H A Dtypes.hal18 enum Status : uint32_t {
/frameworks/native/include/binder/
H A DStatus.h35 // binder::Status remote_exception;
52 class Status final {
75 static Status ok();
86 static Status fromExceptionCode(int32_t exceptionCode);
87 static Status fromExceptionCode(int32_t exceptionCode,
89 static Status fromExceptionCode(int32_t exceptionCode,
92 static Status fromServiceSpecificError(int32_t serviceSpecificErrorCode);
93 static Status fromServiceSpecificError(int32_t serviceSpecificErrorCode,
95 static Status fromServiceSpecificError(int32_t serviceSpecificErrorCode,
98 static Status fromStatus
[all...]
/frameworks/native/libs/binder/include/binder/
H A DStatus.h35 // binder::Status remote_exception;
52 class Status final {
75 static Status ok();
86 static Status fromExceptionCode(int32_t exceptionCode);
87 static Status fromExceptionCode(int32_t exceptionCode,
89 static Status fromExceptionCode(int32_t exceptionCode,
92 static Status fromServiceSpecificError(int32_t serviceSpecificErrorCode);
93 static Status fromServiceSpecificError(int32_t serviceSpecificErrorCode,
95 static Status fromServiceSpecificError(int32_t serviceSpecificErrorCode,
98 static Status fromStatus
[all...]
/frameworks/native/libs/binder/
H A DStatus.cpp17 #include <binder/Status.h>
22 Status Status::ok() {
23 return Status();
26 Status Status::fromExceptionCode(int32_t exceptionCode) {
27 return Status(exceptionCode, OK);
30 Status Status::fromExceptionCode(int32_t exceptionCode,
32 return Status(exceptionCod
60 Status::Status(int32_t exceptionCode, int32_t errorCode) function in class:android::binder::Status
64 Status::Status(int32_t exceptionCode, int32_t errorCode, const String8& message) function in class:android::binder::Status
[all...]
/frameworks/av/media/libstagefright/omx/
H A DBWGraphicBufferSource.h21 #include <binder/Status.h>
31 using ::android::binder::Status;
46 Status configure(
48 Status setSuspend(bool suspend, int64_t timeUs) override;
49 Status setRepeatPreviousFrameDelayUs(
51 Status setMaxFps(float maxFps) override;
52 Status setTimeLapseConfig(
54 Status setStartTimeUs(int64_t startTimeUs) override;
55 Status setStopTimeUs(int64_t stopTimeUs) override;
56 Status setColorAspect
[all...]
H A DBWGraphicBufferSource.cpp65 Status onOmxExecuting() override {
69 Status onOmxIdle() override {
73 Status onOmxLoaded() override {
77 Status onInputBufferAdded(int bufferId) override {
81 Status onInputBufferEmptied(
93 ::android::binder::Status BWGraphicBufferSource::configure(
101 return Status::fromStatusT(err);
121 return Status::fromStatusT(UNKNOWN_ERROR);
124 return Status::fromStatusT(mBase->configure(
133 ::android::binder::Status BWGraphicBufferSourc
[all...]
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dmock_service_endpoint.h13 MOCK_METHOD1(SetService, Status<void>(Service* service));
14 MOCK_METHOD2(SetChannel, Status<void>(int channel_id, Channel* channel));
15 MOCK_METHOD1(CloseChannel, Status<void>(int channel_id));
17 Status<void>(int channel_id, int clear_mask, int set_mask));
19 Status<RemoteChannelHandle>(Message* message, int flags,
22 Status<int>(const Message* message, ChannelReference ref,
24 MOCK_METHOD1(MessageReceive, Status<void>(Message* message));
25 MOCK_METHOD2(MessageReply, Status<void>(Message* message, int return_code));
27 Status<void>(Message* message, unsigned int push_fd));
29 Status<voi
[all...]
H A Dservice_endpoint.h47 virtual Status<void> SetService(Service* service) = 0;
50 virtual Status<void> SetChannel(int channel_id, Channel* channel) = 0;
55 virtual Status<void> CloseChannel(int channel_id) = 0;
59 virtual Status<void> ModifyChannelEvents(int channel_id, int clear_mask,
69 virtual Status<RemoteChannelHandle> PushChannel(Message* message, int flags,
76 // the channel ID is returned through the Status object.
77 virtual Status<int> CheckChannel(const Message* message, ChannelReference ref,
81 virtual Status<void> MessageReceive(Message* message) = 0;
84 virtual Status<void> MessageReply(Message* message, int return_code) = 0;
87 virtual Status<voi
[all...]
H A Dmessage_writer.h13 virtual Status<FileReference> PushFileHandle(const LocalHandle& handle) = 0;
14 virtual Status<FileReference> PushFileHandle(
16 virtual Status<FileReference> PushFileHandle(const RemoteHandle& handle) = 0;
17 virtual Status<ChannelReference> PushChannelHandle(
19 virtual Status<ChannelReference> PushChannelHandle(
21 virtual Status<ChannelReference> PushChannelHandle(
H A Dmock_message_writer.h13 Status<FileReference>(const LocalHandle& handle));
15 Status<FileReference>(const BorrowedHandle& handle));
17 Status<FileReference>(const RemoteHandle& handle));
19 Status<ChannelReference>(const LocalChannelHandle& handle));
21 Status<ChannelReference>(const BorrowedChannelHandle& handle));
23 Status<ChannelReference>(const RemoteChannelHandle& handle));
H A Dstatus.h11 // This is a helper class for constructing Status<T> with an error code.
23 // Status<T> is a container class that can be used to return a value of type T
26 class Status { class in namespace:android::pdx
28 // Default constructor so an empty Status object can be created.
29 Status() : error_{-1} {} function in class:android::pdx::Status
33 // to explicitly wrap them into Status<T>().
34 Status(const T& value) : value_{value} {} // NOLINT(runtime/explicit) function in class:android::pdx::Status
35 Status(T&& value) : value_{std::move(value)} {} // NOLINT(runtime/explicit) function in class:android::pdx::Status
37 // Constructor for storing an error code inside the Status object.
38 Status(cons function in class:android::pdx::Status
44 Status(Status&& other) function in class:android::pdx::Status
135 class Status<void> { class in namespace:android::pdx
138 Status(const ErrorStatus& error_status) // NOLINT(runtime/explicit) function in class:android::pdx::Status
[all...]
/frameworks/native/libs/vr/libpdx/
H A Dstatus_tests.cpp6 using android::pdx::Status;
8 TEST(Status, DefaultInit) {
9 Status<int> status;
16 TEST(Status, InitalizeSuccess) {
17 Status<int> status_int{0};
21 status_int = Status<int>(3);
25 status_int = Status<int>(-3);
30 Status<std::string> status_str{"foo"};
36 TEST(Status, InitalizeError) {
37 Status<in
[all...]
/frameworks/av/services/mediadrm/
H A DMediaCasService.h25 using binder::Status;
33 virtual Status enumeratePlugins(
36 virtual Status isSystemIdSupported(
39 virtual Status createPlugin(
44 virtual Status isDescramblerSupported(
47 virtual Status createDescrambler(
/frameworks/av/drm/libmediadrm/
H A DDescramblerImpl.cpp28 static Status getBinderStatus(status_t err) {
30 return Status::ok();
33 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT);
36 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE);
38 return Status::fromServiceSpecificError(err);
63 Status DescramblerImpl::setMediaCasSession(const CasSessionId& sessionId) {
70 Status DescramblerImpl::requiresSecureDecoderComponent(
77 Status DescramblerImp
[all...]
/frameworks/av/include/media/
H A DCasImpl.h29 using binder::Status;
54 virtual Status setPrivateData(
57 virtual Status openSession(CasSessionId* _aidl_return) override;
59 virtual Status closeSession(const CasSessionId& sessionId) override;
61 virtual Status setSessionPrivateData(
65 virtual Status processEcm(
68 virtual Status processEmm(const ParcelableCasData& emm) override;
70 virtual Status sendEvent(
73 virtual Status provision(const String16& provisionString) override;
75 virtual Status refreshEntitlement
[all...]
H A DDescramblerImpl.h26 using binder::Status;
35 virtual Status setMediaCasSession(
38 virtual Status requiresSecureDecoderComponent(
41 virtual Status descramble(
44 virtual Status release() override;
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DMouseClickAction.java43 public Tapper.Status sendTap(UiController uiController, float[] coordinates,
45 Tapper.Status stat = sendSingleTap(uiController, coordinates, precision);
47 if (stat == Tapper.Status.FAILURE) {
48 return Tapper.Status.FAILURE;
49 } else if (stat == Tapper.Status.WARNING) {
59 if (stat == Tapper.Status.FAILURE) {
60 return Tapper.Status.FAILURE;
61 } else if (stat == Tapper.Status.WARNING) {
67 return Tapper.Status.WARNING;
69 return Tapper.Status
[all...]
/frameworks/native/services/vr/virtual_touchpad/
H A DVirtualTouchpadService.cpp7 #include <binder/Status.h>
28 binder::Status VirtualTouchpadService::attach() {
31 return binder::Status::fromStatusT(PERMISSION_DENIED);
39 return binder::Status::fromStatusT(ALREADY_EXISTS);
49 return binder::Status::ok();
53 return binder::Status::fromStatusT(error);
55 return binder::Status::ok();
58 binder::Status VirtualTouchpadService::detach() {
60 return binder::Status::fromStatusT(PERMISSION_DENIED);
64 return binder::Status
[all...]
/frameworks/native/libs/vr/libpdx_uds/private/uds/
H A Dservice_endpoint.h42 Status<void> SetService(Service* service) override;
43 Status<void> SetChannel(int channel_id, Channel* channel) override;
44 Status<void> CloseChannel(int channel_id) override;
45 Status<void> ModifyChannelEvents(int channel_id, int clear_mask,
47 Status<RemoteChannelHandle> PushChannel(Message* message, int flags,
50 Status<int> CheckChannel(const Message* message, ChannelReference ref,
52 Status<void> MessageReceive(Message* message) override;
53 Status<void> MessageReply(Message* message, int return_code) override;
54 Status<void> MessageReplyFd(Message* message, unsigned int push_fd) override;
55 Status<voi
[all...]
H A Dipc_helper.h40 Status<void> SendAll(SendInterface* sender, const BorrowedHandle& socket_fd,
42 Status<void> SendMsgAll(SendInterface* sender, const BorrowedHandle& socket_fd,
44 Status<void> RecvAll(RecvInterface* receiver, const BorrowedHandle& socket_fd,
46 Status<void> RecvMsgAll(RecvInterface* receiver,
61 Status<void> Send(const BorrowedHandle& socket_fd);
62 Status<void> Send(const BorrowedHandle& socket_fd, const ucred* cred);
69 Status<FileReference> PushFileHandle(const LocalHandle& handle) override;
70 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override;
71 Status<FileReference> PushFileHandle(const RemoteHandle& handle) override;
72 Status<ChannelReferenc
[all...]
/frameworks/native/services/nativeperms/
H A Dnativeperms.cpp21 #include <binder/Status.h>
37 ::android::binder::Status checkPermission(
44 return binder::Status::ok();
47 ::android::binder::Status getPackagesForUid(
54 return binder::Status::ok();
57 ::android::binder::Status isRuntimePermission(
62 return binder::Status::ok();
/frameworks/av/media/libstagefright/omx/1.0/
H A DWGraphicBufferSource.h21 #include <hidl/Status.h>
45 using ::android::hardware::media::omx::V1_0::Status;
76 Return<Status> configure(
78 Return<Status> setSuspend(bool suspend, int64_t timeUs) override;
79 Return<Status> setRepeatPreviousFrameDelayUs(int64_t repeatAfterUs) override;
80 Return<Status> setMaxFps(float maxFps) override;
81 Return<Status> setTimeLapseConfig(double fps, double captureFps) override;
82 Return<Status> setStartTimeUs(int64_t startTimeUs) override;
83 Return<Status> setStopTimeUs(int64_t stopTimeUs) override;
85 Return<Status> setColorAspect
[all...]
/frameworks/base/cmds/incidentd/src/
H A DIncidentService.cpp45 static Status
51 return Status::fromExceptionCode(Status::EX_SECURITY,
57 return Status::fromExceptionCode(Status::EX_SECURITY,
60 return Status::ok();
195 Status
200 Status status = checkIncidentPermissions();
207 return Status::ok();
210 Status
[all...]
/frameworks/base/cmds/incident/
H A Dmain.cpp45 virtual Status onReportStarted();
46 virtual Status onReportSectionStatus(int32_t section, int32_t status);
47 virtual Status onReportServiceStatus(const String16& service, int32_t status);
48 virtual Status onReportFinished();
49 virtual Status onReportFailed();
60 Status
63 return Status::ok();
66 Status
70 return Status::ok();
73 Status
[all...]

Completed in 448 milliseconds

1234567891011