/system/iorap/src/binder/ |
D | iiorap_impl.cc | 91 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/ |
D | auto_parcelable_test.cc | 27 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/ |
D | IBluetoothGattServerCallback.aidl | 27 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
|
D | IBluetoothGattServer.aidl | 34 int request_id, in SendResponse() argument
|
/system/bt/service/ipc/binder/ |
D | bluetooth_gatt_server_binder_server.h | 59 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,
|
D | bluetooth_gatt_server_binder_server.cc | 111 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/ |
D | heart_rate_server.cc | 314 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 …]
|
D | heart_rate_server.h | 63 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/ |
D | request_id.h | 27 int64_t request_id; member 30 IORAP_INTROSPECT_ADAPT_STRUCT(RequestId, request_id);
|
/system/bt/service/ |
D | gatt_server.h | 55 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);
|
D | gatt_server.cc | 107 bool GattServer::SendResponse(const std::string& device_address, int request_id, in SendResponse() argument 112 << " request_id: " << request_id << " error: " << error in SendResponse() 142 if (tmp->request_id_to_handle.find(request_id) == in SendResponse() 150 LOG(ERROR) << "Pending request with ID " << request_id in SendResponse() 160 int handle = connection->request_id_to_handle[request_id]; in SendResponse() 172 ->send_response(connection->conn_id, request_id, error, response); in SendResponse() 178 connection->request_id_to_handle.erase(request_id); in SendResponse() 546 int conn_id, const RawAddress& bda, int request_id) { in GetConnection() argument 560 if (conn->request_id_to_handle.find(request_id) != in GetConnection() 562 VLOG(1) << "Request with ID: " << request_id << " already exists for " in GetConnection()
|
/system/update_engine/ |
D | chrome_browser_proxy_resolver.h | 43 void OnGetChromeProxyServers(ProxyRequestId request_id, 50 void RunCallback(ProxyRequestId request_id,
|
D | chrome_browser_proxy_resolver.cc | 53 ProxyRequestId request_id, in OnGetChromeProxyServers() argument 58 auto it = pending_callbacks_.find(request_id); in OnGetChromeProxyServers()
|
D | omaha_request_builder_xml_unittest.cc | 153 const string request_id = in TEST_F() local 156 if (!request_id.empty()) in TEST_F() 157 EXPECT_TRUE(base::IsValidGUID(request_id)); in TEST_F()
|
/system/bt/service/doc/ |
D | IBluetoothGattServerCallback.txt | 46 * |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,
|
D | IBluetoothGattServer.txt | 52 * 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/ |
D | gatt_server_unittest.cc | 84 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/ |
D | event_manager.cc | 408 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()
|
D | event_manager.h | 45 bool OnAppLaunchEvent(binder::RequestId request_id,
|