• Home
  • Raw
  • Download

Lines Matching refs:data

42         const sp<DecryptHandle>& handle, Parcel* data) {  in writeDecryptHandleToParcelData()  argument
43 data->writeInt32(handle->decryptId); in writeDecryptHandleToParcelData()
44 data->writeString8(handle->mimeType); in writeDecryptHandleToParcelData()
45 data->writeInt32(handle->decryptApiType); in writeDecryptHandleToParcelData()
46 data->writeInt32(handle->status); in writeDecryptHandleToParcelData()
49 data->writeInt32(size); in writeDecryptHandleToParcelData()
51 data->writeInt32(handle->copyControlVector.keyAt(i)); in writeDecryptHandleToParcelData()
52 data->writeInt32(handle->copyControlVector.valueAt(i)); in writeDecryptHandleToParcelData()
56 data->writeInt32(size); in writeDecryptHandleToParcelData()
58 data->writeString8(handle->extendedData.keyAt(i)); in writeDecryptHandleToParcelData()
59 data->writeString8(handle->extendedData.valueAt(i)); in writeDecryptHandleToParcelData()
63 data->writeInt32(handle->decryptInfo->decryptBufferLength); in writeDecryptHandleToParcelData()
65 data->writeInt32(INVALID_BUFFER_LENGTH); in writeDecryptHandleToParcelData()
70 sp<DecryptHandle>& handle, const Parcel& data) { in readDecryptHandleFromParcelData() argument
71 if (0 == data.dataAvail()) { in readDecryptHandleFromParcelData()
75 handle->decryptId = data.readInt32(); in readDecryptHandleFromParcelData()
76 handle->mimeType = data.readString8(); in readDecryptHandleFromParcelData()
77 handle->decryptApiType = data.readInt32(); in readDecryptHandleFromParcelData()
78 handle->status = data.readInt32(); in readDecryptHandleFromParcelData()
80 int size = data.readInt32(); in readDecryptHandleFromParcelData()
82 DrmCopyControl key = (DrmCopyControl)data.readInt32(); in readDecryptHandleFromParcelData()
83 int value = data.readInt32(); in readDecryptHandleFromParcelData()
87 size = data.readInt32(); in readDecryptHandleFromParcelData()
89 String8 key = data.readString8(); in readDecryptHandleFromParcelData()
90 String8 value = data.readString8(); in readDecryptHandleFromParcelData()
95 const int bufferLen = data.readInt32(); in readDecryptHandleFromParcelData()
116 Parcel data, reply; in addUniqueId() local
117 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in addUniqueId()
118 data.writeInt32(isNative); in addUniqueId()
119 remote()->transact(ADD_UNIQUEID, data, &reply); in addUniqueId()
125 Parcel data, reply; in removeUniqueId() local
126 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in removeUniqueId()
127 data.writeInt32(uniqueId); in removeUniqueId()
128 remote()->transact(REMOVE_UNIQUEID, data, &reply); in removeUniqueId()
132 Parcel data, reply; in addClient() local
133 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in addClient()
134 data.writeInt32(uniqueId); in addClient()
135 remote()->transact(ADD_CLIENT, data, &reply); in addClient()
139 Parcel data, reply; in removeClient() local
140 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in removeClient()
141 data.writeInt32(uniqueId); in removeClient()
142 remote()->transact(REMOVE_CLIENT, data, &reply); in removeClient()
148 Parcel data, reply; in setDrmServiceListener() local
150 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in setDrmServiceListener()
151 data.writeInt32(uniqueId); in setDrmServiceListener()
152 data.writeStrongBinder(IInterface::asBinder(drmServiceListener)); in setDrmServiceListener()
153 remote()->transact(SET_DRM_SERVICE_LISTENER, data, &reply); in setDrmServiceListener()
160 Parcel data, reply; in getConstraints() local
162 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in getConstraints()
163 data.writeInt32(uniqueId); in getConstraints()
164 data.writeString8(*path); in getConstraints()
165 data.writeInt32(action); in getConstraints()
167 remote()->transact(GET_CONSTRAINTS_FROM_CONTENT, data, &reply); in getConstraints()
178 char* data = NULL; in getConstraints() local
180 data = new char[bufferSize]; in getConstraints()
181 reply.read(data, bufferSize); in getConstraints()
182 drmConstraints->put(&key, data); in getConstraints()
183 delete[] data; in getConstraints()
192 Parcel data, reply; in getMetadata() local
193 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in getMetadata()
194 data.writeInt32(uniqueId); in getMetadata()
197 data.writeString8(*path); in getMetadata()
198 remote()->transact(GET_METADATA_FROM_CONTENT, data, &reply); in getMetadata()
208 char* data = NULL; in getMetadata() local
210 data = new char[bufferSize]; in getMetadata()
211 reply.read(data, bufferSize); in getMetadata()
212 drmMetadata->put(&key, data); in getMetadata()
213 delete[] data; in getMetadata()
222 Parcel data, reply; in canHandle() local
224 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in canHandle()
225 data.writeInt32(uniqueId); in canHandle()
227 data.writeString8(path); in canHandle()
228 data.writeString8(mimeType); in canHandle()
230 remote()->transact(CAN_HANDLE, data, &reply); in canHandle()
237 Parcel data, reply; in processDrmInfo() local
239 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in processDrmInfo()
240 data.writeInt32(uniqueId); in processDrmInfo()
243 data.writeInt32(drmInfo->getInfoType()); in processDrmInfo()
246 data.writeInt32(dataBufferSize); in processDrmInfo()
248 data.write(dataBuffer.data, dataBufferSize); in processDrmInfo()
250 data.writeString8(drmInfo->getMimeType()); in processDrmInfo()
252 data.writeInt32(drmInfo->getCount()); in processDrmInfo()
257 data.writeString8(key); in processDrmInfo()
259 data.writeString8((value == String8("")) ? String8("NULL") : value); in processDrmInfo()
262 remote()->transact(PROCESS_DRM_INFO, data, &reply); in processDrmInfo()
274 char* data = NULL; in processDrmInfo() local
276 data = new char[bufferSize]; in processDrmInfo()
277 reply.read(data, bufferSize); in processDrmInfo()
279 drmBuffer = new DrmBuffer(data, bufferSize); in processDrmInfo()
288 Parcel data, reply; in acquireDrmInfo() local
290 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in acquireDrmInfo()
291 data.writeInt32(uniqueId); in acquireDrmInfo()
294 data.writeInt32(drmInforequest->getInfoType()); in acquireDrmInfo()
295 data.writeString8(drmInforequest->getMimeType()); in acquireDrmInfo()
297 data.writeInt32(drmInforequest->getCount()); in acquireDrmInfo()
302 data.writeString8(key); in acquireDrmInfo()
309 data.writeFileDescriptor(fd); in acquireDrmInfo()
311 data.writeString8((value == String8("")) ? String8("NULL") : value); in acquireDrmInfo()
315 remote()->transact(ACQUIRE_DRM_INFO, data, &reply); in acquireDrmInfo()
322 char* data = NULL; in acquireDrmInfo() local
325 data = new char[bufferSize]; in acquireDrmInfo()
326 reply.read(data, bufferSize); in acquireDrmInfo()
328 drmInfo = new DrmInfo(infoType, DrmBuffer(data, bufferSize), reply.readString8()); in acquireDrmInfo()
344 Parcel data, reply; in saveRights() local
346 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in saveRights()
347 data.writeInt32(uniqueId); in saveRights()
351 data.writeInt32(dataBuffer.length); in saveRights()
352 data.write(dataBuffer.data, dataBuffer.length); in saveRights()
355 data.writeString8((mimeType == String8("")) ? String8("NULL") : mimeType); in saveRights()
358 data.writeString8((accountId == String8("")) ? String8("NULL") : accountId); in saveRights()
361 data.writeString8((subscriptionId == String8("")) ? String8("NULL") : subscriptionId); in saveRights()
363 data.writeString8((rightsPath == String8("")) ? String8("NULL") : rightsPath); in saveRights()
364 data.writeString8((contentPath == String8("")) ? String8("NULL") : contentPath); in saveRights()
366 remote()->transact(SAVE_RIGHTS, data, &reply); in saveRights()
372 Parcel data, reply; in getOriginalMimeType() local
374 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in getOriginalMimeType()
375 data.writeInt32(uniqueId); in getOriginalMimeType()
376 data.writeString8(path); in getOriginalMimeType()
378 data.writeInt32(isFdValid); in getOriginalMimeType()
380 data.writeFileDescriptor(fd); in getOriginalMimeType()
383 remote()->transact(GET_ORIGINAL_MIMETYPE, data, &reply); in getOriginalMimeType()
390 Parcel data, reply; in getDrmObjectType() local
392 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in getDrmObjectType()
393 data.writeInt32(uniqueId); in getDrmObjectType()
394 data.writeString8(path); in getDrmObjectType()
395 data.writeString8(mimeType); in getDrmObjectType()
397 remote()->transact(GET_DRM_OBJECT_TYPE, data, &reply); in getDrmObjectType()
404 Parcel data, reply; in checkRightsStatus() local
406 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in checkRightsStatus()
407 data.writeInt32(uniqueId); in checkRightsStatus()
408 data.writeString8(path); in checkRightsStatus()
409 data.writeInt32(action); in checkRightsStatus()
411 remote()->transact(CHECK_RIGHTS_STATUS, data, &reply); in checkRightsStatus()
419 Parcel data, reply; in consumeRights() local
421 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in consumeRights()
422 data.writeInt32(uniqueId); in consumeRights()
424 writeDecryptHandleToParcelData(decryptHandle, &data); in consumeRights()
426 data.writeInt32(action); in consumeRights()
427 data.writeInt32(static_cast< int>(reserve)); in consumeRights()
429 remote()->transact(CONSUME_RIGHTS, data, &reply); in consumeRights()
436 Parcel data, reply; in setPlaybackStatus() local
438 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in setPlaybackStatus()
439 data.writeInt32(uniqueId); in setPlaybackStatus()
441 writeDecryptHandleToParcelData(decryptHandle, &data); in setPlaybackStatus()
443 data.writeInt32(playbackStatus); in setPlaybackStatus()
444 data.writeInt64(position); in setPlaybackStatus()
446 remote()->transact(SET_PLAYBACK_STATUS, data, &reply); in setPlaybackStatus()
454 Parcel data, reply; in validateAction() local
456 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in validateAction()
457 data.writeInt32(uniqueId); in validateAction()
458 data.writeString8(path); in validateAction()
459 data.writeInt32(action); in validateAction()
460 data.writeInt32(description.outputType); in validateAction()
461 data.writeInt32(description.configuration); in validateAction()
463 remote()->transact(VALIDATE_ACTION, data, &reply); in validateAction()
470 Parcel data, reply; in removeRights() local
472 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in removeRights()
473 data.writeInt32(uniqueId); in removeRights()
474 data.writeString8(path); in removeRights()
476 remote()->transact(REMOVE_RIGHTS, data, &reply); in removeRights()
482 Parcel data, reply; in removeAllRights() local
484 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in removeAllRights()
485 data.writeInt32(uniqueId); in removeAllRights()
487 remote()->transact(REMOVE_ALL_RIGHTS, data, &reply); in removeAllRights()
493 Parcel data, reply; in openConvertSession() local
495 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in openConvertSession()
496 data.writeInt32(uniqueId); in openConvertSession()
497 data.writeString8(mimeType); in openConvertSession()
499 remote()->transact(OPEN_CONVERT_SESSION, data, &reply); in openConvertSession()
506 Parcel data, reply; in convertData() local
508 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in convertData()
509 data.writeInt32(uniqueId); in convertData()
510 data.writeInt32(convertId); in convertData()
511 data.writeInt32(inputData->length); in convertData()
512 data.write(inputData->data, inputData->length); in convertData()
514 remote()->transact(CONVERT_DATA, data, &reply); in convertData()
526 char* data = NULL; in convertData() local
528 data = new char[bufferSize]; in convertData()
529 reply.read(data, bufferSize); in convertData()
531 convertedData = new DrmBuffer(data, bufferSize); in convertData()
540 Parcel data, reply; in closeConvertSession() local
542 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in closeConvertSession()
543 data.writeInt32(uniqueId); in closeConvertSession()
544 data.writeInt32(convertId); in closeConvertSession()
546 remote()->transact(CLOSE_CONVERT_SESSION, data, &reply); in closeConvertSession()
558 char* data = NULL; in closeConvertSession() local
560 data = new char[bufferSize]; in closeConvertSession()
561 reply.read(data, bufferSize); in closeConvertSession()
563 convertedData = new DrmBuffer(data, bufferSize); in closeConvertSession()
573 Parcel data, reply; in getAllSupportInfo() local
575 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in getAllSupportInfo()
576 data.writeInt32(uniqueId); in getAllSupportInfo()
578 remote()->transact(GET_ALL_SUPPORT_INFO, data, &reply); in getAllSupportInfo()
609 Parcel data, reply; in openDecryptSession() local
611 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in openDecryptSession()
612 data.writeInt32(uniqueId); in openDecryptSession()
613 data.writeFileDescriptor(fd); in openDecryptSession()
614 data.writeInt64(offset); in openDecryptSession()
615 data.writeInt64(length); in openDecryptSession()
620 data.writeString8(mimeType); in openDecryptSession()
622 remote()->transact(OPEN_DECRYPT_SESSION, data, &reply); in openDecryptSession()
636 Parcel data, reply; in openDecryptSession() local
638 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in openDecryptSession()
639 data.writeInt32(uniqueId); in openDecryptSession()
640 data.writeString8(String8(uri)); in openDecryptSession()
645 data.writeString8(mimeType); in openDecryptSession()
647 remote()->transact(OPEN_DECRYPT_SESSION_FROM_URI, data, &reply); in openDecryptSession()
662 Parcel data, reply; in openDecryptSession() local
664 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in openDecryptSession()
665 data.writeInt32(uniqueId); in openDecryptSession()
666 if (buf.data != NULL && buf.length > 0) { in openDecryptSession()
667 data.writeInt32(buf.length); in openDecryptSession()
668 data.write(buf.data, buf.length); in openDecryptSession()
670 data.writeInt32(0); in openDecryptSession()
672 data.writeString8(mimeType); in openDecryptSession()
674 remote()->transact(OPEN_DECRYPT_SESSION_FOR_STREAMING, data, &reply); in openDecryptSession()
688 Parcel data, reply; in closeDecryptSession() local
690 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in closeDecryptSession()
691 data.writeInt32(uniqueId); in closeDecryptSession()
693 writeDecryptHandleToParcelData(decryptHandle, &data); in closeDecryptSession()
695 remote()->transact(CLOSE_DECRYPT_SESSION, data, &reply); in closeDecryptSession()
704 Parcel data, reply; in initializeDecryptUnit() local
706 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in initializeDecryptUnit()
707 data.writeInt32(uniqueId); in initializeDecryptUnit()
709 writeDecryptHandleToParcelData(decryptHandle, &data); in initializeDecryptUnit()
711 data.writeInt32(decryptUnitId); in initializeDecryptUnit()
713 data.writeInt32(headerInfo->length); in initializeDecryptUnit()
714 data.write(headerInfo->data, headerInfo->length); in initializeDecryptUnit()
716 remote()->transact(INITIALIZE_DECRYPT_UNIT, data, &reply); in initializeDecryptUnit()
724 Parcel data, reply; in decrypt() local
726 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in decrypt()
727 data.writeInt32(uniqueId); in decrypt()
729 writeDecryptHandleToParcelData(decryptHandle, &data); in decrypt()
731 data.writeInt32(decryptUnitId); in decrypt()
732 data.writeInt32((*decBuffer)->length); in decrypt()
734 data.writeInt32(encBuffer->length); in decrypt()
735 data.write(encBuffer->data, encBuffer->length); in decrypt()
738 data.writeInt32(IV->length); in decrypt()
739 data.write(IV->data, IV->length); in decrypt()
742 remote()->transact(DECRYPT, data, &reply); in decrypt()
750 reply.read((void *)(*decBuffer)->data, size); in decrypt()
759 Parcel data, reply; in finalizeDecryptUnit() local
761 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in finalizeDecryptUnit()
762 data.writeInt32(uniqueId); in finalizeDecryptUnit()
764 writeDecryptHandleToParcelData(decryptHandle, &data); in finalizeDecryptUnit()
766 data.writeInt32(decryptUnitId); in finalizeDecryptUnit()
768 remote()->transact(FINALIZE_DECRYPT_UNIT, data, &reply); in finalizeDecryptUnit()
776 Parcel data, reply; in pread() local
779 data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); in pread()
780 data.writeInt32(uniqueId); in pread()
782 writeDecryptHandleToParcelData(decryptHandle, &data); in pread()
784 data.writeInt32(numBytes); in pread()
785 data.writeInt64(offset); in pread()
787 remote()->transact(PREAD, data, &reply); in pread()
798 uint32_t code, const Parcel& data, in onTransact() argument
806 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
807 int uniqueId = addUniqueId(data.readInt32()); in onTransact()
815 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
816 removeUniqueId(data.readInt32()); in onTransact()
823 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
824 addClient(data.readInt32()); in onTransact()
831 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
832 removeClient(data.readInt32()); in onTransact()
839 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
841 const int uniqueId = data.readInt32(); in onTransact()
843 = interface_cast<IDrmServiceListener> (data.readStrongBinder()); in onTransact()
854 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
856 const int uniqueId = data.readInt32(); in onTransact()
857 const String8 path = data.readString8(); in onTransact()
860 = getConstraints(uniqueId, &path, data.readInt32()); in onTransact()
888 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
890 const int uniqueId = data.readInt32(); in onTransact()
891 const String8 path = data.readString8(); in onTransact()
920 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
922 const int uniqueId = data.readInt32(); in onTransact()
923 const String8 path = data.readString8(); in onTransact()
924 const String8 mimeType = data.readString8(); in onTransact()
935 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
937 const int uniqueId = data.readInt32(); in onTransact()
940 const int infoType = data.readInt32(); in onTransact()
941 const uint32_t bufferSize = data.readInt32(); in onTransact()
943 if (bufferSize > data.dataAvail()) { in onTransact()
949 buffer = (char *)data.readInplace(bufferSize); in onTransact()
952 DrmInfo* drmInfo = new DrmInfo(infoType, drmBuffer, data.readString8()); in onTransact()
954 const int size = data.readInt32(); in onTransact()
956 const String8 key(data.readString8()); in onTransact()
957 const String8 value(data.readString8()); in onTransact()
974 reply->write(drmBuffer->data, bufferSize); in onTransact()
976 delete [] drmBuffer->data; in onTransact()
988 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
990 const int uniqueId = data.readInt32(); in onTransact()
993 const int infoType = data.readInt32(); in onTransact()
994 const String8 mimeType = data.readString8(); in onTransact()
997 const int size = data.readInt32(); in onTransact()
999 if (!data.dataAvail()) { in onTransact()
1002 const String8 key(data.readString8()); in onTransact()
1005 int fd = data.readFileDescriptor(); in onTransact()
1009 const String8 value(data.readString8()); in onTransact()
1024 reply->write(drmBuffer.data, bufferSize); in onTransact()
1036 delete [] drmBuffer.data; in onTransact()
1046 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1048 const int uniqueId = data.readInt32(); in onTransact()
1051 const uint32_t bufferSize = data.readInt32(); in onTransact()
1052 if (bufferSize > data.dataAvail()) { in onTransact()
1057 const DrmBuffer drmBuffer((char *)data.readInplace(bufferSize), bufferSize); in onTransact()
1059 const String8 mimeType(data.readString8()); in onTransact()
1060 const String8 accountId(data.readString8()); in onTransact()
1061 const String8 subscriptionId(data.readString8()); in onTransact()
1062 const String8 rightsPath(data.readString8()); in onTransact()
1063 const String8 contentPath(data.readString8()); in onTransact()
1081 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1083 const int uniqueId = data.readInt32(); in onTransact()
1084 const String8 path = data.readString8(); in onTransact()
1085 const int32_t isFdValid = data.readInt32(); in onTransact()
1088 fd = data.readFileDescriptor(); in onTransact()
1099 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1101 const int uniqueId = data.readInt32(); in onTransact()
1102 const String8 path = data.readString8(); in onTransact()
1103 const String8 mimeType = data.readString8(); in onTransact()
1113 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1115 const int uniqueId = data.readInt32(); in onTransact()
1116 const String8 path = data.readString8(); in onTransact()
1117 const int action = data.readInt32(); in onTransact()
1127 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1129 const int uniqueId = data.readInt32(); in onTransact()
1132 readDecryptHandleFromParcelData(handle, data); in onTransact()
1134 const int action = data.readInt32(); in onTransact()
1135 const bool reserve = static_cast<bool>(data.readInt32()); in onTransact()
1147 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1149 const int uniqueId = data.readInt32(); in onTransact()
1152 readDecryptHandleFromParcelData(handle, data); in onTransact()
1154 const int playbackStatus = data.readInt32(); in onTransact()
1155 const int64_t position = data.readInt64(); in onTransact()
1167 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1169 const int uniqueId = data.readInt32(); in onTransact()
1170 const String8 path = data.readString8(); in onTransact()
1171 const int action = data.readInt32(); in onTransact()
1172 const int outputType = data.readInt32(); in onTransact()
1173 const int configuration = data.readInt32(); in onTransact()
1184 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1186 int uniqueId = data.readInt32(); in onTransact()
1187 String8 path = data.readString8(); in onTransact()
1197 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1199 const status_t status = removeAllRights(data.readInt32()); in onTransact()
1208 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1210 const int uniqueId = data.readInt32(); in onTransact()
1211 const String8 mimeType = data.readString8(); in onTransact()
1221 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1223 const int uniqueId = data.readInt32(); in onTransact()
1224 const int convertId = data.readInt32(); in onTransact()
1227 const uint32_t bufferSize = data.readInt32(); in onTransact()
1228 if (bufferSize > data.dataAvail()) { in onTransact()
1231 DrmBuffer* inputData = new DrmBuffer((char *)data.readInplace(bufferSize), bufferSize); in onTransact()
1245 reply->write(convertedData->data, bufferSize); in onTransact()
1247 delete [] convertedData->data; in onTransact()
1259 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1261 const int uniqueId = data.readInt32(); in onTransact()
1262 const int convertId = data.readInt32(); in onTransact()
1276 reply->write(convertedData->data, bufferSize); in onTransact()
1278 delete [] convertedData->data; in onTransact()
1289 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1291 const int uniqueId = data.readInt32(); in onTransact()
1323 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1325 const int uniqueId = data.readInt32(); in onTransact()
1326 const int fd = data.readFileDescriptor(); in onTransact()
1328 const off64_t offset = data.readInt64(); in onTransact()
1329 const off64_t length = data.readInt64(); in onTransact()
1330 const String8 mime = data.readString8(); in onTransact()
1346 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1348 const int uniqueId = data.readInt32(); in onTransact()
1349 const String8 uri = data.readString8(); in onTransact()
1350 const String8 mime = data.readString8(); in onTransact()
1368 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1370 const int uniqueId = data.readInt32(); in onTransact()
1371 const int bufferSize = data.readInt32(); in onTransact()
1372 DrmBuffer buf((bufferSize > 0) ? (char *)data.readInplace(bufferSize) : NULL, in onTransact()
1374 const String8 mimeType(data.readString8()); in onTransact()
1391 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1393 const int uniqueId = data.readInt32(); in onTransact()
1396 readDecryptHandleFromParcelData(handle, data); in onTransact()
1406 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1408 const int uniqueId = data.readInt32(); in onTransact()
1411 readDecryptHandleFromParcelData(handle, data); in onTransact()
1413 const int decryptUnitId = data.readInt32(); in onTransact()
1416 const uint32_t bufferSize = data.readInt32(); in onTransact()
1417 if (bufferSize > data.dataAvail()) { in onTransact()
1423 headerInfo = new DrmBuffer((char *)data.readInplace(bufferSize), bufferSize); in onTransact()
1437 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1439 const int uniqueId = data.readInt32(); in onTransact()
1442 readDecryptHandleFromParcelData(handle, data); in onTransact()
1444 const int decryptUnitId = data.readInt32(); in onTransact()
1445 const uint32_t decBufferSize = data.readInt32(); in onTransact()
1446 const uint32_t encBufferSize = data.readInt32(); in onTransact()
1448 if (encBufferSize > data.dataAvail() || in onTransact()
1457 = new DrmBuffer((char *)data.readInplace(encBufferSize), encBufferSize); in onTransact()
1464 if (0 != data.dataAvail()) { in onTransact()
1465 const uint32_t ivBufferlength = data.readInt32(); in onTransact()
1466 if (ivBufferlength <= data.dataAvail()) { in onTransact()
1467 IV = new DrmBuffer((char *)data.readInplace(ivBufferlength), ivBufferlength); in onTransact()
1479 reply->write(decBuffer->data, size); in onTransact()
1493 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1495 const int uniqueId = data.readInt32(); in onTransact()
1498 readDecryptHandleFromParcelData(handle, data); in onTransact()
1500 const status_t status = finalizeDecryptUnit(uniqueId, handle, data.readInt32()); in onTransact()
1510 CHECK_INTERFACE(IDrmManagerService, data, reply); in onTransact()
1512 const int uniqueId = data.readInt32(); in onTransact()
1515 readDecryptHandleFromParcelData(handle, data); in onTransact()
1517 const uint32_t numBytes = data.readInt32(); in onTransact()
1524 const off64_t offset = data.readInt64(); in onTransact()
1538 return BBinder::onTransact(code, data, reply, flags); in onTransact()