Searched defs:drmRights (Results 1 - 11 of 11) sorted by relevance

/frameworks/av/drm/common/
H A DDrmEngineBase.cpp60 int uniqueId, const DrmRights& drmRights,
62 return onSaveRights(uniqueId, drmRights, rightsPath, contentPath);
59 saveRights( int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
H A DIDrmManagerService.cpp338 int uniqueId, const DrmRights& drmRights,
347 const DrmBuffer dataBuffer = drmRights.getData();
351 const String8 mimeType = drmRights.getMimeType();
354 const String8 accountId = drmRights.getAccountId();
357 const String8 subscriptionId = drmRights.getSubscriptionId();
1047 DrmRights drmRights(drmBuffer,
1052 const status_t status = saveRights(uniqueId, drmRights,
337 saveRights( int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClient.cpp63 const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) {
64 return mDrmManagerClientImpl->saveRights(mUniqueId, drmRights, rightsPath, contentPath);
62 saveRights( const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
H A DNoOpDrmManagerClientImpl.cpp55 status_t NoOpDrmManagerClientImpl::saveRights(int uniqueId, const DrmRights& drmRights, argument
H A DDrmManagerClientImpl.cpp145 status_t DrmManagerClientImpl::saveRights(int uniqueId, const DrmRights& drmRights, argument
148 uniqueId, drmRights, rightsPath, contentPath);
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp128 int uniqueId, const DrmRights& drmRights,
131 return mDrmManager->saveRights(uniqueId, drmRights, rightsPath, contentPath);
127 saveRights( int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
H A DDrmManager.cpp232 status_t DrmManager::saveRights(int uniqueId, const DrmRights& drmRights, argument
235 const String8 plugInId = getSupportedPlugInId(drmRights.getMimeType());
239 result = rDrmEngine.saveRights(uniqueId, drmRights, rightsPath, contentPath);
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp138 status_t DrmPassthruPlugIn::onSaveRights(int uniqueId, const DrmRights& drmRights, argument
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp246 const DrmRights& drmRights,
244 onSaveRights( int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java427 * @param drmRights The {@link DrmRights} to be saved.
437 DrmRights drmRights, String rightsPath, String contentPath) throws IOException {
438 if (null == drmRights || !drmRights.isValid()) {
439 throw new IllegalArgumentException("Given drmRights or contentPath is not valid");
442 DrmUtils.writeToFile(rightsPath, drmRights.getData());
444 return _saveRights(mUniqueId, drmRights, rightsPath, contentPath);
882 int uniqueId, DrmRights drmRights, String rightsPath, String contentPath);
436 saveRights( DrmRights drmRights, String rightsPath, String contentPath) argument
881 _saveRights( int uniqueId, DrmRights drmRights, String rightsPath, String contentPath) argument
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp393 jobject drmRights, jstring rightsPath, jstring contentPath) {
397 char* mData = Utility::getByteArrayValue(env, drmRights, "mData", &dataLength);
401 Utility::getStringValue(env, drmRights, "mMimeType"),
402 Utility::getStringValue(env, drmRights, "mAccountId"),
403 Utility::getStringValue(env, drmRights, "mSubscriptionId"));
391 android_drm_DrmManagerClient_saveRights( JNIEnv* env, jobject thiz, jint uniqueId, jobject drmRights, jstring rightsPath, jstring contentPath) argument

Completed in 144 milliseconds