HomeSort by relevance Sort by last modified time
    Searched refs:drmSupportInfo (Results 1 - 7 of 7) sorted by null

  /frameworks/av/include/drm/
DrmSupportInfo.h 29 * DrmSupportInfo instance.
32 class DrmSupportInfo {
38 friend class DrmSupportInfo;
40 explicit MimeTypeIterator(DrmSupportInfo* drmSupportInfo)
41 : mDrmSupportInfo(drmSupportInfo), mIndex(0) {}
52 DrmSupportInfo* mDrmSupportInfo;
60 friend class DrmSupportInfo;
63 explicit FileSuffixIterator(DrmSupportInfo* drmSupportInfo)
    [all...]
  /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...]
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...]
  /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;
  /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;
  /frameworks/av/drm/drmserver/
DrmManager.cpp 29 #include <drm/DrmSupportInfo.h>
101 DrmSupportInfo* info = mPlugInManager.getPlugIn(plugInPath).getSupportInfo(0);
368 int /* uniqueId */, int* length, DrmSupportInfo** drmSupportInfoArray) {
375 Vector<DrmSupportInfo> drmSupportInfoList;
379 DrmSupportInfo* drmSupportInfo
381 if (NULL != drmSupportInfo) {
382 drmSupportInfoList.add(*drmSupportInfo);
383 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 187 milliseconds