Home
last modified time | relevance | path

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

/system/iorap/src/binder/
Diiorap_impl.cc91 void ReplyWithResult(const RequestId& request_id, TaskResult::State result_state) { in ReplyWithResult() argument
106 LOG(VERBOSE) << "ITaskListener::onComplete (request_id=" << request_id.request_id << ")"; in ReplyWithResult()
107 listener->onComplete(request_id, result); in ReplyWithResult()
109 LOG(VERBOSE) << "ITaskListener::onProgress (request_id=" << request_id.request_id << ")"; in ReplyWithResult()
110 listener->onProgress(request_id, result); in ReplyWithResult()
114 bool OnAppLaunchEvent(const RequestId& request_id, in OnAppLaunchEvent() argument
116 if (MaybeHandleFakeBehavior(request_id)) { in OnAppLaunchEvent()
120 return service_params_.event_manager_->OnAppLaunchEvent(request_id, event); in OnAppLaunchEvent()
123 void HandleFakeBehavior(const RequestId& request_id) { in HandleFakeBehavior() argument
127 ReplyWithResult(request_id, TaskResult::State::kBegan); in HandleFakeBehavior()
[all …]
/system/iorap/tests/src/binder/
Dauto_parcelable_test.cc27 typical.request_id = 0xC0FFEE; in TEST()
48 parcel_manual.writeInt64(typical.request_id); in TEST()
53 EXPECT_EQ(typical.request_id, parcel_typical.readInt64()); in TEST()
60 copy.request_id = 0; in TEST()
63 parcel_typical.writeInt64(typical.request_id); in TEST()
67 EXPECT_EQ(typical.request_id, copy.request_id); in TEST()
73 copy.request_id = 0; in TEST()
82 EXPECT_EQ(typical.request_id, copy.request_id); in TEST()
/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/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.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 …]
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,
/system/iorap/include/binder/
Drequest_id.h27 int64_t request_id; member
30 IORAP_INTROSPECT_ADAPT_STRUCT(RequestId, request_id);
/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.cc105 bool GattServer::SendResponse(const std::string& device_address, int request_id, in SendResponse() argument
110 << " 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/
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()
/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.cc84 int request_id, int offset, bool is_long, in OnCharacteristicReadRequest() argument
88 char_read_req_.id = request_id; in OnCharacteristicReadRequest()
97 int request_id, int offset, bool is_long, in OnDescriptorReadRequest() argument
101 desc_read_req_.id = request_id; in OnDescriptorReadRequest()
110 int request_id, int offset, in OnCharacteristicWriteRequest() argument
116 char_write_req_.id = request_id; in OnCharacteristicWriteRequest()
127 int request_id, int offset, in OnDescriptorWriteRequest() argument
133 desc_write_req_.id = request_id; in OnDescriptorWriteRequest()
143 const std::string& device_address, int request_id, in OnExecuteWriteRequest() argument
147 exec_req_.id = request_id; in OnExecuteWriteRequest()
/system/iorap/src/manager/
Devent_manager.cc408 bool OnAppLaunchEvent(RequestId request_id, in OnAppLaunchEvent() argument
411 << "request_id=" << request_id.request_id << "," in OnAppLaunchEvent()
491 bool EventManager::OnAppLaunchEvent(RequestId request_id, in OnAppLaunchEvent() argument
493 return impl_->OnAppLaunchEvent(request_id, event); in OnAppLaunchEvent()
Devent_manager.h45 bool OnAppLaunchEvent(binder::RequestId request_id,