Home
last modified time | relevance | path

Searched defs:drm (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_MediaDrm.cpp363 sp<IDrm> drm = service->makeDrm(); in MakeDrm() local
373 sp<IDrm> drm = MakeDrm(); in MakeDrm() local
416 sp<IDrm> drm = MakeDrm(); in IsCryptoSchemeSupported() local
554 JNIEnv *env, jobject thiz, const sp<JDrm> &drm) { in setDrm()
567 static bool CheckSession(JNIEnv *env, const sp<IDrm> &drm, jbyteArray const &jsessionId) in CheckSession()
582 sp<JDrm> drm = setDrm(env, thiz, NULL); in android_media_MediaDrm_release() local
701 sp<JDrm> drm = new JDrm(env, thiz, uuid.array()); in android_media_MediaDrm_native_setup() local
751 sp<IDrm> drm = GetDrm(env, thiz); in android_media_MediaDrm_openSession() local
771 sp<IDrm> drm = GetDrm(env, thiz); in android_media_MediaDrm_closeSession() local
787 sp<IDrm> drm = GetDrm(env, thiz); in android_media_MediaDrm_getKeyRequest() local
[all …]
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/
DMediaDrmSigner.java98 public static CertificateRequest getCertificateRequest(MediaDrm drm, int certType, in getCertificateRequest()
118 public static Certificate provideCertificateResponse(MediaDrm drm, byte[] response) in provideCertificateResponse()
133 public static byte[] signRSA(MediaDrm drm, byte[] sessionId, in signRSA()
/frameworks/av/drm/libmediadrm/
DDrmSessionManager.cpp68 int pid, sp<DrmSessionClientInterface> drm, const Vector<uint8_t> &sessionId) { in addSession()
119 void DrmSessionManager::removeDrm(sp<DrmSessionClientInterface> drm) { in removeDrm()
144 sp<DrmSessionClientInterface> drm; in reclaimSession() local
212 int pid, sp<DrmSessionClientInterface>* drm, Vector<uint8_t>* sessionId) { in getLeastUsedSession_l()
DDrm.cpp67 sp<Drm> drm = mDrm.promote(); in reclaimSession() local
/frameworks/av/services/mediadrm/tests/
DDrmSessionManager_test.cpp89 static void ExpectEqSessionInfo(const SessionInfo& info, sp<DrmSessionClientInterface> drm, in ExpectEqSessionInfo()
136 sp<DrmSessionClientInterface> drm; in testGetLeastUsedSession() local
200 sp<FakeDrm> drm = new FakeDrm; in TEST_F() local
229 sp<FakeDrm> drm = new FakeDrm; in TEST_F() local
/frameworks/av/media/libmediaplayerservice/tests/
DDrmSessionManager_test.cpp93 static void ExpectEqSessionInfo(const SessionInfo& info, sp<DrmSessionClientInterface> drm, in ExpectEqSessionInfo()
140 sp<DrmSessionClientInterface> drm; in testGetLeastUsedSession() local
204 sp<FakeDrm> drm = new FakeDrm; in TEST_F() local
233 sp<FakeDrm> drm = new FakeDrm; in TEST_F() local
/frameworks/base/media/java/android/media/
DMediaDrm.java1024 private static final native void setCipherAlgorithmNative( in setCipherAlgorithmNative()
1027 private static final native void setMacAlgorithmNative( in setMacAlgorithmNative()
1031 private static final native byte[] encryptNative( in encryptNative()
1036 private static final native byte[] decryptNative( in decryptNative()
1041 private static final native byte[] signNative( in signNative()
1045 private static final native boolean verifyNative( in verifyNative()
1280 private static final native byte[] signRSANative( in signRSANative()
/frameworks/av/media/libmedia/
DIMediaDrmService.cpp77 sp<IDrm> drm = makeDrm(); in onTransact() local
/frameworks/av/include/media/
DDrmSessionManager.h36 sp<DrmSessionClientInterface> drm; member
/frameworks/av/media/ndk/
DNdkMediaDrm.cpp159 sp<IDrm> drm = service->makeDrm(); in CreateDrm() local
168 sp<IDrm> drm = CreateDrm(); in CreateDrmFromUUID() local
185 sp<IDrm> drm = CreateDrm(); in AMediaDrm_isCryptoSchemeSupported() local
/frameworks/av/media/libstagefright/
DStagefrightMetadataRetriever.cpp452 int32_t drm = 0; in getFrameAtTime() local
DMPEG4Extractor.cpp4388 int32_t drm = 0; in read() local
4688 int32_t drm = 0; in fragmentedRead() local