/frameworks/av/drm/common/ |
DrmRights.cpp | 17 #include <drm/DrmRights.h> 22 DrmRights::DrmRights(const String8& rightsFilePath, const String8& mimeType, 35 DrmRights::DrmRights(const DrmBuffer& rightsData, const String8& mimeType, 44 DrmRights::~DrmRights() { 48 const DrmBuffer& DrmRights::getData(void) const { 52 String8 DrmRights::getMimeType(void) const { 56 String8 DrmRights::getAccountId(void) const [all...] |
Android.mk | 27 DrmRights.cpp \
|
DrmEngineBase.cpp | 60 int uniqueId, const DrmRights& drmRights, 62 return onSaveRights(uniqueId, drmRights, rightsPath, contentPath);
|
/frameworks/av/include/drm/ |
DrmRights.h | 28 * Caller can instantiate DrmRights by invoking DrmRights(const DrmBuffer&, String) 30 * Caller can also instantiate DrmRights using the file path which contains rights information. 33 class DrmRights { 36 * Constructor for DrmRights 43 DrmRights( 49 * Constructor for DrmRights 56 DrmRights( 62 * Destructor for DrmRights 64 virtual ~DrmRights(); [all...] |
DrmManagerClient.h | 27 class DrmRights; 269 * @param[in] drmRights DrmRights to be saved 276 const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath);
|
/frameworks/base/drm/java/android/drm/ |
DrmRights.java | 25 * A caller can instantiate a {@link DrmRights} object by first invoking the 27 * {@link ProcessedData} object to invoke the {@link DrmRights#DrmRights(ProcessedData, String)} 30 * A caller can also instantiate a {@link DrmRights} object by using the 31 * {@link DrmRights#DrmRights(String, String)} constructor, which takes a path to a file 40 public class DrmRights { 47 * Creates a <code>DrmRights</code> object with the given parameters. 52 public DrmRights(String rightsFilePath, String mimeType) { 58 * Creates a <code>DrmRights</code> object with the given parameters [all...] |
DrmManagerClient.java | 427 * @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); [all...] |
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
IDrmEngine.h | 26 class DrmRights; 155 * @param[in] drmRights DrmRights to be saved 161 virtual status_t saveRights(int uniqueId, const DrmRights& drmRights,
|
DrmEngineBase.h | 51 status_t saveRights(int uniqueId, const DrmRights& drmRights, 200 * @param[in] drmRights DrmRights to be saved 206 virtual status_t onSaveRights(int uniqueId, const DrmRights& drmRights,
|
/cts/tests/tests/drm/lib/ |
TestPlugin.cpp | 21 #include <drm/DrmRights.h> 86 status_t TestPlugIn::onSaveRights(int uniqueId, const DrmRights& drmRights,
|
TestPlugin.h | 45 status_t onSaveRights(int uniqueId, const DrmRights& drmRights,
|
/frameworks/av/drm/libdrmframework/include/ |
DrmManager.h | 35 class DrmRights; 83 status_t saveRights(int uniqueId, const DrmRights& drmRights,
|
IDrmManagerService.h | 30 class DrmRights; 107 virtual status_t saveRights(int uniqueId, const DrmRights& drmRights, 196 virtual status_t saveRights(int uniqueId, const DrmRights& drmRights,
|
DrmManagerService.h | 70 status_t saveRights(int uniqueId, const DrmRights& drmRights,
|
DrmManagerClientImpl.h | 137 * @param[in] drmRights DrmRights to be saved 143 status_t saveRights(int uniqueId, const DrmRights& drmRights,
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
FwdLockEngine.h | 22 #include <DrmRights.h> 126 * @param drmRights DrmRights to be saved 133 const DrmRights& drmRights,
|
/cts/tests/tests/drm/src/android/drm/cts/ |
DRMTest.java | 35 import android.drm.DrmRights; 45 private DrmRights mDrmRights; 215 mDrmRights = new DrmRights(infoStatus.data, infoStatus.mimeType);
|
/frameworks/av/drm/libdrmframework/plugins/passthru/include/ |
DrmPassthruPlugIn.h | 45 status_t onSaveRights(int uniqueId, const DrmRights& drmRights,
|
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
DrmPassthruPlugIn.cpp | 21 #include <drm/DrmRights.h> 138 status_t DrmPassthruPlugIn::onSaveRights(int uniqueId, const DrmRights& drmRights,
|
/frameworks/av/drm/libdrmframework/ |
DrmManagerClient.cpp | 63 const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) { 64 return mDrmManagerClientImpl->saveRights(mUniqueId, drmRights, rightsPath, contentPath);
|
DrmManagerClientImpl.cpp | 134 status_t DrmManagerClientImpl::saveRights(int uniqueId, const DrmRights& drmRights, 137 uniqueId, drmRights, rightsPath, contentPath);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
FwdLockEngine.cpp | 26 #include <DrmRights.h> 246 const DrmRights& drmRights,
|
/frameworks/av/drm/drmserver/ |
DrmManagerService.cpp | 117 int uniqueId, const DrmRights& drmRights, 120 return mDrmManager->saveRights(uniqueId, drmRights, rightsPath, contentPath);
|
DrmManager.cpp | 24 #include <drm/DrmRights.h> 232 status_t DrmManager::saveRights(int uniqueId, const DrmRights& drmRights, 235 const String8 plugInId = getSupportedPlugInId(drmRights.getMimeType()); 239 result = rDrmEngine.saveRights(uniqueId, drmRights, rightsPath, contentPath);
|
/frameworks/base/drm/jni/ |
android_drm_DrmManagerClient.cpp | 27 #include <drm/DrmRights.h> 391 jobject drmRights, jstring rightsPath, jstring contentPath) { 395 char* mData = Utility::getByteArrayValue(env, drmRights, "mData", &dataLength); 398 DrmRights rights(DrmBuffer(mData, dataLength), 399 Utility::getStringValue(env, drmRights, "mMimeType"), 400 Utility::getStringValue(env, drmRights, "mAccountId"), 401 Utility::getStringValue(env, drmRights, "mSubscriptionId")); 733 {"_saveRights", "(ILandroid/drm/DrmRights;Ljava/lang/String;Ljava/lang/String;)I",
|