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

  /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/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/common/
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/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 60 milliseconds