HomeSort by relevance Sort by last modified time
    Searched refs:DrmSupportInfo (Results 1 - 25 of 39) sorted by null

1 2

  /frameworks/av/drm/common/
DrmSupportInfo.cpp 17 #include <drm/DrmSupportInfo.h>
22 DrmSupportInfo::DrmSupportInfo() {
26 DrmSupportInfo::DrmSupportInfo(const DrmSupportInfo& drmSupportInfo):
27 mMimeTypeVector(drmSupportInfo.mMimeTypeVector),
28 mFileSuffixVector(drmSupportInfo.mFileSuffixVector),
29 mDescription(drmSupportInfo.mDescription)
    [all...]
Android.mk 28 DrmSupportInfo.cpp \
IDrmManagerService.cpp 32 #include <drm/DrmSupportInfo.h>
571 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) {
583 *drmSupportInfoArray = new DrmSupportInfo[arraySize];
586 DrmSupportInfo drmSupportInfo;
590 drmSupportInfo.addFileSuffix(reply.readString8());
595 drmSupportInfo.addMimeType(reply.readString8());
598 drmSupportInfo.setDescription(reply.readString8());
599 (*drmSupportInfoArray)[index] = drmSupportInfo;
    [all...]
DrmEngineBase.cpp 118 DrmSupportInfo* DrmEngineBase::getSupportInfo(int uniqueId) {
  /frameworks/av/include/drm/
DrmSupportInfo.h 29 * DrmSupportInfo instance.
32 class DrmSupportInfo {
38 friend class DrmSupportInfo;
40 MimeTypeIterator(DrmSupportInfo* drmSupportInfo)
41 : mDrmSupportInfo(drmSupportInfo), mIndex(0) {}
52 DrmSupportInfo* mDrmSupportInfo;
60 friend class DrmSupportInfo;
63 FileSuffixIterator(DrmSupportInfo* drmSupportInfo)
    [all...]
DrmManagerClient.h 32 class DrmSupportInfo;
371 * Retrieves all DrmSupportInfo instance that native DRM framework can handle.
375 * @param[out] drmSupportInfoArray Array contains all DrmSupportInfo
380 status_t getAllSupportInfo(int* length, DrmSupportInfo** drmSupportInfoArray);
  /cts/tests/tests/drm/src/android/drm/cts/
DrmSupportInfoTest.java 22 import android.drm.DrmSupportInfo;
67 DrmSupportInfo info1 = new DrmSupportInfo();
68 DrmSupportInfo info2 = new DrmSupportInfo();
73 DrmSupportInfo info1 = new DrmSupportInfo();
74 DrmSupportInfo info2 = new DrmSupportInfo();
75 DrmSupportInfo info3 = new DrmSupportInfo()
    [all...]
  /frameworks/base/drm/java/android/drm/
DrmSupportInfo.java 30 public class DrmSupportInfo {
137 * Overridden <code>equals</code> implementation. Two DrmSupportInfo objects
145 if (object instanceof DrmSupportInfo) {
146 DrmSupportInfo info = (DrmSupportInfo) object;
  /cts/tests/tests/drm/lib/
TestPlugin.cpp 29 #include <drm/DrmSupportInfo.h>
81 DrmSupportInfo* TestPlugIn::onGetSupportInfo(int uniqueId) {
82 DrmSupportInfo* drmSupportInfo = new DrmSupportInfo();
83 return drmSupportInfo;
TestPlugin.h 74 DrmSupportInfo* onGetSupportInfo(int uniqueId);
  /frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
FwdLockEngine.h 27 #include <DrmSupportInfo.h>
315 * @return DrmSupportInfo
318 DrmSupportInfo* onGetSupportInfo(int uniqueId);
508 static void AddSupportedMimeTypes(DrmSupportInfo *info);
509 static void AddSupportedFileSuffixes(DrmSupportInfo *info);
  /frameworks/av/drm/libdrmframework/include/
DrmManager.h 40 class DrmSupportInfo;
110 status_t getAllSupportInfo(int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray);
159 KeyedVector< DrmSupportInfo, String8 > mSupportInfoToPlugInIdMap;
IDrmManagerService.h 34 class DrmSupportInfo;
139 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) = 0;
226 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray);
NoOpDrmManagerClientImpl.h 54 status_t getAllSupportInfo(int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray);
DrmManagerClientImpl.h 285 * Retrieves all DrmSupportInfo instance that native DRM framework can handle.
290 * @param[out] drmSupportInfoArray Array contains all DrmSupportInfo
295 virtual status_t getAllSupportInfo(int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray);
DrmManagerService.h 116 status_t getAllSupportInfo(int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray);
  /frameworks/av/drm/libdrmframework/plugins/common/include/
IDrmEngine.h 31 class DrmSupportInfo;
311 * @return DrmSupportInfo
314 virtual DrmSupportInfo* getSupportInfo(int uniqueId) = 0;
DrmEngineBase.h 80 DrmSupportInfo* getSupportInfo(int uniqueId);
367 * @return DrmSupportInfo
370 virtual DrmSupportInfo* onGetSupportInfo(int uniqueId) = 0;
  /frameworks/av/drm/libdrmframework/
NoOpDrmManagerClientImpl.cpp 155 DrmSupportInfo** /* drmSupportInfoArray */) {
DrmManagerClient.cpp 115 status_t DrmManagerClient::getAllSupportInfo(int* length, DrmSupportInfo** drmSupportInfoArray) {
  /frameworks/av/drm/libdrmframework/plugins/passthru/src/
DrmPassthruPlugIn.cpp 29 #include <drm/DrmSupportInfo.h>
126 DrmSupportInfo* DrmPassthruPlugIn::onGetSupportInfo(int uniqueId) {
128 DrmSupportInfo* drmSupportInfo = new DrmSupportInfo();
130 drmSupportInfo->addMimeType(String8("application/vnd.passthru.drm"));
132 drmSupportInfo->addFileSuffix(String8(".passthru"));
134 drmSupportInfo->setDescription(String8("Passthru plug-in"));
135 return drmSupportInfo;
  /frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
FwdLockEngine.cpp 32 #include <DrmSupportInfo.h>
178 void FwdLockEngine::AddSupportedMimeTypes(DrmSupportInfo *info) {
184 void FwdLockEngine::AddSupportedFileSuffixes(DrmSupportInfo *info) {
212 DrmSupportInfo* FwdLockEngine::onGetSupportInfo(int /* uniqueId */) {
213 DrmSupportInfo* pSupportInfo = new DrmSupportInfo();
  /frameworks/av/drm/libdrmframework/plugins/passthru/include/
DrmPassthruPlugIn.h 74 DrmSupportInfo* onGetSupportInfo(int uniqueId);
  /frameworks/av/drm/drmserver/
DrmManager.cpp 29 #include <drm/DrmSupportInfo.h>
106 DrmSupportInfo* info = mPlugInManager.getPlugIn(plugInPath).getSupportInfo(0);
373 int /* uniqueId */, int* length, DrmSupportInfo** drmSupportInfoArray) {
380 Vector<DrmSupportInfo> drmSupportInfoList;
384 DrmSupportInfo* drmSupportInfo
386 if (NULL != drmSupportInfo) {
387 drmSupportInfoList.add(*drmSupportInfo);
388 delete drmSupportInfo; drmSupportInfo = NULL
    [all...]
  /frameworks/base/drm/jni/
android_drm_DrmManagerClient.cpp 31 #include <drm/DrmSupportInfo.h>
339 DrmSupportInfo* drmSupportInfoArray = NULL;
344 jclass clazz = env->FindClass("android/drm/DrmSupportInfo");
349 DrmSupportInfo info = drmSupportInfoArray[i];
351 jobject drmSupportInfo = env->NewObject(clazz, env->GetMethodID(clazz, "<init>", "()V"));
359 drmSupportInfo, env->GetMethodID(clazz, "setDescription", "(Ljava/lang/String;)V"),
362 DrmSupportInfo::MimeTypeIterator iterator = info.getMimeTypeIterator();
365 env->CallVoidMethod(drmSupportInfo, addMimeTypeId, env->NewStringUTF(value.string()));
368 DrmSupportInfo::FileSuffixIterator it = info.getFileSuffixIterator();
372 drmSupportInfo, addFileSuffixId, env->NewStringUTF(value.string()))
    [all...]

Completed in 248 milliseconds

1 2