Home
last modified time | relevance | path

Searched refs:Request (Results 1 – 25 of 32) sorted by relevance

12

/system/webservd/webservd/
Drequest.cc48 auto self = reinterpret_cast<Request*>(cls); in PostDataIterator()
57 auto self = reinterpret_cast<Request*>(cls); in ValueCallback()
85 Request::Request( in Request() function in webservd::Request
114 Request::~Request() { in ~Request()
121 base::File Request::GetFileData(int file_id) { in GetFileData()
130 base::File Request::Complete( in Complete()
165 bool Request::Complete( in Complete()
182 const std::string& Request::GetProtocolHandlerID() const { in GetProtocolHandlerID()
186 int Request::GetBodyDataFileDescriptor() const { in GetBodyDataFileDescriptor()
192 bool Request::BeginRequestData() { in BeginRequestData()
[all …]
Dprotocol_handler.h34 class Request; variable
91 void AddRequest(Request* request);
92 void RemoveRequest(Request* request);
93 Request* GetRequest(const std::string& request_id) const;
99 friend class Request;
116 std::map<std::string, Request*> requests_;
Drequest_handler_interface.h24 class Request; variable
33 virtual void HandleRequest(Request* request) = 0;
Drequest.h68 class Request final {
70 Request(const std::string& request_handler_id,
76 ~Request();
213 base::WeakPtrFactory<Request> weak_ptr_factory_{this};
214 DISALLOW_COPY_AND_ASSIGN(Request);
Dprotocol_handler.cc52 std::unique_ptr<Request> request{new Request{ in ConnectionHandler()
62 auto request = reinterpret_cast<Request*>(*con_cls); in ConnectionHandler()
81 auto request = reinterpret_cast<Request*>(*con_cls); in RequestCompleted()
292 void ProtocolHandler::AddRequest(Request* request) { in AddRequest()
296 void ProtocolHandler::RemoveRequest(Request* request) { in RemoveRequest()
300 Request* ProtocolHandler::GetRequest(const std::string& request_id) const { in GetRequest()
Ddbus_request_handler.cc32 void OnError(Request* request, in OnError()
51 void DBusRequestHandler::HandleRequest(Request* request) { in HandleRequest()
Ddbus_protocol_handler.h42 class Request; variable
107 Request* GetRequest(const std::string& request_id, brillo::ErrorPtr* error);
Ddbus_request_handler.h39 void HandleRequest(Request* request) override;
/system/nativepower/daemon/
Dwake_lock_manager.cc52 WakeLockManager::Request::Request(const std::string& tag, in Request() function in android::WakeLockManager::Request
59 WakeLockManager::Request::Request(const Request& request) = default;
61 WakeLockManager::Request::Request() : uid(-1) {} in Request() function in android::WakeLockManager::Request
101 requests_[client_binder] = Request(tag, package, uid); in AddRequest()
Dwake_lock_manager.h47 struct Request { struct
48 Request(const std::string& tag, const std::string& package, uid_t uid);
49 Request(const Request& request);
50 Request();
88 std::map<sp<IBinder>, Request> requests_;
Dwake_lock_manager_stub.cc42 const Request& req = it->second; in GetRequestString()
50 requests_[client_binder] = Request(tag, package, uid); in AddRequest()
/system/webservd/libwebserv/
Drequest.cc51 : Request{url, method}, handler_{handler} { in RequestImpl()
59 std::vector<PairOfStrings> Request::GetFormData() const { in GetFormData()
66 std::vector<PairOfStrings> Request::GetFormDataGet() const { in GetFormDataGet()
70 std::vector<PairOfStrings> Request::GetFormDataPost() const { in GetFormDataPost()
74 std::vector<std::pair<std::string, const FileInfo*>> Request::GetFiles() const { in GetFiles()
83 std::vector<std::string> Request::GetFormField(const std::string& name) const { in GetFormField()
98 std::vector<std::string> Request::GetFormFieldPost( in GetFormFieldPost()
109 std::vector<std::string> Request::GetFormFieldGet( in GetFormFieldGet()
120 std::vector<const FileInfo*> Request::GetFileInfo( in GetFileInfo()
131 std::vector<PairOfStrings> Request::GetHeaders() const { in GetHeaders()
[all …]
Drequest_utils.h27 class Request; variable
31 base::Callback<void(std::unique_ptr<Request> request,
36 base::Callback<void(std::unique_ptr<Request> request,
46 std::unique_ptr<Request> request,
Drequest_handler_interface.h32 void(std::unique_ptr<Request>, std::unique_ptr<Response>);
35 virtual void HandleRequest(std::unique_ptr<Request> request,
Drequest_fake.h36 class RequestFake : public Request {
39 : Request(url, method) {} in RequestFake()
Drequest.h72 class LIBWEBSERV_EXPORT Request {
74 Request(const std::string& url, const std::string& method) in Request() function
76 virtual ~Request() = default;
Drequest_utils.cc28 std::unique_ptr<Request> request;
57 void GetRequestData(std::unique_ptr<Request> request, in GetRequestData()
Drequest_handler_callback.cc23 void RequestHandlerCallback::HandleRequest(std::unique_ptr<Request> request, in HandleRequest()
Drequest_handler_callback.h34 void HandleRequest(std::unique_ptr<Request> request,
Ddbus_protocol_handler.h49 class Request; variable
113 std::unique_ptr<Request> request,
Drequest_impl.h30 class RequestImpl final : public Request {
/system/weaved/buffet/
Dwebserv_client.cc34 class RequestImpl : public HttpServer::Request {
36 explicit RequestImpl(std::unique_ptr<libwebserv::Request> request, in RequestImpl()
82 std::unique_ptr<libwebserv::Request> request_;
144 std::unique_ptr<libwebserv::Request> request, in OnRequest()
146 std::unique_ptr<Request> weave_request{ in OnRequest()
Dwebserv_client.h37 class Request; variable
65 std::unique_ptr<libwebserv::Request> request,
/system/core/include/utils/
DLooper.h420 struct Request { struct
433 Request request; argument
464 KeyedVector<int, Request> mRequests; // guarded by mLock
476 void pushResponse(int events, const Request& request);
/system/webservd/test-client/
Dmain.cc45 using libwebserv::Request;
62 void HandleRequest(std::unique_ptr<Request> /* request */, in HandleRequest() argument

12