Home
last modified time | relevance | path

Searched refs:drmRights (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java423 DrmRights drmRights, String rightsPath, String contentPath) throws IOException { in saveRights() argument
424 if (null == drmRights || !drmRights.isValid()) { in saveRights()
428 DrmUtils.writeToFile(rightsPath, drmRights.getData()); in saveRights()
430 return _saveRights(mUniqueId, drmRights, rightsPath, contentPath); in saveRights()
847 int uniqueId, DrmRights drmRights, String rightsPath, String contentPath); in _saveRights() argument
/frameworks/av/drm/common/
DDrmEngineBase.cpp60 int uniqueId, const DrmRights& drmRights, in saveRights() argument
62 return onSaveRights(uniqueId, drmRights, rightsPath, contentPath); in saveRights()
DIDrmManagerService.cpp342 int uniqueId, const DrmRights& drmRights, in saveRights() argument
351 const DrmBuffer dataBuffer = drmRights.getData(); in saveRights()
355 const String8 mimeType = drmRights.getMimeType(); in saveRights()
358 const String8 accountId = drmRights.getAccountId(); in saveRights()
361 const String8 subscriptionId = drmRights.getSubscriptionId(); in saveRights()
1023 DrmRights drmRights(drmBuffer, in onTransact() local
1028 const status_t status = saveRights(uniqueId, drmRights, in onTransact()
/frameworks/av/drm/libdrmframework/
DDrmManagerClient.cpp63 const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) { in saveRights() argument
64 return mDrmManagerClientImpl->saveRights(mUniqueId, drmRights, rightsPath, contentPath); in saveRights()
DDrmManagerClientImpl.cpp143 status_t DrmManagerClientImpl::saveRights(int uniqueId, const DrmRights& drmRights, in saveRights() argument
146 uniqueId, drmRights, rightsPath, contentPath); in saveRights()
/frameworks/av/drm/libdrmframework/plugins/common/include/
DDrmEngineBase.h51 status_t saveRights(int uniqueId, const DrmRights& drmRights,
203 virtual status_t onSaveRights(int uniqueId, const DrmRights& drmRights,
DIDrmEngine.h161 virtual status_t saveRights(int uniqueId, const DrmRights& drmRights,
/frameworks/av/drm/drmserver/
DDrmManagerService.cpp122 int uniqueId, const DrmRights& drmRights, in saveRights() argument
125 return mDrmManager->saveRights(uniqueId, drmRights, rightsPath, contentPath); in saveRights()
DDrmManager.cpp257 status_t DrmManager::saveRights(int uniqueId, const DrmRights& drmRights, in saveRights() argument
260 const String8 plugInId = getSupportedPlugInId(drmRights.getMimeType()); in saveRights()
264 result = rDrmEngine.saveRights(uniqueId, drmRights, rightsPath, contentPath); in saveRights()
/frameworks/av/drm/libdrmframework/include/
DIDrmManagerService.h108 virtual status_t saveRights(int uniqueId, const DrmRights& drmRights,
196 virtual status_t saveRights(int uniqueId, const DrmRights& drmRights,
DDrmManagerService.h72 status_t saveRights(int uniqueId, const DrmRights& drmRights,
DDrmManagerClientImpl.h143 status_t saveRights(int uniqueId, const DrmRights& drmRights,
DDrmManager.h85 status_t saveRights(int uniqueId, const DrmRights& drmRights,
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp385 jobject drmRights, jstring rightsPath, jstring contentPath) { in android_drm_DrmManagerClient_saveRights() argument
389 char* mData = Utility::getByteArrayValue(env, drmRights, "mData", &dataLength); in android_drm_DrmManagerClient_saveRights()
393 Utility::getStringValue(env, drmRights, "mMimeType"), in android_drm_DrmManagerClient_saveRights()
394 Utility::getStringValue(env, drmRights, "mAccountId"), in android_drm_DrmManagerClient_saveRights()
395 Utility::getStringValue(env, drmRights, "mSubscriptionId")); in android_drm_DrmManagerClient_saveRights()
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
DDrmPassthruPlugIn.h45 status_t onSaveRights(int uniqueId, const DrmRights& drmRights,
/frameworks/av/include/drm/
DDrmManagerClient.h266 const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
DFwdLockEngine.h133 const DrmRights& drmRights,
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
DDrmPassthruPlugIn.cpp137 status_t DrmPassthruPlugIn::onSaveRights(int uniqueId, const DrmRights& drmRights, in onSaveRights() argument
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp246 const DrmRights& drmRights, in onSaveRights() argument