/frameworks/av/drm/common/ |
H A D | DrmEngineBase.cpp | 60 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 D | IDrmManagerService.cpp | 341 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 D | DrmManager.cpp | 227 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 D | DrmManagerService.cpp | 185 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 D | DrmManagerClient.cpp | 63 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 D | DrmManagerClientImpl.cpp | 145 status_t DrmManagerClientImpl::saveRights(int uniqueId, const DrmRights& drmRights, argument 148 uniqueId, drmRights, rightsPath, contentPath);
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmManagerClient.java | 438 * @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 D | android_drm_DrmManagerClient.cpp | 394 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
|