Searched defs:drmRights (Results 1 - 10 of 10) 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.cpp348 int uniqueId, const DrmRights& drmRights,
357 const DrmBuffer dataBuffer = drmRights.getData();
361 const String8 mimeType = drmRights.getMimeType();
364 const String8 accountId = drmRights.getAccountId();
367 const String8 subscriptionId = drmRights.getSubscriptionId();
1068 DrmRights drmRights(drmBuffer,
1073 const status_t status = saveRights(uniqueId, drmRights,
347 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 DDrmManagerClientImpl.cpp143 status_t DrmManagerClientImpl::saveRights(int uniqueId, const DrmRights& drmRights, argument
146 uniqueId, drmRights, rightsPath, contentPath);
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp122 int uniqueId, const DrmRights& drmRights,
125 return mDrmManager->saveRights(uniqueId, drmRights, rightsPath, contentPath);
121 saveRights( int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
H A DDrmManager.cpp257 status_t DrmManager::saveRights(int uniqueId, const DrmRights& drmRights, argument
260 const String8 plugInId = getSupportedPlugInId(drmRights.getMimeType());
264 result = rDrmEngine.saveRights(uniqueId, drmRights, rightsPath, contentPath);
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp137 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.java416 * @param drmRights The {@link DrmRights} to be saved.
426 DrmRights drmRights, String rightsPath, String contentPath) throws IOException {
427 if (null == drmRights || !drmRights.isValid()) {
428 throw new IllegalArgumentException("Given drmRights or contentPath is not valid");
431 DrmUtils.writeToFile(rightsPath, drmRights.getData());
433 return _saveRights(mUniqueId, drmRights, rightsPath, contentPath);
871 int uniqueId, DrmRights drmRights, String rightsPath, String contentPath);
425 saveRights( DrmRights drmRights, String rightsPath, String contentPath) argument
870 _saveRights( int uniqueId, DrmRights drmRights, String rightsPath, String contentPath) argument
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp391 jobject drmRights, jstring rightsPath, jstring contentPath) {
395 char* mData = Utility::getByteArrayValue(env, drmRights, "mData", &dataLength);
399 Utility::getStringValue(env, drmRights, "mMimeType"),
400 Utility::getStringValue(env, drmRights, "mAccountId"),
401 Utility::getStringValue(env, drmRights, "mSubscriptionId"));
389 android_drm_DrmManagerClient_saveRights( JNIEnv* env, jobject thiz, jint uniqueId, jobject drmRights, jstring rightsPath, jstring contentPath) argument

Completed in 39 milliseconds