Lines Matching refs:reply
116 Parcel data, reply; in addUniqueId() local
119 remote()->transact(ADD_UNIQUEID, data, &reply); in addUniqueId()
120 return reply.readInt32(); in addUniqueId()
125 Parcel data, reply; in removeUniqueId() local
128 remote()->transact(REMOVE_UNIQUEID, data, &reply); in removeUniqueId()
132 Parcel data, reply; in addClient() local
135 remote()->transact(ADD_CLIENT, data, &reply); in addClient()
139 Parcel data, reply; in removeClient() local
142 remote()->transact(REMOVE_CLIENT, data, &reply); in removeClient()
148 Parcel data, reply; in setDrmServiceListener() local
153 remote()->transact(SET_DRM_SERVICE_LISTENER, data, &reply); in setDrmServiceListener()
154 return reply.readInt32(); in setDrmServiceListener()
160 Parcel data, reply; in getConstraints() local
167 remote()->transact(GET_CONSTRAINTS_FROM_CONTENT, data, &reply); in getConstraints()
170 if (0 != reply.dataAvail()) { in getConstraints()
174 const int size = reply.readInt32(); in getConstraints()
176 const String8 key(reply.readString8()); in getConstraints()
177 const int bufferSize = reply.readInt32(); in getConstraints()
181 reply.read(data, bufferSize); in getConstraints()
192 Parcel data, reply; in getMetadata() local
198 remote()->transact(GET_METADATA_FROM_CONTENT, data, &reply); in getMetadata()
200 if (0 != reply.dataAvail()) { in getMetadata()
204 const int size = reply.readInt32(); in getMetadata()
206 const String8 key(reply.readString8()); in getMetadata()
207 const int bufferSize = reply.readInt32(); in getMetadata()
211 reply.read(data, bufferSize); in getMetadata()
222 Parcel data, reply; in canHandle() local
230 remote()->transact(CAN_HANDLE, data, &reply); in canHandle()
232 return static_cast<bool>(reply.readInt32()); in canHandle()
237 Parcel data, reply; in processDrmInfo() local
262 remote()->transact(PROCESS_DRM_INFO, data, &reply); in processDrmInfo()
265 if (0 != reply.dataAvail()) { in processDrmInfo()
267 const int statusCode = reply.readInt32(); in processDrmInfo()
268 const int infoType = reply.readInt32(); in processDrmInfo()
269 const String8 mimeType = reply.readString8(); in processDrmInfo()
272 if (0 != reply.dataAvail()) { in processDrmInfo()
273 const int bufferSize = reply.readInt32(); in processDrmInfo()
277 reply.read(data, bufferSize); in processDrmInfo()
288 Parcel data, reply; in acquireDrmInfo() local
315 remote()->transact(ACQUIRE_DRM_INFO, data, &reply); in acquireDrmInfo()
318 if (0 != reply.dataAvail()) { in acquireDrmInfo()
320 const int infoType = reply.readInt32(); in acquireDrmInfo()
321 const int bufferSize = reply.readInt32(); in acquireDrmInfo()
326 reply.read(data, bufferSize); in acquireDrmInfo()
328 drmInfo = new DrmInfo(infoType, DrmBuffer(data, bufferSize), reply.readString8()); in acquireDrmInfo()
330 const int size = reply.readInt32(); in acquireDrmInfo()
332 const String8 key(reply.readString8()); in acquireDrmInfo()
333 const String8 value(reply.readString8()); in acquireDrmInfo()
344 Parcel data, reply; in saveRights() local
366 remote()->transact(SAVE_RIGHTS, data, &reply); in saveRights()
367 return reply.readInt32(); in saveRights()
372 Parcel data, reply; in getOriginalMimeType() local
383 remote()->transact(GET_ORIGINAL_MIMETYPE, data, &reply); in getOriginalMimeType()
384 return reply.readString8(); in getOriginalMimeType()
390 Parcel data, reply; in getDrmObjectType() local
397 remote()->transact(GET_DRM_OBJECT_TYPE, data, &reply); in getDrmObjectType()
399 return reply.readInt32(); in getDrmObjectType()
404 Parcel data, reply; in checkRightsStatus() local
411 remote()->transact(CHECK_RIGHTS_STATUS, data, &reply); in checkRightsStatus()
413 return reply.readInt32(); in checkRightsStatus()
419 Parcel data, reply; in consumeRights() local
429 remote()->transact(CONSUME_RIGHTS, data, &reply); in consumeRights()
430 return reply.readInt32(); in consumeRights()
436 Parcel data, reply; in setPlaybackStatus() local
446 remote()->transact(SET_PLAYBACK_STATUS, data, &reply); in setPlaybackStatus()
447 return reply.readInt32(); in setPlaybackStatus()
454 Parcel data, reply; in validateAction() local
463 remote()->transact(VALIDATE_ACTION, data, &reply); in validateAction()
465 return static_cast<bool>(reply.readInt32()); in validateAction()
470 Parcel data, reply; in removeRights() local
476 remote()->transact(REMOVE_RIGHTS, data, &reply); in removeRights()
477 return reply.readInt32(); in removeRights()
482 Parcel data, reply; in removeAllRights() local
487 remote()->transact(REMOVE_ALL_RIGHTS, data, &reply); in removeAllRights()
488 return reply.readInt32(); in removeAllRights()
493 Parcel data, reply; in openConvertSession() local
499 remote()->transact(OPEN_CONVERT_SESSION, data, &reply); in openConvertSession()
500 return reply.readInt32(); in openConvertSession()
506 Parcel data, reply; in convertData() local
514 remote()->transact(CONVERT_DATA, data, &reply); in convertData()
518 if (0 != reply.dataAvail()) { in convertData()
520 const int statusCode = reply.readInt32(); in convertData()
521 const off64_t offset = reply.readInt64(); in convertData()
524 if (0 != reply.dataAvail()) { in convertData()
525 const int bufferSize = reply.readInt32(); in convertData()
529 reply.read(data, bufferSize); in convertData()
540 Parcel data, reply; in closeConvertSession() local
546 remote()->transact(CLOSE_CONVERT_SESSION, data, &reply); in closeConvertSession()
550 if (0 != reply.dataAvail()) { in closeConvertSession()
552 const int statusCode = reply.readInt32(); in closeConvertSession()
553 const off64_t offset = reply.readInt64(); in closeConvertSession()
556 if (0 != reply.dataAvail()) { in closeConvertSession()
557 const int bufferSize = reply.readInt32(); in closeConvertSession()
561 reply.read(data, bufferSize); in closeConvertSession()
573 Parcel data, reply; in getAllSupportInfo() local
578 remote()->transact(GET_ALL_SUPPORT_INFO, data, &reply); in getAllSupportInfo()
581 const int arraySize = reply.readInt32(); in getAllSupportInfo()
588 const int fileSuffixVectorSize = reply.readInt32(); in getAllSupportInfo()
590 drmSupportInfo.addFileSuffix(reply.readString8()); in getAllSupportInfo()
593 const int mimeTypeVectorSize = reply.readInt32(); in getAllSupportInfo()
595 drmSupportInfo.addMimeType(reply.readString8()); in getAllSupportInfo()
598 drmSupportInfo.setDescription(reply.readString8()); in getAllSupportInfo()
603 return reply.readInt32(); in getAllSupportInfo()
609 Parcel data, reply; in openDecryptSession() local
622 remote()->transact(OPEN_DECRYPT_SESSION, data, &reply); in openDecryptSession()
625 if (0 != reply.dataAvail()) { in openDecryptSession()
627 readDecryptHandleFromParcelData(handle, reply); in openDecryptSession()
636 Parcel data, reply; in openDecryptSession() local
647 remote()->transact(OPEN_DECRYPT_SESSION_FROM_URI, data, &reply); in openDecryptSession()
650 if (0 != reply.dataAvail()) { in openDecryptSession()
652 readDecryptHandleFromParcelData(handle, reply); in openDecryptSession()
662 Parcel data, reply; in openDecryptSession() local
674 remote()->transact(OPEN_DECRYPT_SESSION_FOR_STREAMING, data, &reply); in openDecryptSession()
677 if (0 != reply.dataAvail()) { in openDecryptSession()
679 readDecryptHandleFromParcelData(handle, reply); in openDecryptSession()
688 Parcel data, reply; in closeDecryptSession() local
695 remote()->transact(CLOSE_DECRYPT_SESSION, data, &reply); in closeDecryptSession()
697 return reply.readInt32(); in closeDecryptSession()
704 Parcel data, reply; in initializeDecryptUnit() local
716 remote()->transact(INITIALIZE_DECRYPT_UNIT, data, &reply); in initializeDecryptUnit()
717 return reply.readInt32(); in initializeDecryptUnit()
724 Parcel data, reply; in decrypt() local
742 remote()->transact(DECRYPT, data, &reply); in decrypt()
744 const status_t status = reply.readInt32(); in decrypt()
748 const int size = reply.readInt32(); in decrypt()
750 reply.read((void *)(*decBuffer)->data, size); in decrypt()
759 Parcel data, reply; in finalizeDecryptUnit() local
768 remote()->transact(FINALIZE_DECRYPT_UNIT, data, &reply); in finalizeDecryptUnit()
769 return reply.readInt32(); in finalizeDecryptUnit()
776 Parcel data, reply; in pread() local
787 remote()->transact(PREAD, data, &reply); in pread()
788 result = reply.readInt32(); in pread()
790 reply.read(buffer, result); in pread()
799 Parcel* reply, uint32_t flags) { in onTransact() argument
806 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
808 reply->writeInt32(uniqueId); in onTransact()
815 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
823 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
831 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
839 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
847 reply->writeInt32(status); in onTransact()
854 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
864 reply->writeInt32(drmConstraints->getCount()); in onTransact()
869 reply->writeString8(key); in onTransact()
874 reply->writeInt32(bufferSize + 1); in onTransact()
875 reply->write(value, bufferSize + 1); in onTransact()
877 reply->writeInt32(0); in onTransact()
888 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
896 reply->writeInt32(drmMetadata->getCount()); in onTransact()
901 reply->writeString8(key); in onTransact()
906 reply->writeInt32(bufferSize + 1); in onTransact()
907 reply->write(value, bufferSize + 1); in onTransact()
909 reply->writeInt32(0); in onTransact()
920 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
928 reply->writeInt32(result); in onTransact()
935 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
965 reply->writeInt32(drmInfoStatus->statusCode); in onTransact()
966 reply->writeInt32(drmInfoStatus->infoType); in onTransact()
967 reply->writeString8(drmInfoStatus->mimeType); in onTransact()
972 reply->writeInt32(bufferSize); in onTransact()
974 reply->write(drmBuffer->data, bufferSize); in onTransact()
988 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1019 reply->writeInt32(drmInfo->getInfoType()); in onTransact()
1022 reply->writeInt32(bufferSize); in onTransact()
1024 reply->write(drmBuffer.data, bufferSize); in onTransact()
1026 reply->writeString8(drmInfo->getMimeType()); in onTransact()
1027 reply->writeInt32(drmInfo->getCount()); in onTransact()
1032 reply->writeString8(key); in onTransact()
1034 reply->writeString8((value == String8("")) ? String8("NULL") : value); in onTransact()
1046 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1053 reply->writeInt32(BAD_VALUE); in onTransact()
1074 reply->writeInt32(status); in onTransact()
1081 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1092 reply->writeString8(originalMimeType); in onTransact()
1099 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1106 reply->writeInt32(drmObjectType); in onTransact()
1113 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1120 reply->writeInt32(result); in onTransact()
1127 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1138 reply->writeInt32(status); in onTransact()
1147 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1158 reply->writeInt32(status); in onTransact()
1167 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1177 reply->writeInt32(result); in onTransact()
1184 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1189 reply->writeInt32(status); in onTransact()
1197 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1200 reply->writeInt32(status); in onTransact()
1208 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1214 reply->writeInt32(convertId); in onTransact()
1221 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1237 reply->writeInt32(drmConvertedStatus->statusCode); in onTransact()
1238 reply->writeInt64(drmConvertedStatus->offset); in onTransact()
1243 reply->writeInt32(bufferSize); in onTransact()
1245 reply->write(convertedData->data, bufferSize); in onTransact()
1259 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1268 reply->writeInt32(drmConvertedStatus->statusCode); in onTransact()
1269 reply->writeInt64(drmConvertedStatus->offset); in onTransact()
1274 reply->writeInt32(bufferSize); in onTransact()
1276 reply->write(convertedData->data, bufferSize); in onTransact()
1289 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1297 reply->writeInt32(length); in onTransact()
1301 reply->writeInt32(drmSupportInfo.getFileSuffixCount()); in onTransact()
1305 reply->writeString8(fileSuffixIt.next()); in onTransact()
1308 reply->writeInt32(drmSupportInfo.getMimeTypeCount()); in onTransact()
1311 reply->writeString8(mimeTypeIt.next()); in onTransact()
1313 reply->writeString8(drmSupportInfo.getDescription()); in onTransact()
1316 reply->writeInt32(status); in onTransact()
1323 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1336 writeDecryptHandleToParcelData(handle.get(), reply); in onTransact()
1346 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1355 writeDecryptHandleToParcelData(handle.get(), reply); in onTransact()
1368 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1379 writeDecryptHandleToParcelData(handle, reply); in onTransact()
1391 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1399 reply->writeInt32(status); in onTransact()
1406 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1418 reply->writeInt32(BAD_VALUE); in onTransact()
1427 reply->writeInt32(status); in onTransact()
1437 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1450 reply->writeInt32(BAD_VALUE); in onTransact()
1451 reply->writeInt32(0); in onTransact()
1474 reply->writeInt32(status); in onTransact()
1478 reply->writeInt32(size); in onTransact()
1479 reply->write(decBuffer->data, size); in onTransact()
1493 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1501 reply->writeInt32(status); in onTransact()
1510 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1519 reply->writeInt32(BAD_VALUE); in onTransact()
1527 reply->writeInt32(result); in onTransact()
1529 reply->write(buffer, result); in onTransact()
1538 return BBinder::onTransact(code, data, reply, flags); in onTransact()