Searched defs:drm (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/drm/java/android/drm/
H A DDrmConvertedStatus.java17 package android.drm;
22 * An instance of this class may be created two ways by the drm framework:
H A DDrmInfoStatus.java17 package android.drm;
H A DDrmErrorEvent.java17 package android.drm;
H A DDrmInfoEvent.java17 package android.drm;
H A DProcessedData.java17 package android.drm;
H A DDrmEvent.java17 package android.drm;
H A DDrmOutputStream.java17 package android.drm;
19 import static android.drm.DrmConvertedStatus.STATUS_OK;
20 import static android.drm.DrmManagerClient.INVALID_SESSION;
H A DDrmRights.java17 package android.drm;
H A DDrmInfo.java17 package android.drm;
H A DDrmInfoRequest.java17 package android.drm;
H A DDrmSupportInfo.java17 package android.drm;
H A DDrmUtils.java17 package android.drm;
H A DDrmStore.java17 package android.drm;
26 * {@link android.drm.DrmManagerClient#getConstraints DrmManagerClient.getConstraints()}
28 * {@link android.drm.DrmStore.Action actions} that can be performed
41 * {@link android.drm.DrmStore.Action action}.
50 * {@link android.drm.DrmStore.Action action}.
58 * an {@link android.drm.DrmStore.Action action} can be performed on
67 * an {@link android.drm.DrmStore.Action action} can not be performed on
H A DDrmManagerClient.java17 package android.drm;
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/
H A DMediaDrmSigner.java93 * @param drm the MediaDrm object
98 public static CertificateRequest getCertificateRequest(MediaDrm drm, int certType, argument
100 return new CertificateRequest(drm.getCertificateRequest(certType, certAuthority));
112 * @param drm the MediaDrm object
118 public static Certificate provideCertificateResponse(MediaDrm drm, byte[] response) argument
120 return new Certificate(drm.provideCertificateResponse(response));
126 * @param drm the MediaDrm object
133 public static byte[] signRSA(MediaDrm drm, byte[] sessionId, argument
135 return drm.signRSA(sessionId, algorithm, wrappedKey, message);
/frameworks/av/media/libmedia/
H A DIMediaPlayerService.cpp299 sp<IDrm> drm = makeDrm(); local
300 reply->writeStrongBinder(drm->asBinder());
/frameworks/av/media/libstagefright/
H A DStagefrightMetadataRetriever.cpp345 int32_t drm = 0; local
346 if (fileMeta->findInt32(kKeyIsDRM, &drm) && drm != 0) {
626 // To check whether the media file is drm-protected
H A DMPEG4Extractor.cpp1832 ALOGV("mdat chunk, drm: %d", mIsDrm);
3859 int32_t drm = 0; local
3860 bool usesDRM = (mFormat->findInt32(kKeyIsDRM, &drm) && drm != 0);
4135 int32_t drm = 0; local
4136 bool usesDRM = (mFormat->findInt32(kKeyIsDRM, &drm) && drm != 0);
/frameworks/av/media/ndk/
H A DNdkMediaDrm.cpp162 sp<IDrm> drm = service->makeDrm(); local
164 if (drm == NULL || (drm->initCheck() != OK && drm->initCheck() != NO_INIT)) {
168 return drm;
173 sp<IDrm> drm = CreateDrm(); local
175 if (drm == NULL) {
179 status_t err = drm->createPlugin(uuid);
185 return drm;
190 sp<IDrm> drm local
[all...]
/frameworks/base/media/java/android/media/
H A DMediaDrm.java133 * this device, and whether the drm plugin is able to handle the
238 * Interface definition for a callback to be invoked when a drm event
652 private static final native void setCipherAlgorithmNative(MediaDrm drm, byte[] sessionId, argument
655 private static final native void setMacAlgorithmNative(MediaDrm drm, byte[] sessionId, argument
658 private static final native byte[] encryptNative(MediaDrm drm, byte[] sessionId, argument
661 private static final native byte[] decryptNative(MediaDrm drm, byte[] sessionId, argument
664 private static final native byte[] signNative(MediaDrm drm, byte[] sessionId, argument
667 private static final native boolean verifyNative(MediaDrm drm, byte[] sessionId, argument
697 CryptoSession(MediaDrm drm, byte[] sessionId, argument
701 mDrm = drm;
872 signRSANative(MediaDrm drm, byte[] sessionId, String algorithm, byte[] wrappedKey, byte[] message) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaDrm.cpp333 sp<IDrm> drm = service->makeDrm(); local
335 if (drm == NULL || (drm->initCheck() != OK && drm->initCheck() != NO_INIT)) {
339 return drm;
344 sp<IDrm> drm = MakeDrm(); local
346 if (drm == NULL) {
350 status_t err = drm->createPlugin(uuid);
356 return drm;
387 sp<IDrm> drm local
516 setDrm( JNIEnv *env, jobject thiz, const sp<JDrm> &drm) argument
530 CheckSession(JNIEnv *env, const sp<IDrm> &drm, jbyteArray const &jsessionId) argument
545 sp<JDrm> drm = setDrm(env, thiz, NULL); local
647 sp<JDrm> drm = new JDrm(env, thiz, uuid.array()); local
697 sp<IDrm> drm = GetDrm(env, thiz); local
717 sp<IDrm> drm = GetDrm(env, thiz); local
733 sp<IDrm> drm = GetDrm(env, thiz); local
799 sp<IDrm> drm = GetDrm(env, thiz); local
825 sp<IDrm> drm = GetDrm(env, thiz); local
844 sp<IDrm> drm = GetDrm(env, thiz); local
865 sp<IDrm> drm = GetDrm(env, thiz); local
885 sp<IDrm> drm = GetDrm(env, thiz); local
932 sp<IDrm> drm = GetDrm(env, thiz); local
971 sp<IDrm> drm = GetDrm(env, thiz); local
987 sp<IDrm> drm = GetDrm(env, thiz); local
1008 sp<IDrm> drm = GetDrm(env, thiz); local
1029 sp<IDrm> drm = GetDrm(env, thiz); local
1046 sp<IDrm> drm = GetDrm(env, thiz); local
1061 sp<IDrm> drm = GetDrm(env, thiz); local
1089 sp<IDrm> drm = GetDrm(env, thiz); local
1117 sp<IDrm> drm = GetDrm(env, thiz); local
1147 sp<IDrm> drm = GetDrm(env, thiz); local
1179 sp<IDrm> drm = GetDrm(env, jdrm); local
1203 sp<IDrm> drm = GetDrm(env, jdrm); local
1228 sp<IDrm> drm = GetDrm(env, jdrm); local
1259 sp<IDrm> drm = GetDrm(env, jdrm); local
1289 sp<IDrm> drm = GetDrm(env, jdrm); local
1319 sp<IDrm> drm = GetDrm(env, jdrm); local
1348 sp<IDrm> drm = GetDrm(env, jdrm); local
[all...]

Completed in 992 milliseconds