Home
last modified time | relevance | path

Searched refs:request_id (Results 1 – 18 of 18) sorted by relevance

/system/iorap/src/binder/
Diiorap_impl.cc103 …virtual void OnProgress(iorap::binder::RequestId request_id, iorap::binder::TaskResult task_result… in OnProgress()
104 impl_->ReplyWithResult(request_id, /*completed*/false, std::move(task_result)); in OnProgress()
106 …virtual void OnComplete(iorap::binder::RequestId request_id, iorap::binder::TaskResult task_result… in OnComplete()
107 impl_->ReplyWithResult(request_id, /*completed*/true, std::move(task_result)); in OnComplete()
128 void ReplyWithResult(const RequestId& request_id, TaskResult::State result_state) { in ReplyWithResult() argument
143 LOG(VERBOSE) << "ITaskListener::onComplete (request_id=" << request_id.request_id << ")"; in ReplyWithResult()
144 listener->onComplete(request_id, result); in ReplyWithResult()
146 LOG(VERBOSE) << "ITaskListener::onProgress (request_id=" << request_id.request_id << ")"; in ReplyWithResult()
147 listener->onProgress(request_id, result); in ReplyWithResult()
151 void ReplyWithResult(const RequestId& request_id, bool completed, TaskResult result) { in ReplyWithResult() argument
[all …]
/system/bt/service/common/android/bluetooth/
DIBluetoothGattServerCallback.aidl27 int request_id, int offset, boolean is_long, int handle); in OnCharacteristicReadRequest() argument
30 int request_id, int offset, boolean is_long, int handle); in OnDescriptorReadRequest() argument
33 int request_id, int offset, boolean is_prepare_write, boolean need_response, in OnCharacteristicWriteRequest() argument
37 int request_id, int offset, boolean is_prepare_write, boolean need_response, in OnDescriptorWriteRequest() argument
41 int request_id, boolean is_execute); in OnExecuteWriteRequest() argument
DIBluetoothGattServer.aidl34 int request_id, in SendResponse() argument
/system/iorap/include/binder/
Drequest_id.h27 int64_t request_id; member
30 return request_id == other.request_id;
38 IORAP_INTROSPECT_ADAPT_STRUCT(RequestId, request_id);
/system/iorap/src/manager/
Devent_manager.h50 …virtual void OnProgress(iorap::binder::RequestId request_id, iorap::binder::TaskResult task_result… in OnProgress() argument
51 …virtual void OnComplete(iorap::binder::RequestId request_id, iorap::binder::TaskResult task_result… in OnComplete() argument
74 bool OnAppLaunchEvent(binder::RequestId request_id,
80 bool OnDexOptEvent(binder::RequestId request_id,
88 bool OnJobScheduledEvent(binder::RequestId request_id,
Devent_manager.cc720 Result OnAppLaunchEvent(binder::RequestId request_id, in OnAppLaunchEvent()
877 void OnNext(RequestId request_id, JobScheduledEvent e) { in OnNext()
886 …subscriber_->on_next(std::pair<RequestId, JobScheduledEvent>{std::move(request_id), std::move(e)}); in OnNext()
967 bool OnAppLaunchEvent(RequestId request_id, in OnAppLaunchEvent() argument
970 << "request_id=" << request_id.request_id << "," in OnAppLaunchEvent()
978 app_launch_event_defender_.OnAppLaunchEvent(request_id, event, /*out*/&overwrite_event); in OnAppLaunchEvent()
997 bool OnDexOptEvent(RequestId request_id, in OnDexOptEvent() argument
1000 << "request_id=" << request_id.request_id << "," in OnDexOptEvent()
1011 bool OnJobScheduledEvent(RequestId request_id, in OnJobScheduledEvent() argument
1014 << "request_id=" << request_id.request_id << ",event=TODO)."; in OnJobScheduledEvent()
[all …]
/system/bt/service/ipc/binder/
Dbluetooth_gatt_server_binder_server.h59 int32_t request_id, int32_t status, int32_t offset,
70 int request_id, int offset, bool is_long,
74 int request_id, int offset, bool is_long,
78 int request_id, int offset,
84 int request_id, int offset,
89 const std::string& device_address, int request_id,
Dbluetooth_gatt_server_binder_server.cc111 int server_id, const String16& device_address, int request_id, int status, in SendResponse() argument
124 std::string(String8(device_address).string()), request_id, in SendResponse()
178 int request_id, int offset, bool is_long, uint16_t handle) { in OnCharacteristicReadRequest() argument
189 String16(device_address.c_str(), device_address.length()), request_id, in OnCharacteristicReadRequest()
195 int request_id, int offset, bool is_long, uint16_t handle) { in OnDescriptorReadRequest() argument
206 String16(device_address.c_str(), device_address.length()), request_id, in OnDescriptorReadRequest()
241 int request_id, int offset, bool is_prepare_write, bool need_response, in OnCharacteristicWriteRequest() argument
253 String16(device_address.c_str(), device_address.length()), request_id, in OnCharacteristicWriteRequest()
259 int request_id, int offset, bool is_prepare_write, bool need_response, in OnDescriptorWriteRequest() argument
271 String16(device_address.c_str(), device_address.length()), request_id, in OnDescriptorWriteRequest()
[all …]
/system/bt/service/example/heart_rate/
Dheart_rate_server.h63 int request_id, int offset, bool is_long,
65 Status OnDescriptorReadRequest(const String16& device_address, int request_id,
68 int request_id, int offset,
73 int request_id, int offset,
77 Status OnExecuteWriteRequest(const String16& device_address, int request_id,
Dheart_rate_server.cc314 const String16& device_address, int request_id, int offset, in OnCharacteristicReadRequest() argument
330 gatt_->SendResponse(server_if_, device_address, request_id, error, offset, in OnCharacteristicReadRequest()
336 int request_id, int offset, in OnDescriptorReadRequest() argument
346 gatt_->SendResponse(server_if_, device_address, request_id, in OnDescriptorReadRequest()
364 gatt_->SendResponse(server_if_, device_address, request_id, error, offset, in OnDescriptorReadRequest()
370 const String16& device_address, int request_id, int offset, in OnCharacteristicWriteRequest() argument
382 gatt_->SendResponse(server_if_, device_address, request_id, in OnCharacteristicWriteRequest()
395 gatt_->SendResponse(server_if_, device_address, request_id, in OnCharacteristicWriteRequest()
407 gatt_->SendResponse(server_if_, device_address, request_id, in OnCharacteristicWriteRequest()
413 const String16& device_address, int request_id, int offset, in OnDescriptorWriteRequest() argument
[all …]
/system/bt/service/
Dgatt_server.h55 int request_id, int offset,
64 int request_id, int offset,
78 int request_id, int offset, bool is_prepare_write, bool need_response,
92 int request_id, int offset, bool is_prepare_write, bool need_response,
101 int request_id, bool is_execute) = 0;
145 bool SendResponse(const std::string& device_address, int request_id,
237 int request_id);
Dgatt_server.cc106 bool GattServer::SendResponse(const std::string& device_address, int request_id, in SendResponse() argument
111 << " request_id: " << request_id << " error: " << error in SendResponse()
140 if (tmp->request_id_to_handle.find(request_id) == in SendResponse()
148 LOG(ERROR) << "Pending request with ID " << request_id in SendResponse()
158 int handle = connection->request_id_to_handle[request_id]; in SendResponse()
170 ->send_response(connection->conn_id, request_id, error, response); in SendResponse()
176 connection->request_id_to_handle.erase(request_id); in SendResponse()
544 int conn_id, const RawAddress& bda, int request_id) { in GetConnection() argument
558 if (conn->request_id_to_handle.find(request_id) != in GetConnection()
560 VLOG(1) << "Request with ID: " << request_id << " already exists for " in GetConnection()
/system/update_engine/cros/
Dchrome_browser_proxy_resolver.h43 void OnGetChromeProxyServers(ProxyRequestId request_id,
50 void RunCallback(ProxyRequestId request_id,
Dchrome_browser_proxy_resolver.cc53 ProxyRequestId request_id, in OnGetChromeProxyServers() argument
58 auto it = pending_callbacks_.find(request_id); in OnGetChromeProxyServers()
Domaha_request_builder_xml_unittest.cc149 const string request_id = in TEST_F() local
152 if (!request_id.empty()) in TEST_F()
153 EXPECT_TRUE(base::IsValidGUID(request_id)); in TEST_F()
/system/bt/service/doc/
DIBluetoothGattServerCallback.txt46 * |request_id| and the appropriate characteristic value.
53 void onCharacteristicReadRequest(in String device_address, in int request_id,
64 * |request_id| and the appropriate descriptor value.
71 void onDescriptorReadRequest(in String device_address, in int request_id,
80 * |request_id|. |offset| is the index of the characteristic value that the
90 void onCharacteristicWriteRequest(in String device_address, in int request_id,
100 * |request_id|. |offset| is the index of the descriptor value that the
110 void onDescriptorWriteRequest(in String device_address, in int request_id,
121 * with the given |request_id|.
123 void onExecuteWriteRequest(in String device_address, in int request_id,
DIBluetoothGattServer.txt52 * a unique |request_id| which must be passed to this method along with the
60 in int request_id, in int status,
/system/bt/service/test/
Dgatt_server_unittest.cc85 int request_id, int offset, bool is_long, in OnCharacteristicReadRequest() argument
89 char_read_req_.id = request_id; in OnCharacteristicReadRequest()
98 int request_id, int offset, bool is_long, in OnDescriptorReadRequest() argument
102 desc_read_req_.id = request_id; in OnDescriptorReadRequest()
111 int request_id, int offset, in OnCharacteristicWriteRequest() argument
117 char_write_req_.id = request_id; in OnCharacteristicWriteRequest()
128 int request_id, int offset, in OnDescriptorWriteRequest() argument
134 desc_write_req_.id = request_id; in OnDescriptorWriteRequest()
144 const std::string& device_address, int request_id, in OnExecuteWriteRequest() argument
148 exec_req_.id = request_id; in OnExecuteWriteRequest()