Home
last modified time | relevance | path

Searched refs:drmClient (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/telephony/common/com/google/android/mms/util/
DDownloadDrmHelper.java48 DrmManagerClient drmClient = new DrmManagerClient(context); in isDrmMimeType() local
49 if (drmClient != null && mimetype != null && mimetype.length() > 0) { in isDrmMimeType()
50 result = drmClient.canHandle("", mimetype); in isDrmMimeType()
102 DrmManagerClient drmClient = new DrmManagerClient(context); in getOriginalMimeType() local
104 if (drmClient.canHandle(path, null)) { in getOriginalMimeType()
105 result = drmClient.getOriginalMimeType(path); in getOriginalMimeType()
DDrmConvertSession.java42 private DrmConvertSession(DrmManagerClient drmClient, int convertSessionId) { in DrmConvertSession() argument
43 mDrmClient = drmClient; in DrmConvertSession()
56 DrmManagerClient drmClient = null; in open() local
60 drmClient = new DrmManagerClient(context); in open()
62 convertSessionId = drmClient.openConvertSession(mimeType); in open()
77 if (drmClient == null || convertSessionId < 0) { in open()
80 return new DrmConvertSession(drmClient, convertSessionId); in open()
/frameworks/av/media/libmediaplayerservice/datasource/
DPlayerServiceFileSource.cpp151 std::unique_ptr<DrmManagerClient> drmClient(new DrmManagerClient()); in requiresDrm() local
153 drmClient->openDecryptSession(fd, offset, length, mime); in requiresDrm()
157 drmClient->closeDecryptSession(decryptHandle); in requiresDrm()