Searched defs:thiz (Results 101 - 124 of 124) sorted by relevance

12345

/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDevice.cpp105 android_mtp_MtpDevice_open(JNIEnv *env, jobject thiz, jstring deviceName, jint fd) argument
116 env->SetLongField(thiz, field_context, (jlong)device);
121 android_mtp_MtpDevice_close(JNIEnv *env, jobject thiz) argument
123 MtpDevice* device = get_device_from_object(env, thiz);
127 env->SetLongField(thiz, field_context, 0);
132 android_mtp_MtpDevice_get_device_info(JNIEnv *env, jobject thiz) argument
134 MtpDevice* device = get_device_from_object(env, thiz);
169 android_mtp_MtpDevice_get_storage_ids(JNIEnv *env, jobject thiz) argument
171 MtpDevice* device = get_device_from_object(env, thiz);
188 android_mtp_MtpDevice_get_storage_info(JNIEnv *env, jobject thiz, jin argument
222 android_mtp_MtpDevice_get_object_handles(JNIEnv *env, jobject thiz, jint storageID, jint format, jint objectID) argument
242 android_mtp_MtpDevice_get_object_info(JNIEnv *env, jobject thiz, jint objectID) argument
316 android_mtp_MtpDevice_get_object(JNIEnv *env, jobject thiz, jint objectID, jint objectSize) argument
338 android_mtp_MtpDevice_get_thumbnail(JNIEnv *env, jobject thiz, jint objectID) argument
356 android_mtp_MtpDevice_delete_object(JNIEnv *env, jobject thiz, jint object_id) argument
367 android_mtp_MtpDevice_get_parent(JNIEnv *env, jobject thiz, jint object_id) argument
377 android_mtp_MtpDevice_get_storage_id(JNIEnv *env, jobject thiz, jint object_id) argument
387 android_mtp_MtpDevice_import_file(JNIEnv *env, jobject thiz, jint object_id, jstring dest_path) argument
[all...]
H A Dandroid_media_ImageReader.cpp209 static JNIImageReaderContext* ImageReader_getContext(JNIEnv* env, jobject thiz) argument
213 (env->GetLongField(thiz, gImageReaderClassInfo.mNativeContext));
217 static CpuConsumer* ImageReader_getCpuConsumer(JNIEnv* env, jobject thiz) argument
220 JNIImageReaderContext* const ctx = ImageReader_getContext(env, thiz);
228 static IGraphicBufferProducer* ImageReader_getProducer(JNIEnv* env, jobject thiz) argument
231 JNIImageReaderContext* const ctx = ImageReader_getContext(env, thiz);
240 jobject thiz, sp<JNIImageReaderContext> ctx)
243 JNIImageReaderContext* const p = ImageReader_getContext(env, thiz);
250 env->SetLongField(thiz, gImageReaderClassInfo.mNativeContext,
260 static void Image_setBuffer(JNIEnv* env, jobject thiz, argument
239 ImageReader_setNativeContext(JNIEnv* env, jobject thiz, sp<JNIImageReaderContext> ctx) argument
681 ImageReader_init(JNIEnv* env, jobject thiz, jobject weakThiz, jint width, jint height, jint format, jint maxImages) argument
731 ImageReader_close(JNIEnv* env, jobject thiz) argument
749 ImageReader_imageRelease(JNIEnv* env, jobject thiz, jobject image) argument
769 ImageReader_imageSetup(JNIEnv* env, jobject thiz, jobject image) argument
871 ImageReader_getSurface(JNIEnv* env, jobject thiz) argument
885 Image_createSurfacePlane(JNIEnv* env, jobject thiz, int idx, int readerFormat) argument
908 Image_getByteBuffer(JNIEnv* env, jobject thiz, int idx, int readerFormat) argument
943 Image_getWidth(JNIEnv* env, jobject thiz) argument
949 Image_getHeight(JNIEnv* env, jobject thiz) argument
[all...]
H A Dandroid_media_MediaExtractor.cpp121 JMediaExtractor::JMediaExtractor(JNIEnv *env, jobject thiz) argument
124 jclass clazz = env->GetObjectClass(thiz);
128 mObject = env->NewWeakGlobalRef(thiz);
325 JNIEnv *env, jobject thiz, const sp<JMediaExtractor> &extractor) {
327 (JMediaExtractor *)env->GetLongField(thiz, gFields.context);
330 extractor->incStrong(thiz);
333 old->decStrong(thiz);
335 env->SetLongField(thiz, gFields.context, (jlong)extractor.get());
340 static sp<JMediaExtractor> getMediaExtractor(JNIEnv *env, jobject thiz) { argument
341 return (JMediaExtractor *)env->GetLongField(thiz, gField
324 setMediaExtractor( JNIEnv *env, jobject thiz, const sp<JMediaExtractor> &extractor) argument
344 android_media_MediaExtractor_release(JNIEnv *env, jobject thiz) argument
348 android_media_MediaExtractor_getTrackCount( JNIEnv *env, jobject thiz) argument
360 android_media_MediaExtractor_getTrackFormatNative( JNIEnv *env, jobject thiz, jint index) argument
380 android_media_MediaExtractor_getFileFormatNative( JNIEnv *env, jobject thiz) argument
400 android_media_MediaExtractor_selectTrack( JNIEnv *env, jobject thiz, jint index) argument
417 android_media_MediaExtractor_unselectTrack( JNIEnv *env, jobject thiz, jint index) argument
434 android_media_MediaExtractor_seekTo( JNIEnv *env, jobject thiz, jlong timeUs, jint mode) argument
452 android_media_MediaExtractor_advance( JNIEnv *env, jobject thiz) argument
473 android_media_MediaExtractor_readSampleData( JNIEnv *env, jobject thiz, jobject byteBuf, jint offset) argument
495 android_media_MediaExtractor_getSampleTrackIndex( JNIEnv *env, jobject thiz) argument
517 android_media_MediaExtractor_getSampleTime( JNIEnv *env, jobject thiz) argument
539 android_media_MediaExtractor_getSampleFlags( JNIEnv *env, jobject thiz) argument
561 android_media_MediaExtractor_getSampleCryptoInfo( JNIEnv *env, jobject thiz, jobject cryptoInfoObj) argument
681 android_media_MediaExtractor_native_setup( JNIEnv *env, jobject thiz) argument
687 android_media_MediaExtractor_setDataSource( JNIEnv *env, jobject thiz, jobject httpServiceBinderObj, jstring pathObj, jobjectArray keysArray, jobjectArray valuesArray) argument
737 android_media_MediaExtractor_setDataSourceFd( JNIEnv *env, jobject thiz, jobject fileDescObj, jlong offset, jlong length) argument
765 android_media_MediaExtractor_setDataSourceCallback( JNIEnv *env, jobject thiz, jobject callbackObj) argument
792 android_media_MediaExtractor_getCachedDurationUs( JNIEnv *env, jobject thiz) argument
810 android_media_MediaExtractor_hasCacheReachedEOS( JNIEnv *env, jobject thiz) argument
828 android_media_MediaExtractor_native_finalize( JNIEnv *env, jobject thiz) argument
[all...]
H A Dandroid_media_MediaPlayer.cpp75 JNIMediaPlayerListener(JNIEnv* env, jobject thiz, jobject weak_thiz);
84 JNIMediaPlayerListener::JNIMediaPlayerListener(JNIEnv* env, jobject thiz, jobject weak_thiz) argument
89 jclass clazz = env->GetObjectClass(thiz);
135 static sp<MediaPlayer> getMediaPlayer(JNIEnv* env, jobject thiz) argument
138 MediaPlayer* const p = (MediaPlayer*)env->GetLongField(thiz, fields.context);
142 static sp<MediaPlayer> setMediaPlayer(JNIEnv* env, jobject thiz, const sp<MediaPlayer>& player) argument
145 sp<MediaPlayer> old = (MediaPlayer*)env->GetLongField(thiz, fields.context);
152 env->SetLongField(thiz, fields.context, (jlong)player.get());
160 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exception, const char *message) argument
164 sp<MediaPlayer> mp = getMediaPlayer(env, thiz);
187 android_media_MediaPlayer_setDataSourceAndHeaders( JNIEnv *env, jobject thiz, jobject httpServiceBinderObj, jstring path, jobjectArray keys, jobjectArray values) argument
237 android_media_MediaPlayer_setDataSourceFD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset, jlong length) argument
255 getVideoSurfaceTexture(JNIEnv* env, jobject thiz) argument
261 decVideoSurfaceRef(JNIEnv *env, jobject thiz) argument
275 setVideoSurface(JNIEnv *env, jobject thiz, jobject jsurface, jboolean mediaPlayerMustBeAlive) argument
315 android_media_MediaPlayer_setVideoSurface(JNIEnv *env, jobject thiz, jobject jsurface) argument
321 android_media_MediaPlayer_prepare(JNIEnv *env, jobject thiz) argument
338 android_media_MediaPlayer_prepareAsync(JNIEnv *env, jobject thiz) argument
355 android_media_MediaPlayer_start(JNIEnv *env, jobject thiz) argument
367 android_media_MediaPlayer_stop(JNIEnv *env, jobject thiz) argument
379 android_media_MediaPlayer_pause(JNIEnv *env, jobject thiz) argument
391 android_media_MediaPlayer_isPlaying(JNIEnv *env, jobject thiz) argument
405 android_media_MediaPlayer_seekTo(JNIEnv *env, jobject thiz, jint msec) argument
417 android_media_MediaPlayer_getVideoWidth(JNIEnv *env, jobject thiz) argument
434 android_media_MediaPlayer_getVideoHeight(JNIEnv *env, jobject thiz) argument
452 android_media_MediaPlayer_getCurrentPosition(JNIEnv *env, jobject thiz) argument
466 android_media_MediaPlayer_getDuration(JNIEnv *env, jobject thiz) argument
480 android_media_MediaPlayer_reset(JNIEnv *env, jobject thiz) argument
492 android_media_MediaPlayer_setAudioStreamType(JNIEnv *env, jobject thiz, jint streamtype) argument
504 android_media_MediaPlayer_getAudioStreamType(JNIEnv *env, jobject thiz) argument
518 android_media_MediaPlayer_setParameter(JNIEnv *env, jobject thiz, jint key, jobject java_request) argument
537 android_media_MediaPlayer_setLooping(JNIEnv *env, jobject thiz, jboolean looping) argument
549 android_media_MediaPlayer_isLooping(JNIEnv *env, jobject thiz) argument
561 android_media_MediaPlayer_setVolume(JNIEnv *env, jobject thiz, jfloat leftVolume, jfloat rightVolume) argument
575 android_media_MediaPlayer_invoke(JNIEnv *env, jobject thiz, jobject java_request, jobject java_reply) argument
594 android_media_MediaPlayer_setMetadataFilter(JNIEnv *env, jobject thiz, jobject request) argument
613 android_media_MediaPlayer_getMetadata(JNIEnv *env, jobject thiz, jboolean update_only, jboolean apply_filter, jobject reply) argument
686 android_media_MediaPlayer_native_setup(JNIEnv *env, jobject thiz, jobject weak_this) argument
704 android_media_MediaPlayer_release(JNIEnv *env, jobject thiz) argument
717 android_media_MediaPlayer_native_finalize(JNIEnv *env, jobject thiz) argument
727 android_media_MediaPlayer_set_audio_session_id(JNIEnv *env, jobject thiz, jint sessionId) argument
737 android_media_MediaPlayer_get_audio_session_id(JNIEnv *env, jobject thiz) argument
749 android_media_MediaPlayer_setAuxEffectSendLevel(JNIEnv *env, jobject thiz, jfloat level) argument
760 android_media_MediaPlayer_attachAuxEffect(JNIEnv *env, jobject thiz, jint effectId) argument
787 android_media_MediaPlayer_setRetransmitEndpoint(JNIEnv *env, jobject thiz, jstring addrString, jint port) argument
826 android_media_MediaPlayer_setNextMediaPlayer(JNIEnv *env, jobject thiz, jobject java_player) argument
[all...]
H A Dandroid_mtp_MtpDatabase.cpp1145 android_mtp_MtpDatabase_setup(JNIEnv *env, jobject thiz) argument
1147 MyMtpDatabase* database = new MyMtpDatabase(env, thiz);
1148 env->SetLongField(thiz, field_context, (jlong)database);
1153 android_mtp_MtpDatabase_finalize(JNIEnv *env, jobject thiz) argument
1155 MyMtpDatabase* database = (MyMtpDatabase *)env->GetLongField(thiz, field_context);
1158 env->SetLongField(thiz, field_context, 0);
1163 android_mtp_MtpPropertyGroup_format_date_time(JNIEnv *env, jobject /*thiz*/, jlong seconds)
H A Dandroid_media_MediaCodec.cpp89 JNIEnv *env, jobject thiz,
93 jclass clazz = env->GetObjectClass(thiz);
97 mObject = env->NewWeakGlobalRef(thiz);
706 JNIEnv *env, jobject thiz, const sp<JMediaCodec> &codec) {
707 sp<JMediaCodec> old = (JMediaCodec *)env->GetLongField(thiz, gFields.context);
709 codec->incStrong(thiz);
718 old->decStrong(thiz);
720 env->SetLongField(thiz, gFields.context, (jlong)codec.get());
725 static sp<JMediaCodec> getMediaCodec(JNIEnv *env, jobject thiz) { argument
726 return (JMediaCodec *)env->GetLongField(thiz, gField
88 JMediaCodec( JNIEnv *env, jobject thiz, const char *name, bool nameIsType, bool encoder) argument
705 setMediaCodec( JNIEnv *env, jobject thiz, const sp<JMediaCodec> &codec) argument
729 android_media_MediaCodec_release(JNIEnv *env, jobject thiz) argument
803 android_media_MediaCodec_native_setCallback( JNIEnv *env, jobject thiz, jobject cb) argument
819 android_media_MediaCodec_native_configure( JNIEnv *env, jobject thiz, jobjectArray keys, jobjectArray values, jobject jsurface, jobject jcrypto, jint flags) argument
865 android_media_MediaCodec_createInputSurface(JNIEnv* env, jobject thiz) argument
888 android_media_MediaCodec_start(JNIEnv *env, jobject thiz) argument
903 android_media_MediaCodec_stop(JNIEnv *env, jobject thiz) argument
918 android_media_MediaCodec_reset(JNIEnv *env, jobject thiz) argument
940 android_media_MediaCodec_flush(JNIEnv *env, jobject thiz) argument
955 android_media_MediaCodec_queueInputBuffer( JNIEnv *env, jobject thiz, jint index, jint offset, jint size, jlong timestampUs, jint flags) argument
981 android_media_MediaCodec_queueSecureInputBuffer( JNIEnv *env, jobject thiz, jint index, jint offset, jobject cryptoInfoObj, jlong timestampUs, jint flags) argument
1123 android_media_MediaCodec_dequeueInputBuffer( JNIEnv *env, jobject thiz, jlong timeoutUs) argument
1144 android_media_MediaCodec_dequeueOutputBuffer( JNIEnv *env, jobject thiz, jobject bufferInfo, jlong timeoutUs) argument
1166 android_media_MediaCodec_releaseOutputBuffer( JNIEnv *env, jobject thiz, jint index, jboolean render, jboolean updatePTS, jlong timestampNs) argument
1183 android_media_MediaCodec_signalEndOfInputStream(JNIEnv* env, jobject thiz) argument
1198 android_media_MediaCodec_getFormatNative( JNIEnv *env, jobject thiz, jboolean input) argument
1221 android_media_MediaCodec_getOutputFormatForIndexNative( JNIEnv *env, jobject thiz, jint index) argument
1244 android_media_MediaCodec_getBuffers( JNIEnv *env, jobject thiz, jboolean input) argument
1270 android_media_MediaCodec_getBuffer( JNIEnv *env, jobject thiz, jboolean input, jint index) argument
1296 android_media_MediaCodec_getImage( JNIEnv *env, jobject thiz, jboolean input, jint index) argument
1322 android_media_MediaCodec_getName( JNIEnv *env, jobject thiz) argument
1345 android_media_MediaCodec_setParameters( JNIEnv *env, jobject thiz, jobjectArray keys, jobjectArray vals) argument
1366 android_media_MediaCodec_setVideoScalingMode( JNIEnv *env, jobject thiz, jint mode) argument
1459 android_media_MediaCodec_native_setup( JNIEnv *env, jobject thiz, jstring name, jboolean nameIsType, jboolean encoder) argument
1497 android_media_MediaCodec_native_finalize( JNIEnv *env, jobject thiz) argument
[all...]
H A Dandroid_media_MediaDrm.cpp143 JNIDrmListener(JNIEnv* env, jobject thiz, jobject weak_thiz);
152 JNIDrmListener::JNIDrmListener(JNIEnv* env, jobject thiz, jobject weak_thiz) argument
156 jclass clazz = env->GetObjectClass(thiz);
298 static sp<IDrm> GetDrm(JNIEnv *env, jobject thiz) { argument
299 JDrm *jdrm = (JDrm *)env->GetLongField(thiz, gFields.context);
304 JNIEnv *env, jobject thiz, const uint8_t uuid[16]) {
305 mObject = env->NewWeakGlobalRef(thiz);
517 JNIEnv *env, jobject thiz, const sp<JDrm> &drm) {
518 sp<JDrm> old = (JDrm *)env->GetLongField(thiz, gFields.context);
520 drm->incStrong(thiz);
303 JDrm( JNIEnv *env, jobject thiz, const uint8_t uuid[16]) argument
516 setDrm( JNIEnv *env, jobject thiz, const sp<JDrm> &drm) argument
544 android_media_MediaDrm_release(JNIEnv *env, jobject thiz) argument
630 android_media_MediaDrm_native_setup( JNIEnv *env, jobject thiz, jobject weak_this, jbyteArray uuidObj) argument
664 android_media_MediaDrm_native_finalize( JNIEnv *env, jobject thiz) argument
669 android_media_MediaDrm_isCryptoSchemeSupportedNative( JNIEnv *env, jobject thiz, jbyteArray uuidObj, jstring jmimeType) argument
695 android_media_MediaDrm_openSession( JNIEnv *env, jobject thiz) argument
715 android_media_MediaDrm_closeSession( JNIEnv *env, jobject thiz, jbyteArray jsessionId) argument
730 android_media_MediaDrm_getKeyRequest( JNIEnv *env, jobject thiz, jbyteArray jsessionId, jbyteArray jinitData, jstring jmimeType, jint jkeyType, jobject joptParams) argument
797 android_media_MediaDrm_provideKeyResponse( JNIEnv *env, jobject thiz, jbyteArray jsessionId, jbyteArray jresponse) argument
823 android_media_MediaDrm_removeKeys( JNIEnv *env, jobject thiz, jbyteArray jkeysetId) argument
840 android_media_MediaDrm_restoreKeys( JNIEnv *env, jobject thiz, jbyteArray jsessionId, jbyteArray jkeysetId) argument
863 android_media_MediaDrm_queryKeyStatus( JNIEnv *env, jobject thiz, jbyteArray jsessionId) argument
883 android_media_MediaDrm_getProvisionRequestNative( JNIEnv *env, jobject thiz, jint jcertType, jstring jcertAuthority) argument
930 android_media_MediaDrm_provideProvisionResponseNative( JNIEnv *env, jobject thiz, jbyteArray jresponse) argument
969 android_media_MediaDrm_unprovisionDeviceNative( JNIEnv *env, jobject thiz) argument
985 android_media_MediaDrm_getSecureStops( JNIEnv *env, jobject thiz) argument
1006 android_media_MediaDrm_getSecureStop( JNIEnv *env, jobject thiz, jbyteArray ssid) argument
1027 android_media_MediaDrm_releaseSecureStops( JNIEnv *env, jobject thiz, jbyteArray jssRelease) argument
1044 android_media_MediaDrm_releaseAllSecureStops( JNIEnv *env, jobject thiz) argument
1059 android_media_MediaDrm_getPropertyString( JNIEnv *env, jobject thiz, jstring jname) argument
1087 android_media_MediaDrm_getPropertyByteArray( JNIEnv *env, jobject thiz, jstring jname) argument
1115 android_media_MediaDrm_setPropertyString( JNIEnv *env, jobject thiz, jstring jname, jstring jvalue) argument
1145 android_media_MediaDrm_setPropertyByteArray( JNIEnv *env, jobject thiz, jstring jname, jbyteArray jvalue) argument
1175 android_media_MediaDrm_setCipherAlgorithmNative( JNIEnv *env, jobject thiz, jobject jdrm, jbyteArray jsessionId, jstring jalgorithm) argument
1199 android_media_MediaDrm_setMacAlgorithmNative( JNIEnv *env, jobject thiz, jobject jdrm, jbyteArray jsessionId, jstring jalgorithm) argument
1224 android_media_MediaDrm_encryptNative( JNIEnv *env, jobject thiz, jobject jdrm, jbyteArray jsessionId, jbyteArray jkeyId, jbyteArray jinput, jbyteArray jiv) argument
1255 android_media_MediaDrm_decryptNative( JNIEnv *env, jobject thiz, jobject jdrm, jbyteArray jsessionId, jbyteArray jkeyId, jbyteArray jinput, jbyteArray jiv) argument
1285 android_media_MediaDrm_signNative( JNIEnv *env, jobject thiz, jobject jdrm, jbyteArray jsessionId, jbyteArray jkeyId, jbyteArray jmessage) argument
1315 android_media_MediaDrm_verifyNative( JNIEnv *env, jobject thiz, jobject jdrm, jbyteArray jsessionId, jbyteArray jkeyId, jbyteArray jmessage, jbyteArray jsignature) argument
1344 android_media_MediaDrm_signRSANative( JNIEnv *env, jobject thiz, jobject jdrm, jbyteArray jsessionId, jstring jalgorithm, jbyteArray jwrappedKey, jbyteArray jmessage) argument
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_shader_program.cpp39 jobject thiz,
54 thiz,
62 thiz,
66 jboolean Java_android_filterfw_core_ShaderProgram_deallocate(JNIEnv* env, jobject thiz) { argument
67 return ToJBool(DeleteNativeObject<ShaderProgram>(env, thiz));
70 jboolean Java_android_filterfw_core_ShaderProgram_compileAndLink(JNIEnv* env, jobject thiz) { argument
71 ShaderProgram* program = ConvertFromJava<ShaderProgram>(env, thiz);
76 jobject thiz,
79 ShaderProgram* program = ConvertFromJava<ShaderProgram>(env, thiz);
91 jobject thiz,
38 Java_android_filterfw_core_ShaderProgram_allocate(JNIEnv* env, jobject thiz, jobject gl_env, jstring vertex_shader, jstring fragment_shader) argument
75 Java_android_filterfw_core_ShaderProgram_setUniformValue(JNIEnv* env, jobject thiz, jstring key, jobject value) argument
90 Java_android_filterfw_core_ShaderProgram_getUniformValue(JNIEnv* env, jobject thiz, jstring key) argument
98 Java_android_filterfw_core_ShaderProgram_shaderProcess(JNIEnv* env, jobject thiz, jobjectArray inputs, jobject output) argument
143 Java_android_filterfw_core_ShaderProgram_setSourceRegion(JNIEnv* env, jobject thiz, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument
161 Java_android_filterfw_core_ShaderProgram_setTargetRegion(JNIEnv* env, jobject thiz, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument
179 Java_android_filterfw_core_ShaderProgram_setShaderClearsOutput(JNIEnv* env, jobject thiz, jboolean clears) argument
190 Java_android_filterfw_core_ShaderProgram_setShaderBlendEnabled(JNIEnv* env, jobject thiz, jboolean enable) argument
201 Java_android_filterfw_core_ShaderProgram_setShaderBlendFunc(JNIEnv* env, jobject thiz, jint sfactor, jint dfactor) argument
213 Java_android_filterfw_core_ShaderProgram_setShaderClearColor(JNIEnv* env, jobject thiz, jfloat r, jfloat g, jfloat b) argument
226 Java_android_filterfw_core_ShaderProgram_setShaderDrawMode(JNIEnv* env, jobject thiz, jint draw_mode) argument
237 Java_android_filterfw_core_ShaderProgram_setShaderTileCounts(JNIEnv* env, jobject thiz, jint x_count, jint y_count) argument
249 Java_android_filterfw_core_ShaderProgram_setShaderVertexCount(JNIEnv* env, jobject thiz, jint vertex_count) argument
260 Java_android_filterfw_core_ShaderProgram_beginShaderDrawing(JNIEnv* env, jobject thiz) argument
265 Java_android_filterfw_core_ShaderProgram_setShaderAttributeValues( JNIEnv* env, jobject thiz, jstring attr_name, jfloatArray values, jint component_count) argument
294 Java_android_filterfw_core_ShaderProgram_setShaderAttributeVertexFrame( JNIEnv* env, jobject thiz, jstring attr_name, jobject vertex_frame, jint type, jint component_count, jint stride, jint offset, jboolean normalize) argument
[all...]
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/
H A Djni_stochastic_linear_ranker.cpp71 jobject thiz,
97 jobject thiz,
231 jobject thiz,
251 jobject thiz,
370 jobject thiz,
387 jobject thiz) {
393 jobject thiz,
402 jobject thiz,
441 jobject thiz,
69 Java_android_bordeaux_learning_StochasticLinearRanker_nativeSetWeightClassifier( JNIEnv* env, jobject thiz, jobjectArray key_array_model, jfloatArray value_array_model, jfloat normalizer_model, jlong paPtr) argument
95 Java_android_bordeaux_learning_StochasticLinearRanker_nativeSetParameterClassifier( JNIEnv* env, jobject thiz, jstring key, jstring value, jlong paPtr) argument
229 Java_android_bordeaux_learning_StochasticLinearRanker_nativeGetLengthClassifier( JNIEnv* env, jobject thiz, jlong paPtr) argument
249 Java_android_bordeaux_learning_StochasticLinearRanker_nativeGetParameterClassifier( JNIEnv* env, jobject thiz, jobjectArray key_array_param, jobjectArray value_array_param, jlong paPtr) argument
368 Java_android_bordeaux_learning_StochasticLinearRanker_nativeGetWeightClassifier( JNIEnv* env, jobject thiz, jobjectArray key_array_model, jfloatArray value_array_model, jfloat normalizer, jlong paPtr) argument
386 Java_android_bordeaux_learning_StochasticLinearRanker_initNativeClassifier(JNIEnv* env, jobject thiz) argument
392 Java_android_bordeaux_learning_StochasticLinearRanker_deleteNativeClassifier(JNIEnv* env, jobject thiz, jlong paPtr) argument
400 Java_android_bordeaux_learning_StochasticLinearRanker_nativeUpdateClassifier( JNIEnv* env, jobject thiz, jobjectArray key_array_positive, jfloatArray value_array_positive, jobjectArray key_array_negative, jfloatArray value_array_negative, jlong paPtr) argument
439 Java_android_bordeaux_learning_StochasticLinearRanker_nativeScoreSample( JNIEnv* env, jobject thiz, jobjectArray key_array, jfloatArray value_array, jlong paPtr) argument
/frameworks/wilhelm/src/
H A Dsles.c30 bool IsInterfaceInitialized(IObject *thiz, unsigned MPH) argument
32 assert(NULL != thiz);
34 const ClassTable *clazz = thiz->mClass;
42 switch (thiz->mInterfaceStates[index]) {
54 SLuint32 IObjectToObjectID(IObject *thiz) argument
56 assert(NULL != thiz);
58 const ClassTable *clazz = thiz->mClass;
505 IObject *thiz; local
507 thiz = (IObject *) calloc(1, clazz->mSize);
508 if (NULL != thiz) {
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_CameraMetadata.cpp66 status_t CameraMetadata_getNativeMetadata(JNIEnv* env, jobject thiz, argument
68 if (!thiz) {
77 CameraMetadata* nativePtr = reinterpret_cast<CameraMetadata*>(env->GetLongField(thiz,
150 static void CameraMetadata_classInit(JNIEnv *env, jobject thiz);
151 static jint CameraMetadata_getTagFromKey(JNIEnv *env, jobject thiz, jstring keyName);
152 static jint CameraMetadata_getTypeFromTag(JNIEnv *env, jobject thiz, jint tag);
153 static jint CameraMetadata_setupGlobalVendorTagDescriptor(JNIEnv *env, jobject thiz);
156 static CameraMetadata* CameraMetadata_getPointerNoThrow(JNIEnv *env, jobject thiz) { argument
158 if (thiz == NULL) {
162 return reinterpret_cast<CameraMetadata*>(env->GetLongField(thiz, field
166 CameraMetadata_getPointerThrow(JNIEnv *env, jobject thiz, const char* argName = �) argument
188 CameraMetadata_allocate(JNIEnv *env, jobject thiz) argument
194 CameraMetadata_allocateCopy(JNIEnv *env, jobject thiz, jobject other) argument
209 CameraMetadata_isEmpty(JNIEnv *env, jobject thiz) argument
228 CameraMetadata_getEntryCount(JNIEnv *env, jobject thiz) argument
239 CameraMetadata_close(JNIEnv *env, jobject thiz) argument
253 CameraMetadata_swap(JNIEnv *env, jobject thiz, jobject other) argument
269 CameraMetadata_readValues(JNIEnv *env, jobject thiz, jint tag) argument
306 CameraMetadata_writeValues(JNIEnv *env, jobject thiz, jint tag, jbyteArray src) argument
378 CameraMetadata_dump(JNIEnv *env, jobject thiz) argument
470 CameraMetadata_readFromParcel(JNIEnv *env, jobject thiz, jobject parcel) argument
491 CameraMetadata_writeToParcel(JNIEnv *env, jobject thiz, jobject parcel) argument
607 CameraMetadata_classInit(JNIEnv *env, jobject thiz) argument
623 CameraMetadata_getTagFromKey(JNIEnv *env, jobject thiz, jstring keyName) argument
732 CameraMetadata_getTypeFromTag(JNIEnv *env, jobject thiz, jint tag) argument
743 CameraMetadata_setupGlobalVendorTagDescriptor(JNIEnv *env, jobject thiz) argument
[all...]
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp423 static jint LegacyCameraDevice_nativeDetectSurfaceType(JNIEnv* env, jobject thiz, jobject surface) { argument
440 static jint LegacyCameraDevice_nativeDetectSurfaceDimens(JNIEnv* env, jobject thiz, argument
476 static jint LegacyCameraDevice_nativeDetectSurfaceUsageFlags(JNIEnv* env, jobject thiz, argument
496 static jint LegacyCameraDevice_nativeDetectTextureDimens(JNIEnv* env, jobject thiz, argument
527 static jint LegacyCameraDevice_nativeConfigureSurface(JNIEnv* env, jobject thiz, jobject surface, argument
543 static jint LegacyCameraDevice_nativeProduceFrame(JNIEnv* env, jobject thiz, jobject surface, argument
577 static jint LegacyCameraDevice_nativeSetSurfaceFormat(JNIEnv* env, jobject thiz, jobject surface, argument
593 static jint LegacyCameraDevice_nativeSetSurfaceDimens(JNIEnv* env, jobject thiz, jobject surface, argument
613 static jlong LegacyCameraDevice_nativeGetSurfaceId(JNIEnv* env, jobject thiz, jobject surface) { argument
637 static jint LegacyCameraDevice_nativeSetSurfaceOrientation(JNIEnv* env, jobject thiz, argument
673 LegacyCameraDevice_nativeSetNextTimestamp(JNIEnv* env, jobject thiz, jobject surface, jlong timestamp) argument
693 LegacyCameraDevice_nativeGetJpegFooterSize(JNIEnv* env, jobject thiz) argument
[all...]
H A Dandroid_media_AudioRecord.cpp122 static sp<AudioRecord> getAudioRecord(JNIEnv* env, jobject thiz) argument
126 (AudioRecord*)env->GetLongField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj);
130 static sp<AudioRecord> setAudioRecord(JNIEnv* env, jobject thiz, const sp<AudioRecord>& ar) argument
134 (AudioRecord*)env->GetLongField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj);
141 env->SetLongField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj, (jlong)ar.get());
147 android_media_AudioRecord_setup(JNIEnv *env, jobject thiz, jobject weak_this, argument
183 jclass clazz = env->GetObjectClass(thiz);
267 setAudioRecord(env, thiz, lpRecorder);
271 env->SetLongField(thiz, javaAudioRecordFields.nativeCallbackCookie, (jlong)lpCallbackData);
280 env->SetLongField(thiz, javaAudioRecordField
289 android_media_AudioRecord_start(JNIEnv *env, jobject thiz, jint event, jint triggerSession) argument
304 android_media_AudioRecord_stop(JNIEnv *env, jobject thiz) argument
320 android_media_AudioRecord_release(JNIEnv *env, jobject thiz) argument
355 android_media_AudioRecord_finalize(JNIEnv *env, jobject thiz) argument
361 android_media_AudioRecord_readInByteArray(JNIEnv *env, jobject thiz, jbyteArray javaAudioData, jint offsetInBytes, jint sizeInBytes) argument
403 android_media_AudioRecord_readInShortArray(JNIEnv *env, jobject thiz, jshortArray javaAudioData, jint offsetInShorts, jint sizeInShorts) argument
450 android_media_AudioRecord_readInDirectBuffer(JNIEnv *env, jobject thiz, jobject jBuffer, jint sizeInBytes) argument
482 android_media_AudioRecord_set_marker_pos(JNIEnv *env, jobject thiz, jint markerPos) argument
496 android_media_AudioRecord_get_marker_pos(JNIEnv *env, jobject thiz) argument
512 android_media_AudioRecord_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument
527 android_media_AudioRecord_get_pos_update_period(JNIEnv *env, jobject thiz) argument
546 android_media_AudioRecord_get_min_buff_size(JNIEnv *env, jobject thiz, jint sampleRateInHertz, jint channelCount, jint audioFormat) argument
[all...]
H A Dandroid_hardware_Camera.cpp126 sp<Camera> get_native_camera(JNIEnv *env, jobject thiz, JNICameraContext** pContext) argument
130 JNICameraContext* context = reinterpret_cast<JNICameraContext*>(env->GetLongField(thiz, fields.context));
491 static jint android_hardware_Camera_getNumberOfCameras(JNIEnv *env, jobject thiz) argument
496 static void android_hardware_Camera_getCameraInfo(JNIEnv *env, jobject thiz, argument
516 static jint android_hardware_Camera_native_setup(JNIEnv *env, jobject thiz, argument
547 jclass clazz = env->GetObjectClass(thiz);
561 env->SetLongField(thiz, fields.context, (jlong)context.get());
569 static void android_hardware_Camera_release(JNIEnv *env, jobject thiz) argument
576 context = reinterpret_cast<JNICameraContext*>(env->GetLongField(thiz, fields.context));
579 env->SetLongField(thiz, field
599 android_hardware_Camera_setPreviewSurface(JNIEnv *env, jobject thiz, jobject jSurface) argument
619 android_hardware_Camera_setPreviewTexture(JNIEnv *env, jobject thiz, jobject jSurfaceTexture) argument
643 android_hardware_Camera_setPreviewCallbackSurface(JNIEnv *env, jobject thiz, jobject jSurface) argument
667 android_hardware_Camera_startPreview(JNIEnv *env, jobject thiz) argument
679 android_hardware_Camera_stopPreview(JNIEnv *env, jobject thiz) argument
688 android_hardware_Camera_previewEnabled(JNIEnv *env, jobject thiz) argument
697 android_hardware_Camera_setHasPreviewCallback(JNIEnv *env, jobject thiz, jboolean installed, jboolean manualBuffer) argument
712 android_hardware_Camera_addCallbackBuffer(JNIEnv *env, jobject thiz, jbyteArray bytes, jint msgType) argument
722 android_hardware_Camera_autoFocus(JNIEnv *env, jobject thiz) argument
734 android_hardware_Camera_cancelAutoFocus(JNIEnv *env, jobject thiz) argument
746 android_hardware_Camera_takePicture(JNIEnv *env, jobject thiz, jint msgType) argument
777 android_hardware_Camera_setParameters(JNIEnv *env, jobject thiz, jstring params) argument
795 android_hardware_Camera_getParameters(JNIEnv *env, jobject thiz) argument
809 android_hardware_Camera_reconnect(JNIEnv *env, jobject thiz) argument
821 android_hardware_Camera_lock(JNIEnv *env, jobject thiz) argument
832 android_hardware_Camera_unlock(JNIEnv *env, jobject thiz) argument
843 android_hardware_Camera_startSmoothZoom(JNIEnv *env, jobject thiz, jint value) argument
859 android_hardware_Camera_stopSmoothZoom(JNIEnv *env, jobject thiz) argument
870 android_hardware_Camera_setDisplayOrientation(JNIEnv *env, jobject thiz, jint value) argument
882 android_hardware_Camera_enableShutterSound(JNIEnv *env, jobject thiz, jboolean enabled) argument
901 android_hardware_Camera_startFaceDetection(JNIEnv *env, jobject thiz, jint type) argument
919 android_hardware_Camera_stopFaceDetection(JNIEnv *env, jobject thiz) argument
930 android_hardware_Camera_enableFocusMoveCallback(JNIEnv *env, jobject thiz, jint enable) argument
[all...]
H A Dandroid_media_AudioTrack.cpp162 static sp<AudioTrack> getAudioTrack(JNIEnv* env, jobject thiz) argument
166 (AudioTrack*)env->GetLongField(thiz, javaAudioTrackFields.nativeTrackInJavaObj);
170 static sp<AudioTrack> setAudioTrack(JNIEnv* env, jobject thiz, const sp<AudioTrack>& at) argument
174 (AudioTrack*)env->GetLongField(thiz, javaAudioTrackFields.nativeTrackInJavaObj);
181 env->SetLongField(thiz, javaAudioTrackFields.nativeTrackInJavaObj, (jlong)at.get());
186 android_media_AudioTrack_setup(JNIEnv *env, jobject thiz, jobject weak_this, argument
240 jclass clazz = env->GetObjectClass(thiz);
363 setAudioTrack(env, thiz, lpTrack);
367 env->SetLongField(thiz, javaAudioTrackFields.jniData, (jlong)lpJniStorage);
371 env->SetIntField(thiz, javaAudioTrackField
398 android_media_AudioTrack_start(JNIEnv *env, jobject thiz) argument
413 android_media_AudioTrack_stop(JNIEnv *env, jobject thiz) argument
428 android_media_AudioTrack_pause(JNIEnv *env, jobject thiz) argument
443 android_media_AudioTrack_flush(JNIEnv *env, jobject thiz) argument
457 android_media_AudioTrack_set_volume(JNIEnv *env, jobject thiz, jfloat leftVol, jfloat rightVol ) argument
472 android_media_AudioTrack_release(JNIEnv *env, jobject thiz) argument
508 android_media_AudioTrack_finalize(JNIEnv *env, jobject thiz) argument
564 android_media_AudioTrack_write_byte(JNIEnv *env, jobject thiz, jbyteArray javaAudioData, jint offsetInBytes, jint sizeInBytes, jint javaAudioFormat, jboolean isWriteBlocking) argument
607 android_media_AudioTrack_write_native_bytes(JNIEnv *env, jobject thiz, jbyteArray javaBytes, jint byteOffset, jint sizeInBytes, jint javaAudioFormat, jboolean isWriteBlocking) argument
632 android_media_AudioTrack_write_short(JNIEnv *env, jobject thiz, jshortArray javaAudioData, jint offsetInShorts, jint sizeInShorts, jint javaAudioFormat) argument
678 android_media_AudioTrack_write_float(JNIEnv *env, jobject thiz, jfloatArray javaAudioData, jint offsetInFloats, jint sizeInFloats, jint javaAudioFormat, jboolean isWriteBlocking) argument
716 android_media_AudioTrack_get_native_frame_count(JNIEnv *env, jobject thiz) argument
729 android_media_AudioTrack_set_playback_rate(JNIEnv *env, jobject thiz, jint sampleRateInHz) argument
742 android_media_AudioTrack_get_playback_rate(JNIEnv *env, jobject thiz) argument
754 android_media_AudioTrack_set_marker_pos(JNIEnv *env, jobject thiz, jint markerPos) argument
767 android_media_AudioTrack_get_marker_pos(JNIEnv *env, jobject thiz) argument
782 android_media_AudioTrack_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument
795 android_media_AudioTrack_get_pos_update_period(JNIEnv *env, jobject thiz) argument
810 android_media_AudioTrack_set_position(JNIEnv *env, jobject thiz, jint position) argument
823 android_media_AudioTrack_get_position(JNIEnv *env, jobject thiz) argument
838 android_media_AudioTrack_get_latency(JNIEnv *env, jobject thiz) argument
851 android_media_AudioTrack_get_timestamp(JNIEnv *env, jobject thiz, jlongArray jTimestamp) argument
875 android_media_AudioTrack_set_loop(JNIEnv *env, jobject thiz, jint loopStart, jint loopEnd, jint loopCount) argument
888 android_media_AudioTrack_reload(JNIEnv *env, jobject thiz) argument
900 android_media_AudioTrack_get_output_sample_rate(JNIEnv *env, jobject thiz, jint javaStreamType) argument
936 android_media_AudioTrack_get_min_buff_size(JNIEnv *env, jobject thiz, jint sampleRateInHertz, jint channelCount, jint audioFormat) argument
958 android_media_AudioTrack_setAuxEffectSendLevel(JNIEnv *env, jobject thiz, jfloat level ) argument
976 android_media_AudioTrack_attachAuxEffect(JNIEnv *env, jobject thiz, jint effectId) argument
[all...]
H A Dandroid_hardware_SoundTrigger.cpp162 JNISoundTriggerCallback(JNIEnv* env, jobject thiz, jobject weak_thiz);
175 JNISoundTriggerCallback::JNISoundTriggerCallback(JNIEnv* env, jobject thiz, jobject weak_thiz) argument
180 jclass clazz = env->GetObjectClass(thiz);
345 static sp<SoundTrigger> getSoundTrigger(JNIEnv* env, jobject thiz) argument
348 SoundTrigger* const st = (SoundTrigger*)env->GetLongField(thiz,
353 static sp<SoundTrigger> setSoundTrigger(JNIEnv* env, jobject thiz, const sp<SoundTrigger>& module) argument
356 sp<SoundTrigger> old = (SoundTrigger*)env->GetLongField(thiz,
364 env->SetLongField(thiz, gModuleFields.mNativeContext, (jlong)module.get());
446 android_hardware_SoundTrigger_setup(JNIEnv *env, jobject thiz, jobject weak_this) argument
450 sp<JNISoundTriggerCallback> callback = new JNISoundTriggerCallback(env, thiz, weak_thi
464 android_hardware_SoundTrigger_detach(JNIEnv *env, jobject thiz) argument
476 android_hardware_SoundTrigger_finalize(JNIEnv *env, jobject thiz) argument
487 android_hardware_SoundTrigger_loadSoundModel(JNIEnv *env, jobject thiz, jobject jSoundModel, jintArray jHandle) argument
650 android_hardware_SoundTrigger_unloadSoundModel(JNIEnv *env, jobject thiz, jint jHandle) argument
665 android_hardware_SoundTrigger_startRecognition(JNIEnv *env, jobject thiz, jint jHandle, jobject jConfig) argument
758 android_hardware_SoundTrigger_stopRecognition(JNIEnv *env, jobject thiz, jint jHandle) argument
[all...]
H A Dandroid_media_AudioSystem.cpp166 JNIAudioPortCallback(JNIEnv* env, jobject thiz, jobject weak_thiz);
180 JNIAudioPortCallback::JNIAudioPortCallback(JNIEnv* env, jobject thiz, jobject weak_thiz) argument
185 jclass clazz = env->GetObjectClass(thiz);
251 android_media_AudioSystem_muteMicrophone(JNIEnv *env, jobject thiz, jboolean on) argument
257 android_media_AudioSystem_isMicrophoneMuted(JNIEnv *env, jobject thiz) argument
265 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) argument
273 android_media_AudioSystem_isStreamActiveRemotely(JNIEnv *env, jobject thiz, jint stream, argument
282 android_media_AudioSystem_isSourceActive(JNIEnv *env, jobject thiz, jint source) argument
290 android_media_AudioSystem_newAudioSessionId(JNIEnv *env, jobject thiz) argument
296 android_media_AudioSystem_setParameters(JNIEnv *env, jobject thiz, jstrin argument
309 android_media_AudioSystem_getParameters(JNIEnv *env, jobject thiz, jstring keys) argument
338 android_media_AudioSystem_setDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jint state, jstring device_address) argument
349 android_media_AudioSystem_getDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jstring device_address) argument
359 android_media_AudioSystem_setPhoneState(JNIEnv *env, jobject thiz, jint state) argument
365 android_media_AudioSystem_setForceUse(JNIEnv *env, jobject thiz, jint usage, jint config) argument
372 android_media_AudioSystem_getForceUse(JNIEnv *env, jobject thiz, jint usage) argument
378 android_media_AudioSystem_initStreamVolume(JNIEnv *env, jobject thiz, jint stream, jint indexMin, jint indexMax) argument
386 android_media_AudioSystem_setStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint index, jint device) argument
399 android_media_AudioSystem_getStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint device) argument
415 android_media_AudioSystem_setMasterVolume(JNIEnv *env, jobject thiz, jfloat value) argument
421 android_media_AudioSystem_getMasterVolume(JNIEnv *env, jobject thiz) argument
431 android_media_AudioSystem_setMasterMute(JNIEnv *env, jobject thiz, jboolean mute) argument
437 android_media_AudioSystem_getMasterMute(JNIEnv *env, jobject thiz) argument
447 android_media_AudioSystem_getDevicesForStream(JNIEnv *env, jobject thiz, jint stream) argument
1338 android_media_AudioSystem_eventHandlerSetup(JNIEnv *env, jobject thiz, jobject weak_this) argument
1348 android_media_AudioSystem_eventHandlerFinalize(JNIEnv *env, jobject thiz) argument
1358 android_media_AudioSystem_getAudioHwSyncForSession(JNIEnv *env, jobject thiz, jint sessionId) argument
[all...]
H A Dandroid_hardware_camera2_DngCreator.cpp778 static NativeContext* DngCreator_getNativeContext(JNIEnv* env, jobject thiz) { argument
780 return reinterpret_cast<NativeContext*>(env->GetLongField(thiz,
784 static void DngCreator_setNativeContext(JNIEnv* env, jobject thiz, sp<NativeContext> context) { argument
786 NativeContext* current = DngCreator_getNativeContext(env, thiz);
796 env->SetLongField(thiz, gDngCreatorClassInfo.mNativeContext,
800 static TiffWriter* DngCreator_getCreator(JNIEnv* env, jobject thiz) { argument
802 NativeContext* current = DngCreator_getNativeContext(env, thiz);
837 static void DngCreator_init(JNIEnv* env, jobject thiz, jobject characteristicsPtr, argument
1477 DngCreator_setNativeContext(env, thiz, nativeContext);
1480 static void DngCreator_destroy(JNIEnv* env, jobject thiz) { argument
1485 DngCreator_nativeSetOrientation(JNIEnv* env, jobject thiz, jint orient) argument
1507 DngCreator_nativeSetDescription(JNIEnv* env, jobject thiz, jstring description) argument
1530 DngCreator_nativeSetGpsTags(JNIEnv* env, jobject thiz, jintArray latTag, jstring latRef, jintArray longTag, jstring longRef, jstring dateTag, jintArray timeTag) argument
1631 DngCreator_nativeSetThumbnail(JNIEnv* env, jobject thiz, jobject buffer, jint width, jint height) argument
1802 DngCreator_nativeWriteImage(JNIEnv* env, jobject thiz, jobject outStream, jint width, jint height, jobject inBuffer, jint rowStride, jint pixStride, jlong offset, jboolean isDirect) argument
1904 DngCreator_nativeWriteInputStream(JNIEnv* env, jobject thiz, jobject outStream, jobject inStream, jint width, jint height, jlong offset) argument
[all...]
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_AudioEffect.cpp251 android_media_AudioEffect_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, argument
391 env->SetLongField(thiz, fields.fidNativeAudioEffect, (jlong)lpAudioEffect);
393 env->SetLongField(thiz, fields.fidJniData, (jlong)lpJniStorage);
407 env->SetLongField(thiz, fields.fidNativeAudioEffect, 0);
412 env->SetLongField(thiz, fields.fidJniData, 0);
427 static void android_media_AudioEffect_native_finalize(JNIEnv *env, jobject thiz) { argument
428 ALOGV("android_media_AudioEffect_native_finalize jobject: %p\n", thiz);
432 thiz, fields.fidNativeAudioEffect);
440 thiz, fields.fidJniData);
448 static void android_media_AudioEffect_native_release(JNIEnv *env, jobject thiz) { argument
459 android_media_AudioEffect_native_setEnabled(JNIEnv *env, jobject thiz, jboolean enabled) argument
475 android_media_AudioEffect_native_getEnabled(JNIEnv *env, jobject thiz) argument
496 android_media_AudioEffect_native_hasControl(JNIEnv *env, jobject thiz) argument
515 android_media_AudioEffect_native_setParameter(JNIEnv *env, jobject thiz, jint psize, jbyteArray pJavaParam, jint vsize, jbyteArray pJavaValue) argument
578 android_media_AudioEffect_native_getParameter(JNIEnv *env, jobject thiz, jint psize, jbyteArray pJavaParam, jint vsize, jbyteArray pJavaValue) argument
647 android_media_AudioEffect_native_command(JNIEnv *env, jobject thiz, jint cmdCode, jint cmdSize, jbyteArray jCmdData, jint replySize, jbyteArray jReplyData) argument
[all...]
H A Dandroid_media_Visualizer.cpp232 static Visualizer *getVisualizer(JNIEnv* env, jobject thiz) argument
235 thiz, fields.fidNativeVisualizer);
337 android_media_visualizer_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, argument
394 env->SetLongField(thiz, fields.fidNativeVisualizer, (jlong)lpVisualizer);
396 env->SetLongField(thiz, fields.fidJniData, (jlong)lpJniStorage);
410 env->SetLongField(thiz, fields.fidNativeVisualizer, 0);
415 env->SetLongField(thiz, fields.fidJniData, 0);
421 static void android_media_visualizer_native_finalize(JNIEnv *env, jobject thiz) { argument
422 ALOGV("android_media_visualizer_native_finalize jobject: %p\n", thiz);
426 thiz, field
442 android_media_visualizer_native_release(JNIEnv *env, jobject thiz) argument
453 android_media_visualizer_native_setEnabled(JNIEnv *env, jobject thiz, jboolean enabled) argument
474 android_media_visualizer_native_getEnabled(JNIEnv *env, jobject thiz) argument
489 android_media_visualizer_native_getCaptureSizeRange(JNIEnv *env, jobject thiz) argument
501 android_media_visualizer_native_getMaxCaptureRate(JNIEnv *env, jobject thiz) argument
507 android_media_visualizer_native_setCaptureSize(JNIEnv *env, jobject thiz, jint size) argument
518 android_media_visualizer_native_getCaptureSize(JNIEnv *env, jobject thiz) argument
528 android_media_visualizer_native_setScalingMode(JNIEnv *env, jobject thiz, jint mode) argument
539 android_media_visualizer_native_getScalingMode(JNIEnv *env, jobject thiz) argument
549 android_media_visualizer_native_setMeasurementMode(JNIEnv *env, jobject thiz, jint mode) argument
559 android_media_visualizer_native_getMeasurementMode(JNIEnv *env, jobject thiz) argument
569 android_media_visualizer_native_getSamplingRate(JNIEnv *env, jobject thiz) argument
579 android_media_visualizer_native_getWaveForm(JNIEnv *env, jobject thiz, jbyteArray jWaveform) argument
597 android_media_visualizer_native_getFft(JNIEnv *env, jobject thiz, jbyteArray jFft) argument
616 android_media_visualizer_native_getPeakRms(JNIEnv *env, jobject thiz, jobject jPeakRmsObj) argument
635 android_media_setPeriodicCapture(JNIEnv *env, jobject thiz, jint rate, jboolean jWaveform, jboolean jFft) argument
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_tv_TvInputHal.cpp238 static JTvInputHal* createInstance(JNIEnv* env, jobject thiz, const sp<Looper>& looper);
276 JTvInputHal(JNIEnv* env, jobject thiz, tv_input_device_t* dev, const sp<Looper>& looper);
293 JTvInputHal::JTvInputHal(JNIEnv* env, jobject thiz, tv_input_device_t* device, argument
295 mThiz = env->NewWeakGlobalRef(thiz);
311 JTvInputHal* JTvInputHal::createInstance(JNIEnv* env, jobject thiz, const sp<Looper>& looper) { argument
332 return new JTvInputHal(env, thiz, device, looper);
450 JTvInputHal* thiz = (JTvInputHal*)data; local
451 thiz->mLooper->sendMessage(new NotifyHandler(thiz, event), event->type);
606 static jlong nativeOpen(JNIEnv* env, jobject thiz, jobjec argument
[all...]
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp137 JNIOnInfoListener(JNIEnv* env, jobject thiz, jobject weak_thiz);
148 JNIOnInfoListener::JNIOnInfoListener(JNIEnv* env, jobject thiz, jobject weak_thiz) { argument
149 jclass clazz = env->GetObjectClass(thiz);
182 JNIEnv* env, jobject thiz, const sp<DrmManagerClientImpl>& client) {
187 jlong oldHandle = env->GetLongField(thiz, fieldId);
190 client->incStrong(thiz);
193 old->decStrong(thiz);
195 env->SetLongField(thiz, fieldId, reinterpret_cast<jlong>(client.get()));
199 static sp<DrmManagerClientImpl> getDrmManagerClientImpl(JNIEnv* env, jobject thiz) { argument
204 jlong clientHandle = env->GetLongField(thiz, fieldI
181 setDrmManagerClientImpl( JNIEnv* env, jobject thiz, const sp<DrmManagerClientImpl>& client) argument
209 android_drm_DrmManagerClient_initialize( JNIEnv* env, jobject thiz) argument
222 android_drm_DrmManagerClient_setListeners( JNIEnv* env, jobject thiz, jint uniqueId, jobject weak_thiz) argument
233 android_drm_DrmManagerClient_release( JNIEnv* env, jobject thiz, jint uniqueId) argument
247 android_drm_DrmManagerClient_getConstraintsFromContent( JNIEnv* env, jobject thiz, jint uniqueId, jstring jpath, jint usage) argument
296 android_drm_DrmManagerClient_getMetadataFromContent( JNIEnv* env, jobject thiz, jint uniqueId, jstring jpath) argument
336 android_drm_DrmManagerClient_getAllSupportInfo( JNIEnv* env, jobject thiz, jint uniqueId) argument
383 android_drm_DrmManagerClient_installDrmEngine( JNIEnv* env, jobject thiz, jint uniqueId, jstring engineFilePath) argument
391 android_drm_DrmManagerClient_saveRights( JNIEnv* env, jobject thiz, jint uniqueId, jobject drmRights, jstring rightsPath, jstring contentPath) argument
414 android_drm_DrmManagerClient_canHandle( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument
425 android_drm_DrmManagerClient_processDrmInfo( JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoObject) argument
508 android_drm_DrmManagerClient_acquireDrmInfo( JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoRequest) argument
580 android_drm_DrmManagerClient_getDrmObjectType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument
591 android_drm_DrmManagerClient_getOriginalMimeType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jobject fileDescriptor) argument
607 android_drm_DrmManagerClient_checkRightsStatus( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) argument
617 android_drm_DrmManagerClient_removeRights( JNIEnv* env, jobject thiz, jint uniqueId, jstring path) argument
624 android_drm_DrmManagerClient_removeAllRights( JNIEnv* env, jobject thiz, jint uniqueId) argument
631 android_drm_DrmManagerClient_openConvertSession( JNIEnv* env, jobject thiz, jint uniqueId, jstring mimeType) argument
672 android_drm_DrmManagerClient_convertData( JNIEnv* env, jobject thiz, jint uniqueId, jint convertId, jbyteArray inputData) argument
691 android_drm_DrmManagerClient_closeConvertSession( JNIEnv* env, jobject thiz, jint uniqueId, jint convertId) argument
[all...]
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp939 jlong add(JNIEnv *env, jobject thiz, jint mode, argument
995 group = (AudioGroup *)env->GetLongField(thiz, gNative);
997 int mode = env->GetIntField(thiz, gMode);
1014 env->SetLongField(thiz, gNative, (jlong)group);
1022 env->SetLongField(thiz, gNative, 0);
1026 void remove(JNIEnv *env, jobject thiz, jlong stream) argument
1028 AudioGroup *group = (AudioGroup *)env->GetLongField(thiz, gNative);
1032 env->SetLongField(thiz, gNative, 0);
1037 void setMode(JNIEnv *env, jobject thiz, jint mode) argument
1039 AudioGroup *group = (AudioGroup *)env->GetLongField(thiz, gNativ
1045 sendDtmf(JNIEnv *env, jobject thiz, jint event) argument
[all...]
/frameworks/wilhelm/src/itf/
H A DIEngine.c113 CLEDDevice *thiz = (CLEDDevice *) construct(pCLEDDevice_class, exposedMask, self); local
114 if (NULL == thiz) {
117 thiz->mDeviceID = deviceID;
118 IObject_Publish(&thiz->mObject);
120 *pDevice = &thiz->mObject.mItf;
151 CVibraDevice *thiz = (CVibraDevice *) construct(pCVibraDevice_class, exposedMask, self); local
152 if (NULL == thiz) {
155 thiz->mDeviceID = deviceID;
156 IObject_Publish(&thiz->mObject);
158 *pDevice = &thiz
188 CAudioPlayer *thiz = (CAudioPlayer *) construct(pCAudioPlayer_class, exposedMask, self); local
432 CAudioRecorder *thiz = (CAudioRecorder *) construct(pCAudioRecorder_class, exposedMask, local
572 CMidiPlayer *thiz = (CMidiPlayer *) construct(pCMidiPlayer_class, exposedMask, self); local
618 CListener *thiz = (CListener *) construct(pCListener_class, exposedMask, self); local
655 C3DGroup *thiz = (C3DGroup *) construct(pC3DGroup_class, exposedMask, self); local
689 COutputMix *thiz = (COutputMix *) construct(pCOutputMix_class, exposedMask, self); local
744 CMetadataExtractor *thiz = (CMetadataExtractor *) local
985 IEngine *thiz = (IEngine *) self; local
1078 CMediaPlayer *thiz = (CMediaPlayer *) construct(pCMediaPlayer_class, exposedMask, local
1441 IXAEngine *thiz = (IXAEngine *) self; local
[all...]

Completed in 530 milliseconds

12345