Lines Matching refs:a
6 * You may obtain a copy of the License at
23 * IDrmPlugin is used to interact with a specific drm plugin that was
25 * obtaining drm keys that may be used by a codec to decrypt protected
31 * Open a new session with the DrmPlugin object. A session ID is returned
35 * provisioning before it can open a session, ERROR_DRM_RESOURCE_BUSY if
36 * there are insufficent resources available to open a session,
38 * the call or ERROR_DRM_INVALID_STATE if the HAL is in a state where a
45 * Close a session on the DrmPlugin object
51 * if the HAL is in a state where the session cannot be closed.
56 * A key request/response exchange occurs between the app and a License
61 * @param scope may be a sessionId or a keySetId, depending on the
73 * offline or a release
75 * allow a client application to provide additional message parameters to
81 * before it can generate a key request, ERROR_DRM_CANNOT_HANDLE if
83 * parameters are invalid or ERROR_DRM_INVALID_STATE if the HAL is in a state
84 * where a key request cannot be generated.
88 * INITIAL request is the first key request for a license. RENEWAL is a
89 * subsequent key request used to refresh the keys in a license. RELEASE
90 * corresponds to a keyType of RELEASE, which indicates keys are being
102 * After a key response is received by the app, it is provided to the
105 * @param scope may be a sessionId or a keySetId depending on the type
108 * the keySetId when the response is for a release request.
119 * in a state where a key response cannot be handled.
120 * @return keySetId when the response is for an offline key request, a
122 * to later restore the keys to a new session with the method restoreKeys.
123 * When the response is for a streaming or release request, no keySetId is
130 * Remove the current keys from a session
136 * if the HAL is in a state where the keys cannot be removed.
141 * Restore persisted offline keys into a new session
144 * @param keySetId identifies the keys to load, obtained from a prior
149 * if the HAL is in a state where keys cannot be restored.
159 * the field names for a particular drm scheme.
165 * if the HAL is in a state where key status cannot be queried.
166 * @return infoList a list of name value pairs describing the license
172 * A provision request/response exchange occurs between the app and a
173 * provisioning server to retrieve a device certificate. getProvisionRequest
180 * for use by other parties. It is an example of a trusted third party.
183 * require provisioning or ERROR_DRM_INVALID_STATE if the HAL is in a state
189 * does not provide a defaultUrl, the returned string must be empty.
195 * After a provision response is received by the app from a provisioning
201 * app from a provisioning server.
206 * or ERROR_DRM_INVALID_STATE if the HAL is in a state where the provision
212 * material to be used by signRSA when computing an RSA signature on a
219 * SecureStop is a way of enforcing the concurrent stream limit per
231 * message to a server which verifies the signature to confirm that the
241 * ERROR_DRM_INVALID_STATE if the HAL is in a state where the secure stops
243 * @return secureStops a list of the secure stop opaque objects
257 * ERROR_DRM_INVALID_STATE if the HAL is in a state where the secure stop
269 * ERROR_DRM_INVALID_STATE if the HAL is in a state where the secure
275 * Release a secure stop by secure stop ID
283 * ERROR_DRM_INVALID_STATE if the HAL is in a state where the secure stop
290 * by an app. There are a few forms of property access methods,
298 * established during device provisioning and provides a means of
307 * Read a string property value given the property name.
313 * ERROR_DRM_INVALID_STATE if the HAL is in a state where the property
321 * Read a byte array property value given the property name.
327 * ERROR_DRM_INVALID_STATE if the HAL is in a state where the property
335 * Write a property string value given the property name
342 * ERROR_DRM_INVALID_STATE if the HAL is in a state where the property
349 * Write a property byte array value given the property name
356 * ERROR_DRM_INVALID_STATE if the HAL is in a state where the property
363 * The following methods implement operations on a CryptoSession to support
378 * if the HAL is in a state where the algorithm cannot be set.
384 * Set the MAC algorithm to be used for computing hashes in a session.
393 * if the HAL is in a state where the algorithm cannot be set.
410 * if the HAL is in a state where the encrypt operation cannot be performed.
428 * if the HAL is in a state where the decrypt operation cannot be
436 * Compute a signature over the provided message using the mac algorithm
442 * @param message the message to compute a signature over
446 * if the HAL is in a state where the sign operation cannot be
454 * Compute a hash of the provided message using the mac algorithm specified
460 * @param message the message to compute a hash of
465 * if the HAL is in a state where the verify operation cannot be
486 * ERROR_DRM_INVALID_STATE if the HAL is in a state where the signRSA
500 * Set a listener for a drm session. This allows the drm HAL to
508 * Legacy event sending method, it sends events of various types using a
518 * Send a license expiration update to the listener. The expiration
530 * Send a keys change event to the listener. The keys change event