/frameworks/base/core/jni/ |
android_hardware_camera2_CameraMetadata.cpp | 112 static void CameraMetadata_classInit(JNIEnv *env, jobject thiz); 113 static jint CameraMetadata_getTagFromKey(JNIEnv *env, jobject thiz, jstring keyName); 114 static jint CameraMetadata_getTypeFromTag(JNIEnv *env, jobject thiz, jint tag); 117 static CameraMetadata* CameraMetadata_getPointerNoThrow(JNIEnv *env, jobject thiz) { 119 if (thiz == NULL) { 123 return reinterpret_cast<CameraMetadata*>(env->GetLongField(thiz, fields.metadata_ptr)); 127 static CameraMetadata* CameraMetadata_getPointerThrow(JNIEnv *env, jobject thiz, 130 if (thiz == NULL) { 137 CameraMetadata* metadata = CameraMetadata_getPointerNoThrow(env, thiz); 149 static jlong CameraMetadata_allocate(JNIEnv *env, jobject thiz) { [all...] |
android_media_AudioTrack.cpp | 173 static sp<AudioTrack> getAudioTrack(JNIEnv* env, jobject thiz) 177 (AudioTrack*)env->GetIntField(thiz, javaAudioTrackFields.nativeTrackInJavaObj); 181 static sp<AudioTrack> setAudioTrack(JNIEnv* env, jobject thiz, const sp<AudioTrack>& at) 185 (AudioTrack*)env->GetIntField(thiz, javaAudioTrackFields.nativeTrackInJavaObj); 192 env->SetIntField(thiz, javaAudioTrackFields.nativeTrackInJavaObj, (int)at.get()); 198 android_media_AudioTrack_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, 272 jclass clazz = env->GetObjectClass(thiz); 370 setAudioTrack(env, thiz, lpTrack); 374 env->SetIntField(thiz, javaAudioTrackFields.jniData, (int)lpJniStorage); 386 env->SetIntField(thiz, javaAudioTrackFields.jniData, 0) [all...] |
android_media_AudioRecord.cpp | 135 static sp<AudioRecord> getAudioRecord(JNIEnv* env, jobject thiz) 139 (AudioRecord*)env->GetIntField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj); 143 static sp<AudioRecord> setAudioRecord(JNIEnv* env, jobject thiz, const sp<AudioRecord>& ar) 147 (AudioRecord*)env->GetIntField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj); 154 env->SetIntField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj, (int)ar.get()); 160 android_media_AudioRecord_setup(JNIEnv *env, jobject thiz, jobject weak_this, 198 jclass clazz = env->GetObjectClass(thiz); 261 setAudioRecord(env, thiz, lpRecorder); 265 env->SetIntField(thiz, javaAudioRecordFields.nativeCallbackCookie, (int)lpCallbackData); 274 env->SetIntField(thiz, javaAudioRecordFields.nativeCallbackCookie, 0) [all...] |
/frameworks/base/drm/jni/ |
android_drm_DrmManagerClient.cpp | 137 JNIOnInfoListener(JNIEnv* env, jobject thiz, jobject weak_thiz); 148 JNIOnInfoListener::JNIOnInfoListener(JNIEnv* env, jobject thiz, jobject weak_thiz) { 149 jclass clazz = env->GetObjectClass(thiz); 182 JNIEnv* env, jobject thiz, const sp<DrmManagerClientImpl>& client) { 187 sp<DrmManagerClientImpl> old = (DrmManagerClientImpl*)env->GetIntField(thiz, fieldId); 189 client->incStrong(thiz); 192 old->decStrong(thiz); 194 env->SetIntField(thiz, fieldId, (int)client.get()); 198 static sp<DrmManagerClientImpl> getDrmManagerClientImpl(JNIEnv* env, jobject thiz) { 203 DrmManagerClientImpl* const client = (DrmManagerClientImpl*)env->GetIntField(thiz, fieldId) [all...] |
/frameworks/base/media/jni/ |
android_media_MediaMetadataRetriever.cpp | 67 static MediaMetadataRetriever* getRetriever(JNIEnv* env, jobject thiz) 70 MediaMetadataRetriever* retriever = (MediaMetadataRetriever*) env->GetIntField(thiz, fields.context); 74 static void setRetriever(JNIEnv* env, jobject thiz, int retriever) 77 MediaMetadataRetriever *old = (MediaMetadataRetriever*) env->GetIntField(thiz, fields.context); 78 env->SetIntField(thiz, fields.context, retriever); 83 JNIEnv *env, jobject thiz, jstring path, 87 MediaMetadataRetriever* retriever = getRetriever(env, thiz); 134 static void android_media_MediaMetadataRetriever_setDataSourceFD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset, jlong length) 137 MediaMetadataRetriever* retriever = getRetriever(env, thiz); 218 static jobject android_media_MediaMetadataRetriever_getFrameAtTime(JNIEnv *env, jobject thiz, jlong timeUs, jint option [all...] |
android_media_MediaCodec.cpp | 75 JNIEnv *env, jobject thiz, 79 jclass clazz = env->GetObjectClass(thiz); 83 mObject = env->NewWeakGlobalRef(thiz); 330 JNIEnv *env, jobject thiz, const sp<JMediaCodec> &codec) { 331 sp<JMediaCodec> old = (JMediaCodec *)env->GetIntField(thiz, gFields.context); 333 codec->incStrong(thiz); 336 old->decStrong(thiz); 338 env->SetIntField(thiz, gFields.context, (int)codec.get()); 343 static sp<JMediaCodec> getMediaCodec(JNIEnv *env, jobject thiz) { 344 return (JMediaCodec *)env->GetIntField(thiz, gFields.context) [all...] |
android_media_MediaDrm.cpp | 122 JNIDrmListener(JNIEnv* env, jobject thiz, jobject weak_thiz); 131 JNIDrmListener::JNIDrmListener(JNIEnv* env, jobject thiz, jobject weak_thiz) 135 jclass clazz = env->GetObjectClass(thiz); 269 static sp<IDrm> GetDrm(JNIEnv *env, jobject thiz) { 270 JDrm *jdrm = (JDrm *)env->GetIntField(thiz, gFields.context); 275 JNIEnv *env, jobject thiz, const uint8_t uuid[16]) { 276 mObject = env->NewWeakGlobalRef(thiz); 486 JNIEnv *env, jobject thiz, const sp<JDrm> &drm) { 487 sp<JDrm> old = (JDrm *)env->GetIntField(thiz, gFields.context); 489 drm->incStrong(thiz); [all...] |
android_mtp_MtpDevice.cpp | 105 android_mtp_MtpDevice_open(JNIEnv *env, jobject thiz, jstring deviceName, jint fd) 116 env->SetIntField(thiz, field_context, (int)device); 121 android_mtp_MtpDevice_close(JNIEnv *env, jobject thiz) 123 MtpDevice* device = get_device_from_object(env, thiz); 127 env->SetIntField(thiz, field_context, 0); 132 android_mtp_MtpDevice_get_device_info(JNIEnv *env, jobject thiz) 134 MtpDevice* device = get_device_from_object(env, thiz); 169 android_mtp_MtpDevice_get_storage_ids(JNIEnv *env, jobject thiz) 171 MtpDevice* device = get_device_from_object(env, thiz); 188 android_mtp_MtpDevice_get_storage_info(JNIEnv *env, jobject thiz, jint storageID [all...] |
android_media_MediaScanner.cpp | 227 static MediaScanner *getNativeScanner_l(JNIEnv* env, jobject thiz) 229 return (MediaScanner *) env->GetIntField(thiz, fields.context); 232 static void setNativeScanner_l(JNIEnv* env, jobject thiz, MediaScanner *s) 234 env->SetIntField(thiz, fields.context, (int)s); 239 JNIEnv *env, jobject thiz, jstring path, jobject client) 242 MediaScanner *mp = getNativeScanner_l(env, thiz); 268 JNIEnv *env, jobject thiz, jstring path, 274 MediaScanner *mp = getNativeScanner_l(env, thiz); 311 JNIEnv *env, jobject thiz, jstring locale) 314 MediaScanner *mp = getNativeScanner_l(env, thiz); [all...] |
/frameworks/base/media/jni/audioeffect/ |
android_media_Visualizer.cpp | 232 static Visualizer *getVisualizer(JNIEnv* env, jobject thiz) 235 thiz, fields.fidNativeVisualizer); 337 android_media_visualizer_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, 394 env->SetIntField(thiz, fields.fidNativeVisualizer, (int)lpVisualizer); 396 env->SetIntField(thiz, fields.fidJniData, (int)lpJniStorage); 410 env->SetIntField(thiz, fields.fidNativeVisualizer, 0); 415 env->SetIntField(thiz, fields.fidJniData, 0); 421 static void android_media_visualizer_native_finalize(JNIEnv *env, jobject thiz) { 422 ALOGV("android_media_visualizer_native_finalize jobject: %x\n", (int)thiz); 426 thiz, fields.fidNativeVisualizer) [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
RtpStream.cpp | 38 jint create(JNIEnv *env, jobject thiz, jstring jAddress) 40 env->SetIntField(thiz, gSocket, -1); 61 env->SetIntField(thiz, gSocket, socket); 78 env->SetIntField(thiz, gSocket, socket); 89 void close(JNIEnv *env, jobject thiz) 91 int socket = env->GetIntField(thiz, gSocket); 93 env->SetIntField(thiz, gSocket, -1);
|
/cts/apps/CtsVerifier/jni/cameraanalyzer/ |
com_android_cts_verifier_camera_analyzer_ExposureCompensationTest.cpp | 32 jobject thiz, 45 jobject thiz, 76 jobject thiz,
|
com_android_cts_verifier_camera_analyzer_WhiteBalanceTest.cpp | 33 jobject thiz) { 42 jobject thiz, 79 jobject thiz,
|
/frameworks/base/media/mca/filterfw/jni/ |
jni_native_buffer.h | 43 Java_android_filterfw_core_NativeBuffer_allocate(JNIEnv* env, jobject thiz, jint size); 46 Java_android_filterfw_core_NativeBuffer_deallocate(JNIEnv* env, jobject thiz, jboolean owns_data); 49 Java_android_filterfw_core_NativeBuffer_nativeCopyTo(JNIEnv* env, jobject thiz, jobject new_buffer);
|
/frameworks/ml/bordeaux/learning/multiclass_pa/jni/ |
jni_multiclass_pa.cpp | 37 jobject thiz, 49 jobject thiz, 57 jobject thiz, 90 jobject thiz,
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/ |
jni_stochastic_linear_ranker.h | 111 jobject thiz); 117 jobject thiz, 123 jobject thiz, 133 jobject thiz, 141 jobject thiz, 150 jobject thiz, 158 jobject thiz, 164 jobject thiz, 173 jobject thiz,
|
/frameworks/wilhelm/src/objects/ |
COutputMix.c | 29 COutputMix *thiz = (COutputMix *) self; local 30 result = android_outputMix_realize(thiz, async); 50 COutputMix *thiz = (COutputMix *) self; local 51 android_outputMix_destroy(thiz);
|
/frameworks/wilhelm/src/itf/ |
IOutputMixExt.c | 176 IOutputMixExt *thiz = (IOutputMixExt *) self; local 177 IObject *thisObject = thiz->mThis; 182 if (thiz->mDestroyRequested) { 190 thiz->mDestroyRequested = SL_BOOLEAN_FALSE; 194 activeMask = thiz->mActiveMask; 200 Track *track = &thiz->mTracks[i]; 341 IOutputMixExt *thiz = (IOutputMixExt *) self; local 342 thiz->mItf = &IOutputMixExt_Itf; 343 thiz->mActiveMask = 0; 344 Track *track = &thiz->mTracks[0] [all...] |
/frameworks/wilhelm/src/ |
sles.c | 30 bool IsInterfaceInitialized(IObject *thiz, unsigned MPH) 32 assert(NULL != thiz); 34 const ClassTable *clazz = thiz->mClass; 42 switch (thiz->mInterfaceStates[index]) { 54 SLuint32 IObjectToObjectID(IObject *thiz) 56 assert(NULL != thiz); 58 const ClassTable *clazz = thiz->mClass; 489 IObject *thiz; local 491 thiz = (IObject *) calloc(1, clazz->mSize); 492 if (NULL != thiz) { [all...] |
/external/opencv/ |
cvjni.h | 68 jobject thiz,
78 jobject thiz);
84 jobject thiz);
90 jobject thiz);
96 jobject thiz,
105 jobject thiz,
113 jobject thiz,
120 jobject thiz);
126 jobject thiz);
132 jobject thiz);
[all...] |
/cts/tests/jni/ |
android_os_cts_OSFeatures.cpp | 20 jint android_os_cts_OSFeatures_getNoNewPrivs(JNIEnv* env, jobject thiz) 25 jint android_os_cts_OSFeatures_prctlCapBsetRead(JNIEnv* env, jobject thiz, jint i)
|
/cts/tools/signature-tools/src/signature/model/impl/ |
SigArrayType.java | 50 public static boolean equals(IArrayType thiz, Object that) {
55 return thiz.getComponentType().equals(other.getComponentType());
|
/frameworks/base/services/jni/ |
com_android_server_UsbHostManager.cpp | 66 jobject thiz = (jobject)client_data; local 112 env->CallVoidMethod(thiz, method_usbDeviceAdded, 126 jobject thiz = (jobject)client_data; local 129 env->CallVoidMethod(thiz, method_usbDeviceRemoved, deviceName); 135 static void android_server_UsbHostManager_monitorUsbHostBus(JNIEnv *env, jobject thiz) 142 // this will never return so it is safe to pass thiz directly 143 usb_host_run(context, usb_device_added, usb_device_removed, NULL, (void *)thiz); 146 static jobject android_server_UsbHostManager_openDevice(JNIEnv *env, jobject thiz, jstring deviceName)
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
stats_scorer.h | 32 JNIEnv* env, jobject thiz, jobject imageBuffer, jfloatArray statsArray); 36 JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height,
|
/frameworks/wilhelm/src/desktop/ |
OutputMixExt.h | 46 extern SLresult IOutputMixExt_checkAudioPlayerSourceSink(CAudioPlayer *thiz); 47 extern void audioPlayerGainUpdate(CAudioPlayer *thiz);
|