Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
DDrmConvertSession.java36 private DrmConvertSession(DrmManagerClient drmClient, int convertSessionId) { in DrmConvertSession() argument
37 mDrmClient = drmClient; in DrmConvertSession()
49 DrmManagerClient drmClient = null; in open() local
53 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()
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()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java543 DrmManagerClient drmClient = null; in transferData() local
561 drmClient = new DrmManagerClient(mContext); in transferData()
562 out = new DrmOutputStream(drmClient, outPfd, mInfoDelta.mMimeType); in transferData()
609 if (drmClient != null) { in transferData()
610 drmClient.close(); in transferData()