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

  /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...]
  /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>
580 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) {
592 *drmSupportInfoArray = new DrmSupportInfo[arraySize];
595 DrmSupportInfo drmSupportInfo;
599 drmSupportInfo.addFileSuffix(reply.readString8());
604 drmSupportInfo.addMimeType(reply.readString8());
607 drmSupportInfo.setDescription(reply.readString8());
608 (*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;
  /frameworks/av/drm/drmserver/
DrmManager.cpp 29 #include <drm/DrmSupportInfo.h>
106 DrmSupportInfo* info = mPlugInManager.getPlugIn(plugInPath).getSupportInfo(0);
186 DrmSupportInfo* info = rDrmEngine.getSupportInfo(0);
388 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) {
395 Vector<DrmSupportInfo> drmSupportInfoList;
399 DrmSupportInfo* drmSupportInfo
401 if (NULL != drmSupportInfo) {
402 drmSupportInfoList.add(*drmSupportInfo);
403 delete drmSupportInfo; drmSupportInfo = NULL
    [all...]
  /frameworks/base/drm/jni/
android_drm_DrmManagerClient.cpp 31 #include <drm/DrmSupportInfo.h>
337 DrmSupportInfo* drmSupportInfoArray = NULL;
342 jclass clazz = env->FindClass("android/drm/DrmSupportInfo");
347 DrmSupportInfo info = drmSupportInfoArray[i];
349 jobject drmSupportInfo = env->NewObject(clazz, env->GetMethodID(clazz, "<init>", "()V"));
357 drmSupportInfo, env->GetMethodID(clazz, "setDescription", "(Ljava/lang/String;)V"),
360 DrmSupportInfo::MimeTypeIterator iterator = info.getMimeTypeIterator();
363 env->CallVoidMethod(drmSupportInfo, addMimeTypeId, env->NewStringUTF(value.string()));
366 DrmSupportInfo::FileSuffixIterator it = info.getFileSuffixIterator();
370 drmSupportInfo, addFileSuffixId, env->NewStringUTF(value.string()))
    [all...]

Completed in 125 milliseconds