Home
last modified time | relevance | path

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

/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java451 DrmRights drmRights, String rightsPath, String contentPath) throws IOException { in saveRights() argument
452 if (null == drmRights || !drmRights.isValid()) { in saveRights()
456 DrmUtils.writeToFile(rightsPath, drmRights.getData()); in saveRights()
458 return _saveRights(mUniqueId, drmRights, rightsPath, contentPath); in saveRights()
897 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.cpp341 int uniqueId, const DrmRights& drmRights, in saveRights() argument
350 const DrmBuffer dataBuffer = drmRights.getData(); in saveRights()
354 const String8 mimeType = drmRights.getMimeType(); in saveRights()
357 const String8 accountId = drmRights.getAccountId(); in saveRights()
360 const String8 subscriptionId = drmRights.getSubscriptionId(); in saveRights()
1065 DrmRights drmRights(drmBuffer, in onTransact() local
1070 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.cpp145 status_t DrmManagerClientImpl::saveRights(int uniqueId, const DrmRights& drmRights, in saveRights() argument
148 uniqueId, drmRights, rightsPath, contentPath); in saveRights()
/frameworks/av/drm/common/include/
DDrmEngineBase.h51 status_t saveRights(int uniqueId, const DrmRights& drmRights,
208 virtual status_t onSaveRights(int uniqueId, const DrmRights& drmRights,
DIDrmManagerService.h107 virtual status_t saveRights(int uniqueId, const DrmRights& drmRights,
197 virtual status_t saveRights(int uniqueId, const DrmRights& drmRights,
DIDrmEngine.h161 virtual status_t saveRights(int uniqueId, const DrmRights& drmRights,
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
DDrmPassthruPlugIn.h45 status_t onSaveRights(int uniqueId, const DrmRights& drmRights,
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp394 jobject drmRights, jstring rightsPath, jstring contentPath) { in android_drm_DrmManagerClient_saveRights() argument
398 char* mData = Utility::getByteArrayValue(env, drmRights, "mData", &dataLength); in android_drm_DrmManagerClient_saveRights()
402 Utility::getStringValue(env, drmRights, "mMimeType"), in android_drm_DrmManagerClient_saveRights()
403 Utility::getStringValue(env, drmRights, "mAccountId"), in android_drm_DrmManagerClient_saveRights()
404 Utility::getStringValue(env, drmRights, "mSubscriptionId")); in android_drm_DrmManagerClient_saveRights()
/frameworks/av/drm/libdrmframework/include/
DNoOpDrmManagerClientImpl.h39 status_t saveRights(int uniqueId, const DrmRights& drmRights,
DDrmManagerClientImpl.h143 virtual status_t saveRights(int uniqueId, const DrmRights& drmRights,
/frameworks/av/include/drm/
DDrmManagerClient.h276 const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath);
/frameworks/av/drm/drmserver/
DDrmManagerService.cpp192 int uniqueId, const DrmRights& drmRights, in saveRights() argument
195 return mDrmManager->saveRights(uniqueId, drmRights, rightsPath, contentPath); in saveRights()
DDrmManagerService.h89 status_t saveRights(int uniqueId, const DrmRights& drmRights,
DDrmManager.h83 status_t saveRights(int uniqueId, const DrmRights& drmRights,
DDrmManager.cpp227 status_t DrmManager::saveRights(int uniqueId, const DrmRights& drmRights, in saveRights() argument
230 const String8 plugInId = getSupportedPlugInId(drmRights.getMimeType()); in saveRights()
234 result = rDrmEngine.saveRights(uniqueId, drmRights, rightsPath, contentPath); in saveRights()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
DFwdLockEngine.h133 const DrmRights& drmRights,