Searched refs:reply (Results 1 - 5 of 5) sorted by relevance

/system/security/keystore/
H A Dkeystore_client.h49 ResponseCode keystore_cmd(command_code_t cmd, Keystore_Reply* reply, int numArgs, ...);
H A Dkeystore_client.cpp25 ResponseCode keystore_cmd(command_code_t cmd, Keystore_Reply* reply, int numArgs, ...) { argument
70 if (reply != NULL) {
71 reply->setCode(static_cast<ResponseCode>(code));
74 uint8_t* data = reply->get();
88 reply->setLength(length);
/system/core/libnetutils/
H A Ddhcpclient.c351 static int is_valid_reply(dhcp_msg *msg, dhcp_msg *reply, int sz) argument
357 if (reply->op != OP_BOOTREPLY) {
358 if (verbose) ALOGD("netcfg: Wrong Op %d != %d\n", reply->op, OP_BOOTREPLY);
361 if (reply->xid != msg->xid) {
362 if (verbose) ALOGD("netcfg: Wrong Xid 0x%x != 0x%x\n", ntohl(reply->xid),
366 if (reply->htype != msg->htype) {
367 if (verbose) ALOGD("netcfg: Wrong Htype %d != %d\n", reply->htype, msg->htype);
370 if (reply->hlen != msg->hlen) {
371 if (verbose) ALOGD("netcfg: Wrong Hlen %d != %d\n", reply->hlen, msg->hlen);
374 if (memcmp(msg->chaddr, reply
391 dhcp_msg reply; local
[all...]
/system/security/keystore-engine/
H A Deng_keystore.cpp163 Keystore_Reply reply; local
164 if (keystore_cmd(CommandCodes[SIGN], &reply, 2, strlen(reinterpret_cast<const char*>(key_id)),
171 const size_t replyLen = reply.length();
177 memcpy(to, reply.get(), replyLen);
222 Keystore_Reply reply; local
223 if (keystore_cmd(CommandCodes[GET_PUBKEY], &reply, 1, strlen(key_id), key_id) != NO_ERROR) {
228 const unsigned char* tmp = reinterpret_cast<const unsigned char*>(reply.get());
229 Unique_EVP_PKEY pkey(d2i_PUBKEY(NULL, &tmp, reply.length()));
/system/extras/tests/binder/benchmarks/
H A DbinderAddInts.cpp84 const Parcel& data, Parcel* reply,
260 Parcel send, reply; local
276 send, &reply)) != 0) {
290 int result = reply.readInt32();
313 Parcel* reply, uint32_t flags) {
334 reply->writeInt32(val1 + val2);
312 onTransact(uint32_t code, const Parcel &data, Parcel* reply, uint32_t flags) argument

Completed in 78 milliseconds