Lines Matching refs:reply
115 Parcel data, reply;
118 remote()->transact(ADD_UNIQUEID, data, &reply);
119 return reply.readInt32();
124 Parcel data, reply;
127 remote()->transact(REMOVE_UNIQUEID, data, &reply);
131 Parcel data, reply;
134 remote()->transact(ADD_CLIENT, data, &reply);
138 Parcel data, reply;
141 remote()->transact(REMOVE_CLIENT, data, &reply);
147 Parcel data, reply;
152 remote()->transact(SET_DRM_SERVICE_LISTENER, data, &reply);
153 return reply.readInt32();
158 Parcel data, reply;
164 remote()->transact(INSTALL_DRM_ENGINE, data, &reply);
165 return reply.readInt32();
171 Parcel data, reply;
178 remote()->transact(GET_CONSTRAINTS_FROM_CONTENT, data, &reply);
181 if (0 != reply.dataAvail()) {
185 const int size = reply.readInt32();
187 const String8 key(reply.readString8());
188 const int bufferSize = reply.readInt32();
192 reply.read(data, bufferSize);
203 Parcel data, reply;
209 remote()->transact(GET_METADATA_FROM_CONTENT, data, &reply);
211 if (0 != reply.dataAvail()) {
215 const int size = reply.readInt32();
217 const String8 key(reply.readString8());
218 const int bufferSize = reply.readInt32();
222 reply.read(data, bufferSize);
233 Parcel data, reply;
241 remote()->transact(CAN_HANDLE, data, &reply);
243 return static_cast<bool>(reply.readInt32());
248 Parcel data, reply;
273 remote()->transact(PROCESS_DRM_INFO, data, &reply);
276 if (0 != reply.dataAvail()) {
278 const int statusCode = reply.readInt32();
279 const int infoType = reply.readInt32();
280 const String8 mimeType = reply.readString8();
283 if (0 != reply.dataAvail()) {
284 const int bufferSize = reply.readInt32();
288 reply.read(data, bufferSize);
299 Parcel data, reply;
324 remote()->transact(ACQUIRE_DRM_INFO, data, &reply);
327 if (0 != reply.dataAvail()) {
329 const int infoType = reply.readInt32();
330 const int bufferSize = reply.readInt32();
335 reply.read(data, bufferSize);
337 drmInfo = new DrmInfo(infoType, DrmBuffer(data, bufferSize), reply.readString8());
339 const int size = reply.readInt32();
341 const String8 key(reply.readString8());
342 const String8 value(reply.readString8());
353 Parcel data, reply;
375 remote()->transact(SAVE_RIGHTS, data, &reply);
376 return reply.readInt32();
381 Parcel data, reply;
392 remote()->transact(GET_ORIGINAL_MIMETYPE, data, &reply);
393 return reply.readString8();
399 Parcel data, reply;
406 remote()->transact(GET_DRM_OBJECT_TYPE, data, &reply);
408 return reply.readInt32();
413 Parcel data, reply;
420 remote()->transact(CHECK_RIGHTS_STATUS, data, &reply);
422 return reply.readInt32();
428 Parcel data, reply;
438 remote()->transact(CONSUME_RIGHTS, data, &reply);
439 return reply.readInt32();
445 Parcel data, reply;
455 remote()->transact(SET_PLAYBACK_STATUS, data, &reply);
456 return reply.readInt32();
463 Parcel data, reply;
472 remote()->transact(VALIDATE_ACTION, data, &reply);
474 return static_cast<bool>(reply.readInt32());
479 Parcel data, reply;
485 remote()->transact(REMOVE_RIGHTS, data, &reply);
486 return reply.readInt32();
491 Parcel data, reply;
496 remote()->transact(REMOVE_ALL_RIGHTS, data, &reply);
497 return reply.readInt32();
502 Parcel data, reply;
508 reply);
509 return reply.readInt32();
515 Parcel data, reply;
523 remote()->transact(CONVERT_DATA, data, &reply);
527 if (0 != reply.dataAvail()) {
529 const int statusCode = reply.readInt32();
530 const off64_t offset = reply.readInt64();
533 if (0 != reply.dataAvail()) {
534 const int bufferSize = reply.readInt32();
538 reply.read(data, bufferSize);
549 Parcel data, reply;
555 remote()->transact(CLOSE_CONVERT_SESSION, data, &reply);
559 if (0 != reply.dataAvail()) {
561 const int statusCode = reply.readInt32();
562 const off64_t offset = reply.readInt64();
565 if (0 != reply.dataAvail()) {
566 const int bufferSize = reply.readInt32();
570 reply.read(data, bufferSize);
582 Parcel data, reply;
587 remote()->transact(GET_ALL_SUPPORT_INFO, data, &reply);
590 const int arraySize = reply.readInt32();
597 const int fileSuffixVectorSize = reply.readInt32();
599 drmSupportInfo.addFileSuffix(reply.readString8());
602 const int mimeTypeVectorSize = reply.readInt32();
604 drmSupportInfo.addMimeType(reply.readString8());
607 drmSupportInfo.setDescription(reply.readString8());
612 return reply.readInt32();
618 Parcel data, reply;
631 remote()->transact(OPEN_DECRYPT_SESSION, data, &reply);
634 if (0 != reply.dataAvail()) {
636 readDecryptHandleFromParcelData(handle, reply);
645 Parcel data, reply;
656 remote()->transact(OPEN_DECRYPT_SESSION_FROM_URI, data, &reply);
659 if (0 != reply.dataAvail()) {
661 readDecryptHandleFromParcelData(handle, reply);
671 Parcel data, reply;
683 remote()->transact(OPEN_DECRYPT_SESSION_FOR_STREAMING, data, &reply);
686 if (0 != reply.dataAvail()) {
688 readDecryptHandleFromParcelData(handle, reply);
697 Parcel data, reply;
704 remote()->transact(CLOSE_DECRYPT_SESSION, data, &reply);
706 return reply.readInt32();
713 Parcel data, reply;
725 remote()->transact(INITIALIZE_DECRYPT_UNIT, data, &reply);
726 return reply.readInt32();
733 Parcel data, reply;
751 remote()->transact(DECRYPT, data, &reply);
753 const status_t status = reply.readInt32();
756 const int size = reply.readInt32();
758 reply.read((void *)(*decBuffer)->data, size);
766 Parcel data, reply;
775 remote()->transact(FINALIZE_DECRYPT_UNIT, data, &reply);
776 return reply.readInt32();
783 Parcel data, reply;
794 remote()->transact(PREAD, data, &reply);
795 result = reply.readInt32();
797 reply.read(buffer, result);
806 Parcel* reply, uint32_t flags) {
813 CHECK_INTERFACE(IDrmManagerService, data, reply);
815 reply->writeInt32(uniqueId);
822 CHECK_INTERFACE(IDrmManagerService, data, reply);
830 CHECK_INTERFACE(IDrmManagerService, data, reply);
838 CHECK_INTERFACE(IDrmManagerService, data, reply);
846 CHECK_INTERFACE(IDrmManagerService, data, reply);
854 reply->writeInt32(status);
861 CHECK_INTERFACE(IDrmManagerService, data, reply);
867 reply->writeInt32(status);
874 CHECK_INTERFACE(IDrmManagerService, data, reply);
884 reply->writeInt32(drmConstraints->getCount());
889 reply->writeString8(key);
894 reply->writeInt32(bufferSize + 1);
895 reply->write(value, bufferSize + 1);
897 reply->writeInt32(0);
908 CHECK_INTERFACE(IDrmManagerService, data, reply);
916 reply->writeInt32(drmMetadata->getCount());
921 reply->writeString8(key);
926 reply->writeInt32(bufferSize + 1);
927 reply->write(value, bufferSize + 1);
929 reply->writeInt32(0);
940 CHECK_INTERFACE(IDrmManagerService, data, reply);
948 reply->writeInt32(result);
955 CHECK_INTERFACE(IDrmManagerService, data, reply);
980 reply->writeInt32(drmInfoStatus->statusCode);
981 reply->writeInt32(drmInfoStatus->infoType);
982 reply->writeString8(drmInfoStatus->mimeType);
987 reply->writeInt32(bufferSize);
989 reply->write(drmBuffer->data, bufferSize);
1003 CHECK_INTERFACE(IDrmManagerService, data, reply);
1031 reply->writeInt32(drmInfo->getInfoType());
1034 reply->writeInt32(bufferSize);
1036 reply->write(drmBuffer.data, bufferSize);
1038 reply->writeString8(drmInfo->getMimeType());
1039 reply->writeInt32(drmInfo->getCount());
1044 reply->writeString8(key);
1046 reply->writeString8((value == String8("")) ? String8("NULL") : value);
1058 CHECK_INTERFACE(IDrmManagerService, data, reply);
1081 reply->writeInt32(status);
1088 CHECK_INTERFACE(IDrmManagerService, data, reply);
1099 reply->writeString8(originalMimeType);
1106 CHECK_INTERFACE(IDrmManagerService, data, reply);
1113 reply->writeInt32(drmObjectType);
1120 CHECK_INTERFACE(IDrmManagerService, data, reply);
1127 reply->writeInt32(result);
1134 CHECK_INTERFACE(IDrmManagerService, data, reply);
1145 reply->writeInt32(status);
1154 CHECK_INTERFACE(IDrmManagerService, data, reply);
1165 reply->writeInt32(status);
1174 CHECK_INTERFACE(IDrmManagerService, data, reply);
1184 reply->writeInt32(result);
1191 CHECK_INTERFACE(IDrmManagerService, data, reply);
1196 reply->writeInt32(status);
1204 CHECK_INTERFACE(IDrmManagerService, data, reply);
1207 reply->writeInt32(status);
1215 CHECK_INTERFACE(IDrmManagerService, data, reply);
1221 reply->writeInt32(convertId);
1228 CHECK_INTERFACE(IDrmManagerService, data, reply);
1241 reply->writeInt32(drmConvertedStatus->statusCode);
1242 reply->writeInt64(drmConvertedStatus->offset);
1247 reply->writeInt32(bufferSize);
1249 reply->write(convertedData->data, bufferSize);
1263 CHECK_INTERFACE(IDrmManagerService, data, reply);
1272 reply->writeInt32(drmConvertedStatus->statusCode);
1273 reply->writeInt64(drmConvertedStatus->offset);
1278 reply->writeInt32(bufferSize);
1280 reply->write(convertedData->data, bufferSize);
1293 CHECK_INTERFACE(IDrmManagerService, data, reply);
1301 reply->writeInt32(length);
1305 reply->writeInt32(drmSupportInfo.getFileSuffixCount());
1309 reply->writeString8(fileSuffixIt.next());
1312 reply->writeInt32(drmSupportInfo.getMimeTypeCount());
1315 reply->writeString8(mimeTypeIt.next());
1317 reply->writeString8(drmSupportInfo.getDescription());
1320 reply->writeInt32(status);
1327 CHECK_INTERFACE(IDrmManagerService, data, reply);
1340 writeDecryptHandleToParcelData(handle, reply);
1350 CHECK_INTERFACE(IDrmManagerService, data, reply);
1359 writeDecryptHandleToParcelData(handle, reply);
1372 CHECK_INTERFACE(IDrmManagerService, data, reply);
1383 writeDecryptHandleToParcelData(handle, reply);
1396 CHECK_INTERFACE(IDrmManagerService, data, reply);
1404 reply->writeInt32(status);
1411 CHECK_INTERFACE(IDrmManagerService, data, reply);
1427 reply->writeInt32(status);
1437 CHECK_INTERFACE(IDrmManagerService, data, reply);
1464 reply->writeInt32(status);
1467 reply->writeInt32(size);
1468 reply->write(decBuffer->data, size);
1481 CHECK_INTERFACE(IDrmManagerService, data, reply);
1489 reply->writeInt32(status);
1498 CHECK_INTERFACE(IDrmManagerService, data, reply);
1511 reply->writeInt32(result);
1513 reply->write(buffer, result);
1522 return BBinder::onTransact(code, data, reply, flags);