Home
last modified time | relevance | path

Searched refs:status_t (Results 1 – 25 of 66) sorted by relevance

123

/packages/modules/StatsD/statsd/src/
DStatsService.h62 virtual status_t dump(int fd, const char** args, uint32_t numArgs) override;
63 virtual status_t handleShellCommand(int in, int out, int err, const char** argv,
233 status_t cmd_trigger_broadcast(int outFd, Vector<String8>& args);
239 status_t cmd_trigger_active_config_broadcast(int outFd, Vector<String8>& args);
244 status_t cmd_config(int inFd, int outFd, int err, Vector<String8>& args);
249 status_t cmd_print_stats(int outFd, const Vector<String8>& args);
254 status_t cmd_dump_report(int outFd, const Vector<String8>& args);
259 status_t cmd_print_uid_map(int outFd, const Vector<String8>& args);
264 status_t cmd_write_data_to_disk(int outFd);
270 status_t cmd_log_app_breadcrumb(int outFd, const Vector<String8>& args);
[all …]
DStatsService.cpp211 status_t StatsService::dump(int fd, const char** args, uint32_t numArgs) { in dump()
283 status_t StatsService::handleShellCommand(int in, int out, int err, const char** argv, in handleShellCommand()
487 status_t StatsService::cmd_trigger_broadcast(int out, Vector<String8>& args) { in cmd_trigger_broadcast()
524 status_t StatsService::cmd_trigger_active_config_broadcast(int out, Vector<String8>& args) { in cmd_trigger_active_config_broadcast()
577 status_t StatsService::cmd_config(int in, int out, int err, Vector<String8>& args) { in cmd_config()
647 status_t StatsService::cmd_dump_report(int out, const Vector<String8>& args) { in cmd_dump_report()
706 status_t StatsService::cmd_print_stats(int out, const Vector<String8>& args) { in cmd_print_stats()
732 status_t StatsService::cmd_print_uid_map(int out, const Vector<String8>& args) { in cmd_print_uid_map()
748 status_t StatsService::cmd_write_data_to_disk(int out) { in cmd_write_data_to_disk()
754 status_t StatsService::cmd_log_app_breadcrumb(int out, const Vector<String8>& args) { in cmd_log_app_breadcrumb()
[all …]
/packages/services/BuiltInPrintService/jni/include/
Dlib_wprint.h264 status_t (*start_job)(wJob_t job_handle, const ifc_wprint_t *wprint_ifc,
267 status_t (*print_page)(wprint_job_params_t *job_params, const char *mime_type,
270 status_t (*print_blank_page)(wJob_t job_handle,
273 status_t (*end_job)(wprint_job_params_t *job_params);
290 status_t wprintGetCapabilities(const wprint_connect_info_t *connect_info,
296 status_t wprintGetDefaultJobParams(wprint_job_params_t *job_params);
301 status_t wprintGetFinalJobParams(wprint_job_params_t *job_param,
317 status_t wprintEndJob(wJob_t job_handle);
328 status_t wprintPage(wJob_t job_handle, int page_number, const char *filename, bool last_page,
335 status_t wprintCancelJob(wJob_t job_handle);
[all …]
Difc_print_job.h31 status_t (*init)(const struct ifc_print_job_st *this_p, const char *printer_address, int port,
37 status_t (*validate_job)(const struct ifc_print_job_st *this_p,
43 status_t (*start_job)(const struct ifc_print_job_st *this_p,
56 status_t (*check_status)(const struct ifc_print_job_st *this_p);
61 status_t (*end_job)(const struct ifc_print_job_st *this_p);
Dwprint_msgq.h38 status_t msgQDelete(msg_q_id msgQ);
40 status_t msgQSend(msg_q_id msgQ, const char *buffer, unsigned long nbytes, int timeout,
43 status_t msgQReceive(msg_q_id msgQ, char *buffer, unsigned long max_nbytes, int timeout);
Difc_wprint.h58 status_t (*msgQDelete)(msg_q_id msgQ);
63 status_t (*msgQSend)(msg_q_id msgQ, const char *buffer, unsigned long nbytes, int timeout,
69 status_t (*msgQReceive)(msg_q_id msgQ, char *buffer, unsigned long max_nbytes, int timeout);
Difc_printer_capabilities.h36 status_t (*get_capabilities)(const struct ifc_printer_capabilities_st *this_p,
42 status_t (*get_margins)(const struct ifc_printer_capabilities_st *this_p,
/packages/services/BuiltInPrintService/jni/lib/
Dwprint_msgq.c78 status_t msgQDelete(msg_q_id msgQ) { in msgQDelete()
95 status_t msgQSend(msg_q_id msgQ, const char *buffer, unsigned long nbytes, int timeout, in msgQSend()
99 status_t result = ERROR; in msgQSend()
121 status_t msgQReceive(msg_q_id msgQ, char *buffer, unsigned long max_nbytes, int timeout) { in msgQReceive()
124 status_t result = ERROR; in msgQReceive()
128 result = (status_t) sem_wait(msgq->sem_ptr); in msgQReceive()
131 result = (status_t) sem_trywait(msgq->sem_ptr); in msgQReceive()
/packages/services/Car/car-lib/native/CarPowerManager/
DCarPowerPolicy.cpp27 using android::status_t;
36 status_t CarPowerPolicy::writeToParcel(Parcel* parcel) const { in writeToParcel()
37 status_t status = parcel->writeString8(mPolicyId); in writeToParcel()
48 status_t CarPowerPolicy::readFromParcel(const Parcel* parcel) { in readFromParcel()
49 status_t status = parcel->readString8(&mPolicyId); in readFromParcel()
DCarPowerPolicyFilter.cpp27 using android::status_t;
32 status_t CarPowerPolicyFilter::writeToParcel(Parcel* parcel) const { in writeToParcel()
36 status_t CarPowerPolicyFilter::readFromParcel(const Parcel* parcel) { in readFromParcel()
/packages/modules/StatsD/statsd/src/logd/
DLogEvent.h104 int64_t GetLong(size_t key, status_t* err) const;
105 int GetInt(size_t key, status_t* err) const;
106 const char* GetString(size_t key, status_t* err) const;
107 bool GetBool(size_t key, status_t* err) const;
108 float GetFloat(size_t key, status_t* err) const;
109 std::vector<uint8_t> GetStorage(size_t key, status_t* err) const;
196 status_t updateValue(size_t key, T& value, Type type) { in updateValue()
DLogEvent.cpp443 int64_t LogEvent::GetLong(size_t key, status_t* err) const { in GetLong()
466 int LogEvent::GetInt(size_t key, status_t* err) const { in GetInt()
486 const char* LogEvent::GetString(size_t key, status_t* err) const { in GetString()
506 bool LogEvent::GetBool(size_t key, status_t* err) const { in GetBool()
528 float LogEvent::GetFloat(size_t key, status_t* err) const { in GetFloat()
548 std::vector<uint8_t> LogEvent::GetStorage(size_t key, status_t* err) const { in GetStorage()
/packages/services/BuiltInPrintService/jni/plugins/
Dwprint_image.h144 status_t (*get_hdr)(wprint_image_info_t *image_info);
154 status_t (*cleanup)(wprint_image_info_t *image_info);
159 status_t (*supports_subsampling)(wprint_image_info_t *image_info);
181 status_t wprint_image_get_info(FILE *imgfile, wprint_image_info_t *image_info);
186 status_t wprint_image_set_output_properties(wprint_image_info_t *image_info,
Dlib_pcl.h137 status_t (*end_job)(pcl_job_info_t *job_info);
143 status_t (*start_page)(pcl_job_info_t *job_info,
150 status_t (*end_page)(pcl_job_info_t *job_info,
158 status_t (*print_swath)(pcl_job_info_t *job_info, char *rgb_pixels, int start_row, int num_rows,
Dwprint_mupdf.c41 static status_t _mupdf_get_hdr(wprint_image_info_t *image_info) { in _mupdf_get_hdr()
48 status_t result; in _mupdf_get_hdr()
111 static status_t _mupdf_cleanup(wprint_image_info_t *image_info) { in _mupdf_cleanup()
125 static status_t _mupdf_supports_subsampling(wprint_image_info_t *image_info) { in _mupdf_supports_subsampling()
Dplugin_pcl.c154 static status_t _start_thread(plugin_data_t *param) { in _start_thread()
156 status_t result; in _start_thread()
172 result = (status_t) pthread_create(&(param->send_tid), 0, _send_thread, (void *) param); in _start_thread()
197 static status_t _stop_thread(plugin_data_t *priv) { in _stop_thread()
198 status_t result = ERROR; in _stop_thread()
276 static status_t _print_page(wprint_job_params_t *job_params, const char *mime_type, in _print_page()
280 status_t result; in _print_page()
Dwprint_mupdf.h43 status_t (*renderPageStripe)(pdf_render_ifc_t *self, int page, int width,
49 status_t (*getPageAttributes)(pdf_render_ifc_t *self, int page,
/packages/services/BuiltInPrintService/jni/ipphelper/
Dipp_print.c28 static status_t _init(const ifc_print_job_t *this_p, const char *printer_address, int port,
31 static status_t _validate_job(const ifc_print_job_t *this_p, wprint_job_params_t *job_params);
33 static status_t _start_job(const ifc_print_job_t *this_p, const wprint_job_params_t *job_params);
37 static status_t _end_job(const ifc_print_job_t *this_p);
77 static status_t _init(const ifc_print_job_t *this_p, const char *printer_address, int port, in _init()
412 static status_t _validate_job(const ifc_print_job_t *this_p, wprint_job_params_t *job_params) { in _validate_job()
414 status_t result = ERROR; in _validate_job()
480 static status_t _start_job(const ifc_print_job_t *this_p, const wprint_job_params_t *job_params) { in _start_job()
482 status_t result; in _start_job()
559 static status_t _end_job(const ifc_print_job_t *this_p) { in _end_job()
[all …]
Dippstatus_capabilities.c77 static status_t _get_capabilities(const ifc_printer_capabilities_t *this_p,
131 static status_t _get_capabilities(const ifc_printer_capabilities_t *this_p, in _get_capabilities()
134 status_t result = ERROR; in _get_capabilities()
/packages/services/Car/cpp/powerpolicy/server/tests/
DCarPowerPolicyServerTest.cpp36 MOCK_METHOD(status_t, linkToDeath,
38 MOCK_METHOD(status_t, unlinkToDeath,
50 void expectLinkToDeathStatus(status_t linkToDeathResult) { in expectLinkToDeathStatus()
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogBinderMediator.h68 status_t dump(int fd, const Vector<android::String16>& args) override;
115 status_t dumpServices(int fd, const Vector<String16>& args);
116 status_t dumpHelpText(const int fd, const std::string& errorMsg);
DWatchdogBinderMediator.cpp71 status_t status = defaultServiceManager()->addService(String16(serviceName), service); in addToServiceManager()
134 status_t WatchdogBinderMediator::dump(int fd, const Vector<String16>& args) { in dump()
177 status_t WatchdogBinderMediator::dumpServices(int fd, const Vector<String16>& args) { in dumpServices()
189 status_t WatchdogBinderMediator::dumpHelpText(const int fd, const std::string& errorMsg) { in dumpHelpText()
/packages/services/Car/procfs-inspector/server/
Dprocess.cpp5 status_t procfsinspector::ProcessInfo::writeToParcel(Parcel* parcel) const { in writeToParcel()
11 status_t procfsinspector::ProcessInfo::readFromParcel(const Parcel* parcel) { in readFromParcel()
Dprocess.h35 virtual status_t writeToParcel(Parcel* parcel) const override;
36 virtual status_t readFromParcel(const Parcel* parcel) override;
/packages/services/Car/tools/keventreader/common/
Devent.h34 virtual status_t writeToParcel(Parcel* parcel) const override;
35 virtual status_t readFromParcel(const Parcel* parcel) override;

123