Lines Matching full:uniqueid
87 virtual void removeUniqueId(int uniqueId) = 0;
89 virtual void addClient(int uniqueId) = 0;
91 virtual void removeClient(int uniqueId) = 0;
94 int uniqueId, const sp<IDrmServiceListener>& infoListener) = 0;
97 int uniqueId, const String8* path, const int action) = 0;
99 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path) = 0;
101 virtual bool canHandle(int uniqueId, const String8& path, const String8& mimeType) = 0;
103 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0;
105 virtual DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest) = 0;
107 virtual status_t saveRights(int uniqueId, const DrmRights& drmRights,
110 virtual String8 getOriginalMimeType(int uniqueId, const String8& path, int fd) = 0;
113 int uniqueId, const String8& path, const String8& mimeType) = 0;
115 virtual int checkRightsStatus(int uniqueId, const String8& path, int action) = 0;
118 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) = 0;
121 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) = 0;
124 int uniqueId, const String8& path,
127 virtual status_t removeRights(int uniqueId, const String8& path) = 0;
129 virtual status_t removeAllRights(int uniqueId) = 0;
131 virtual int openConvertSession(int uniqueId, const String8& mimeType) = 0;
134 int uniqueId, int convertId, const DrmBuffer* inputData) = 0;
136 virtual DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId) = 0;
139 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) = 0;
142 int uniqueId, int fd, off64_t offset,
146 int uniqueId, const char* uri, const char* mime) = 0;
149 int uniqueId, const DrmBuffer& buf, const String8& mimeType) = 0;
151 virtual status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) = 0;
153 virtual status_t initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle,
156 virtual status_t decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
160 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) = 0;
162 virtual ssize_t pread(int uniqueId, DecryptHandle* decryptHandle,
177 virtual void removeUniqueId(int uniqueId);
179 virtual void addClient(int uniqueId);
181 virtual void removeClient(int uniqueId);
184 int uniqueId, const sp<IDrmServiceListener>& infoListener);
186 virtual DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
188 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path);
190 virtual bool canHandle(int uniqueId, const String8& path, const String8& mimeType);
192 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
194 virtual DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest);
196 virtual status_t saveRights(int uniqueId, const DrmRights& drmRights,
199 virtual String8 getOriginalMimeType(int uniqueId, const String8& path, int fd);
201 virtual int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType);
203 virtual int checkRightsStatus(int uniqueId, const String8& path, int action);
206 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
209 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position);
212 int uniqueId, const String8& path, int action, const ActionDescription& description);
214 virtual status_t removeRights(int uniqueId, const String8& path);
216 virtual status_t removeAllRights(int uniqueId);
218 virtual int openConvertSession(int uniqueId, const String8& mimeType);
221 int uniqueId, int convertId, const DrmBuffer* inputData);
223 virtual DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
226 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray);
229 int uniqueId, int fd, off64_t offset, off64_t length,
233 int uniqueId, const char* uri, const char* mime);
236 int uniqueId, const DrmBuffer& buf, const String8& mimeType);
238 virtual status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle);
240 virtual status_t initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle,
243 virtual status_t decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
247 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId);
249 virtual ssize_t pread(int uniqueId, DecryptHandle* decryptHandle,