Searched refs:request (Results 76 - 100 of 110) sorted by relevance

12345

/system/core/libappfuse/
H A DFuseBridgeLoop.cc177 if (!buffer_.request.Read(device_fd_)) {
181 const uint32_t opcode = buffer_.request.header.opcode;
182 const uint64_t unique = buffer_.request.header.unique;
200 opcode_map_.emplace(buffer_.request.header.unique, opcode);
226 switch (buffer_.request.WriteOrAgain(proxy_fd_)) {
230 LOG(ERROR) << "Failed to write a request to proxy:"
231 << " header.len=" << buffer_.request.header.len
232 << " header.opcode=" << buffer_.request.header.opcode
233 << " header.unique=" << buffer_.request.header.unique
234 << " header.nodeid=" << buffer_.request
[all...]
H A DFuseBuffer.cc212 const fuse_init_in* const in = &request.init_in;
215 const uint64_t unique = request.header.unique;
252 LOG(VERBOSE) << "NOTIMPL op=" << request.header.opcode << " uniq="
253 << request.header.unique << " nid=" << request.header.nodeid;
256 const volatile uint64_t unique = request.header.unique;
/system/bt/udrv/include/
H A Duipc.h124 bool UIPC_Ioctl(tUIPC_CH_ID ch_id, uint32_t request, void* param);
/system/chre/core/include/chre/core/
H A Dtimer_pool.h84 * Tracks metadata associated with a request for a timed event.
87 //! The nanoapp instance ID from which this request was made.
90 //! The TimerHandle assigned to this request.
93 //! The time when the request was made.
99 //! Whether or not the request is a one shot or should be rescheduled.
108 * @param request The other request to compare against.
109 * @return Returns true if this request is greater than the provided
110 * request.
112 bool operator>(const TimerRequest& request) cons
[all...]
H A Dsensor_request.h241 * Models a request for sensor data. This class implements the API set forth by
247 * Default constructs a sensor request to the minimal possible configuration.
253 * Constructs a sensor request given a mode, interval and latency. Non-default
256 * @param mode The mode of the sensor request.
264 * Constructs a sensor request given an owning nanoapp, mode, interval and
268 * @param nanoapp The nanoapp that made this request.
269 * @param mode The mode of the sensor request.
279 * if the effective request for sensor data is the same as another.
281 * @param request The request t
[all...]
/system/tpm/tpm_manager/server/
H A Ddbus_service.cc132 const RequestProtobufType& request) {
143 request,
154 const RequestProtobufType& request) {
165 request,
130 HandleNvramDBusMethod( std::unique_ptr<DBusMethodResponse<const ReplyProtobufType&>> response, const RequestProtobufType& request) argument
152 HandleOwnershipDBusMethod( std::unique_ptr<DBusMethodResponse<const ReplyProtobufType&>> response, const RequestProtobufType& request) argument
/system/tpm/trunks/
H A Dtrunks_dbus_service.h61 const SendCommandRequest& request);
/system/update_engine/payload_consumer/
H A Dfile_descriptor.h86 // the operation is supported. The |request| can be one of BLKDISCARD,
91 virtual bool BlkIoctl(int request,
127 bool BlkIoctl(int request,
H A Dmtd_file_descriptor.h44 bool BlkIoctl(int request,
80 bool BlkIoctl(int request,
/system/update_engine/
H A Dproxy_resolver_unittest.cc73 ProxyRequestId request = resolver_.GetProxiesForUrl("http://foo", callback); local
75 EXPECT_TRUE(resolver_.CancelProxyRequest(request));
H A Dchrome_browser_proxy_resolver.cc106 bool ChromeBrowserProxyResolver::CancelProxyRequest(ProxyRequestId request) { argument
107 return pending_callbacks_.erase(request) != 0;
H A Dchrome_browser_proxy_resolver.h53 bool CancelProxyRequest(ProxyRequestId request) override;
65 // passes |proxies| to it, and deletes it. Does nothing if the request has
/system/chre/platform/slpi/
H A Dplatform_sensor.cc45 // As SMGR doesn't support passive sensor request, it's now implemented on the
53 // 2. When a request is made in PlatformSensor::applyRequest(), it checkes
54 // whether it's allowed at that point and makes a corresponding QMI request.
55 // 1) The request is allowed if
56 // - it's an active or an off request, or
57 // - it's a passive request and the merged mode (to be explained
59 // 2) If the request is allowed, a QMI request to add the sensor request is
60 // made. Otherwise, a QMI request t
719 getMergedMode(uint8_t sensorId, SensorType sensorType, const SensorRequest& request) argument
842 updateSamplingStatus(Sensor *sensor, const SensorRequest& request) argument
1183 isRequestAllowed(SensorType sensorType, const SensorRequest& request) argument
1220 makeBufferingReq(uint8_t sensorId, uint8_t dataType, uint8_t calType, uint64_t minInterval, const SensorRequest& request) argument
1258 makeRequest(SensorType sensorType, const SensorRequest& request) argument
1458 applyRequest(const SensorRequest& request) argument
[all...]
/system/netd/server/
H A DSockDiag.cpp101 } __attribute__((__packed__)) request = { local
114 iov[0].iov_base = &request;
115 iov[0].iov_len = sizeof(request);
119 request.nlh.nlmsg_len = len;
244 DestroyRequest request = { local
256 request.nlh.nlmsg_len = sizeof(request);
258 if (write(mWriteSock, &request, sizeof(request)) < (ssize_t) sizeof(request)) {
[all...]
/system/core/debuggerd/tombstoned/
H A Dintercept_manager.cpp70 static bool is_intercept_request_valid(const InterceptRequest& request) { argument
71 if (request.pid <= 0 || request.pid > std::numeric_limits<pid_t>::max()) {
75 if (request.dump_type < 0 || request.dump_type > kDebuggerdJavaBacktrace) {
122 snprintf(response.error_message, sizeof(response.error_message), "invalid intercept request");
/system/extras/multinetwork/
H A Dhttpurl.cpp92 // TODO: find the request portion to send (before '#...').
181 const std::string request(android::base::StringPrintf(
189 const ssize_t sent = write(fd, request.c_str(), request.size());
190 if (sent != static_cast<ssize_t>(request.size())) {
191 std::cerr << "Sent only " << sent << "/" << request.size() << " bytes"
/system/nvram/hal/
H A Dfake_nvram.cpp128 nvram::Request request; local
129 if (!nvram::Decode(command_buffer, bytes_read, &request)) {
130 LOG(WARNING) << "Failed to decode command request!";
135 nvram_manager->Dispatch(request, &response);
/system/gatekeeper/include/gatekeeper/
H A Dgatekeeper.h45 void Enroll(const EnrollRequest &request, EnrollResponse *response);
46 void Verify(const VerifyRequest &request, VerifyResponse *response);
200 * Determines whether the request is within the current throttle window.
205 * Returns true if the request is in the throttle window.
/system/chre/core/
H A Dgnss_request_manager.cc106 for (const auto& request : mLocationSessionRequests) {
109 request.minInterval.getMilliseconds(),
110 request.nanoappInstanceId);
225 // nanoapp has an existing request.
228 // The nanoapp has an existing request. Check that the request does not
230 // same request, the nanoapp's existing request is not equal to the current
231 // requested interval and the new request is slower than the current
236 LocationSessionRequest& request local
[all...]
H A Dtimer_pool.cc60 // If this timer request was the first, schedule it.
115 bool TimerPool::TimerRequest::operator>(const TimerRequest& request) const {
116 return (expirationTime > request.expirationTime);
151 // If the timer request was not inserted, simply append it to the list.
155 LOGE("Failed to insert a timer request: out of memory");
185 // Reschedule the timer if needed, and release the current request.
204 // a timer may tick earlier than requested the request is rescheduled with
/system/core/fastboot/
H A Dusb_osx.cpp87 IOUSBFindInterfaceRequest request; local
99 request.bInterfaceClass = kIOUSBFindInterfaceDontCare;
100 request.bInterfaceSubClass = kIOUSBFindInterfaceDontCare;
101 request.bInterfaceProtocol = kIOUSBFindInterfaceDontCare;
102 request.bAlternateSetting = kIOUSBFindInterfaceDontCare;
105 kr = (*dev)->CreateInterfaceIterator(dev, &request, &iterator);
/system/core/adb/
H A Dfile_sync_service.cpp462 D("sync: waiting for request");
465 SyncRequest request; local
466 if (!ReadFdExactly(fd, &request, sizeof(request))) {
470 size_t path_length = request.path_length;
482 std::string id_name = sync_id_to_name(request.id);
487 switch (request.id) {
493 if (!do_stat_v2(fd, request.id, name)) return false;
507 SendSyncFail(fd, StringPrintf("unknown command %08x", request.id));
/system/core/include/utils/
H A DLooper.h433 Request request; member in struct:android::Looper::Response
476 void pushResponse(int events, const Request& request);
/system/core/libutils/include/utils/
H A DLooper.h433 Request request; member in struct:android::Looper::Response
476 void pushResponse(int events, const Request& request);
/system/core/libappfuse/include/libappfuse/
H A DFuseBuffer.h27 // Maximum number of bytes to write/read in one request/one reply.
99 // To reduce memory usage, FuseBuffer shares the memory region for request and
102 FuseRequest request; member in union:android::fuse::final

Completed in 419 milliseconds

12345