Home
last modified time | relevance | path

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

/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/base/media/jni/
Dandroid_media_MediaDrm.cpp364 sp<IDrm> drm = service->makeDrm(); in MakeDrm() local
374 sp<IDrm> drm = MakeDrm(); in MakeDrm() local
417 sp<IDrm> drm = MakeDrm(); in IsCryptoSchemeSupported() local
555 JNIEnv *env, jobject thiz, const sp<JDrm> &drm) { in setDrm()
568 static bool CheckSession(JNIEnv *env, const sp<IDrm> &drm, jbyteArray const &jsessionId) in CheckSession()
583 sp<JDrm> drm = setDrm(env, thiz, NULL); in android_media_MediaDrm_release() local
710 sp<JDrm> drm = new JDrm(env, thiz, uuid.array(), packageName); in android_media_MediaDrm_native_setup() local
760 sp<IDrm> drm = GetDrm(env, thiz); in android_media_MediaDrm_openSession() local
780 sp<IDrm> drm = GetDrm(env, thiz); in android_media_MediaDrm_closeSession() local
796 sp<IDrm> drm = GetDrm(env, thiz); in android_media_MediaDrm_getKeyRequest() local
[all …]
/frameworks/av/drm/libmediadrm/
DDrmSessionManager.cpp68 int pid, const sp<DrmSessionClientInterface>& drm, const Vector<uint8_t> &sessionId) { in addSession()
119 void DrmSessionManager::removeDrm(const 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()
DIMediaDrmService.cpp77 sp<IDrm> drm = makeDrm(); in onTransact() local
DDrm.cpp68 sp<Drm> drm = mDrm.promote(); in reclaimSession() local
DDrmHal.cpp169 sp<DrmHal> 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.java1035 private static final native void setCipherAlgorithmNative( in setCipherAlgorithmNative()
1038 private static final native void setMacAlgorithmNative( in setMacAlgorithmNative()
1042 private static final native byte[] encryptNative( in encryptNative()
1047 private static final native byte[] decryptNative( in decryptNative()
1052 private static final native byte[] signNative( in signNative()
1056 private static final native boolean verifyNative( in verifyNative()
1291 private static final native byte[] signRSANative( in signRSANative()
/frameworks/av/media/libmedia/include/media/
DDrmSessionManager.h36 sp<DrmSessionClientInterface> drm; member
/frameworks/av/include/media/
DDrmSessionManager.h36 sp<DrmSessionClientInterface> drm; member
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDrm.cpp44 sp<IDrm> drm = service->makeDrm(); in CreateDrm() local
158 sp<IDrm> drm = CreateDrm(&status); in getSupportedDrmSchemes() local
/frameworks/av/media/ndk/
DNdkMediaDrm.cpp160 sp<IDrm> drm = service->makeDrm(); in CreateDrm() local
169 sp<IDrm> drm = CreateDrm(); in CreateDrmFromUUID() local
187 sp<IDrm> drm = CreateDrm(); in AMediaDrm_isCryptoSchemeSupported() local
/frameworks/av/media/libstagefright/
DStagefrightMetadataRetriever.cpp489 int32_t drm = 0; in getFrameAtTime() local
DMPEG4Extractor.cpp4706 int32_t drm = 0; in read() local
5029 int32_t drm = 0; in fragmentedRead() local