HomeSort by relevance Sort by last modified time
    Searched defs:drmInfo (Results 1 - 25 of 37) sorted by null

1 2

  /frameworks/av/media/libmediaplayer2/nuplayer2/
NuPlayer2Drm.cpp 139 std::ostringstream pssh, drmInfo;
156 drmInfo.write(reinterpret_cast<const char *>(&psshSize), sizeof(psshSize));
157 drmInfo.write(reinterpret_cast<const char *>(pssh.str().c_str()), psshSize);
161 drmInfo.write(reinterpret_cast<const char *>(&numentries), sizeof(numentries));
164 drmInfo.write(reinterpret_cast<const char *>(&entry->uuid), sizeof(entry->uuid));
169 sp<ABuffer> drmInfoBuf = ABuffer::CreateAsCopy(drmInfo.str().c_str(), drmInfo.tellp());
170 drmInfoBuf->setRange(0, drmInfo.tellp());
NuPlayer2.cpp     [all...]
  /cts/tests/tests/drm/src/android/drm/cts/
DRMTest.java 46 import android.drm.DrmInfo;
83 DrmInfo drmInfo = executeAcquireDrmInfo(DrmInfoRequest.TYPE_REGISTRATION_INFO,
86 executeProcessDrmInfo(drmInfo, config);
90 DrmInfo drmInfo = executeAcquireDrmInfo(DrmInfoRequest.TYPE_RIGHTS_ACQUISITION_INFO,
93 executeProcessDrmInfo(drmInfo, config);
97 DrmInfo drmInfo = executeAcquireDrmInfo(DrmInfoRequest.TYPE_UNREGISTRATION_INFO,
100 executeProcessDrmInfo(drmInfo, config)
    [all...]
  /frameworks/av/drm/libdrmframework/
DrmManagerClientImpl.cpp 128 int uniqueId, const DrmInfo* drmInfo) {
130 if (NULL != drmInfo) {
131 drmInfoStatus = getDrmManagerService()->processDrmInfo(uniqueId, drmInfo);
136 DrmInfo* DrmManagerClientImpl::acquireDrmInfo(
138 DrmInfo* drmInfo = NULL;
140 drmInfo = getDrmManagerService()->acquireDrmInfo(uniqueId, drmInfoRequest);
142 return drmInfo;
  /frameworks/av/drm/libdrmframework/plugins/passthru/src/
DrmPassthruPlugIn.cpp 24 #include <drm/DrmInfo.h>
76 DrmInfoStatus* DrmPassthruPlugIn::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) {
79 if (NULL != drmInfo) {
80 switch (drmInfo->getInfoType()) {
84 DrmInfoRequest::TYPE_REGISTRATION_INFO, emptyBuffer, drmInfo->getMimeType());
90 DrmInfoRequest::TYPE_UNREGISTRATION_INFO, emptyBuffer, drmInfo->getMimeType());
101 DrmInfoRequest::TYPE_RIGHTS_ACQUISITION_INFO, buffer, drmInfo->getMimeType());
144 DrmInfo* DrmPassthruPlugIn::onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) {
146 DrmInfo* drmInfo = NULL
    [all...]
  /frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
FwdLockEngine.cpp 29 #include <drm/DrmInfo.h>
234 DrmInfoStatus* FwdLockEngine::onProcessDrmInfo(int /* uniqueId */, const DrmInfo* /* drmInfo */) {
256 DrmInfo* FwdLockEngine::onAcquireDrmInfo(
258 DrmInfo* drmInfo = NULL;
263 return drmInfo;
  /frameworks/av/drm/common/
IDrmManagerService.cpp 25 #include <drm/DrmInfo.h>
235 DrmInfoStatus* BpDrmManagerService::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) {
243 data.writeInt32(drmInfo->getInfoType());
244 const DrmBuffer dataBuffer = drmInfo->getData();
250 data.writeString8(drmInfo->getMimeType());
252 data.writeInt32(drmInfo->getCount());
253 DrmInfo::KeyIterator keyIt = drmInfo->keyIterator();
258 const String8 value = drmInfo->get(key)
    [all...]
  /frameworks/base/drm/java/android/drm/
DrmManagerClient.java 142 final DrmInfo drmInfo = (DrmInfo) msg.obj;
143 DrmInfoStatus status = _processDrmInfo(mUniqueId, drmInfo);
146 attributes.put(DrmEvent.DRM_INFO_OBJECT, drmInfo);
152 int infoType = (null != status) ? status.infoType : drmInfo.getInfoType();
509 * @param drmInfo The {@link DrmInfo} to be processed.
512 public int processDrmInfo(DrmInfo drmInfo) {
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
MediaPlayer2DrmTestBase.java 50 import androidx.media.MediaPlayer2.DrmInfo;
376 DrmInfo drmInfo = mPlayer.getDrmInfo();
377 if (drmInfo != null) {
378 setupDrm(drmInfo, true /* prepareDrm */, true /* synchronousNetworking */,
389 public void onDrmInfo(MediaPlayer2 mp, DataSourceDesc dsd, DrmInfo drmInfo) {
390 Log.v(TAG, "preparePlayerAndDrm_V1: onDrmInfo" + drmInfo);
394 setupDrm(drmInfo, true /* prepareDrm */, true /* synchronousNetworking */,
451 DrmInfo drmInfo = mPlayer.getDrmInfo()
    [all...]
MediaPlayerDrmTestBase.java 30 import android.media.MediaPlayer.DrmInfo;
358 DrmInfo drmInfo = mMediaPlayer.getDrmInfo();
359 if (drmInfo != null) {
360 setupDrm(drmInfo, true /* prepareDrm */, true /* synchronousNetworking */,
372 public void onDrmInfo(MediaPlayer mp, DrmInfo drmInfo) {
373 Log.v(TAG, "preparePlayerAndDrm_V1: onDrmInfo" + drmInfo);
377 setupDrm(drmInfo, true /* prepareDrm */, true /* synchronousNetworking */,
435 DrmInfo drmInfo = mMediaPlayer.getDrmInfo()
    [all...]
  /frameworks/av/media/libmediaplayerservice/nuplayer/
NuPlayer.cpp     [all...]
  /frameworks/base/media/java/android/media/
MediaPlayer2Impl.java     [all...]
MediaPlayer.java 644 private DrmInfo mDrmInfo;
    [all...]
  /external/robolectric/v3/runtime/
android-all-4.1.2_r1-robolectric-0.jar 
android-all-4.2.2_r1.2-robolectric-0.jar 
android-all-4.3_r2-robolectric-0.jar 
  /prebuilts/misc/common/robolectric/android-all/
android-all-4.1.2_r1-robolectric-0.jar 
android-all-4.2.2_r1.2-robolectric-0.jar 
android-all-4.3_r2-robolectric-0.jar 
  /external/robolectric/v1/lib/main/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/16/
android.jar 

Completed in 586 milliseconds

1 2