/frameworks/base/media/jni/ |
D | android_media_MediaDrm.cpp | 366 sp<IDrm> drm = service->makeDrm(); in MakeDrm() local 368 if (drm == NULL || (drm->initCheck() != OK && drm->initCheck() != NO_INIT)) { in MakeDrm() 372 return drm; in MakeDrm() 377 sp<IDrm> drm = MakeDrm(); in MakeDrm() local 379 if (drm == NULL) { in MakeDrm() 383 status_t err = drm->createPlugin(uuid); in MakeDrm() 389 return drm; in MakeDrm() 420 sp<IDrm> drm = MakeDrm(); in IsCryptoSchemeSupported() local 422 if (drm == NULL) { in IsCryptoSchemeSupported() 426 return drm->isCryptoSchemeSupported(uuid, mimeType); in IsCryptoSchemeSupported() [all …]
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/ |
D | Android.mk | 26 ifneq ($(shell grep -c 'off64_t offset' $(base)/drm/libdrmframework/plugins/common/include/IDrmEngi… 55 $(base)/include/drm \ 56 $(base)/drm/libdrmframework/plugins/common/include \ 57 $(base)/drm/libdrmframework/plugins/common/util/include \ 58 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/common \ 59 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/converter \ 60 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/decoder \ 63 LOCAL_MODULE_RELATIVE_PATH := drm
|
/frameworks/av/media/libmediaplayerservice/ |
D | DrmSessionManager.cpp | 69 int pid, sp<DrmSessionClientInterface> drm, const Vector<uint8_t> &sessionId) { in addSession() argument 70 ALOGV("addSession(pid %d, drm %p, sessionId %s)", pid, drm.get(), in addSession() 75 info.drm = drm; in addSession() 120 void DrmSessionManager::removeDrm(sp<DrmSessionClientInterface> drm) { in removeDrm() argument 121 ALOGV("removeDrm(%p)", drm.get()); in removeDrm() 128 if (infos[j].drm == drm) { in removeDrm() 145 sp<DrmSessionClientInterface> drm; in reclaimSession() local 162 if (!getLeastUsedSession_l(lowestPriorityPid, &drm, &sessionId)) { in reclaimSession() 167 if (drm == NULL) { in reclaimSession() 174 return drm->reclaimSession(sessionId); in reclaimSession() [all …]
|
D | DrmSessionManager.h | 36 sp<DrmSessionClientInterface> drm; member 50 void addSession(int pid, sp<DrmSessionClientInterface> drm, const Vector<uint8_t>& sessionId); 53 void removeDrm(sp<DrmSessionClientInterface> drm); 65 int pid, sp<DrmSessionClientInterface>* drm, Vector<uint8_t>* sessionId);
|
D | Drm.cpp | 68 DrmSessionClient(Drm* drm) : mDrm(drm) {} in DrmSessionClient() 71 sp<Drm> drm = mDrm.promote(); in reclaimSession() local 72 if (drm == NULL) { in reclaimSession() 75 status_t err = drm->closeSession(sessionId); in reclaimSession() 79 drm->sendEvent(DrmPlugin::kDrmPluginEventSessionReclaimed, 0, &sessionId, NULL); in reclaimSession()
|
/frameworks/av/media/libmediaplayerservice/tests/ |
D | DrmSessionManager_test.cpp | 89 static void ExpectEqSessionInfo(const SessionInfo& info, sp<DrmSessionClientInterface> drm, in ExpectEqSessionInfo() argument 91 EXPECT_EQ(drm, info.drm); in ExpectEqSessionInfo() 136 sp<DrmSessionClientInterface> drm; in testGetLeastUsedSession() local 138 EXPECT_FALSE(mDrmSessionManager->getLeastUsedSession_l(kTestPid1, &drm, &sessionId)); in testGetLeastUsedSession() 142 EXPECT_TRUE(mDrmSessionManager->getLeastUsedSession_l(kTestPid1, &drm, &sessionId)); in testGetLeastUsedSession() 143 EXPECT_EQ(mTestDrm1, drm); in testGetLeastUsedSession() 146 EXPECT_TRUE(mDrmSessionManager->getLeastUsedSession_l(kTestPid2, &drm, &sessionId)); in testGetLeastUsedSession() 147 EXPECT_EQ(mTestDrm2, drm); in testGetLeastUsedSession() 152 EXPECT_TRUE(mDrmSessionManager->getLeastUsedSession_l(kTestPid2, &drm, &sessionId)); in testGetLeastUsedSession() 153 EXPECT_EQ(mTestDrm2, drm); in testGetLeastUsedSession() [all …]
|
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/ |
D | MediaDrmSigner.java | 98 public static CertificateRequest getCertificateRequest(MediaDrm drm, int certType, in getCertificateRequest() argument 100 return new CertificateRequest(drm.getCertificateRequest(certType, certAuthority)); in getCertificateRequest() 118 public static Certificate provideCertificateResponse(MediaDrm drm, byte[] response) in provideCertificateResponse() argument 120 return new Certificate(drm.provideCertificateResponse(response)); in provideCertificateResponse() 133 public static byte[] signRSA(MediaDrm drm, byte[] sessionId, in signRSA() argument 135 return drm.signRSA(sessionId, algorithm, wrappedKey, message); in signRSA()
|
/frameworks/av/drm/libdrmframework/plugins/passthru/ |
D | Android.mk | 33 $(TOP)/frameworks/av/drm/libdrmframework/include \ 34 $(TOP)/frameworks/av/drm/libdrmframework/plugins/passthru/include \ 35 $(TOP)/frameworks/av/drm/libdrmframework/plugins/common/include \
|
/frameworks/base/media/java/android/media/ |
D | MediaDrm.java | 1037 @NonNull MediaDrm drm, @NonNull byte[] sessionId, @NonNull String algorithm); in setCipherAlgorithmNative() 1040 @NonNull MediaDrm drm, @NonNull byte[] sessionId, @NonNull String algorithm); in setMacAlgorithmNative() 1044 @NonNull MediaDrm drm, @NonNull byte[] sessionId, in encryptNative() 1049 @NonNull MediaDrm drm, @NonNull byte[] sessionId, in decryptNative() 1054 @NonNull MediaDrm drm, @NonNull byte[] sessionId, in signNative() 1058 @NonNull MediaDrm drm, @NonNull byte[] sessionId, in verifyNative() 1088 CryptoSession(@NonNull MediaDrm drm, @NonNull byte[] sessionId, in CryptoSession() argument 1092 mDrm = drm; in CryptoSession() 1093 setCipherAlgorithmNative(drm, sessionId, cipherAlgorithm); in CryptoSession() 1094 setMacAlgorithmNative(drm, sessionId, macAlgorithm); in CryptoSession() [all …]
|
/frameworks/av/drm/libdrmframework/plugins/common/util/ |
D | Android.mk | 29 $(base)/include/drm \ 30 $(base)/include/drm/plugins \
|
/frameworks/av/drm/drmserver/ |
D | Android.mk | 36 $(TOP)/frameworks/av/drm/libdrmframework/include \ 37 $(TOP)/frameworks/av/drm/libdrmframework/plugins/common/include
|
/frameworks/base/drm/java/android/drm/ |
D | DrmOutputStream.java | 17 package android.drm; 19 import static android.drm.DrmConvertedStatus.STATUS_OK; 20 import static android.drm.DrmManagerClient.INVALID_SESSION;
|
D | DrmConvertedStatus.java | 17 package android.drm;
|
D | ProcessedData.java | 17 package android.drm;
|
D | DrmInfoStatus.java | 17 package android.drm;
|
D | DrmErrorEvent.java | 17 package android.drm;
|
D | DrmInfoEvent.java | 17 package android.drm;
|
/frameworks/base/drm/jni/ |
D | Android.mk | 37 $(TOP)/frameworks/av/drm/libdrmframework/include \ 38 $(TOP)/frameworks/av/drm/libdrmframework/plugins/common/include \
|
/frameworks/av/drm/common/ |
D | Android.mk | 36 $(TOP)/frameworks/av/drm/libdrmframework/include \ 37 $(TOP)/frameworks/av/drm/libdrmframework/plugins/common/include
|
/frameworks/av/media/ndk/ |
D | NdkMediaDrm.cpp | 162 sp<IDrm> drm = service->makeDrm(); in CreateDrm() local 164 if (drm == NULL || (drm->initCheck() != OK && drm->initCheck() != NO_INIT)) { in CreateDrm() 168 return drm; in CreateDrm() 173 sp<IDrm> drm = CreateDrm(); in CreateDrmFromUUID() local 175 if (drm == NULL) { in CreateDrmFromUUID() 179 status_t err = drm->createPlugin(uuid); in CreateDrmFromUUID() 185 return drm; in CreateDrmFromUUID() 190 sp<IDrm> drm = CreateDrm(); in AMediaDrm_isCryptoSchemeSupported() local 192 if (drm == NULL) { in AMediaDrm_isCryptoSchemeSupported() 197 return drm->isCryptoSchemeSupported(uuid, mimeStr); in AMediaDrm_isCryptoSchemeSupported()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
D | Android.mk | 24 frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
D | Android.mk | 24 frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common
|
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
D | DrmConvertSession.java | 20 import android.drm.DrmConvertedStatus; 21 import android.drm.DrmManagerClient;
|
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/ |
D | Android.mk | 32 frameworks/av/drm/mediadrm/plugins/clearkey \
|
/frameworks/av/drm/libdrmframework/ |
D | Android.mk | 38 $(TOP)/frameworks/av/drm/libdrmframework/include \
|