Searched refs:drmClient (Results 1 – 3 of 3) sorted by relevance
48 DrmManagerClient drmClient = new DrmManagerClient(context); in isDrmMimeType() local49 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() local104 if (drmClient.canHandle(path, null)) { in getOriginalMimeType()105 result = drmClient.getOriginalMimeType(path); in getOriginalMimeType()
42 private DrmConvertSession(DrmManagerClient drmClient, int convertSessionId) { in DrmConvertSession() argument43 mDrmClient = drmClient; in DrmConvertSession()56 DrmManagerClient drmClient = null; in open() local60 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()
151 std::unique_ptr<DrmManagerClient> drmClient(new DrmManagerClient()); in requiresDrm() local153 drmClient->openDecryptSession(fd, offset, length, mime); in requiresDrm()157 drmClient->closeDecryptSession(decryptHandle); in requiresDrm()