Lines Matching refs:uniqueId
123 void BpDrmManagerService::removeUniqueId(int uniqueId) { in removeUniqueId() argument
127 data.writeInt32(uniqueId); in removeUniqueId()
131 void BpDrmManagerService::addClient(int uniqueId) { in addClient() argument
134 data.writeInt32(uniqueId); in addClient()
138 void BpDrmManagerService::removeClient(int uniqueId) { in removeClient() argument
141 data.writeInt32(uniqueId); in removeClient()
146 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) { in setDrmServiceListener() argument
151 data.writeInt32(uniqueId); in setDrmServiceListener()
158 int uniqueId, const String8* path, const int action) { in getConstraints() argument
163 data.writeInt32(uniqueId); in getConstraints()
190 DrmMetadata* BpDrmManagerService::getMetadata(int uniqueId, const String8* path) { in getMetadata() argument
194 data.writeInt32(uniqueId); in getMetadata()
220 bool BpDrmManagerService::canHandle(int uniqueId, const String8& path, const String8& mimeType) { in canHandle() argument
225 data.writeInt32(uniqueId); in canHandle()
235 DrmInfoStatus* BpDrmManagerService::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { in processDrmInfo() argument
240 data.writeInt32(uniqueId); in processDrmInfo()
286 DrmInfo* BpDrmManagerService::acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest) { in acquireDrmInfo() argument
291 data.writeInt32(uniqueId); in acquireDrmInfo()
341 int uniqueId, const DrmRights& drmRights, in saveRights() argument
347 data.writeInt32(uniqueId); in saveRights()
370 String8 BpDrmManagerService::getOriginalMimeType(int uniqueId, const String8& path, int fd) { in getOriginalMimeType() argument
375 data.writeInt32(uniqueId); in getOriginalMimeType()
388 int uniqueId, const String8& path, const String8& mimeType) { in getDrmObjectType() argument
393 data.writeInt32(uniqueId); in getDrmObjectType()
402 int BpDrmManagerService::checkRightsStatus(int uniqueId, const String8& path, int action) { in checkRightsStatus() argument
407 data.writeInt32(uniqueId); in checkRightsStatus()
417 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { in consumeRights() argument
422 data.writeInt32(uniqueId); in consumeRights()
434 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { in setPlaybackStatus() argument
439 data.writeInt32(uniqueId); in setPlaybackStatus()
451 int uniqueId, const String8& path, in validateAction() argument
457 data.writeInt32(uniqueId); in validateAction()
468 status_t BpDrmManagerService::removeRights(int uniqueId, const String8& path) { in removeRights() argument
473 data.writeInt32(uniqueId); in removeRights()
480 status_t BpDrmManagerService::removeAllRights(int uniqueId) { in removeAllRights() argument
485 data.writeInt32(uniqueId); in removeAllRights()
491 int BpDrmManagerService::openConvertSession(int uniqueId, const String8& mimeType) { in openConvertSession() argument
496 data.writeInt32(uniqueId); in openConvertSession()
504 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData() argument
509 data.writeInt32(uniqueId); in convertData()
538 DrmConvertedStatus* BpDrmManagerService::closeConvertSession(int uniqueId, int convertId) { in closeConvertSession() argument
543 data.writeInt32(uniqueId); in closeConvertSession()
571 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) { in getAllSupportInfo() argument
576 data.writeInt32(uniqueId); in getAllSupportInfo()
607 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { in openDecryptSession() argument
612 data.writeInt32(uniqueId); in openDecryptSession()
633 int uniqueId, const char* uri, const char* mime) { in openDecryptSession() argument
639 data.writeInt32(uniqueId); in openDecryptSession()
660 int uniqueId, const DrmBuffer& buf, const String8& mimeType) { in openDecryptSession() argument
665 data.writeInt32(uniqueId); in openDecryptSession()
686 status_t BpDrmManagerService::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { in closeDecryptSession() argument
691 data.writeInt32(uniqueId); in closeDecryptSession()
701 int uniqueId, DecryptHandle* decryptHandle, in initializeDecryptUnit() argument
707 data.writeInt32(uniqueId); in initializeDecryptUnit()
721 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, in decrypt() argument
727 data.writeInt32(uniqueId); in decrypt()
757 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) { in finalizeDecryptUnit() argument
762 data.writeInt32(uniqueId); in finalizeDecryptUnit()
773 int uniqueId, DecryptHandle* decryptHandle, void* buffer, in pread() argument
780 data.writeInt32(uniqueId); in pread()
807 int uniqueId = addUniqueId(data.readInt32()); in onTransact() local
808 reply->writeInt32(uniqueId); in onTransact()
841 const int uniqueId = data.readInt32(); in onTransact() local
845 status_t status = setDrmServiceListener(uniqueId, drmServiceListener); in onTransact()
856 const int uniqueId = data.readInt32(); in onTransact() local
860 = getConstraints(uniqueId, &path, data.readInt32()); in onTransact()
890 const int uniqueId = data.readInt32(); in onTransact() local
893 DrmMetadata* drmMetadata = getMetadata(uniqueId, &path); in onTransact()
922 const int uniqueId = data.readInt32(); in onTransact() local
926 bool result = canHandle(uniqueId, path, mimeType); in onTransact()
937 const int uniqueId = data.readInt32(); in onTransact() local
961 DrmInfoStatus* drmInfoStatus = processDrmInfo(uniqueId, drmInfo); in onTransact()
990 const int uniqueId = data.readInt32(); in onTransact() local
1014 DrmInfo* drmInfo = acquireDrmInfo(uniqueId, drmInfoRequest); in onTransact()
1048 const int uniqueId = data.readInt32(); in onTransact() local
1070 const status_t status = saveRights(uniqueId, drmRights, in onTransact()
1083 const int uniqueId = data.readInt32(); in onTransact() local
1090 const String8 originalMimeType = getOriginalMimeType(uniqueId, path, fd); in onTransact()
1101 const int uniqueId = data.readInt32(); in onTransact() local
1104 const int drmObjectType = getDrmObjectType(uniqueId, path, mimeType); in onTransact()
1115 const int uniqueId = data.readInt32(); in onTransact() local
1118 const int result = checkRightsStatus(uniqueId, path, action); in onTransact()
1129 const int uniqueId = data.readInt32(); in onTransact() local
1137 = consumeRights(uniqueId, &handle, action, reserve); in onTransact()
1149 const int uniqueId = data.readInt32(); in onTransact() local
1157 = setPlaybackStatus(uniqueId, &handle, playbackStatus, position); in onTransact()
1169 const int uniqueId = data.readInt32(); in onTransact() local
1174 bool result = validateAction(uniqueId, path, action, in onTransact()
1186 int uniqueId = data.readInt32(); in onTransact() local
1188 const status_t status = removeRights(uniqueId, path); in onTransact()
1210 const int uniqueId = data.readInt32(); in onTransact() local
1212 const int convertId = openConvertSession(uniqueId, mimeType); in onTransact()
1223 const int uniqueId = data.readInt32(); in onTransact() local
1233 DrmConvertedStatus* drmConvertedStatus = convertData(uniqueId, convertId, inputData); in onTransact()
1261 const int uniqueId = data.readInt32(); in onTransact() local
1264 = closeConvertSession(uniqueId, convertId); in onTransact()
1291 const int uniqueId = data.readInt32(); in onTransact() local
1295 status_t status = getAllSupportInfo(uniqueId, &length, &drmSupportInfoArray); in onTransact()
1325 const int uniqueId = data.readInt32(); in onTransact() local
1333 = openDecryptSession(uniqueId, fd, offset, length, mime.string()); in onTransact()
1348 const int uniqueId = data.readInt32(); in onTransact() local
1352 DecryptHandle* handle = openDecryptSession(uniqueId, uri.string(), mime.string()); in onTransact()
1370 const int uniqueId = data.readInt32(); in onTransact() local
1376 DecryptHandle* handle = openDecryptSession(uniqueId, buf, mimeType); in onTransact()
1394 const int uniqueId = data.readInt32(); in onTransact() local
1399 const status_t status = closeDecryptSession(uniqueId, handle); in onTransact()
1409 const int uniqueId = data.readInt32(); in onTransact() local
1427 = initializeDecryptUnit(uniqueId, &handle, decryptUnitId, headerInfo); in onTransact()
1440 const int uniqueId = data.readInt32(); in onTransact() local
1473 = decrypt(uniqueId, &handle, decryptUnitId, encBuffer, &decBuffer, IV); in onTransact()
1496 const int uniqueId = data.readInt32(); in onTransact() local
1501 const status_t status = finalizeDecryptUnit(uniqueId, &handle, data.readInt32()); in onTransact()
1513 const int uniqueId = data.readInt32(); in onTransact() local
1527 ssize_t result = pread(uniqueId, &handle, buffer, numBytes, offset); in onTransact()