Searched refs:drmClient (Results 1 – 2 of 2) sorted by relevance
46 DrmManagerClient drmClient = new DrmManagerClient(context); in isDrmMimeType() local47 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() local100 if (drmClient.canHandle(path, null)) { in getOriginalMimeType()101 result = drmClient.getOriginalMimeType(path); in getOriginalMimeType()
35 private DrmConvertSession(DrmManagerClient drmClient, int convertSessionId) { in DrmConvertSession() argument36 mDrmClient = drmClient; in DrmConvertSession()48 DrmManagerClient drmClient = null; in open() local52 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()