Searched refs:drmClient (Results 1 – 3 of 3) 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()
36 private DrmConvertSession(DrmManagerClient drmClient, int convertSessionId) { in DrmConvertSession() argument37 mDrmClient = drmClient; in DrmConvertSession()49 DrmManagerClient drmClient = null; in open() local53 drmClient = new DrmManagerClient(context); in open()55 convertSessionId = drmClient.openConvertSession(mimeType); in open()70 if (drmClient == null || convertSessionId < 0) { in open()73 return new DrmConvertSession(drmClient, convertSessionId); in open()
546 DrmManagerClient drmClient = null; in transferData() local564 drmClient = new DrmManagerClient(mContext); in transferData()565 out = new DrmOutputStream(drmClient, outPfd, mInfoDelta.mMimeType); in transferData()600 if (drmClient != null) { in transferData()601 drmClient.close(); in transferData()