Update of DRM framework.
authorTakeshi Aimi <aimitakeshi@gmail.com>
Mon, 20 Sep 2010 14:40:41 +0000 (23:40 +0900)
committerTakeshi Aimi <aimitakeshi@gmail.com>
Mon, 4 Oct 2010 13:14:53 +0000 (22:14 +0900)
commitdc549d60f98d809f626c99de614960409a847054
treebb40a8371811f1c591cc22afa331e57b3d091c9e
parent7d9c73fb6f6f79f7f92b77482a0edbd7b89f2564
Update of DRM framework.

  - Change "void" type of return value to "int" for returning status.
  - Add some of overloaded Java APIs which accept database Uri as input.
  - Add asynchronous APIs
  - Add OnEventListener and OnErrorListener for asynchronous APIs
  - Disable debug log
  - Change decrypt() API to accept an optional buffer needed by some of DRM schemes

Changes are incorporated by Sony Corporation.

Change-Id: I414a165e22cc79be6ea7cd28041788aa2b6b8f7c
34 files changed:
api/current.xml
drm/common/DrmConstraints.cpp
drm/common/DrmEngineBase.cpp
drm/common/DrmInfoEvent.cpp
drm/common/DrmRights.cpp
drm/common/DrmSupportInfo.cpp
drm/common/IDrmIOService.cpp
drm/common/IDrmManagerService.cpp
drm/common/IDrmServiceListener.cpp
drm/common/ReadWriteUtils.cpp
drm/drmioserver/DrmIOService.cpp
drm/drmserver/DrmManager.cpp
drm/drmserver/DrmManagerService.cpp
drm/drmserver/StringTokenizer.cpp
drm/java/android/drm/DrmErrorEvent.java [new file with mode: 0644]
drm/java/android/drm/DrmEvent.java
drm/java/android/drm/DrmInfoEvent.java
drm/java/android/drm/DrmManagerClient.java
drm/jni/android_drm_DrmManagerClient.cpp
drm/libdrmframework/DrmManagerClient.cpp
drm/libdrmframework/DrmManagerClientImpl.cpp
drm/libdrmframework/include/DrmManager.h
drm/libdrmframework/include/DrmManagerClientImpl.h
drm/libdrmframework/include/DrmManagerService.h
drm/libdrmframework/include/IDrmManagerService.h
drm/libdrmframework/include/ReadWriteUtils.h
drm/libdrmframework/plugins/common/include/DrmEngineBase.h
drm/libdrmframework/plugins/common/include/IDrmEngine.h
drm/libdrmframework/plugins/passthru/include/DrmPassthruPlugIn.h
drm/libdrmframework/plugins/passthru/src/DrmPassthruPlugIn.cpp
include/drm/DrmInfoEvent.h
include/drm/DrmManagerClient.h
include/drm/DrmRights.h
include/drm/drm_framework_common.h