diff options
| author | Gloria Wang <gwang@google.com> | 2010-11-22 10:48:30 -0800 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-11-22 10:48:30 -0800 |
| commit | 83d97c8c7ddff9374f876bef48758414a7775cb1 (patch) | |
| tree | 8c34611cbbd6c2e84c886ed86d8bed154f39fc33 /drm/libdrmframework/include/DrmManagerClientImpl.h | |
| parent | 18439bee6f8b525abe3f1fac69bc4cea184e1565 (diff) | |
| parent | 5fc3edb13edb058f14e6550d295ce3e50e5ebf8c (diff) | |
| download | frameworks_base-83d97c8c7ddff9374f876bef48758414a7775cb1.zip frameworks_base-83d97c8c7ddff9374f876bef48758414a7775cb1.tar.gz frameworks_base-83d97c8c7ddff9374f876bef48758414a7775cb1.tar.bz2 | |
Merge "64-bit file size/offset support for DRM framework"
Diffstat (limited to 'drm/libdrmframework/include/DrmManagerClientImpl.h')
| -rw-r--r-- | drm/libdrmframework/include/DrmManagerClientImpl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drm/libdrmframework/include/DrmManagerClientImpl.h b/drm/libdrmframework/include/DrmManagerClientImpl.h index 1c6be46..769f4d0 100644 --- a/drm/libdrmframework/include/DrmManagerClientImpl.h +++ b/drm/libdrmframework/include/DrmManagerClientImpl.h @@ -191,7 +191,7 @@ public: * Returns DRM_NO_ERROR for success, DRM_ERROR_UNKNOWN for failure */ status_t setPlaybackStatus( - int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int position); + int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position); /** * Validates whether an action on the DRM content is allowed or not. @@ -291,7 +291,7 @@ public: * @return * Handle for the decryption session */ - DecryptHandle* openDecryptSession(int uniqueId, int fd, int offset, int length); + DecryptHandle* openDecryptSession(int uniqueId, int fd, off64_t offset, off64_t length); /** * Open the decrypt session to decrypt the given protected content @@ -369,7 +369,7 @@ public: * @return Number of bytes read. Returns -1 for Failure. */ ssize_t pread(int uniqueId, DecryptHandle* decryptHandle, - void* buffer, ssize_t numBytes, off_t offset); + void* buffer, ssize_t numBytes, off64_t offset); /** * Notify the event to the registered listener |
