OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:drmSupportInfo
(Results
1 - 6
of
6
) sorted by null
/frameworks/base/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/base/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>
567
int uniqueId, int* length,
DrmSupportInfo
** drmSupportInfoArray) {
579
*drmSupportInfoArray = new
DrmSupportInfo
[arraySize];
582
DrmSupportInfo
drmSupportInfo
;
586
drmSupportInfo
.addFileSuffix(reply.readString8());
591
drmSupportInfo
.addMimeType(reply.readString8());
594
drmSupportInfo
.setDescription(reply.readString8());
595
(*drmSupportInfoArray)[index] =
drmSupportInfo
;
[
all
...]
/frameworks/base/drm/libdrmframework/plugins/passthru/src/
DrmPassthruPlugIn.cpp
29
#include <drm/
DrmSupportInfo
.h>
125
DrmSupportInfo
* DrmPassthruPlugIn::onGetSupportInfo(int uniqueId) {
127
DrmSupportInfo
*
drmSupportInfo
= new
DrmSupportInfo
();
129
drmSupportInfo
->addMimeType(String8("application/vnd.passthru.drm"));
131
drmSupportInfo
->addFileSuffix(String8(".passthru"));
133
drmSupportInfo
->setDescription(String8("Passthru plug-in"));
134
return
drmSupportInfo
;
/frameworks/base/drm/drmserver/
DrmManager.cpp
29
#include <drm/
DrmSupportInfo
.h>
116
DrmSupportInfo
* info = mPlugInManager.getPlugIn(plugInPath).getSupportInfo(0);
196
DrmSupportInfo
* info = rDrmEngine.getSupportInfo(0);
398
int uniqueId, int* length,
DrmSupportInfo
** drmSupportInfoArray) {
405
Vector<
DrmSupportInfo
> drmSupportInfoList;
409
DrmSupportInfo
*
drmSupportInfo
411
if (NULL !=
drmSupportInfo
) {
412
drmSupportInfoList.add(*
drmSupportInfo
);
413
delete
drmSupportInfo
; drmSupportInfo = NULL
[
all
...]
/frameworks/base/drm/jni/
android_drm_DrmManagerClient.cpp
30
#include <drm/
DrmSupportInfo
.h>
345
DrmSupportInfo
* drmSupportInfoArray = NULL;
350
jclass clazz = env->FindClass("android/drm/
DrmSupportInfo
");
355
DrmSupportInfo
info = drmSupportInfoArray[i];
357
jobject
drmSupportInfo
= env->NewObject(clazz, env->GetMethodID(clazz, "<init>", "()V"));
365
drmSupportInfo
, env->GetMethodID(clazz, "setDescription", "(Ljava/lang/String;)V"),
368
DrmSupportInfo
::MimeTypeIterator iterator = info.getMimeTypeIterator();
371
env->CallVoidMethod(
drmSupportInfo
, addMimeTypeId, env->NewStringUTF(value.string()));
374
DrmSupportInfo
::FileSuffixIterator it = info.getFileSuffixIterator();
378
drmSupportInfo
, addFileSuffixId, env->NewStringUTF(value.string()))
[
all
...]
Completed in 28 milliseconds