Lines Matching defs:reply

58         Parcel data, reply;
60 status_t status = remote()->transact(BnKeystoreService::TEST, data, &reply);
65 int32_t err = reply.readExceptionCode();
66 int32_t ret = reply.readInt32();
76 Parcel data, reply;
79 status_t status = remote()->transact(BnKeystoreService::GET, data, &reply);
84 int32_t err = reply.readExceptionCode();
85 ssize_t len = reply.readInt32();
86 if (len >= 0 && (size_t) len <= reply.dataAvail()) {
88 const void* buf = reply.readInplace(ulen);
110 Parcel data, reply;
118 status_t status = remote()->transact(BnKeystoreService::INSERT, data, &reply);
123 int32_t err = reply.readExceptionCode();
124 int32_t ret = reply.readInt32();
134 Parcel data, reply;
138 status_t status = remote()->transact(BnKeystoreService::DEL, data, &reply);
143 int32_t err = reply.readExceptionCode();
144 int32_t ret = reply.readInt32();
154 Parcel data, reply;
158 status_t status = remote()->transact(BnKeystoreService::EXIST, data, &reply);
163 int32_t err = reply.readExceptionCode();
164 int32_t ret = reply.readInt32();
174 Parcel data, reply;
178 status_t status = remote()->transact(BnKeystoreService::SAW, data, &reply);
183 int32_t err = reply.readExceptionCode();
184 int32_t numMatches = reply.readInt32();
186 matches->push(reply.readString16());
188 int32_t ret = reply.readInt32();
198 Parcel data, reply;
200 status_t status = remote()->transact(BnKeystoreService::RESET, data, &reply);
205 int32_t err = reply.readExceptionCode();
206 int32_t ret = reply.readInt32();
216 Parcel data, reply;
219 status_t status = remote()->transact(BnKeystoreService::PASSWORD, data, &reply);
224 int32_t err = reply.readExceptionCode();
225 int32_t ret = reply.readInt32();
235 Parcel data, reply;
237 status_t status = remote()->transact(BnKeystoreService::LOCK, data, &reply);
242 int32_t err = reply.readExceptionCode();
243 int32_t ret = reply.readInt32();
253 Parcel data, reply;
256 status_t status = remote()->transact(BnKeystoreService::UNLOCK, data, &reply);
261 int32_t err = reply.readExceptionCode();
262 int32_t ret = reply.readInt32();
272 Parcel data, reply;
274 status_t status = remote()->transact(BnKeystoreService::ZERO, data, &reply);
279 int32_t err = reply.readExceptionCode();
280 int32_t ret = reply.readInt32();
291 Parcel data, reply;
306 status_t status = remote()->transact(BnKeystoreService::GENERATE, data, &reply);
311 int32_t err = reply.readExceptionCode();
312 int32_t ret = reply.readInt32();
323 Parcel data, reply;
331 status_t status = remote()->transact(BnKeystoreService::IMPORT, data, &reply);
336 int32_t err = reply.readExceptionCode();
337 int32_t ret = reply.readInt32();
348 Parcel data, reply;
354 status_t status = remote()->transact(BnKeystoreService::SIGN, data, &reply);
359 int32_t err = reply.readExceptionCode();
360 ssize_t len = reply.readInt32();
361 if (len >= 0 && (size_t) len <= reply.dataAvail()) {
363 const void* outBuf = reply.readInplace(ulen);
385 Parcel data, reply;
396 status_t status = remote()->transact(BnKeystoreService::VERIFY, data, &reply);
401 int32_t err = reply.readExceptionCode();
402 int32_t ret = reply.readInt32();
412 Parcel data, reply;
415 status_t status = remote()->transact(BnKeystoreService::GET_PUBKEY, data, &reply);
420 int32_t err = reply.readExceptionCode();
421 ssize_t len = reply.readInt32();
422 if (len >= 0 && (size_t) len <= reply.dataAvail()) {
424 const void* buf = reply.readInplace(ulen);
445 Parcel data, reply;
449 status_t status = remote()->transact(BnKeystoreService::DEL_KEY, data, &reply);
454 int32_t err = reply.readExceptionCode();
455 int32_t ret = reply.readInt32();
465 Parcel data, reply;
469 status_t status = remote()->transact(BnKeystoreService::GRANT, data, &reply);
474 int32_t err = reply.readExceptionCode();
475 int32_t ret = reply.readInt32();
485 Parcel data, reply;
489 status_t status = remote()->transact(BnKeystoreService::UNGRANT, data, &reply);
494 int32_t err = reply.readExceptionCode();
495 int32_t ret = reply.readInt32();
505 Parcel data, reply;
508 status_t status = remote()->transact(BnKeystoreService::GETMTIME, data, &reply);
513 int32_t err = reply.readExceptionCode();
514 int64_t ret = reply.readInt64();
525 Parcel data, reply;
531 status_t status = remote()->transact(BnKeystoreService::DUPLICATE, data, &reply);
536 int32_t err = reply.readExceptionCode();
537 int32_t ret = reply.readInt32();
547 Parcel data, reply;
550 status_t status = remote()->transact(BnKeystoreService::IS_HARDWARE_BACKED, data, &reply);
555 int32_t err = reply.readExceptionCode();
556 int32_t ret = reply.readInt32();
566 Parcel data, reply;
569 status_t status = remote()->transact(BnKeystoreService::CLEAR_UID, data, &reply);
574 int32_t err = reply.readExceptionCode();
575 int32_t ret = reply.readInt32();
589 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
593 CHECK_INTERFACE(IKeystoreService, data, reply);
595 reply->writeNoException();
596 reply->writeInt32(ret);
600 CHECK_INTERFACE(IKeystoreService, data, reply);
605 reply->writeNoException();
607 reply->writeInt32(outSize);
608 void* buf = reply->writeInplace(outSize);
612 reply->writeInt32(-1);
617 CHECK_INTERFACE(IKeystoreService, data, reply);
630 reply->writeNoException();
631 reply->writeInt32(ret);
635 CHECK_INTERFACE(IKeystoreService, data, reply);
639 reply->writeNoException();
640 reply->writeInt32(ret);
644 CHECK_INTERFACE(IKeystoreService, data, reply);
648 reply->writeNoException();
649 reply->writeInt32(ret);
653 CHECK_INTERFACE(IKeystoreService, data, reply);
658 reply->writeNoException();
659 reply->writeInt32(matches.size());
662 reply->writeString16(*it);
664 reply->writeInt32(ret);
668 CHECK_INTERFACE(IKeystoreService, data, reply);
670 reply->writeNoException();
671 reply->writeInt32(ret);
675 CHECK_INTERFACE(IKeystoreService, data, reply);
678 reply->writeNoException();
679 reply->writeInt32(ret);
683 CHECK_INTERFACE(IKeystoreService, data, reply);
685 reply->writeNoException();
686 reply->writeInt32(ret);
690 CHECK_INTERFACE(IKeystoreService, data, reply);
693 reply->writeNoException();
694 reply->writeInt32(ret);
698 CHECK_INTERFACE(IKeystoreService, data, reply);
700 reply->writeNoException();
701 reply->writeInt32(ret);
705 CHECK_INTERFACE(IKeystoreService, data, reply);
725 reply->writeNoException();
726 reply->writeInt32(ret);
730 CHECK_INTERFACE(IKeystoreService, data, reply);
743 reply->writeNoException();
744 reply->writeInt32(ret);
748 CHECK_INTERFACE(IKeystoreService, data, reply);
761 reply->writeNoException();
763 reply->writeInt32(outSize);
764 void* buf = reply->writeInplace(outSize);
768 reply->writeInt32(-1);
770 reply->writeInt32(ret);
774 CHECK_INTERFACE(IKeystoreService, data, reply);
794 reply->writeNoException();
795 reply->writeInt32(ret ? 1 : 0);
799 CHECK_INTERFACE(IKeystoreService, data, reply);
804 reply->writeNoException();
806 reply->writeInt32(outSize);
807 void* buf = reply->writeInplace(outSize);
811 reply->writeInt32(-1);
813 reply->writeInt32(ret);
817 CHECK_INTERFACE(IKeystoreService, data, reply);
821 reply->writeNoException();
822 reply->writeInt32(ret);
826 CHECK_INTERFACE(IKeystoreService, data, reply);
830 reply->writeNoException();
831 reply->writeInt32(ret);
835 CHECK_INTERFACE(IKeystoreService, data, reply);
839 reply->writeNoException();
840 reply->writeInt32(ret);
844 CHECK_INTERFACE(IKeystoreService, data, reply);
847 reply->writeNoException();
848 reply->writeInt64(ret);
852 CHECK_INTERFACE(IKeystoreService, data, reply);
858 reply->writeNoException();
859 reply->writeInt32(ret);
863 CHECK_INTERFACE(IKeystoreService, data, reply);
866 reply->writeNoException();
867 reply->writeInt32(ret);
871 CHECK_INTERFACE(IKeystoreService, data, reply);
874 reply->writeNoException();
875 reply->writeInt32(ret);
879 return BBinder::onTransact(code, data, reply, flags);