namespace implementation {
CryptoFactory::CryptoFactory() :
- loader("/vendor/lib/mediadrm", "createCryptoFactory", "crypto") {}
+ loader("/vendor/lib/mediadrm", "createCryptoFactory") {}
// Methods from ::android::hardware::drm::crypto::V1_0::ICryptoFactory follow.
Return<bool> CryptoFactory::isCryptoSchemeSupported(
* @return status the status of the call. The status must be one of
* ERROR_DRM_SESSION_NOT_OPENED if the session is not opened,
* ERROR_DRM_NOT_PROVISIONED if the device requires provisioning before
- * it can generate a key request, ERROR_DRM_CANNOT_HANDLE if keyKeyRequest
+ * it can generate a key request, ERROR_DRM_CANNOT_HANDLE if getKeyRequest
* is not supported at the time of the call, BAD_VALUE if any parameters
* are invalid or ERROR_DRM_INVALID_STATE if the HAL is in a state where
* a key request cannot be generated.
namespace implementation {
DrmFactory::DrmFactory() :
- loader("/vendor/lib/mediadrm", "createDrmFactory", "drm") {}
+ loader("/vendor/lib/mediadrm", "createDrmFactory") {}
// Methods from ::android::hardware::drm::drm::V1_0::IDrmFactory follow.
Return<bool> DrmFactory::isCryptoSchemeSupported (
enum KeyType : uint32_t {
/**
* Drm keys can be for offline content or for online streaming.
- * Offline keys are persisted on the device and may be used when the device
+
* is disconnected from the network.
*/
OFFLINE,