Searched refs:Status (Results 1 - 25 of 291) 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/include/media/stagefright/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 getStopTimeOffsetU
[all...]
/frameworks/base/media/java/android/media/
H A DMediaCasStateException.java22 import android.hardware.cas.V1_0.Status;
42 if (err == Status.OK) {
45 if (err == Status.BAD_VALUE) {
51 case Status.ERROR_CAS_UNKNOWN:
54 case Status.ERROR_CAS_NO_LICENSE:
57 case Status.ERROR_CAS_LICENSE_EXPIRED:
60 case Status.ERROR_CAS_SESSION_NOT_OPENED:
63 case Status.ERROR_CAS_CANNOT_HANDLE:
66 case Status.ERROR_CAS_INVALID_STATE:
69 case Status
[all...]
H A DMediaCasException.java19 import android.hardware.cas.V1_0.Status;
30 if (error == Status.OK) {
34 if (error == Status.ERROR_CAS_NOT_PROVISIONED) {
36 } else if (error == Status.ERROR_CAS_RESOURCE_BUSY) {
38 } else if (error == Status.ERROR_CAS_DEVICE_REVOKED) {
/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/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...]
H A DVirtualTouchpadService.h22 binder::Status attach() override;
23 binder::Status detach() override;
24 binder::Status touch(int touchpad, float x, float y, float pressure) override;
25 binder::Status buttonState(int touchpad, int buttons) override;
26 binder::Status scroll(int touchpad, float x, float y) override;
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
H A Ddisplay_client.h19 // refactored to return Status<T> types.
20 static pdx::Status<std::unique_ptr<Surface>> CreateSurface(
23 pdx::Status<std::unique_ptr<Surface>> status;
35 pdx::Status<void> SetVisible(bool visible);
36 pdx::Status<void> SetZOrder(int z_order);
37 pdx::Status<void> SetAttributes(const SurfaceAttributes& attributes);
40 pdx::Status<std::unique_ptr<ProducerQueue>> CreateQueue(uint32_t width,
47 pdx::Status<std::unique_ptr<ProducerQueue>> CreateQueue(uint32_t width,
63 // returns Status<T>.
74 pdx::Status<Metric
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_VibratorService.cpp38 using android::hardware::vibrator::V1_0::Status;
50 using ::android::hardware::Status;
51 return Return<R>{Status::fromExceptionCode(Status::EX_NULL_POINTER)};
68 using ::android::hardware::Status;
69 Return<R> ret{Status::fromExceptionCode(Status::EX_NONE)};
99 Status retStatus = halCall(&IVibrator::on, timeout_ms).withDefault(Status::UNKNOWN_ERROR);
100 if (retStatus != 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...]
/frameworks/av/media/libstagefright/omx/
H A DBWGraphicBufferSource.cpp63 Status onOmxExecuting() override {
67 Status onOmxIdle() override {
71 Status onOmxLoaded() override {
75 Status onInputBufferAdded(int bufferId) override {
79 Status onInputBufferEmptied(
91 ::android::binder::Status BWGraphicBufferSource::configure(
99 return Status::fromStatusT(err);
119 return Status::fromStatusT(UNKNOWN_ERROR);
122 return Status::fromStatusT(mBase->configure(
131 ::android::binder::Status BWGraphicBufferSourc
[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/include/media/stagefright/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/native/cmds/installd/
H A DInstalldNativeService.h43 binder::Status createUserData(const std::unique_ptr<std::string>& uuid, int32_t userId,
45 binder::Status destroyUserData(const std::unique_ptr<std::string>& uuid, int32_t userId,
48 binder::Status createAppData(const std::unique_ptr<std::string>& uuid,
51 binder::Status restoreconAppData(const std::unique_ptr<std::string>& uuid,
54 binder::Status migrateAppData(const std::unique_ptr<std::string>& uuid,
56 binder::Status clearAppData(const std::unique_ptr<std::string>& uuid,
58 binder::Status destroyAppData(const std::unique_ptr<std::string>& uuid,
61 binder::Status fixupAppData(const std::unique_ptr<std::string>& uuid, int32_t flags);
63 binder::Status getAppSize(const std::unique_ptr<std::string>& uuid,
67 binder::Status getUserSiz
[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 789 milliseconds

1234567891011>>