HomeSort by relevance Sort by last modified time
    Searched refs:DrmSupportInfo (Results 1 - 25 of 27) 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>
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...]
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;
DrmManagerClient.java 347 DrmSupportInfo[] supportInfos = _getAllSupportInfo(mUniqueId);
    [all...]
  /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;
112 status_t getAllSupportInfo(int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray);
161 KeyedVector< DrmSupportInfo, String8 > mSupportInfoToPlugInIdMap;
IDrmManagerService.h 34 class DrmSupportInfo;
141 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) = 0;
230 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray);
DrmManagerService.h 99 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 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/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>
176 void FwdLockEngine::AddSupportedMimeTypes(DrmSupportInfo *info) {
182 void FwdLockEngine::AddSupportedFileSuffixes(DrmSupportInfo *info) {
210 DrmSupportInfo* FwdLockEngine::onGetSupportInfo(int uniqueId) {
211 DrmSupportInfo* pSupportInfo = new 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...]
DrmManagerService.cpp 197 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) {
  /frameworks/av/drm/libdrmframework/plugins/passthru/include/
DrmPassthruPlugIn.h 74 DrmSupportInfo* onGetSupportInfo(int uniqueId);
  /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...]
  /frameworks/av/drm/libdrmframework/
DrmManagerClient.cpp 115 status_t DrmManagerClient::getAllSupportInfo(int* length, DrmSupportInfo** drmSupportInfoArray) {
DrmManagerClientImpl.cpp 248 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) {
  /prebuilts/sdk/14/
android.jar 

Completed in 946 milliseconds

1 2