Lines Matching refs:virtual

85     virtual int addUniqueId(bool isNative) = 0;
87 virtual void removeUniqueId(int uniqueId) = 0;
89 virtual void addClient(int uniqueId) = 0;
91 virtual void removeClient(int uniqueId) = 0;
93 virtual status_t setDrmServiceListener(
96 virtual DrmConstraints* getConstraints(
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;
112 virtual int getDrmObjectType(
115 virtual int checkRightsStatus(int uniqueId, const String8& path, int action) = 0;
117 virtual status_t consumeRights(
120 virtual status_t setPlaybackStatus(
124 virtual bool validateAction(
128 virtual status_t removeRights(int uniqueId, const String8& path) = 0;
130 virtual status_t removeAllRights(int uniqueId) = 0;
132 virtual int openConvertSession(int uniqueId, const String8& mimeType) = 0;
134 virtual DrmConvertedStatus* convertData(
137 virtual DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId) = 0;
139 virtual status_t getAllSupportInfo(
142 virtual sp<DecryptHandle> openDecryptSession(
146 virtual sp<DecryptHandle> openDecryptSession(
149 virtual sp<DecryptHandle> openDecryptSession(
152 virtual status_t closeDecryptSession(int uniqueId, sp<DecryptHandle>& decryptHandle) = 0;
154 virtual status_t initializeDecryptUnit(int uniqueId, sp<DecryptHandle>& decryptHandle,
157 virtual status_t decrypt(int uniqueId, sp<DecryptHandle>& decryptHandle, int decryptUnitId,
160 virtual status_t finalizeDecryptUnit(
163 virtual ssize_t pread(int uniqueId, sp<DecryptHandle>& decryptHandle,
176 virtual int addUniqueId(bool isNative);
178 virtual void removeUniqueId(int uniqueId);
180 virtual void addClient(int uniqueId);
182 virtual void removeClient(int uniqueId);
184 virtual status_t setDrmServiceListener(
187 virtual DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
189 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path);
191 virtual bool canHandle(int uniqueId, const String8& path, const String8& mimeType);
193 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
195 virtual DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest);
197 virtual status_t saveRights(int uniqueId, const DrmRights& drmRights,
200 virtual String8 getOriginalMimeType(int uniqueId, const String8& path, int fd);
202 virtual int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType);
204 virtual int checkRightsStatus(int uniqueId, const String8& path, int action);
206 virtual status_t consumeRights(
209 virtual status_t setPlaybackStatus(
212 virtual bool validateAction(
215 virtual status_t removeRights(int uniqueId, const String8& path);
217 virtual status_t removeAllRights(int uniqueId);
219 virtual int openConvertSession(int uniqueId, const String8& mimeType);
221 virtual DrmConvertedStatus* convertData(
224 virtual DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
226 virtual status_t getAllSupportInfo(
229 virtual sp<DecryptHandle> openDecryptSession(
233 virtual sp<DecryptHandle> openDecryptSession(
236 virtual sp<DecryptHandle> openDecryptSession(
239 virtual status_t closeDecryptSession(int uniqueId, sp<DecryptHandle>& decryptHandle);
241 virtual status_t initializeDecryptUnit(int uniqueId, sp<DecryptHandle>& decryptHandle,
244 virtual status_t decrypt(int uniqueId, sp<DecryptHandle>& decryptHandle, int decryptUnitId,
247 virtual status_t finalizeDecryptUnit(
250 virtual ssize_t pread(int uniqueId, sp<DecryptHandle>& decryptHandle,
260 virtual status_t onTransact(