Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/google/android/mms/util/
DDownloadDrmHelper.java46 DrmManagerClient drmClient = new DrmManagerClient(context); in isDrmMimeType() local
47 if (drmClient != null && mimetype != null && mimetype.length() > 0) { in isDrmMimeType()
48 result = drmClient.canHandle("", mimetype); in isDrmMimeType()
98 DrmManagerClient drmClient = new DrmManagerClient(context); in getOriginalMimeType() local
100 if (drmClient.canHandle(path, null)) { in getOriginalMimeType()
101 result = drmClient.getOriginalMimeType(path); in getOriginalMimeType()
DDrmConvertSession.java35 private DrmConvertSession(DrmManagerClient drmClient, int convertSessionId) { in DrmConvertSession() argument
36 mDrmClient = drmClient; in DrmConvertSession()
48 DrmManagerClient drmClient = null; in open() local
52 drmClient = new DrmManagerClient(context); in open()
54 convertSessionId = drmClient.openConvertSession(mimeType); in open()
69 if (drmClient == null || convertSessionId < 0) { in open()
72 return new DrmConvertSession(drmClient, convertSessionId); in open()