Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDrm.cpp136 const Vector<uint8_t> &drmSessionId, status_t &status) in createCryptoAndPlugin() argument
139 if (drmSessionId.isEmpty()) { in createCryptoAndPlugin()
153 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.h93 const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId, sp<ICrypto> *outCrypto);
DNuPlayer.h96 status_t prepareDrm(const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId);
DNuPlayerDriver.cpp1120 status_t NuPlayerDriver::prepareDrm(const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId) in prepareDrm() argument
1125 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.cpp1602 const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId, sp<ICrypto> *outCrypto) { in prepareDrm() argument
1611 sp<ICrypto> crypto = NuPlayerDrm::createCryptoAndPlugin(uuid, drmSessionId, status); in prepareDrm()
/frameworks/av/media/libmedia/
Dmediaplayer.cpp1006 status_t MediaPlayer::prepareDrm(const uint8_t uuid[16], const Vector<uint8_t>& drmSessionId) in prepareDrm() argument
1010 drmSessionId.array(), drmSessionId.size()); in prepareDrm()
1025 if (drmSessionId.isEmpty()) { in prepareDrm()
1031 status_t status = mPlayer->prepareDrm(uuid, drmSessionId); in prepareDrm()
DIMediaPlayer.cpp535 status_t prepareDrm(const uint8_t uuid[16], const Vector<uint8_t>& drmSessionId) in prepareDrm() argument
541 writeVector(data, drmSessionId); in prepareDrm()
963 Vector<uint8_t> drmSessionId; in onTransact() local
964 readVector(data, drmSessionId); in onTransact()
966 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.cpp1666 const Vector<uint8_t>& drmSessionId) in prepareDrm() argument
1672 status_t ret = p->prepareDrm(uuid, drmSessionId); in prepareDrm()
/frameworks/base/media/java/android/media/
DMediaPlayer.java5197 private native void _prepareDrm(@NonNull byte[] uuid, @NonNull byte[] drmSessionId); in _prepareDrm() argument