Searched defs:drmRights (Results 1 - 8 of 8) sorted by path

/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.cpp341 int uniqueId, const DrmRights& drmRights,
350 const DrmBuffer dataBuffer = drmRights.getData();
354 const String8 mimeType = drmRights.getMimeType();
357 const String8 accountId = drmRights.getAccountId();
360 const String8 subscriptionId = drmRights.getSubscriptionId();
1065 DrmRights drmRights(drmBuffer,
1070 const status_t status = saveRights(uniqueId, drmRights,
340 saveRights( int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp227 status_t DrmManager::saveRights(int uniqueId, const DrmRights& drmRights, argument
230 const String8 plugInId = getSupportedPlugInId(drmRights.getMimeType());
234 result = rDrmEngine.saveRights(uniqueId, drmRights, rightsPath, contentPath);
H A DDrmManagerService.cpp185 int uniqueId, const DrmRights& drmRights,
188 return mDrmManager->saveRights(uniqueId, drmRights, rightsPath, contentPath);
184 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.cpp145 status_t DrmManagerClientImpl::saveRights(int uniqueId, const DrmRights& drmRights, argument
148 uniqueId, drmRights, rightsPath, contentPath);
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java438 * @param drmRights The {@link DrmRights} to be saved.
448 DrmRights drmRights, String rightsPath, String contentPath) throws IOException {
449 if (null == drmRights || !drmRights.isValid()) {
450 throw new IllegalArgumentException("Given drmRights or contentPath is not valid");
453 DrmUtils.writeToFile(rightsPath, drmRights.getData());
455 return _saveRights(mUniqueId, drmRights, rightsPath, contentPath);
893 int uniqueId, DrmRights drmRights, String rightsPath, String contentPath);
447 saveRights( DrmRights drmRights, String rightsPath, String contentPath) argument
892 _saveRights( int uniqueId, DrmRights drmRights, String rightsPath, String contentPath) argument
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp394 jobject drmRights, jstring rightsPath, jstring contentPath) {
398 char* mData = Utility::getByteArrayValue(env, drmRights, "mData", &dataLength);
402 Utility::getStringValue(env, drmRights, "mMimeType"),
403 Utility::getStringValue(env, drmRights, "mAccountId"),
404 Utility::getStringValue(env, drmRights, "mSubscriptionId"));
392 android_drm_DrmManagerClient_saveRights( JNIEnv* env, jobject thiz, jint uniqueId, jobject drmRights, jstring rightsPath, jstring contentPath) argument

Completed in 369 milliseconds