Home
last modified time | relevance | path

Searched refs:drmSessionId (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDrm.cpp184 const Vector<uint8_t> &drmSessionId, status_t &status) in createCryptoAndPlugin() argument
187 if (drmSessionId.isEmpty()) { in createCryptoAndPlugin()
201 status = crypto->createPlugin(uuid, drmSessionId.array(), drmSessionId.size()); in createCryptoAndPlugin()
DNuPlayerDrm.h85 const Vector<uint8_t> &drmSessionId, status_t &status);
DNuPlayerDriver.h95 virtual status_t prepareDrm(const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId);
DGenericSource.h92 const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId, sp<ICrypto> *outCrypto);
DNuPlayer.h97 status_t prepareDrm(const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId);
DNuPlayerDriver.cpp1088 status_t NuPlayerDriver::prepareDrm(const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId) in prepareDrm() argument
1093 status_t ret = mPlayer->prepareDrm(uuid, drmSessionId); in prepareDrm()
DNuPlayer.cpp2847 status_t NuPlayer::prepareDrm(const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId) in prepareDrm() argument
2856 Vector<uint8_t> sessionId = drmSessionId; in prepareDrm()
2904 Vector<uint8_t> *drmSessionId; in onPrepareDrm() local
2906 CHECK(msg->findPointer("drmSessionId", (void**)&drmSessionId)); in onPrepareDrm()
2911 status = mSource->prepareDrm(uuid, *drmSessionId, &crypto); in onPrepareDrm()
DGenericSource.cpp1614 const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId, sp<ICrypto> *outCrypto) { in prepareDrm() argument
1623 sp<ICrypto> crypto = NuPlayerDrm::createCryptoAndPlugin(uuid, drmSessionId, status); in prepareDrm()
/frameworks/av/media/libmedia/
Dmediaplayer.cpp1015 status_t MediaPlayer::prepareDrm(const uint8_t uuid[16], const Vector<uint8_t>& drmSessionId) in prepareDrm() argument
1019 drmSessionId.array(), drmSessionId.size()); in prepareDrm()
1034 if (drmSessionId.isEmpty()) { in prepareDrm()
1040 status_t status = mPlayer->prepareDrm(uuid, drmSessionId); in prepareDrm()
DIMediaPlayer.cpp538 status_t prepareDrm(const uint8_t uuid[16], const Vector<uint8_t>& drmSessionId) in prepareDrm() argument
544 writeVector(data, drmSessionId); in prepareDrm()
966 Vector<uint8_t> drmSessionId; in onTransact() local
967 readVector(data, drmSessionId); in onTransact()
969 uint32_t result = prepareDrm(uuid, drmSessionId); in onTransact()
/frameworks/av/media/libmedia/include/media/
DIMediaPlayer.h102 const Vector<uint8_t>& drmSessionId) = 0;
Dmediaplayer.h269 status_t prepareDrm(const uint8_t uuid[16], const Vector<uint8_t>& drmSessionId);
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer.cpp1279 Vector<uint8_t> drmSessionId = JByteArrayToVector(env, drmSessionIdObj); in android_media_MediaPlayer_prepareDrm() local
1281 if (drmSessionId.size() == 0) { in android_media_MediaPlayer_prepareDrm()
1289 status_t err = mp->prepareDrm(uuid.array(), drmSessionId); in android_media_MediaPlayer_prepareDrm()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h384 virtual status_t prepareDrm(const uint8_t uuid[16], const Vector<uint8_t>& drmSessionId);
DMediaPlayerService.cpp1495 const Vector<uint8_t>& drmSessionId) in prepareDrm() argument
1501 status_t ret = p->prepareDrm(uuid, drmSessionId); in prepareDrm()
/frameworks/base/media/java/android/media/
DMediaPlayer.java5196 private native void _prepareDrm(@NonNull byte[] uuid, @NonNull byte[] drmSessionId); in _prepareDrm() argument