Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DDrmTest.java284 int convertSessionId = -1; in convertDmToFl() local
286 convertSessionId = drmClient.openConvertSession(MIMETYPE_DRM_MESSAGE); in convertDmToFl()
296 if (convertSessionId < 0) { in convertDmToFl()
303 convertedStatus = drmClient.convertData(convertSessionId, fileData); in convertDmToFl()
306 + convertSessionId, e); in convertDmToFl()
309 Log.w(TAG, "Could not convert data. Convertsession: " + convertSessionId, e); in convertDmToFl()
316 Log.w(TAG, "Error in converting data. Convertsession: " + convertSessionId); in convertDmToFl()
318 DrmConvertedStatus result = drmClient.closeConvertSession(convertSessionId); in convertDmToFl()
325 convertSessionId, e); in convertDmToFl()
339 convertedStatus = drmClient.closeConvertSession(convertSessionId); in convertDmToFl()
[all …]
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
DDrmConvertSession.java36 private DrmConvertSession(DrmManagerClient drmClient, int convertSessionId) { in DrmConvertSession() argument
38 mConvertSessionId = convertSessionId; in DrmConvertSession()
50 int convertSessionId = -1; in open() local
55 convertSessionId = drmClient.openConvertSession(mimeType); in open()
70 if (drmClient == null || convertSessionId < 0) { in open()
73 return new DrmConvertSession(drmClient, convertSessionId); in open()