summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorGloria Wang <gwang@google.com>2010-11-19 15:19:36 -0800
committerGloria Wang <gwang@google.com>2010-11-19 15:52:32 -0800
commita2cd44cb5067b4fe98794860690394254d3ac73c (patch)
tree08a581d8684a550faa9f5cb76dc5cab96e641f81 /include/drm
parentc726bd8b7b9929fd917b01e5551a66ad5fe2c04e (diff)
downloadframeworks_av-a2cd44cb5067b4fe98794860690394254d3ac73c.zip
frameworks_av-a2cd44cb5067b4fe98794860690394254d3ac73c.tar.gz
frameworks_av-a2cd44cb5067b4fe98794860690394254d3ac73c.tar.bz2
64-bit file size/offset support for DRM framework
Change-Id: I0ba7147607825234df9fa28732e1bba344e82e79
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/DrmManagerClient.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/drm/DrmManagerClient.h b/include/drm/DrmManagerClient.h
index 5963c42..782ebae 100644
--- a/include/drm/DrmManagerClient.h
+++ b/include/drm/DrmManagerClient.h
@@ -65,7 +65,7 @@ public:
* @return
* Handle for the decryption session
*/
- DecryptHandle* openDecryptSession(int fd, int offset, int length);
+ DecryptHandle* openDecryptSession(int fd, off64_t offset, off64_t length);
/**
* Open the decrypt session to decrypt the given protected content
@@ -109,7 +109,7 @@ public:
* @return status_t
* Returns DRM_NO_ERROR for success, DRM_ERROR_UNKNOWN for failure
*/
- status_t setPlaybackStatus(DecryptHandle* decryptHandle, int playbackStatus, int position);
+ status_t setPlaybackStatus(DecryptHandle* decryptHandle, int playbackStatus, int64_t position);
/**
* Initialize decryption for the given unit of the protected content
@@ -163,7 +163,7 @@ public:
*
* @return Number of bytes read. Returns -1 for Failure.
*/
- ssize_t pread(DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off_t offset);
+ ssize_t pread(DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset);
/**
* Validates whether an action on the DRM content is allowed or not.