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()
460 byte[] drmSessionId = new byte[drmSessionIdLen]; in PlaybackMetrics()
461 in.readByteArray(drmSessionId); in PlaybackMetrics()
480 this.mDrmSessionId = drmSessionId; in PlaybackMetrics()
662 public @NonNull Builder setDrmSessionId(@NonNull byte[] drmSessionId) { in setDrmSessionId() argument
663 mDrmSessionId = drmSessionId; in setDrmSessionId()
/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()
DNuPlayerDriver.cpp1144 status_t NuPlayerDriver::prepareDrm(const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId) in prepareDrm() argument
1149 status_t ret = mPlayer->prepareDrm(uuid, drmSessionId); in prepareDrm()
DNuPlayer.cpp3021 status_t NuPlayer::prepareDrm(const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId) in prepareDrm() argument
3030 Vector<uint8_t> sessionId = drmSessionId; in prepareDrm()
3078 Vector<uint8_t> *drmSessionId; in onPrepareDrm() local
3080 CHECK(msg->findPointer("drmSessionId", (void**)&drmSessionId)); in onPrepareDrm()
3085 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/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/libmediaplayerservice/fuzzer/
Dmediaplayer_fuzzer.cpp292 Vector<uint8_t> drmSessionId; in invokeMediaPlayer() local
293 drmSessionId.push_back(mFdp.ConsumeIntegral<uint8_t>()); in invokeMediaPlayer()
294 mMediaPlayer->prepareDrm(uuid, drmSessionId); in invokeMediaPlayer()
/frameworks/av/media/libmedia/
Dmediaplayer.cpp1030 status_t MediaPlayer::prepareDrm(const uint8_t uuid[16], const Vector<uint8_t>& drmSessionId) in prepareDrm() argument
1034 drmSessionId.array(), drmSessionId.size()); in prepareDrm()
1049 if (drmSessionId.isEmpty()) { in prepareDrm()
1055 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/libmedia/include/media/
DIMediaPlayer.h103 const Vector<uint8_t>& drmSessionId) = 0;
Dmediaplayer.h278 status_t prepareDrm(const uint8_t uuid[16], const Vector<uint8_t>& drmSessionId);
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer.cpp1285 Vector<uint8_t> drmSessionId = JByteArrayToVector(env, drmSessionIdObj); in android_media_MediaPlayer_prepareDrm() local
1287 if (drmSessionId.size() == 0) { in android_media_MediaPlayer_prepareDrm()
1295 status_t err = mp->prepareDrm(uuid.array(), drmSessionId); in android_media_MediaPlayer_prepareDrm()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h397 virtual status_t prepareDrm(const uint8_t uuid[16], const Vector<uint8_t>& drmSessionId);
DMediaPlayerService.cpp1708 const Vector<uint8_t>& drmSessionId) in prepareDrm() argument
1714 status_t ret = p->prepareDrm(uuid, drmSessionId); in prepareDrm()
/frameworks/base/media/java/android/media/
DMediaPlayer.java5458 private native void _prepareDrm(@NonNull byte[] uuid, @NonNull byte[] drmSessionId); in _prepareDrm() argument