/frameworks/base/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/base/media/java/android/drm/mobile1/ |
DrmRightsManager.java | 87 * Install one DRM rights and return one instance of DrmRights. 92 * @return the instance of the installed DrmRights. 94 public synchronized DrmRights installRights(InputStream rightsData, int len, String mimeTypeStr) throws DrmException, IOException { 109 DrmRights rights = new DrmRights(); 125 * @return the instance of DrmRights, or null if there is no rights. 127 public synchronized DrmRights queryRights(DrmRawContent content) { 128 DrmRights rights = new DrmRights(); 154 DrmRights[] rightsArray = new DrmRights[num] [all...] |
DrmRights.java | 22 public class DrmRights { 60 * Construct the DrmRights. 62 public DrmRights() {
|
DrmRawContent.java | 198 public InputStream getContentInputStream(DrmRights rights) { 222 public int getContentLength(DrmRights rights) throws DrmException { 266 public DrmInputStream(DrmRights rights) {
|
/frameworks/base/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; 257 * @param[in] drmRights DrmRights to be saved 264 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 35 public class DrmRights { 42 * Creates a <code>DrmRights</code> object with the given parameters. 47 public DrmRights(String rightsFilePath, String mimeType) { 53 * Creates a <code>DrmRights</code> object with the given parameters [all...] |
DrmManagerClient.java | 380 * @param drmRights The {@link DrmRights} to be saved. 390 DrmRights drmRights, String rightsPath, String contentPath) throws IOException { 391 if (null == drmRights || !drmRights.isValid()) { 392 throw new IllegalArgumentException("Given drmRights or contentPath is not valid"); 395 DrmUtils.writeToFile(rightsPath, drmRights.getData()); 397 return _saveRights(mUniqueId, drmRights, rightsPath, contentPath); 812 int uniqueId, DrmRights drmRights, String rightsPath, String contentPath) [all...] |
/packages/apps/Mms/src/com/android/mms/drm/ |
DrmWrapper.java | 24 import android.drm.mobile1.DrmRights; 41 private DrmRights mRight; 98 return DrmRights.DRM_PERMISSION_PLAY; 100 return DrmRights.DRM_PERMISSION_DISPLAY;
|
/frameworks/base/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, 195 * @param[in] drmRights DrmRights to be saved 201 virtual status_t onSaveRights(int uniqueId, const DrmRights& drmRights,
|
/packages/providers/DrmProvider/src/com/android/providers/drm/ |
DrmPushReceiver.java | 23 import android.drm.mobile1.DrmRights;
|
/frameworks/base/core/java/android/provider/ |
DrmStore.java | 23 import android.drm.mobile1.DrmRights; 149 DrmRights rights = manager.queryRights(content);
|
/frameworks/base/drm/libdrmframework/include/ |
DrmManager.h | 35 class DrmRights; 85 status_t saveRights(int uniqueId, const DrmRights& drmRights,
|
IDrmManagerService.h | 30 class DrmRights; 108 virtual status_t saveRights(int uniqueId, const DrmRights& drmRights, 193 virtual status_t saveRights(int uniqueId, const DrmRights& drmRights,
|
DrmManagerService.h | 72 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/base/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 | 38 import android.drm.DrmRights; 49 private DrmRights mDrmRights; 219 mDrmRights = new DrmRights(infoStatus.data, infoStatus.mimeType);
|
/frameworks/base/drm/libdrmframework/plugins/passthru/include/ |
DrmPassthruPlugIn.h | 45 status_t onSaveRights(int uniqueId, const DrmRights& drmRights,
|
/frameworks/base/drm/libdrmframework/plugins/passthru/src/ |
DrmPassthruPlugIn.cpp | 21 #include <drm/DrmRights.h> 137 status_t DrmPassthruPlugIn::onSaveRights(int uniqueId, const DrmRights& drmRights,
|
/frameworks/base/drm/drmserver/ |
DrmManagerService.cpp | 136 int uniqueId, const DrmRights& drmRights, 139 return mDrmManager->saveRights(uniqueId, drmRights, rightsPath, contentPath);
|
/frameworks/base/drm/libdrmframework/ |
DrmManagerClient.cpp | 63 const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) { 64 return mDrmManagerClientImpl->saveRights(mUniqueId, drmRights, rightsPath, contentPath);
|