Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/metrics/
DPlaybackMetrics.java192 byte[] drmSessionId, in PlaybackMetrics() argument
210 this.mDrmSessionId = drmSessionId; in PlaybackMetrics()
461 byte[] drmSessionId = new byte[drmSessionIdLen]; in PlaybackMetrics()
462 in.readByteArray(drmSessionId); in PlaybackMetrics()
481 this.mDrmSessionId = drmSessionId; in PlaybackMetrics()
663 public @NonNull Builder setDrmSessionId(@NonNull byte[] drmSessionId) { in setDrmSessionId() argument
664 mDrmSessionId = drmSessionId; in setDrmSessionId()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDrm.cpp135 const Vector<uint8_t> &drmSessionId, status_t &status) in createCryptoAndPlugin() argument
138 if (drmSessionId.isEmpty()) { in createCryptoAndPlugin()
152 status = crypto->createPlugin(uuid, drmSessionId.array(), drmSessionId.size()); in createCryptoAndPlugin()
DNuPlayerDriver.cpp1165 status_t NuPlayerDriver::prepareDrm(const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId) in prepareDrm() argument
1170 status_t ret = mPlayer->prepareDrm(uuid, drmSessionId); in prepareDrm()
DNuPlayer.cpp3056 status_t NuPlayer::prepareDrm(const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId) in prepareDrm() argument
3065 Vector<uint8_t> sessionId = drmSessionId; in prepareDrm()
3113 Vector<uint8_t> *drmSessionId; in onPrepareDrm() local
3115 CHECK(msg->findPointer("drmSessionId", (void**)&drmSessionId)); in onPrepareDrm()
3120 status = mSource->prepareDrm(uuid, *drmSessionId, &crypto); in onPrepareDrm()
DGenericSource.cpp1607 const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId, sp<ICrypto> *outCrypto) { in prepareDrm() argument
1616 sp<ICrypto> crypto = NuPlayerDrm::createCryptoAndPlugin(uuid, drmSessionId, status); in prepareDrm()
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DNuPlayerDrm.h85 const Vector<uint8_t> &drmSessionId, status_t &status);
DNuPlayerDriver.h97 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.h98 status_t prepareDrm(const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId);
/frameworks/av/media/libmedia/
Dmediaplayer.cpp1035 status_t MediaPlayer::prepareDrm(const uint8_t uuid[16], const Vector<uint8_t>& drmSessionId) in prepareDrm() argument
1039 drmSessionId.array(), drmSessionId.size()); in prepareDrm()
1054 if (drmSessionId.isEmpty()) { in prepareDrm()
1060 status_t status = mPlayer->prepareDrm(uuid, drmSessionId); in prepareDrm()
DIMediaPlayer.cpp523 status_t prepareDrm(const uint8_t uuid[16], const Vector<uint8_t>& drmSessionId) in prepareDrm() argument
529 writeVector(data, drmSessionId); in prepareDrm()
957 Vector<uint8_t> drmSessionId; in onTransact() local
958 status_t status = readVector(data, drmSessionId); in onTransact()
962 uint32_t result = prepareDrm(uuid, drmSessionId); in onTransact()
/frameworks/av/media/libmediaplayerservice/fuzzer/
Dmediaplayer_fuzzer.cpp472 Vector<uint8_t> drmSessionId; in invokeMediaPlayer() local
475 drmSessionId.push_back(mFdp.ConsumeIntegral<uint8_t>()); in invokeMediaPlayer()
477 mMediaPlayer->prepareDrm(uuid, drmSessionId); in invokeMediaPlayer()
/frameworks/av/media/libmedia/include/media/
DIMediaPlayer.h103 const Vector<uint8_t>& drmSessionId) = 0;
Dmediaplayer.h280 status_t prepareDrm(const uint8_t uuid[16], const Vector<uint8_t>& drmSessionId);
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer.cpp1305 Vector<uint8_t> drmSessionId = JByteArrayToVector(env, drmSessionIdObj); in android_media_MediaPlayer_prepareDrm() local
1307 if (drmSessionId.size() == 0) { in android_media_MediaPlayer_prepareDrm()
1315 status_t err = mp->prepareDrm(uuid.array(), drmSessionId); in android_media_MediaPlayer_prepareDrm()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h400 virtual status_t prepareDrm(const uint8_t uuid[16], const Vector<uint8_t>& drmSessionId);
DMediaPlayerService.cpp1717 const Vector<uint8_t>& drmSessionId) in prepareDrm() argument
1723 status_t ret = p->prepareDrm(uuid, drmSessionId); in prepareDrm()
/frameworks/base/media/java/android/media/
DMediaPlayer.java5538 private native void _prepareDrm(@NonNull byte[] uuid, @NonNull byte[] drmSessionId); in _prepareDrm() argument