Lines Matching refs:dataLength
50 JNIEnv* env, jobject object, const char* fieldName, int* dataLength);
53 JNIEnv* env, jbyteArray byteArray, int* dataLength);
92 JNIEnv* env, jobject object, const char* fieldName, int* dataLength) { in getByteArrayValue() argument
94 *dataLength = 0; in getByteArrayValue()
100 return Utility::getByteArrayValue(env, byteArray, dataLength); in getByteArrayValue()
105 char* Utility::getByteArrayValue(JNIEnv* env, jbyteArray byteArray, int* dataLength) { in getByteArrayValue() argument
110 *dataLength = length; in getByteArrayValue()
111 if (0 < *dataLength) { in getByteArrayValue()
397 int dataLength = 0; in android_drm_DrmManagerClient_saveRights() local
398 char* mData = Utility::getByteArrayValue(env, drmRights, "mData", &dataLength); in android_drm_DrmManagerClient_saveRights()
401 DrmRights rights(DrmBuffer(mData, dataLength), in android_drm_DrmManagerClient_saveRights()
429 int dataLength = 0; in android_drm_DrmManagerClient_processDrmInfo() local
431 char* mData = Utility::getByteArrayValue(env, drmInfoObject, "mData", &dataLength); in android_drm_DrmManagerClient_processDrmInfo()
434 const DrmBuffer buffer(mData, dataLength); in android_drm_DrmManagerClient_processDrmInfo()
677 int dataLength = 0; in android_drm_DrmManagerClient_convertData() local
678 char* mData = Utility::getByteArrayValue(env, inputData, &dataLength); in android_drm_DrmManagerClient_convertData()
679 const DrmBuffer buffer(mData, dataLength); in android_drm_DrmManagerClient_convertData()