Lines Matching refs:jbyteArray
236 jbyteArray hidlVectorToJByteArray(const hardware::hidl_vec<uint8_t> &vector) { in hidlVectorToJByteArray()
239 jbyteArray result = env->NewByteArray(length); in hidlVectorToJByteArray()
596 jbyteArray jKeyId(hidlVectorToJByteArray(keyStatus.keyId)); in sendKeysChange()
642 static Vector<uint8_t> JByteArrayToVector(JNIEnv *env, jbyteArray const &byteArray) { in JByteArrayToVector()
650 static jbyteArray VectorToJByteArray(JNIEnv *env, Vector<uint8_t> const &vector) { in VectorToJByteArray()
652 jbyteArray result = env->NewByteArray(length); in VectorToJByteArray()
752 jbyteArray byteArray = VectorToJByteArray(env, *iter); in ListOfVectorsToArrayListOfByteArray()
787 static bool CheckSession(JNIEnv *env, const sp<IDrm> &drm, jbyteArray const &jsessionId) in CheckSession()
989 jobject weak_this, jbyteArray uuidObj, jstring jappPackageName) { in android_media_MediaDrm_native_setup()
1072 static jbyteArray android_media_MediaDrm_getSupportedCryptoSchemesNative(JNIEnv *env) { in android_media_MediaDrm_getSupportedCryptoSchemesNative()
1078 jbyteArray jUuidBytes = env->NewByteArray(bv.size()); in android_media_MediaDrm_getSupportedCryptoSchemesNative()
1084 JNIEnv *env, jobject /* thiz */, jbyteArray uuidObj, jstring jmimeType, in android_media_MediaDrm_isCryptoSchemeSupportedNative()
1127 static jbyteArray android_media_MediaDrm_openSession( in android_media_MediaDrm_openSession()
1162 JNIEnv *env, jobject thiz, jbyteArray jsessionId) { in android_media_MediaDrm_closeSession()
1177 JNIEnv *env, jobject thiz, jbyteArray jsessionId, jbyteArray jinitData, in android_media_MediaDrm_getKeyRequest()
1238 jbyteArray jrequest = VectorToJByteArray(env, request); in android_media_MediaDrm_getKeyRequest()
1276 static jbyteArray android_media_MediaDrm_provideKeyResponse( in android_media_MediaDrm_provideKeyResponse()
1277 JNIEnv *env, jobject thiz, jbyteArray jsessionId, jbyteArray jresponse) { in android_media_MediaDrm_provideKeyResponse()
1303 JNIEnv *env, jobject thiz, jbyteArray jkeysetId) { in android_media_MediaDrm_removeKeys()
1324 JNIEnv *env, jobject thiz, jbyteArray jsessionId, in android_media_MediaDrm_restoreKeys()
1325 jbyteArray jkeysetId) { in android_media_MediaDrm_restoreKeys()
1347 JNIEnv *env, jobject thiz, jbyteArray jsessionId) { in android_media_MediaDrm_queryKeyStatus()
1401 jbyteArray jrequest = VectorToJByteArray(env, request); in android_media_MediaDrm_getProvisionRequestNative()
1412 JNIEnv *env, jobject thiz, jbyteArray jresponse) { in android_media_MediaDrm_provideProvisionResponseNative()
1437 jbyteArray jcertificate = VectorToJByteArray(env, certificate); in android_media_MediaDrm_provideProvisionResponseNative()
1440 jbyteArray jwrappedKey = VectorToJByteArray(env, wrappedKey); in android_media_MediaDrm_provideProvisionResponseNative()
1486 static jbyteArray android_media_MediaDrm_getSecureStop( in android_media_MediaDrm_getSecureStop()
1487 JNIEnv *env, jobject thiz, jbyteArray ssid) { in android_media_MediaDrm_getSecureStop()
1506 JNIEnv *env, jobject thiz, jbyteArray jssRelease) { in android_media_MediaDrm_releaseSecureStops()
1521 JNIEnv *env, jobject thiz, jbyteArray ssid) { in android_media_MediaDrm_removeSecureStop()
1642 jobject thiz, jbyteArray jsessionId) { in android_media_MediaDrm_getSecurityLevel()
1695 JNIEnv *env, jobject thiz, jbyteArray keySetId) { in android_media_MediaDrm_removeOfflineLicense()
1708 jobject thiz, jbyteArray jkeySetId) { in android_media_MediaDrm_getOfflineLicenseState()
1761 static jbyteArray android_media_MediaDrm_getPropertyByteArray( in android_media_MediaDrm_getPropertyByteArray()
1816 JNIEnv *env, jobject thiz, jstring jname, jbyteArray jvalue) { in android_media_MediaDrm_setPropertyByteArray()
1844 JNIEnv *env, jobject /* thiz */, jobject jdrm, jbyteArray jsessionId, in android_media_MediaDrm_setCipherAlgorithmNative()
1868 JNIEnv *env, jobject /* thiz */, jobject jdrm, jbyteArray jsessionId, in android_media_MediaDrm_setMacAlgorithmNative()
1892 static jbyteArray android_media_MediaDrm_encryptNative( in android_media_MediaDrm_encryptNative()
1893 JNIEnv *env, jobject /* thiz */, jobject jdrm, jbyteArray jsessionId, in android_media_MediaDrm_encryptNative()
1894 jbyteArray jkeyId, jbyteArray jinput, jbyteArray jiv) { in android_media_MediaDrm_encryptNative()
1923 static jbyteArray android_media_MediaDrm_decryptNative( in android_media_MediaDrm_decryptNative()
1924 JNIEnv *env, jobject /* thiz */, jobject jdrm, jbyteArray jsessionId, in android_media_MediaDrm_decryptNative()
1925 jbyteArray jkeyId, jbyteArray jinput, jbyteArray jiv) { in android_media_MediaDrm_decryptNative()
1953 static jbyteArray android_media_MediaDrm_signNative( in android_media_MediaDrm_signNative()
1954 JNIEnv *env, jobject /* thiz */, jobject jdrm, jbyteArray jsessionId, in android_media_MediaDrm_signNative()
1955 jbyteArray jkeyId, jbyteArray jmessage) { in android_media_MediaDrm_signNative()
1984 JNIEnv *env, jobject /* thiz */, jobject jdrm, jbyteArray jsessionId, in android_media_MediaDrm_verifyNative()
1985 jbyteArray jkeyId, jbyteArray jmessage, jbyteArray jsignature) { in android_media_MediaDrm_verifyNative()
2032 static jbyteArray android_media_MediaDrm_signRSANative( in android_media_MediaDrm_signRSANative()
2033 JNIEnv *env, jobject /* thiz */, jobject jdrm, jbyteArray jsessionId, in android_media_MediaDrm_signRSANative()
2034 jstring jalgorithm, jbyteArray jwrappedKey, jbyteArray jmessage) { in android_media_MediaDrm_signRSANative()
2096 JNIEnv *env, jobject thiz, jbyteArray jsessionId, in android_media_MediaDrm_setPlaybackId()