Searched defs:env (Results 251 - 275 of 282) sorted by relevance

<<1112

/frameworks/base/core/jni/
H A DAndroidRuntime.cpp54 extern int register_android_os_Binder(JNIEnv* env);
55 extern int register_android_os_Process(JNIEnv* env);
59 extern int register_android_graphics_Camera(JNIEnv* env);
60 extern int register_android_graphics_CreateJavaOutputStreamAdaptor(JNIEnv* env);
61 extern int register_android_graphics_Graphics(JNIEnv* env);
62 extern int register_android_graphics_Interpolator(JNIEnv* env);
63 extern int register_android_graphics_MaskFilter(JNIEnv* env);
64 extern int register_android_graphics_Movie(JNIEnv* env);
66 extern int register_android_graphics_PathEffect(JNIEnv* env);
67 extern int register_android_graphics_Shader(JNIEnv* env);
212 com_android_internal_os_RuntimeInit_nativeFinishInit(JNIEnv* env, jobject clazz) argument
217 com_android_internal_os_RuntimeInit_nativeZygoteInit(JNIEnv* env, jobject clazz) argument
222 com_android_internal_os_RuntimeInit_nativeSetExitWithoutCleanup(JNIEnv* env, jobject clazz, jboolean exitWithoutCleanup) argument
240 register_com_android_internal_os_RuntimeInit(JNIEnv* env) argument
274 registerNativeMethods(JNIEnv* env, const char* className, const JNINativeMethod* gMethods, int numMethods) argument
288 JNIEnv* env; local
953 NewStringLatin1(JNIEnv* env, const char* bytes) argument
1009 JNIEnv* env; local
1091 onVmCreated(JNIEnv* env) argument
1103 JNIEnv* env; local
1165 JNIEnv* env; local
1249 register_jni_procs(const RegJNIRec array[], size_t count, JNIEnv* env) argument
1417 startReg(JNIEnv* env) argument
1457 registerFrameworkNatives(JNIEnv* env) argument
[all...]
H A Dandroid_graphics_Canvas.cpp43 static jlong getNativeFinalizer(JNIEnv* env, jobject clazz) { argument
48 static jlong initRaster(JNIEnv* env, jobject, jobject jbitmap) { argument
51 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap);
58 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap) { argument
61 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap);
92 static jint saveLayer(JNIEnv* env, jobject, jlong canvasHandle, jfloat l, jfloat t, argument
99 static jint saveLayerAlpha(JNIEnv* env, jobject, jlong canvasHandle, jfloat l, jfloat t, argument
105 static void restore(JNIEnv* env, jobject, jlong canvasHandle, jboolean throwOnUnderflow) { argument
109 doThrowISE(env, "Underflow in restore - more restores than saves");
116 static void restoreToCount(JNIEnv* env, jobjec argument
129 getCTM(JNIEnv* env, jobject, jlong canvasHandle, jlong matrixHandle) argument
134 setMatrix(JNIEnv* env, jobject, jlong canvasHandle, jlong matrixHandle) argument
139 concat(JNIEnv* env, jobject, jlong canvasHandle, jlong matrixHandle) argument
160 getClipBounds(JNIEnv* env, jobject, jlong canvasHandle, jobject bounds) argument
174 quickRejectRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
180 quickRejectPath(JNIEnv* env, jobject, jlong canvasHandle, jlong pathHandle) argument
193 clipPath(JNIEnv* env, jobject, jlong canvasHandle, jlong pathHandle, jint opHandle) argument
201 clipRegion(JNIEnv* env, jobject, jlong canvasHandle, jlong deviceRgnHandle, jint opHandle) argument
209 drawColor(JNIEnv* env, jobject, jlong canvasHandle, jint color, jint modeHandle) argument
214 drawPaint(JNIEnv* env, jobject, jlong canvasHandle, jlong paintHandle) argument
225 drawPoints(JNIEnv* env, jobject, jlong canvasHandle, jfloatArray jptsArray, jint offset, jint count, jlong paintHandle) argument
241 drawLine(JNIEnv* env, jobject, jlong canvasHandle, jfloat startX, jfloat startY, jfloat stopX, jfloat stopY, jlong paintHandle) argument
247 drawLines(JNIEnv* env, jobject, jlong canvasHandle, jfloatArray jptsArray, jint offset, jint count, jlong paintHandle) argument
263 drawRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
269 drawRegion(JNIEnv* env, jobject, jlong canvasHandle, jlong regionHandle, jlong paintHandle) argument
276 drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) argument
282 drawCircle(JNIEnv* env, jobject, jlong canvasHandle, jfloat cx, jfloat cy, jfloat radius, jlong paintHandle) argument
288 drawOval(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
294 drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, jlong paintHandle) argument
302 drawPath(JNIEnv* env, jobject, jlong canvasHandle, jlong pathHandle, jlong paintHandle) argument
309 drawVertices(JNIEnv* env, jobject, jlong canvasHandle, jint modeHandle, jint vertexCount, jfloatArray jverts, jint vertIndex, jfloatArray jtexs, jint texIndex, jintArray jcolors, jint colorIndex, jshortArray jindices, jint indexIndex, jint indexCount, jlong paintHandle) argument
339 drawNinePatch(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, jlong chunkHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle, jint dstDensity, jint srcDensity) argument
372 drawBitmap(JNIEnv* env, jobject jcanvas, jlong canvasHandle, jobject jbitmap, jfloat left, jfloat top, jlong paintHandle, jint canvasDensity, jint screenDensity, jint bitmapDensity) argument
408 drawBitmapMatrix(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap, jlong matrixHandle, jlong paintHandle) argument
417 drawBitmapRect(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap, float srcLeft, float srcTop, float srcRight, float srcBottom, float dstLeft, float dstTop, float dstRight, float dstBottom, jlong paintHandle, jint screenDensity, jint bitmapDensity) argument
440 drawBitmapArray(JNIEnv* env, jobject, jlong canvasHandle, jintArray jcolors, jint offset, jint stride, jfloat x, jfloat y, jint width, jint height, jboolean hasAlpha, jlong paintHandle) argument
463 drawBitmapMesh(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap, jint meshWidth, jint meshHeight, jfloatArray jverts, jint vertIndex, jintArray jcolors, jint colorIndex, jlong paintHandle) argument
477 drawTextChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jfloat x, jfloat y, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
488 drawTextString(JNIEnv* env, jobject, jlong canvasHandle, jstring text, jint start, jint end, jfloat x, jfloat y, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
500 drawTextRunChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jfloat x, jfloat y, jboolean isRtl, jlong paintHandle, jlong typefaceHandle) argument
513 drawTextRunString(JNIEnv* env, jobject obj, jlong canvasHandle, jstring text, jint start, jint end, jint contextStart, jint contextEnd, jfloat x, jfloat y, jboolean isRtl, jlong paintHandle, jlong typefaceHandle) argument
529 drawTextOnPathChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jlong pathHandle, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
545 drawTextOnPathString(JNIEnv* env, jobject, jlong canvasHandle, jstring text, jlong pathHandle, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
561 setDrawFilter(JNIEnv* env, jobject, jlong canvasHandle, jlong filterHandle) argument
565 freeCaches(JNIEnv* env, jobject) argument
569 freeTextLayoutCaches(JNIEnv* env, jobject) argument
633 register_android_graphics_Canvas(JNIEnv* env) argument
[all...]
H A Dandroid_hardware_Radio.cpp140 static sp<Radio> getRadio(JNIEnv* env, jobject thiz) argument
143 Radio* const radio = (Radio*)env->GetLongField(thiz, gModuleFields.mNativeContext);
147 static sp<Radio> setRadio(JNIEnv* env, jobject thiz, const sp<Radio>& module) argument
150 sp<Radio> old = (Radio*)env->GetLongField(thiz, gModuleFields.mNativeContext);
157 env->SetLongField(thiz, gModuleFields.mNativeContext, (jlong)module.get());
161 static jint convertBandDescriptorFromNative(JNIEnv *env, argument
169 *jBandDescriptor = env->NewObject(gRadioFmBandDescriptorClass, gRadioFmBandDescriptorCstor,
179 *jBandDescriptor = env->NewObject(gRadioAmBandDescriptorClass, gRadioAmBandDescriptorCstor,
196 static jint convertBandConfigFromNative(JNIEnv *env, argument
204 *jBandConfig = env
231 convertMetadataFromNative(JNIEnv *env, jobject *jMetadata, const radio_metadata_t *nMetadata) argument
308 convertProgramInfoFromNative(JNIEnv *env, jobject *jProgramInfo, const radio_program_info_t *nProgramInfo) argument
336 convertBandConfigToNative(JNIEnv *env, radio_band_config_t *nBandconfig, jobject jBandConfig) argument
382 android_hardware_Radio_listModules(JNIEnv *env, jobject clazz, jobject jModules) argument
481 JNIRadioCallback(JNIEnv* env, jobject thiz, jobject weak_thiz) argument
501 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
511 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
560 android_hardware_Radio_setup(JNIEnv *env, jobject thiz, jobject weak_this, jobject jConfig, jboolean withAudio) argument
589 android_hardware_Radio_close(JNIEnv *env, jobject thiz) argument
601 android_hardware_Radio_finalize(JNIEnv *env, jobject thiz) argument
612 android_hardware_Radio_setConfiguration(JNIEnv *env, jobject thiz, jobject jConfig) argument
636 android_hardware_Radio_getConfiguration(JNIEnv *env, jobject thiz, jobjectArray jConfigs) argument
664 android_hardware_Radio_setMute(JNIEnv *env, jobject thiz, jboolean mute) argument
676 android_hardware_Radio_getMute(JNIEnv *env, jobject thiz) argument
692 android_hardware_Radio_step(JNIEnv *env, jobject thiz, jint direction, jboolean skipSubChannel) argument
704 android_hardware_Radio_scan(JNIEnv *env, jobject thiz, jint direction, jboolean skipSubChannel) argument
716 android_hardware_Radio_tune(JNIEnv *env, jobject thiz, jint channel, jint subChannel) argument
728 android_hardware_Radio_cancel(JNIEnv *env, jobject thiz) argument
740 android_hardware_Radio_getProgramInformation(JNIEnv *env, jobject thiz, jobjectArray jInfos) argument
775 android_hardware_Radio_isAntennaConnected(JNIEnv *env, jobject thiz) argument
795 android_hardware_Radio_hasControl(JNIEnv *env, jobject thiz) argument
864 register_android_hardware_Radio(JNIEnv *env) argument
[all...]
H A Dandroid_hardware_SoundTrigger.cpp171 JNISoundTriggerCallback(JNIEnv* env, jobject thiz, jobject weak_thiz);
184 JNISoundTriggerCallback::JNISoundTriggerCallback(JNIEnv* env, jobject thiz, jobject weak_thiz) argument
189 jclass clazz = env->GetObjectClass(thiz);
194 mClass = (jclass)env->NewGlobalRef(clazz);
198 mObject = env->NewGlobalRef(weak_thiz);
204 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
205 env->DeleteGlobalRef(mObject);
206 env->DeleteGlobalRef(mClass);
211 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
216 jData = env
311 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
337 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
348 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
360 getSoundTrigger(JNIEnv* env, jobject thiz) argument
368 setSoundTrigger(JNIEnv* env, jobject thiz, const sp<SoundTrigger>& module) argument
385 android_hardware_SoundTrigger_listModules(JNIEnv *env, jobject clazz, jobject jModules) argument
461 android_hardware_SoundTrigger_setup(JNIEnv *env, jobject thiz, jobject weak_this) argument
479 android_hardware_SoundTrigger_detach(JNIEnv *env, jobject thiz) argument
491 android_hardware_SoundTrigger_finalize(JNIEnv *env, jobject thiz) argument
502 android_hardware_SoundTrigger_loadSoundModel(JNIEnv *env, jobject thiz, jobject jSoundModel, jintArray jHandle) argument
670 android_hardware_SoundTrigger_unloadSoundModel(JNIEnv *env, jobject thiz, jint jHandle) argument
685 android_hardware_SoundTrigger_startRecognition(JNIEnv *env, jobject thiz, jint jHandle, jobject jConfig) argument
778 android_hardware_SoundTrigger_stopRecognition(JNIEnv *env, jobject thiz, jint jHandle) argument
822 register_android_hardware_SoundTrigger(JNIEnv *env) argument
[all...]
H A Dandroid_media_AudioTrack.cpp131 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
132 if (user != NULL && env != NULL) {
133 env->CallStaticVoidMethod(
137 if (env->ExceptionCheck()) {
138 env->ExceptionDescribe();
139 env->ExceptionClear();
145 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
146 if (user != NULL && env != NULL) {
147 env->CallStaticVoidMethod(
151 if (env
168 getAudioTrack(JNIEnv* env, jobject thiz) argument
176 setAudioTrack(JNIEnv* env, jobject thiz, const sp<AudioTrack>& at) argument
192 android_media_AudioTrack_getAudioTrack(JNIEnv* env, jobject audioTrackObj) argument
216 android_media_AudioTrack_setup(JNIEnv *env, jobject thiz, jobject weak_this, jobject jaa, jintArray jSampleRate, jint channelPositionMask, jint channelIndexMask, jint audioFormat, jint buffSizeInBytes, jint memoryMode, jintArray jSession, jlong nativeAudioTrack) argument
464 android_media_AudioTrack_start(JNIEnv *env, jobject thiz) argument
479 android_media_AudioTrack_stop(JNIEnv *env, jobject thiz) argument
494 android_media_AudioTrack_pause(JNIEnv *env, jobject thiz) argument
509 android_media_AudioTrack_flush(JNIEnv *env, jobject thiz) argument
523 android_media_AudioTrack_set_volume(JNIEnv *env, jobject thiz, jfloat leftVol, jfloat rightVol ) argument
538 android_media_AudioTrack_release(JNIEnv *env, jobject thiz) argument
573 android_media_AudioTrack_finalize(JNIEnv *env, jobject thiz) argument
580 envGetArrayElements(JNIEnv *env, jbyteArray array, jboolean *isCopy) argument
585 envReleaseArrayElements(JNIEnv *env, jbyteArray array, jbyte *elems, jint mode) argument
590 envGetArrayElements(JNIEnv *env, jshortArray array, jboolean *isCopy) argument
595 envReleaseArrayElements(JNIEnv *env, jshortArray array, jshort *elems, jint mode) argument
600 envGetArrayElements(JNIEnv *env, jfloatArray array, jboolean *isCopy) argument
605 envReleaseArrayElements(JNIEnv *env, jfloatArray array, jfloat *elems, jint mode) argument
651 android_media_AudioTrack_writeArray(JNIEnv *env, jobject thiz, T javaAudioData, jint offsetInSamples, jint sizeInSamples, jint javaAudioFormat, jboolean isWriteBlocking) argument
693 android_media_AudioTrack_write_native_bytes(JNIEnv *env, jobject thiz, jbyteArray javaBytes, jint byteOffset, jint sizeInBytes, jint javaAudioFormat, jboolean isWriteBlocking) argument
718 android_media_AudioTrack_get_buffer_size_frames(JNIEnv *env, jobject thiz) argument
736 android_media_AudioTrack_set_buffer_size_frames(JNIEnv *env, jobject thiz, jint bufferSizeInFrames) argument
760 android_media_AudioTrack_get_buffer_capacity_frames(JNIEnv *env, jobject thiz) argument
772 android_media_AudioTrack_set_playback_rate(JNIEnv *env, jobject thiz, jint sampleRateInHz) argument
785 android_media_AudioTrack_get_playback_rate(JNIEnv *env, jobject thiz) argument
797 android_media_AudioTrack_set_playback_params(JNIEnv *env, jobject thiz, jobject params) argument
845 android_media_AudioTrack_get_playback_params(JNIEnv *env, jobject thiz, jobject params) argument
865 android_media_AudioTrack_set_marker_pos(JNIEnv *env, jobject thiz, jint markerPos) argument
878 android_media_AudioTrack_get_marker_pos(JNIEnv *env, jobject thiz) argument
893 android_media_AudioTrack_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument
906 android_media_AudioTrack_get_pos_update_period(JNIEnv *env, jobject thiz) argument
921 android_media_AudioTrack_set_position(JNIEnv *env, jobject thiz, jint position) argument
934 android_media_AudioTrack_get_position(JNIEnv *env, jobject thiz) argument
949 android_media_AudioTrack_get_latency(JNIEnv *env, jobject thiz) argument
961 android_media_AudioTrack_get_underrun_count(JNIEnv *env, jobject thiz) argument
973 android_media_AudioTrack_get_timestamp(JNIEnv *env, jobject thiz, jlongArray jTimestamp) argument
997 android_media_AudioTrack_set_loop(JNIEnv *env, jobject thiz, jint loopStart, jint loopEnd, jint loopCount) argument
1010 android_media_AudioTrack_reload(JNIEnv *env, jobject thiz) argument
1022 android_media_AudioTrack_get_output_sample_rate(JNIEnv *env, jobject thiz, jint javaStreamType) argument
1058 android_media_AudioTrack_get_min_buff_size(JNIEnv *env, jobject thiz, jint sampleRateInHertz, jint channelCount, jint audioFormat) argument
1080 android_media_AudioTrack_setAuxEffectSendLevel(JNIEnv *env, jobject thiz, jfloat level ) argument
1098 android_media_AudioTrack_attachAuxEffect(JNIEnv *env, jobject thiz, jint effectId) argument
1109 android_media_AudioTrack_setOutputDevice( JNIEnv *env, jobject thiz, jint device_id) argument
1119 android_media_AudioTrack_getRoutedDeviceId( JNIEnv *env, jobject thiz) argument
1129 android_media_AudioTrack_enableDeviceCallback( JNIEnv *env, jobject thiz) argument
1147 android_media_AudioTrack_disableDeviceCallback( JNIEnv *env, jobject thiz) argument
1163 android_media_AudioTrack_get_FCC_8(JNIEnv *env, jobject thiz) argument
1257 register_android_media_AudioTrack(JNIEnv *env) argument
[all...]
H A Dandroid_opengl_GLES11.cpp1793 /* void glGetTexEnvfv ( GLenum env, GLenum pname, GLfloat *params ) */
1796 (JNIEnv *_env, jobject _this, jint env, jint pname, jfloatArray params_ref, jint offset) {
1839 (GLenum)env,
1854 /* void glGetTexEnvfv ( GLenum env, GLenum pname, GLfloat *params ) */
1857 (JNIEnv *_env, jobject _this, jint env, jint pname, jobject params_buf) {
1889 (GLenum)env,
1903 /* void glGetTexEnviv ( GLenum env, GLenum pname, GLint *params ) */
1906 (JNIEnv *_env, jobject _this, jint env, jint pname, jintArray params_ref, jint offset) {
1949 (GLenum)env,
1964 /* void glGetTexEnviv ( GLenum env, GLenu
1795 android_glGetTexEnvfv__II_3FI(JNIEnv *_env, jobject _this, jint env, jint pname, jfloatArray params_ref, jint offset) argument
1856 android_glGetTexEnvfv__IILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint env, jint pname, jobject params_buf) argument
1905 android_glGetTexEnviv__II_3II(JNIEnv *_env, jobject _this, jint env, jint pname, jintArray params_ref, jint offset) argument
1966 android_glGetTexEnviv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint env, jint pname, jobject params_buf) argument
2015 android_glGetTexEnvxv__II_3II(JNIEnv *_env, jobject _this, jint env, jint pname, jintArray params_ref, jint offset) argument
2076 android_glGetTexEnvxv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint env, jint pname, jobject params_buf) argument
[all...]
H A Dandroid_os_Debug.cpp134 static jlong android_os_Debug_getNativeHeapSize(JNIEnv *env, jobject clazz) argument
140 static jlong android_os_Debug_getNativeHeapAllocatedSize(JNIEnv *env, jobject clazz) argument
146 static jlong android_os_Debug_getNativeHeapFreeSize(JNIEnv *env, jobject clazz) argument
441 static void android_os_Debug_getDirtyPagesPid(JNIEnv *env, jobject clazz, argument
472 env->SetIntField(object, stat_fields[i].pss_field, stats[i].pss);
473 env->SetIntField(object, stat_fields[i].pssSwappable_field, stats[i].swappablePss);
474 env->SetIntField(object, stat_fields[i].privateDirty_field, stats[i].privateDirty);
475 env->SetIntField(object, stat_fields[i].sharedDirty_field, stats[i].sharedDirty);
476 env->SetIntField(object, stat_fields[i].privateClean_field, stats[i].privateClean);
477 env
506 android_os_Debug_getDirtyPages(JNIEnv *env, jobject clazz, jobject object) argument
511 android_os_Debug_getPssPid(JNIEnv *env, jobject clazz, jint pid, jlongArray outUssSwapPss, jlongArray outMemtrack) argument
593 android_os_Debug_getPss(JNIEnv *env, jobject clazz) argument
680 android_os_Debug_getMemInfo(JNIEnv *env, jobject clazz, jlongArray out) argument
821 android_os_Debug_getBinderSentTransactions(JNIEnv *env, jobject clazz) argument
826 android_os_getBinderReceivedTransactions(JNIEnv *env, jobject clazz) argument
981 android_os_Debug_dumpNativeHeap(JNIEnv* env, jobject clazz, jobject fileDescriptor) argument
1018 android_os_Debug_dumpNativeBacktraceToFile(JNIEnv* env, jobject clazz, jint pid, jstring fileName) argument
1048 android_os_Debug_getUnreachableMemory(JNIEnv* env, jobject clazz, jint limit, jboolean contents) argument
1094 register_android_os_Debug(JNIEnv *env) argument
[all...]
H A Dandroid_util_Binder.cpp144 static void incRefsCreated(JNIEnv* env) argument
149 env->CallStaticVoidMethod(gBinderInternalOffsets.mClass,
156 static JavaVM* jnienv_to_javavm(JNIEnv* env) argument
159 return env->GetJavaVM(&vm) >= 0 ? vm : NULL;
164 JNIEnv* env; local
165 return vm->GetEnv((void **)&env, JNI_VERSION_1_4) >= 0 ? env : NULL;
168 static void report_exception(JNIEnv* env, jthrowable excep, const char* msg) argument
170 env->ExceptionClear();
172 jstring tagstr = env
220 JavaBBinder(JNIEnv* env, jobject object) argument
243 JNIEnv* env = javavm_to_jnienv(mVM); local
250 JNIEnv* env = javavm_to_jnienv(mVM); local
317 get(JNIEnv* env, jobject obj) argument
370 JavaDeathRecipient(JNIEnv* env, jobject object, const sp<DeathRecipientList>& list) argument
387 JNIEnv* env = javavm_to_jnienv(mVM); local
425 JNIEnv* env = javavm_to_jnienv(mVM); local
441 JNIEnv* env = javavm_to_jnienv(mVM); local
462 JNIEnv* env = javavm_to_jnienv(mVM); local
541 JNIEnv* env = javavm_to_jnienv((JavaVM*)cleanupCookie); local
547 javaObjectForIBinder(JNIEnv* env, const sp<IBinder>& val) argument
603 ibinderForJavaObject(JNIEnv* env, jobject obj) argument
622 newParcelFileDescriptor(JNIEnv* env, jobject fileDesc) argument
628 set_dalvik_blockguard_policy(JNIEnv* env, jint strict_policy) argument
637 signalExceptionForError(JNIEnv* env, jobject obj, status_t err, bool canThrowRemoteException, int parcelSize) argument
764 android_os_Binder_getCallingPid(JNIEnv* env, jobject clazz) argument
769 android_os_Binder_getCallingUid(JNIEnv* env, jobject clazz) argument
774 android_os_Binder_clearCallingIdentity(JNIEnv* env, jobject clazz) argument
779 android_os_Binder_restoreCallingIdentity(JNIEnv* env, jobject clazz, jlong token) argument
793 android_os_Binder_setThreadStrictModePolicy(JNIEnv* env, jobject clazz, jint policyMask) argument
798 android_os_Binder_getThreadStrictModePolicy(JNIEnv* env, jobject clazz) argument
803 android_os_Binder_flushPendingCommands(JNIEnv* env, jobject clazz) argument
808 android_os_Binder_init(JNIEnv* env, jobject obj) argument
820 android_os_Binder_destroy(JNIEnv* env, jobject obj) argument
839 android_os_Binder_blockUntilThreadAvailable(JNIEnv* env, jobject clazz) argument
862 int_register_android_os_Binder(JNIEnv* env) argument
881 android_os_Debug_getLocalObjectCount(JNIEnv* env, jobject clazz) argument
886 android_os_Debug_getProxyObjectCount(JNIEnv* env, jobject clazz) argument
891 android_os_Debug_getDeathObjectCount(JNIEnv* env, jobject clazz) argument
902 android_os_BinderInternal_getContextObject(JNIEnv* env, jobject clazz) argument
908 android_os_BinderInternal_joinThreadPool(JNIEnv* env, jobject clazz) argument
914 android_os_BinderInternal_disableBackgroundScheduling(JNIEnv* env, jobject clazz, jboolean disable) argument
920 android_os_BinderInternal_setMaxThreads(JNIEnv* env, jobject clazz, jint maxThreads) argument
926 android_os_BinderInternal_handleGc(JNIEnv* env, jobject clazz) argument
945 int_register_android_os_BinderInternal(JNIEnv* env) argument
961 android_os_BinderProxy_pingBinder(JNIEnv* env, jobject obj) argument
972 android_os_BinderProxy_getInterfaceDescriptor(JNIEnv* env, jobject obj) argument
985 android_os_BinderProxy_isBinderAlive(JNIEnv* env, jobject obj) argument
1093 android_os_BinderProxy_transact(JNIEnv* env, jobject obj, jint code, jobject dataObj, jobject replyObj, jint flags) argument
1153 android_os_BinderProxy_linkToDeath(JNIEnv* env, jobject obj, jobject recipient, jint flags) argument
1184 android_os_BinderProxy_unlinkToDeath(JNIEnv* env, jobject obj, jobject recipient, jint flags) argument
1233 android_os_BinderProxy_destroy(JNIEnv* env, jobject obj) argument
1269 int_register_android_os_BinderProxy(JNIEnv* env) argument
1297 register_android_os_Binder(JNIEnv* env) argument
[all...]
H A Dandroid_util_Process.cpp62 static void signalExceptionForPriorityError(JNIEnv* env, int err) argument
66 jniThrowException(env, "java/lang/IllegalArgumentException", NULL);
69 jniThrowException(env, "java/lang/IllegalArgumentException", "Given thread does not exist");
72 jniThrowException(env, "java/lang/SecurityException", "No permission to modify given thread");
75 jniThrowException(env, "java/lang/SecurityException", "No permission to set to given priority");
78 jniThrowException(env, "java/lang/RuntimeException", "Unknown error");
83 static void signalExceptionForGroupError(JNIEnv* env, int err) argument
87 jniThrowException(env, "java/lang/IllegalArgumentException", NULL);
90 jniThrowException(env, "java/lang/IllegalArgumentException", "Given thread does not exist");
93 jniThrowException(env, "jav
104 android_os_Process_getUidForName(JNIEnv* env, jobject clazz, jstring name) argument
136 android_os_Process_getGidForName(JNIEnv* env, jobject clazz, jstring name) argument
168 android_os_Process_setThreadGroup(JNIEnv* env, jobject clazz, int tid, jint grp) argument
178 android_os_Process_setProcessGroup(JNIEnv* env, jobject clazz, int pid, jint grp) argument
284 android_os_Process_getProcessGroup(JNIEnv* env, jobject clazz, jint pid) argument
397 android_os_Process_getExclusiveCores(JNIEnv* env, jobject clazz) argument
426 android_os_Process_setCanSelfBackground(JNIEnv* env, jobject clazz, jboolean bgOk) argument
443 android_os_Process_setThreadScheduler(JNIEnv* env, jclass clazz, jint tid, jint policy, jint pri) argument
459 android_os_Process_setThreadPriority(JNIEnv* env, jobject clazz, jint pid, jint pri) argument
490 android_os_Process_setCallingThreadPriority(JNIEnv* env, jobject clazz, jint pri) argument
496 android_os_Process_getThreadPriority(JNIEnv* env, jobject clazz, jint pid) argument
508 android_os_Process_setSwappiness(JNIEnv *env, jobject clazz, jint pid, jboolean is_increased) argument
534 android_os_Process_setArgV0(JNIEnv* env, jobject clazz, jstring name) argument
556 android_os_Process_setUid(JNIEnv* env, jobject clazz, jint uid) argument
561 android_os_Process_setGid(JNIEnv* env, jobject clazz, jint uid) argument
620 android_os_Process_getFreeMemory(JNIEnv* env, jobject clazz) argument
627 android_os_Process_getTotalMemory(JNIEnv* env, jobject clazz) argument
634 android_os_Process_readProcLines(JNIEnv* env, jobject clazz, jstring fileStr, jobjectArray reqFields, jlongArray outFields) argument
745 android_os_Process_getPids(JNIEnv* env, jobject clazz, jstring file, jintArray lastArray) argument
841 android_os_Process_parseProcLineArray(JNIEnv* env, jobject clazz, char* buffer, jint startIndex, jint endIndex, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument
965 android_os_Process_parseProcLine(JNIEnv* env, jobject clazz, jbyteArray buffer, jint startIndex, jint endIndex, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument
980 android_os_Process_readProcFile(JNIEnv* env, jobject clazz, jstring file, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument
1022 android_os_Process_setApplicationObject(JNIEnv* env, jobject clazz, jobject binderObject) argument
1033 android_os_Process_sendSignal(JNIEnv* env, jobject clazz, jint pid, jint sig) argument
1041 android_os_Process_sendSignalQuiet(JNIEnv* env, jobject clazz, jint pid, jint sig) argument
1048 android_os_Process_getElapsedCpuTime(JNIEnv* env, jobject clazz) argument
1062 android_os_Process_getPss(JNIEnv* env, jobject clazz, jint pid) argument
1089 android_os_Process_getPidsForCommands(JNIEnv* env, jobject clazz, jobjectArray commandNames) argument
1176 android_os_Process_killProcessGroup(JNIEnv* env, jobject clazz, jint uid, jint pid) argument
1181 android_os_Process_removeAllProcessGroups(JNIEnv* env, jobject clazz) argument
1218 register_android_os_Process(JNIEnv* env) argument
[all...]
H A Dandroid_view_ThreadedRenderer.cpp66 JNIEnv* env; local
67 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) {
70 return env;
77 void onRenderNodeRemoved(JNIEnv* env, RenderNode* node);
81 ScopedRemovedRenderNodeObserver(JNIEnv* env) : mEnv(env) {} argument
137 JNIEnv* env = getenv(vm); local
138 jniThrowException(env, "java/lang/IllegalStateException", message.c_str());
148 RootRenderNode(JNIEnv* env) : RenderNode() { argument
152 env
274 get_metrics_buffer(JNIEnv* env, jobject observer) argument
290 JNIEnv* env = getenv(mVm); local
312 JNIEnv* env = getenv(mVm); local
320 getNextBuffer(JNIEnv* env, jlongArray sink, int* dropCount) argument
382 JNIEnv* env = getenv(mVm); local
398 android_view_ThreadedRenderer_setAtlas(JNIEnv* env, jobject clazz, jlong proxyPtr, jobject graphicBuffer, jlongArray atlasMapArray) argument
413 android_view_ThreadedRenderer_setProcessStatsBuffer(JNIEnv* env, jobject clazz, jlong proxyPtr, jint fd) argument
419 android_view_ThreadedRenderer_createRootRenderNode(JNIEnv* env, jobject clazz) argument
426 android_view_ThreadedRenderer_createProxy(JNIEnv* env, jobject clazz, jboolean translucent, jlong rootRenderNodePtr) argument
433 android_view_ThreadedRenderer_deleteProxy(JNIEnv* env, jobject clazz, jlong proxyPtr) argument
439 android_view_ThreadedRenderer_loadSystemProperties(JNIEnv* env, jobject clazz, jlong proxyPtr) argument
445 android_view_ThreadedRenderer_setName(JNIEnv* env, jobject clazz, jlong proxyPtr, jstring jname) argument
453 android_view_ThreadedRenderer_initialize(JNIEnv* env, jobject clazz, jlong proxyPtr, jobject jsurface) argument
460 android_view_ThreadedRenderer_updateSurface(JNIEnv* env, jobject clazz, jlong proxyPtr, jobject jsurface) argument
470 android_view_ThreadedRenderer_pauseSurface(JNIEnv* env, jobject clazz, jlong proxyPtr, jobject jsurface) argument
480 android_view_ThreadedRenderer_setStopped(JNIEnv* env, jobject clazz, jlong proxyPtr, jboolean stopped) argument
486 android_view_ThreadedRenderer_setup(JNIEnv* env, jobject clazz, jlong proxyPtr, jint width, jint height, jfloat lightRadius, jint ambientShadowAlpha, jint spotShadowAlpha) argument
492 android_view_ThreadedRenderer_setLightCenter(JNIEnv* env, jobject clazz, jlong proxyPtr, jfloat lightX, jfloat lightY, jfloat lightZ) argument
498 android_view_ThreadedRenderer_setOpaque(JNIEnv* env, jobject clazz, jlong proxyPtr, jboolean opaque) argument
504 android_view_ThreadedRenderer_syncAndDrawFrame(JNIEnv* env, jobject clazz, jlong proxyPtr, jlongArray frameInfo, jint frameInfoSize) argument
515 android_view_ThreadedRenderer_destroy(JNIEnv* env, jobject clazz, jlong proxyPtr, jlong rootNodePtr) argument
524 android_view_ThreadedRenderer_registerAnimatingRenderNode(JNIEnv* env, jobject clazz, jlong rootNodePtr, jlong animatingNodePtr) argument
531 android_view_ThreadedRenderer_invokeFunctor(JNIEnv* env, jobject clazz, jlong functorPtr, jboolean waitForCompletion) argument
537 android_view_ThreadedRenderer_createTextureLayer(JNIEnv* env, jobject clazz, jlong proxyPtr) argument
544 android_view_ThreadedRenderer_buildLayer(JNIEnv* env, jobject clazz, jlong proxyPtr, jlong nodePtr) argument
552 android_view_ThreadedRenderer_copyLayerInto(JNIEnv* env, jobject clazz, jlong proxyPtr, jlong layerPtr, jobject jbitmap) argument
561 android_view_ThreadedRenderer_pushLayerUpdate(JNIEnv* env, jobject clazz, jlong proxyPtr, jlong layerPtr) argument
568 android_view_ThreadedRenderer_cancelLayerUpdate(JNIEnv* env, jobject clazz, jlong proxyPtr, jlong layerPtr) argument
575 android_view_ThreadedRenderer_detachSurfaceTexture(JNIEnv* env, jobject clazz, jlong proxyPtr, jlong layerPtr) argument
582 android_view_ThreadedRenderer_destroyHardwareResources(JNIEnv* env, jobject clazz, jlong proxyPtr) argument
589 android_view_ThreadedRenderer_trimMemory(JNIEnv* env, jobject clazz, jint level) argument
594 android_view_ThreadedRenderer_overrideProperty(JNIEnv* env, jobject clazz, jstring name, jstring value) argument
603 android_view_ThreadedRenderer_fence(JNIEnv* env, jobject clazz, jlong proxyPtr) argument
609 android_view_ThreadedRenderer_stopDrawing(JNIEnv* env, jobject clazz, jlong proxyPtr) argument
615 android_view_ThreadedRenderer_notifyFramePending(JNIEnv* env, jobject clazz, jlong proxyPtr) argument
621 android_view_ThreadedRenderer_serializeDisplayListTree(JNIEnv* env, jobject clazz, jlong proxyPtr) argument
627 android_view_ThreadedRenderer_dumpProfileInfo(JNIEnv* env, jobject clazz, jlong proxyPtr, jobject javaFileDescriptor, jint dumpFlags) argument
634 android_view_ThreadedRenderer_dumpProfileData(JNIEnv* env, jobject clazz, jbyteArray jdata, jobject javaFileDescriptor) argument
643 android_view_ThreadedRenderer_addRenderNode(JNIEnv* env, jobject clazz, jlong proxyPtr, jlong renderNodePtr, jboolean placeFront) argument
650 android_view_ThreadedRenderer_removeRenderNode(JNIEnv* env, jobject clazz, jlong proxyPtr, jlong renderNodePtr) argument
657 android_view_ThreadedRendererd_drawRenderNode(JNIEnv* env, jobject clazz, jlong proxyPtr, jlong renderNodePtr) argument
664 android_view_ThreadedRenderer_setContentDrawBounds(JNIEnv* env, jobject clazz, jlong proxyPtr, jint left, jint top, jint right, jint bottom) argument
670 android_view_ThreadedRenderer_copySurfaceInto(JNIEnv* env, jobject clazz, jobject jsurface, jobject jbitmap) argument
682 android_view_ThreadedRenderer_addFrameMetricsObserver(JNIEnv* env, jclass clazz, jlong proxyPtr, jobject fso) argument
698 android_view_ThreadedRenderer_removeFrameMetricsObserver(JNIEnv* env, jclass clazz, jlong proxyPtr, jlong observerPtr) argument
711 android_view_ThreadedRenderer_setupShadersDiskCache(JNIEnv* env, jobject clazz, jstring diskCachePath) argument
774 register_android_view_ThreadedRenderer(JNIEnv* env) argument
[all...]
H A Dandroid_hardware_camera2_DngCreator.cpp311 JniOutputStream(JNIEnv* env, jobject outStream);
329 JniOutputStream::JniOutputStream(JNIEnv* env, jobject outStream) : mOutputStream(outStream), argument
330 mEnv(env) {
331 mByteArray = env->NewByteArray(BYTE_ARRAY_LENGTH);
333 jniThrowException(env, "java/lang/OutOfMemoryError", "Could not allocate byte array.");
384 JniInputStream(JNIEnv* env, jobject inStream);
405 JniInputStream::JniInputStream(JNIEnv* env, jobject inStream) : mInStream(inStream), mEnv(env) { argument
406 mByteArray = env->NewByteArray(BYTE_ARRAY_LENGTH);
408 jniThrowException(env, "jav
491 JniInputByteBuffer(JNIEnv* env, jobject inBuf) argument
568 InputStripSource(JNIEnv* env, Input& input, uint32_t ifd, uint32_t width, uint32_t height, uint32_t pixStride, uint32_t rowStride, uint64_t offset, uint32_t bytesPerSample, uint32_t samplesPerPixel) argument
702 DirectStripSource(JNIEnv* env, const uint8_t* pixelBytes, uint32_t ifd, uint32_t width, uint32_t height, uint32_t pixStride, uint32_t rowStride, uint64_t offset, uint32_t bytesPerSample, uint32_t samplesPerPixel) argument
768 calculateAndSetCrop(JNIEnv* env, const CameraMetadata& characteristics, sp<TiffWriter> writer) argument
798 validateDngHeader(JNIEnv* env, sp<TiffWriter> writer, const CameraMetadata& characteristics, jint width, jint height) argument
973 DngCreator_getNativeContext(JNIEnv* env, jobject thiz) argument
979 DngCreator_setNativeContext(JNIEnv* env, jobject thiz, sp<NativeContext> context) argument
995 DngCreator_nativeClassInit(JNIEnv* env, jclass clazz) argument
1014 DngCreator_init(JNIEnv* env, jobject thiz, jobject characteristicsPtr, jobject resultsPtr, jstring formattedCaptureTime) argument
1046 DngCreator_setup(JNIEnv* env, jobject thiz, uint32_t imageWidth, uint32_t imageHeight) argument
1999 DngCreator_destroy(JNIEnv* env, jobject thiz) argument
2004 DngCreator_nativeSetOrientation(JNIEnv* env, jobject thiz, jint orient) argument
2019 DngCreator_nativeSetDescription(JNIEnv* env, jobject thiz, jstring description) argument
2035 DngCreator_nativeSetGpsTags(JNIEnv* env, jobject thiz, jintArray latTag, jstring latRef, jintArray longTag, jstring longRef, jstring dateTag, jintArray timeTag) argument
2085 DngCreator_nativeSetThumbnail(JNIEnv* env, jobject thiz, jobject buffer, jint width, jint height) argument
2121 DngCreator_nativeWriteImage(JNIEnv* env, jobject thiz, jobject outStream, jint width, jint height, jobject inBuffer, jint rowStride, jint pixStride, jlong offset, jboolean isDirect) argument
2228 DngCreator_nativeWriteInputStream(JNIEnv* env, jobject thiz, jobject outStream, jobject inStream, jint width, jint height, jlong offset) argument
2320 register_android_hardware_camera2_DngCreator(JNIEnv *env) argument
[all...]
H A Dandroid_media_AudioSystem.cpp181 JNIAudioPortCallback(JNIEnv* env, jobject thiz, jobject weak_thiz);
195 JNIAudioPortCallback::JNIAudioPortCallback(JNIEnv* env, jobject thiz, jobject weak_thiz) argument
200 jclass clazz = env->GetObjectClass(thiz);
205 mClass = (jclass)env->NewGlobalRef(clazz);
209 mObject = env->NewGlobalRef(weak_thiz);
215 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
216 if (env == NULL) {
219 env->DeleteGlobalRef(mObject);
220 env->DeleteGlobalRef(mClass);
225 JNIEnv *env local
252 setJniCallback(JNIEnv* env, jobject thiz, const sp<JNIAudioPortCallback>& callback) argument
283 android_media_AudioSystem_muteMicrophone(JNIEnv *env, jobject thiz, jboolean on) argument
289 android_media_AudioSystem_isMicrophoneMuted(JNIEnv *env, jobject thiz) argument
297 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) argument
305 android_media_AudioSystem_isStreamActiveRemotely(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) argument
314 android_media_AudioSystem_isSourceActive(JNIEnv *env, jobject thiz, jint source) argument
322 android_media_AudioSystem_newAudioSessionId(JNIEnv *env, jobject thiz) argument
328 android_media_AudioSystem_setParameters(JNIEnv *env, jobject thiz, jstring keyValuePairs) argument
343 android_media_AudioSystem_getParameters(JNIEnv *env, jobject thiz, jstring keys) argument
358 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
375 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
396 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
436 android_media_AudioSystem_setDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jint state, jstring device_address, jstring device_name) argument
449 android_media_AudioSystem_getDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jstring device_address) argument
459 android_media_AudioSystem_setPhoneState(JNIEnv *env, jobject thiz, jint state) argument
465 android_media_AudioSystem_setForceUse(JNIEnv *env, jobject thiz, jint usage, jint config) argument
472 android_media_AudioSystem_getForceUse(JNIEnv *env, jobject thiz, jint usage) argument
478 android_media_AudioSystem_initStreamVolume(JNIEnv *env, jobject thiz, jint stream, jint indexMin, jint indexMax) argument
486 android_media_AudioSystem_setStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint index, jint device) argument
499 android_media_AudioSystem_getStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint device) argument
515 android_media_AudioSystem_setMasterVolume(JNIEnv *env, jobject thiz, jfloat value) argument
521 android_media_AudioSystem_getMasterVolume(JNIEnv *env, jobject thiz) argument
531 android_media_AudioSystem_setMasterMute(JNIEnv *env, jobject thiz, jboolean mute) argument
537 android_media_AudioSystem_getMasterMute(JNIEnv *env, jobject thiz) argument
547 android_media_AudioSystem_setMasterMono(JNIEnv *env, jobject thiz, jboolean mono) argument
553 android_media_AudioSystem_getMasterMono(JNIEnv *env, jobject thiz) argument
563 android_media_AudioSystem_getDevicesForStream(JNIEnv *env, jobject thiz, jint stream) argument
569 android_media_AudioSystem_getPrimaryOutputSamplingRate(JNIEnv *env, jobject clazz) argument
575 android_media_AudioSystem_getPrimaryOutputFrameCount(JNIEnv *env, jobject clazz) argument
581 android_media_AudioSystem_getOutputLatency(JNIEnv *env, jobject clazz, jint stream) argument
592 android_media_AudioSystem_setLowRamDevice(JNIEnv *env, jobject clazz, jboolean isLowRamDevice) argument
598 android_media_AudioSystem_checkAudioFlinger(JNIEnv *env, jobject clazz) argument
610 convertAudioGainConfigToNative(JNIEnv *env, struct audio_gain_config *nAudioGainConfig, const jobject jAudioGainConfig, bool useInMask) argument
639 convertAudioPortConfigToNative(JNIEnv *env, struct audio_port_config *nAudioPortConfig, const jobject jAudioPortConfig, bool useConfigMask) argument
714 convertAudioPortConfigFromNative(JNIEnv *env, jobject jAudioPort, jobject *jAudioPortConfig, const struct audio_port_config *nAudioPortConfig) argument
906 convertAudioPortFromNative(JNIEnv *env, jobject *jAudioPort, const struct audio_port *nAudioPort) argument
1105 android_media_AudioSystem_listAudioPorts(JNIEnv *env, jobject clazz, jobject jPorts, jintArray jGeneration) argument
1191 android_media_AudioSystem_createAudioPatch(JNIEnv *env, jobject clazz, jobjectArray jPatches, jobjectArray jSources, jobjectArray jSinks) argument
1307 android_media_AudioSystem_releaseAudioPatch(JNIEnv *env, jobject clazz, jobject jPatch) argument
1332 android_media_AudioSystem_listAudioPatches(JNIEnv *env, jobject clazz, jobject jPatches, jintArray jGeneration) argument
1506 android_media_AudioSystem_setAudioPortConfig(JNIEnv *env, jobject clazz, jobject jAudioPortConfig) argument
1528 android_media_AudioSystem_eventHandlerSetup(JNIEnv *env, jobject thiz, jobject weak_this) argument
1540 android_media_AudioSystem_eventHandlerFinalize(JNIEnv *env, jobject thiz) argument
1552 android_media_AudioSystem_getAudioHwSyncForSession(JNIEnv *env, jobject thiz, jint sessionId) argument
1558 android_media_AudioSystem_registerDynPolicyCallback(JNIEnv *env, jobject thiz) argument
1564 android_media_AudioSystem_registerRecordingCallback(JNIEnv *env, jobject thiz) argument
1570 convertAudioMixToNative(JNIEnv *env, AudioMix *nAudioMix, const jobject jAudioMix) argument
1647 android_media_AudioSystem_registerPolicyMixes(JNIEnv *env, jobject clazz, jobject jMixesList, jboolean registration) argument
1702 android_media_AudioSystem_systemReady(JNIEnv *env, jobject thiz) argument
1770 register_android_media_AudioSystem(JNIEnv *env) argument
[all...]
H A Dandroid_opengl_GLES11Ext.cpp1407 /* void glGetTexEnvxvOES ( GLenum env, GLenum pname, GLfixed *params ) */
1410 (JNIEnv *_env, jobject _this, jint env, jint pname, jintArray params_ref, jint offset) {
1436 (GLenum)env,
1451 /* void glGetTexEnvxvOES ( GLenum env, GLenum pname, GLfixed *params ) */
1454 (JNIEnv *_env, jobject _this, jint env, jint pname, jobject params_buf) {
1466 (GLenum)env,
1409 android_glGetTexEnvxvOES__II_3II(JNIEnv *_env, jobject _this, jint env, jint pname, jintArray params_ref, jint offset) argument
1453 android_glGetTexEnvxvOES__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint env, jint pname, jobject params_buf) argument
H A Dandroid_util_AssetManager.cpp109 static jint copyValue(JNIEnv* env, jobject outValue, const ResTable* table,
113 jint copyValue(JNIEnv* env, jobject outValue, const ResTable* table, argument
117 env->SetIntField(outValue, gTypedValueOffsets.mType, value.dataType);
118 env->SetIntField(outValue, gTypedValueOffsets.mAssetCookie,
120 env->SetIntField(outValue, gTypedValueOffsets.mData, value.data);
121 env->SetObjectField(outValue, gTypedValueOffsets.mString, NULL);
122 env->SetIntField(outValue, gTypedValueOffsets.mResourceId, ref);
123 env->SetIntField(outValue, gTypedValueOffsets.mChangingConfigurations,
126 env->SetIntField(outValue, gTypedValueOffsets.mDensity, config->density);
212 AssetManager* assetManagerForJavaObject(JNIEnv* env, jobjec argument
223 android_content_AssetManager_openAsset(JNIEnv* env, jobject clazz, jstring fileName, jint mode) argument
257 returnParcelFileDescriptor(JNIEnv* env, Asset* a, jlongArray outOffsets) argument
289 android_content_AssetManager_openAssetFd(JNIEnv* env, jobject clazz, jstring fileName, jlongArray outOffsets) argument
316 android_content_AssetManager_openNonAssetNative(JNIEnv* env, jobject clazz, jint cookie, jstring fileName, jint mode) argument
354 android_content_AssetManager_openNonAssetFdNative(JNIEnv* env, jobject clazz, jint cookie, jstring fileName, jlongArray outOffsets) argument
385 android_content_AssetManager_list(JNIEnv* env, jobject clazz, jstring fileName) argument
430 android_content_AssetManager_destroyAsset(JNIEnv* env, jobject clazz, jlong assetHandle) argument
445 android_content_AssetManager_readAssetChar(JNIEnv* env, jobject clazz, jlong assetHandle) argument
460 android_content_AssetManager_readAsset(JNIEnv* env, jobject clazz, jlong assetHandle, jbyteArray bArray, jint off, jint len) argument
493 android_content_AssetManager_seekAsset(JNIEnv* env, jobject clazz, jlong assetHandle, jlong offset, jint whence) argument
508 android_content_AssetManager_getAssetLength(JNIEnv* env, jobject clazz, jlong assetHandle) argument
521 android_content_AssetManager_getAssetRemainingLength(JNIEnv* env, jobject clazz, jlong assetHandle) argument
534 android_content_AssetManager_addAssetPath(JNIEnv* env, jobject clazz, jstring path, jboolean appAsLib) argument
553 android_content_AssetManager_addOverlayPath(JNIEnv* env, jobject clazz, jstring idmapPath) argument
572 android_content_AssetManager_isUpToDate(JNIEnv* env, jobject clazz) argument
581 getLocales(JNIEnv* env, jobject clazz, bool includeSystemLocales) argument
611 android_content_AssetManager_getLocales(JNIEnv* env, jobject clazz) argument
616 android_content_AssetManager_getNonSystemLocales(JNIEnv* env, jobject clazz) argument
621 constructConfigurationObject(JNIEnv* env, const ResTable_config& config) argument
636 getSizeConfigurationsInternal(JNIEnv* env, const Vector<ResTable_config>& configs) argument
658 android_content_AssetManager_getSizeConfigurations(JNIEnv* env, jobject clazz) argument
671 android_content_AssetManager_setConfiguration(JNIEnv* env, jobject clazz, jint mcc, jint mnc, jstring locale, jint orientation, jint touchscreen, jint density, jint keyboard, jint keyboardHidden, jint navigation, jint screenWidth, jint screenHeight, jint smallestScreenWidthDp, jint screenWidthDp, jint screenHeightDp, jint screenLayout, jint uiMode, jint sdkVersion) argument
726 android_content_AssetManager_getResourceIdentifier(JNIEnv* env, jobject clazz, jstring name, jstring defType, jstring defPackage) argument
769 android_content_AssetManager_getResourceName(JNIEnv* env, jobject clazz, jint resid) argument
812 android_content_AssetManager_getResourcePackageName(JNIEnv* env, jobject clazz, jint resid) argument
832 android_content_AssetManager_getResourceTypeName(JNIEnv* env, jobject clazz, jint resid) argument
856 android_content_AssetManager_getResourceEntryName(JNIEnv* env, jobject clazz, jint resid) argument
880 android_content_AssetManager_loadResourceValue(JNIEnv* env, jobject clazz, jint ident, jshort density, jobject outValue, jboolean resolve) argument
923 android_content_AssetManager_loadResourceBagValue(JNIEnv* env, jobject clazz, jint ident, jint bagEntryId, jobject outValue, jboolean resolve) argument
974 android_content_AssetManager_getStringBlockCount(JNIEnv* env, jobject clazz) argument
983 android_content_AssetManager_getNativeStringBlock(JNIEnv* env, jobject clazz, jint block) argument
993 android_content_AssetManager_getCookieName(JNIEnv* env, jobject clazz, jint cookie) argument
1009 android_content_AssetManager_getAssignedPackageIdentifiers(JNIEnv* env, jobject clazz) argument
1032 android_content_AssetManager_newTheme(JNIEnv* env, jobject clazz) argument
1041 android_content_AssetManager_deleteTheme(JNIEnv* env, jobject clazz, jlong themeHandle) argument
1048 android_content_AssetManager_applyThemeStyle(JNIEnv* env, jobject clazz, jlong themeHandle, jint styleRes, jboolean force) argument
1057 android_content_AssetManager_copyTheme(JNIEnv* env, jobject clazz, jlong destHandle, jlong srcHandle) argument
1065 android_content_AssetManager_clearTheme(JNIEnv* env, jobject clazz, jlong themeHandle) argument
1071 android_content_AssetManager_loadThemeAttributeValue( JNIEnv* env, jobject clazz, jlong themeHandle, jint ident, jobject outValue, jboolean resolve) argument
1094 android_content_AssetManager_getThemeChangingConfigurations(JNIEnv* env, jobject clazz, jlong themeHandle) argument
1101 android_content_AssetManager_dumpTheme(JNIEnv* env, jobject clazz, jlong themeHandle, jint pri, jstring tag, jstring prefix) argument
1137 android_content_AssetManager_resolveAttrs(JNIEnv* env, jobject clazz, jlong themeToken, jint defStyleAttr, jint defStyleRes, jintArray inValues, jintArray attrs, jintArray outValues, jintArray outIndices) argument
1340 android_content_AssetManager_applyStyle(JNIEnv* env, jobject clazz, jlong themeToken, jint defStyleAttr, jint defStyleRes, jlong xmlParserToken, jintArray attrs, jintArray outValues, jintArray outIndices) argument
1594 android_content_AssetManager_retrieveAttributes(JNIEnv* env, jobject clazz, jlong xmlParserToken, jintArray attrs, jintArray outValues, jintArray outIndices) argument
1739 android_content_AssetManager_getArraySize(JNIEnv* env, jobject clazz, jint id) argument
1756 android_content_AssetManager_retrieveArray(JNIEnv* env, jobject clazz, jint id, jintArray outValues) argument
1844 android_content_AssetManager_openXmlAssetNative(JNIEnv* env, jobject clazz, jint cookie, jstring fileName) argument
1885 android_content_AssetManager_getArrayStringInfo(JNIEnv* env, jobject clazz, jint arrayResId) argument
1937 android_content_AssetManager_getArrayStringResource(JNIEnv* env, jobject clazz, jint arrayResId) argument
2003 android_content_AssetManager_getArrayIntResource(JNIEnv* env, jobject clazz, jint arrayResId) argument
2047 android_content_AssetManager_getStyleAttributes(JNIEnv* env, jobject clazz, jint styleId) argument
2077 android_content_AssetManager_init(JNIEnv* env, jobject clazz, jboolean isSystem) argument
2094 android_content_AssetManager_destroy(JNIEnv* env, jobject clazz) argument
2105 android_content_AssetManager_getGlobalAssetCount(JNIEnv* env, jobject clazz) argument
2110 android_content_AssetManager_getAssetAllocations(JNIEnv* env, jobject clazz) argument
2121 android_content_AssetManager_getGlobalAssetManagerCount(JNIEnv* env, jobject clazz) argument
2251 register_android_content_AssetManager(JNIEnv* env) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp129 Bitmap::Bitmap(JNIEnv* env, jbyteArray storageObj, void* address, argument
132 env->GetJavaVM(&mPixelStorage.java.jvm);
133 mPixelStorage.java.jweakRef = env->NewWeakGlobalRef(storageObj);
190 JNIEnv* env = jniEnv(); local
194 env->DeleteWeakGlobalRef(mPixelStorage.java.jweakRef);
286 JNIEnv* env; local
287 auto success = mPixelStorage.java.jvm->GetEnv((void**)&env, JNI_VERSION_1_6);
290 return env;
320 JNIEnv* env = jniEnv(); local
323 env
343 JNIEnv* env = jniEnv(); local
497 SetPixels(JNIEnv* env, jintArray srcColors, int srcOffset, int srcStride, int x, int y, int width, int height, const SkBitmap& dstBitmap) argument
705 Bitmap_creator(JNIEnv* env, jobject, jintArray jColors, jint offset, jint stride, jint width, jint height, jint configHandle, jboolean isMutable) argument
739 Bitmap_copy(JNIEnv* env, jobject, jlong srcHandle, jint dstConfigHandle, jboolean isMutable) argument
755 Bitmap_copyAshmemImpl(JNIEnv* env, SkBitmap& src, SkColorType& dstCT) argument
767 Bitmap_copyAshmem(JNIEnv* env, jobject, jlong srcHandle) argument
776 Bitmap_copyAshmemConfig(JNIEnv* env, jobject, jlong srcHandle, jint dstConfigHandle) argument
793 Bitmap_recycle(JNIEnv* env, jobject, jlong bitmapHandle) argument
799 Bitmap_reconfigure(JNIEnv* env, jobject clazz, jlong bitmapHandle, jint width, jint height, jint configHandle, jint allocSize, jboolean requestPremul) argument
835 Bitmap_compress(JNIEnv* env, jobject clazz, jlong bitmapHandle, jint format, jint quality, jobject jstream, jbyteArray jstorage) argument
876 Bitmap_erase(JNIEnv* env, jobject, jlong bitmapHandle, jint color) argument
883 Bitmap_rowBytes(JNIEnv* env, jobject, jlong bitmapHandle) argument
888 Bitmap_config(JNIEnv* env, jobject, jlong bitmapHandle) argument
893 Bitmap_getGenerationId(JNIEnv* env, jobject, jlong bitmapHandle) argument
898 Bitmap_isPremultiplied(JNIEnv* env, jobject, jlong bitmapHandle) argument
906 Bitmap_hasAlpha(JNIEnv* env, jobject, jlong bitmapHandle) argument
911 Bitmap_setHasAlpha(JNIEnv* env, jobject, jlong bitmapHandle, jboolean hasAlpha, jboolean requestPremul) argument
922 Bitmap_setPremultiplied(JNIEnv* env, jobject, jlong bitmapHandle, jboolean isPremul) argument
934 Bitmap_hasMipMap(JNIEnv* env, jobject, jlong bitmapHandle) argument
939 Bitmap_setHasMipMap(JNIEnv* env, jobject, jlong bitmapHandle, jboolean hasMipMap) argument
947 Bitmap_createFromParcel(JNIEnv* env, jobject, jobject parcel) argument
1074 Bitmap_writeToParcel(JNIEnv* env, jobject, jlong bitmapHandle, jboolean isMutable, jint density, jobject parcel) argument
1159 Bitmap_extractAlpha(JNIEnv* env, jobject clazz, jlong srcHandle, jlong paintHandle, jintArray offsetXY) argument
1189 Bitmap_getPixel(JNIEnv* env, jobject, jlong bitmapHandle, jint x, jint y) argument
1209 Bitmap_getPixels(JNIEnv* env, jobject, jlong bitmapHandle, jintArray pixelArray, jint offset, jint stride, jint x, jint y, jint width, jint height) argument
1238 Bitmap_setPixel(JNIEnv* env, jobject, jlong bitmapHandle, jint x, jint y, jint colorHandle) argument
1257 Bitmap_setPixels(JNIEnv* env, jobject, jlong bitmapHandle, jintArray pixelArray, jint offset, jint stride, jint x, jint y, jint width, jint height) argument
1266 Bitmap_copyPixelsToBuffer(JNIEnv* env, jobject, jlong bitmapHandle, jobject jbuffer) argument
1281 Bitmap_copyPixelsFromBuffer(JNIEnv* env, jobject, jlong bitmapHandle, jobject jbuffer) argument
1296 Bitmap_sameAs(JNIEnv* env, jobject, jlong bm0Handle, jlong bm1Handle) argument
1357 Bitmap_refPixelRef(JNIEnv* env, jobject, jlong bitmapHandle) argument
1409 register_android_graphics_Bitmap(JNIEnv* env) argument
[all...]
H A DGraphics.cpp21 void doThrowNPE(JNIEnv* env) { argument
22 jniThrowNullPointerException(env, NULL);
25 void doThrowAIOOBE(JNIEnv* env) { argument
26 jniThrowException(env, "java/lang/ArrayIndexOutOfBoundsException", NULL);
29 void doThrowRE(JNIEnv* env, const char* msg) { argument
30 jniThrowRuntimeException(env, msg);
33 void doThrowIAE(JNIEnv* env, const char* msg) { argument
34 jniThrowException(env, "java/lang/IllegalArgumentException", msg);
37 void doThrowISE(JNIEnv* env, const char* msg) { argument
38 jniThrowException(env, "jav
41 doThrowOOME(JNIEnv* env, const char* msg) argument
45 doThrowIOE(JNIEnv* env, const char* msg) argument
49 hasException(JNIEnv *env) argument
60 AutoJavaFloatArray(JNIEnv* env, jfloatArray array, int minLength, JNIAccess access) argument
80 AutoJavaIntArray(JNIEnv* env, jintArray array, int minLength) argument
99 AutoJavaShortArray(JNIEnv* env, jshortArray array, int minLength, JNIAccess access) argument
119 AutoJavaByteArray(JNIEnv* env, jbyteArray array, int minLength) argument
190 get_jrect(JNIEnv* env, jobject obj, int* L, int* T, int* R, int* B) argument
200 set_jrect(JNIEnv* env, jobject obj, int L, int T, int R, int B) argument
210 jrect_to_irect(JNIEnv* env, jobject obj, SkIRect* ir) argument
221 irect_to_jrect(const SkIRect& ir, JNIEnv* env, jobject obj) argument
231 jrectf_to_rect(JNIEnv* env, jobject obj, SkRect* r) argument
242 jrect_to_rect(JNIEnv* env, jobject obj, SkRect* r) argument
253 rect_to_jrectf(const SkRect& r, JNIEnv* env, jobject obj) argument
263 jpoint_to_ipoint(JNIEnv* env, jobject obj, SkIPoint* point) argument
272 ipoint_to_jpoint(const SkIPoint& ir, JNIEnv* env, jobject obj) argument
280 jpointf_to_point(JNIEnv* env, jobject obj, SkPoint* point) argument
289 point_to_jpointf(const SkPoint& r, JNIEnv* env, jobject obj) argument
345 getBitmap(JNIEnv* env, jobject bitmap) argument
355 getSkBitmap(JNIEnv* env, jobject bitmap, SkBitmap* outBitmap) argument
359 refSkPixelRef(JNIEnv* env, jobject bitmap) argument
363 getNativeBitmapColorType(JNIEnv* env, jobject jconfig) argument
373 getNativeCanvas(JNIEnv* env, jobject canvas) argument
384 getNativeRegion(JNIEnv* env, jobject region) argument
409 createBitmap(JNIEnv* env, android::Bitmap* bitmap, int bitmapCreateFlags, jbyteArray ninePatchChunk, jobject ninePatchInsets, int density) argument
426 reinitBitmap(JNIEnv* env, jobject javaBitmap, const SkImageInfo& info, bool isPremultiplied) argument
437 getBitmapAllocationByteCount(JNIEnv* env, jobject javaBitmap) argument
442 createBitmapRegionDecoder(JNIEnv* env, SkBitmapRegionDecoder* bitmap) argument
453 createRegion(JNIEnv* env, SkRegion* region) argument
464 JNIEnv* env = NULL; local
486 allocateJavaPixelRef(JNIEnv* env, SkBitmap* bitmap, SkColorTable* ctable) argument
539 allocatePixels(JNIEnv* env, SkBitmap* bitmap, SkColorTable* ctable) argument
579 allocateAshmemPixelRef(JNIEnv* env, SkBitmap* bitmap, SkColorTable* ctable) argument
625 mapAshmemPixelRef(JNIEnv* env, SkBitmap* bitmap, SkColorTable* ctable, int fd, void* addr, bool readOnly) argument
660 JavaPixelAllocator(JNIEnv* env) argument
672 JNIEnv* env = vm2env(mJavaVM); local
768 AshmemPixelAllocator(JNIEnv *env) argument
780 JNIEnv* env = vm2env(mJavaVM); local
787 make_globalref(JNIEnv* env, const char classname[]) argument
794 getFieldIDCheck(JNIEnv* env, jclass clazz, const char fieldname[], const char type[]) argument
802 register_android_graphics_Graphics(JNIEnv* env) argument
[all...]
H A DPaint.cpp87 static jlong init(JNIEnv* env, jobject) { argument
103 static jlong initWithPaint(JNIEnv* env, jobject clazz, jlong paintHandle) { argument
109 static void reset(JNIEnv* env, jobject clazz, jlong objHandle) { argument
115 static void assign(JNIEnv* env, jobject clazz, jlong dstPaintHandle, jlong srcPaintHandle) { argument
124 static jint getFlags(JNIEnv* env, jobject, jlong paintHandle) { argument
134 static void setFlags(JNIEnv* env, jobject, jlong paintHandle, jint flags) { argument
148 static jint getHinting(JNIEnv* env, jobject, jlong paintHandle) { argument
153 static void setHinting(JNIEnv* env, jobject, jlong paintHandle, jint mode) { argument
158 static void setAntiAlias(JNIEnv* env, jobject, jlong paintHandle, jboolean aa) { argument
162 static void setLinearText(JNIEnv* env, jobjec argument
166 setSubpixelText(JNIEnv* env, jobject, jlong paintHandle, jboolean subpixelText) argument
170 setUnderlineText(JNIEnv* env, jobject, jlong paintHandle, jboolean underlineText) argument
174 setStrikeThruText(JNIEnv* env, jobject, jlong paintHandle, jboolean strikeThruText) argument
178 setFakeBoldText(JNIEnv* env, jobject, jlong paintHandle, jboolean fakeBoldText) argument
182 setFilterBitmap(JNIEnv* env, jobject, jlong paintHandle, jboolean filterBitmap) argument
187 setDither(JNIEnv* env, jobject, jlong paintHandle, jboolean dither) argument
191 getStyle(JNIEnv* env, jobject clazz,jlong objHandle) argument
196 setStyle(JNIEnv* env, jobject clazz, jlong objHandle, jint styleHandle) argument
202 getColor(JNIEnv* env, jobject, jlong paintHandle) argument
208 getAlpha(JNIEnv* env, jobject, jlong paintHandle) argument
214 setColor(JNIEnv* env, jobject, jlong paintHandle, jint color) argument
218 setAlpha(JNIEnv* env, jobject, jlong paintHandle, jint a) argument
222 getStrokeWidth(JNIEnv* env, jobject, jlong paintHandle) argument
226 setStrokeWidth(JNIEnv* env, jobject, jlong paintHandle, jfloat width) argument
230 getStrokeMiter(JNIEnv* env, jobject, jlong paintHandle) argument
234 setStrokeMiter(JNIEnv* env, jobject, jlong paintHandle, jfloat miter) argument
238 getStrokeCap(JNIEnv* env, jobject clazz, jlong objHandle) argument
243 setStrokeCap(JNIEnv* env, jobject clazz, jlong objHandle, jint capHandle) argument
249 getStrokeJoin(JNIEnv* env, jobject clazz, jlong objHandle) argument
254 setStrokeJoin(JNIEnv* env, jobject clazz, jlong objHandle, jint joinHandle) argument
260 getFillPath(JNIEnv* env, jobject clazz, jlong objHandle, jlong srcHandle, jlong dstHandle) argument
267 setShader(JNIEnv* env, jobject clazz, jlong objHandle, jlong shaderHandle) argument
273 setColorFilter(JNIEnv* env, jobject clazz, jlong objHandle, jlong filterHandle) argument
279 setXfermode(JNIEnv* env, jobject clazz, jlong objHandle, jlong xfermodeHandle) argument
285 setPathEffect(JNIEnv* env, jobject clazz, jlong objHandle, jlong effectHandle) argument
291 setMaskFilter(JNIEnv* env, jobject clazz, jlong objHandle, jlong maskfilterHandle) argument
297 setTypeface(JNIEnv* env, jobject clazz, jlong objHandle, jlong typefaceHandle) argument
302 setRasterizer(JNIEnv* env, jobject clazz, jlong objHandle, jlong rasterizerHandle) argument
308 getTextAlign(JNIEnv* env, jobject clazz, jlong objHandle) argument
313 setTextAlign(JNIEnv* env, jobject clazz, jlong objHandle, jint alignHandle) argument
319 setTextLocales(JNIEnv* env, jobject clazz, jlong objHandle, jstring locales) argument
327 setTextLocalesByMinikinLangListId(JNIEnv* env, jobject clazz, jlong objHandle, jint minikinLangListId) argument
333 isElegantTextHeight(JNIEnv* env, jobject, jlong paintHandle) argument
338 setElegantTextHeight(JNIEnv* env, jobject, jlong paintHandle, jboolean aa) argument
343 getTextSize(JNIEnv* env, jobject, jlong paintHandle) argument
347 setTextSize(JNIEnv* env, jobject, jlong paintHandle, jfloat textSize) argument
351 getTextScaleX(JNIEnv* env, jobject, jlong paintHandle) argument
355 setTextScaleX(JNIEnv* env, jobject, jlong paintHandle, jfloat scaleX) argument
359 getTextSkewX(JNIEnv* env, jobject, jlong paintHandle) argument
363 setTextSkewX(JNIEnv* env, jobject, jlong paintHandle, jfloat skewX) argument
367 getLetterSpacing(JNIEnv* env, jobject clazz, jlong paintHandle) argument
372 setLetterSpacing(JNIEnv* env, jobject clazz, jlong paintHandle, jfloat letterSpacing) argument
377 setFontFeatureSettings(JNIEnv* env, jobject clazz, jlong paintHandle, jstring settings) argument
387 getHyphenEdit(JNIEnv* env, jobject clazz, jlong paintHandle, jint hyphen) argument
392 setHyphenEdit(JNIEnv* env, jobject clazz, jlong paintHandle, jint hyphen) argument
429 ascent(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle) argument
435 descent(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle) argument
441 getFontMetrics(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jobject metricsObj) argument
457 getFontMetricsInt(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jobject metricsObj) argument
477 doTextAdvances(JNIEnv *env, Paint *paint, Typeface* typeface, const jchar *text, jint start, jint count, jint contextCount, jint bidiFlags, jfloatArray advances, jint advancesIndex) argument
508 getTextAdvances___CIIIII_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jint bidiFlags, jfloatArray advances, jint advancesIndex) argument
521 getTextAdvances__StringIIIII_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint contextStart, jint contextEnd, jint bidiFlags, jfloatArray advances, jint advancesIndex) argument
535 doTextRunCursor(JNIEnv *env, Paint* paint, const jchar *text, jint start, jint count, jint flags, jint offset, jint opt) argument
542 getTextRunCursor___C(JNIEnv* env, jobject clazz, jlong paintHandle, jcharArray text, jint contextStart, jint contextCount, jint dir, jint offset, jint cursorOpt) argument
552 getTextRunCursor__String(JNIEnv* env, jobject clazz, jlong paintHandle, jstring text, jint contextStart, jint contextEnd, jint dir, jint offset, jint cursorOpt) argument
593 getTextPath(JNIEnv* env, Paint* paint, Typeface* typeface, const jchar* text, jint count, jint bidiFlags, jfloat x, jfloat y, SkPath* path) argument
612 getTextPath___C(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jint bidiFlags, jcharArray text, jint index, jint count, jfloat x, jfloat y, jlong pathHandle) argument
623 getTextPath__String(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jint bidiFlags, jstring text, jint start, jint end, jfloat x, jfloat y, jlong pathHandle) argument
634 setShadowLayer(JNIEnv* env, jobject clazz, jlong paintHandle, jfloat radius, jfloat dx, jfloat dy, jint color) argument
646 hasShadowLayer(JNIEnv* env, jobject clazz, jlong paintHandle) argument
651 breakText(JNIEnv* env, const Paint& paint, Typeface* typeface, const jchar text[], int count, float maxWidth, jint bidiFlags, jfloatArray jmeasured, const bool forwardScan) argument
683 breakTextC(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray jtext, jint index, jint count, jfloat maxWidth, jint bidiFlags, jfloatArray jmeasuredWidth) argument
712 breakTextS(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jstring jtext, jboolean forwards, jfloat maxWidth, jint bidiFlags, jfloatArray jmeasuredWidth) argument
726 doTextBounds(JNIEnv* env, const jchar* text, int count, jobject bounds, const Paint& paint, Typeface* typeface, jint bidiFlags) argument
743 getStringBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint bidiFlags, jobject bounds) argument
752 getCharArrayBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint bidiFlags, jobject bounds) argument
787 hasGlyph(JNIEnv *env, jclass, jlong paintHandle, jlong typefaceHandle, jint bidiFlags, jstring string) argument
876 getRunAdvance___CIIIIZI_F(JNIEnv *env, jclass, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint start, jint end, jint contextStart, jint contextEnd, jboolean isRtl, jint offset) argument
898 getOffsetForAdvance___CIIIIZF_I(JNIEnv *env, jclass, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint start, jint end, jint contextStart, jint contextEnd, jboolean isRtl, jfloat advance) argument
1006 register_android_graphics_Paint(JNIEnv* env) argument
[all...]
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp254 ArrayHelper(JNIEnv* env, JArray ref, jint offset, jint minSize) { argument
255 mEnv = env;
330 void util_computeBoundingSphere(JNIEnv *env, jclass clazz, argument
333 FloatArrayHelper positions(env, positions_ref, positionsOffset, 0);
334 FloatArrayHelper sphere(env, sphere_ref, sphereOffset, 4);
345 doThrowIAE(env, "positionsCount < 1");
487 jint util_frustumCullSpheres(JNIEnv *env, jclass clazz, argument
495 FloatArrayHelper mvp(env, mvp_ref, mvpOffset, 16);
496 FloatArrayHelper spheres(env, spheres_ref, spheresOffset, spheresCount * 4);
497 IntArrayHelper results(env, results_re
534 util_visibilityTest(JNIEnv *env, jclass clazz, jfloatArray ws_ref, jint wsOffset, jfloatArray positions_ref, jint positionsOffset, jcharArray indices_ref, jint indicesOffset, jint indexCount) argument
589 util_multiplyMM(JNIEnv *env, jclass clazz, jfloatArray result_ref, jint resultOffset, jfloatArray lhs_ref, jint lhsOffset, jfloatArray rhs_ref, jint rhsOffset) argument
620 util_multiplyMV(JNIEnv *env, jclass clazz, jfloatArray result_ref, jint resultOffset, jfloatArray lhs_ref, jint lhsOffset, jfloatArray rhs_ref, jint rhsOffset) argument
710 util_getInternalFormat(JNIEnv *env, jclass clazz, jobject jbitmap) argument
718 util_getType(JNIEnv *env, jclass clazz, jobject jbitmap) argument
726 util_texImage2D(JNIEnv *env, jclass clazz, jint target, jint level, jint internalformat, jobject jbitmap, jint type, jint border) argument
773 util_texSubImage2D(JNIEnv *env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jobject jbitmap, jint format, jint type) argument
813 nativeClassInitBuffer(JNIEnv *env) argument
853 BufferHelper(JNIEnv *env, jobject buffer) argument
901 etc1_encodeBlock(JNIEnv *env, jclass clazz, jobject in, jint validPixelMask, jobject out) argument
930 etc1_decodeBlock(JNIEnv *env, jclass clazz, jobject in, jobject out) argument
949 etc1_getEncodedDataSize(JNIEnv *env, jclass clazz, jint width, jint height) argument
960 etc1_encodeImage(JNIEnv *env, jclass clazz, jobject in, jint width, jint height, jint pixelSize, jint stride, jobject out) argument
990 etc1_decodeImage(JNIEnv *env, jclass clazz, jobject in, jobject out, jint width, jint height, jint pixelSize, jint stride) argument
1017 etc1_formatHeader(JNIEnv *env, jclass clazz, jobject header, jint width, jint height) argument
1032 etc1_isValid(JNIEnv *env, jclass clazz, jobject header) argument
1049 etc1_getWidth(JNIEnv *env, jclass clazz, jobject header) argument
1066 etc1_getHeight(JNIEnv *env, jclass clazz, jobject header) argument
1127 register_android_opengl_classes(JNIEnv* env) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp116 JNIEnv *env, jobject thiz,
120 jclass clazz = env->GetObjectClass(thiz);
123 mClass = (jclass)env->NewGlobalRef(clazz);
124 mObject = env->NewWeakGlobalRef(thiz);
126 cacheJavaObjects(env);
144 void JMediaCodec::cacheJavaObjects(JNIEnv *env) { argument
145 jclass clazz = (jclass)env->FindClass("java/nio/ByteBuffer");
146 mByteBufferClass = (jclass)env->NewGlobalRef(clazz);
150 env, env
115 JMediaCodec( JNIEnv *env, jobject thiz, const char *name, bool nameIsType, bool encoder) argument
221 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
230 deleteJavaObjects(JNIEnv *env) argument
352 dequeueOutputBuffer( JNIEnv *env, jobject bufferInfo, size_t *index, int64_t timeoutUs) argument
387 getFormat(JNIEnv *env, bool input, jobject *format) const argument
398 getOutputFormat(JNIEnv *env, size_t index, jobject *format) const argument
408 getBuffers( JNIEnv *env, bool input, jobjectArray *bufArray) const argument
449 createByteBufferFromABuffer( JNIEnv *env, bool readOnly, bool clearBuffer, const sp<ABuffer> &buffer, jobject *buf) const argument
493 getBuffer( JNIEnv *env, bool input, size_t index, jobject *buf) const argument
510 getImage( JNIEnv *env, bool input, size_t index, jobject *buf) const argument
605 getName(JNIEnv *env, jstring *nameStr) const argument
629 createCodecException( JNIEnv *env, status_t err, int32_t actionCode, const char *msg = NULL) argument
673 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
766 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
807 setMediaCodec( JNIEnv *env, jobject thiz, const sp<JMediaCodec> &codec) argument
827 getMediaCodec(JNIEnv *env, jobject thiz) argument
831 android_media_MediaCodec_release(JNIEnv *env, jobject thiz) argument
835 throwCodecException(JNIEnv *env, status_t err, int32_t actionCode, const char *msg) argument
840 throwCryptoException(JNIEnv *env, status_t err, const char *msg) argument
889 throwExceptionAsNecessary( JNIEnv *env, status_t err, int32_t actionCode = ACTION_CODE_FATAL, const char *msg = NULL) argument
923 android_media_MediaCodec_native_enableOnFrameRenderedListener( JNIEnv *env, jobject thiz, jboolean enabled) argument
939 android_media_MediaCodec_native_setCallback( JNIEnv *env, jobject thiz, jobject cb) argument
955 android_media_MediaCodec_native_configure( JNIEnv *env, jobject thiz, jobjectArray keys, jobjectArray values, jobject jsurface, jobject jcrypto, jint flags) argument
1001 android_media_MediaCodec_native_setSurface( JNIEnv *env, jobject thiz, jobject jsurface) argument
1030 android_media_MediaCodec_getPersistentInputSurface( JNIEnv* env, jobject object) argument
1047 android_media_MediaCodec_createPersistentInputSurface( JNIEnv* env, jclass ) argument
1101 android_media_MediaCodec_releasePersistentInputSurface( JNIEnv* env, jclass , jobject object) argument
1125 android_media_MediaCodec_setInputSurface( JNIEnv* env, jobject thiz, jobject object) argument
1144 android_media_MediaCodec_createInputSurface(JNIEnv* env, jobject thiz) argument
1167 android_media_MediaCodec_start(JNIEnv *env, jobject thiz) argument
1182 android_media_MediaCodec_stop(JNIEnv *env, jobject thiz) argument
1197 android_media_MediaCodec_reset(JNIEnv *env, jobject thiz) argument
1219 android_media_MediaCodec_flush(JNIEnv *env, jobject thiz) argument
1234 android_media_MediaCodec_queueInputBuffer( JNIEnv *env, jobject thiz, jint index, jint offset, jint size, jlong timestampUs, jint flags) argument
1260 android_media_MediaCodec_queueSecureInputBuffer( JNIEnv *env, jobject thiz, jint index, jint offset, jobject cryptoInfoObj, jlong timestampUs, jint flags) argument
1425 android_media_MediaCodec_dequeueInputBuffer( JNIEnv *env, jobject thiz, jlong timeoutUs) argument
1446 android_media_MediaCodec_dequeueOutputBuffer( JNIEnv *env, jobject thiz, jobject bufferInfo, jlong timeoutUs) argument
1468 android_media_MediaCodec_releaseOutputBuffer( JNIEnv *env, jobject thiz, jint index, jboolean render, jboolean updatePTS, jlong timestampNs) argument
1485 android_media_MediaCodec_signalEndOfInputStream(JNIEnv* env, jobject thiz) argument
1500 android_media_MediaCodec_getFormatNative( JNIEnv *env, jobject thiz, jboolean input) argument
1523 android_media_MediaCodec_getOutputFormatForIndexNative( JNIEnv *env, jobject thiz, jint index) argument
1546 android_media_MediaCodec_getBuffers( JNIEnv *env, jobject thiz, jboolean input) argument
1572 android_media_MediaCodec_getBuffer( JNIEnv *env, jobject thiz, jboolean input, jint index) argument
1598 android_media_MediaCodec_getImage( JNIEnv *env, jobject thiz, jboolean input, jint index) argument
1624 android_media_MediaCodec_getName( JNIEnv *env, jobject thiz) argument
1647 android_media_MediaCodec_setParameters( JNIEnv *env, jobject thiz, jobjectArray keys, jobjectArray vals) argument
1668 android_media_MediaCodec_setVideoScalingMode( JNIEnv *env, jobject thiz, jint mode) argument
1686 android_media_MediaCodec_native_init(JNIEnv *env) argument
1832 android_media_MediaCodec_native_setup( JNIEnv *env, jobject thiz, jstring name, jboolean nameIsType, jboolean encoder) argument
1875 android_media_MediaCodec_native_finalize( JNIEnv *env, jobject thiz) argument
1970 register_android_media_MediaCodec(JNIEnv *env) argument
[all...]
H A Dandroid_media_MediaDrm.cpp40 var = env->FindClass(className); \
44 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
48 var = env->GetMethodID(clazz, fieldName, fieldDescriptor); \
52 var = env->GetStaticFieldID(clazz, fieldName, fieldDescriptor); \
56 var = env->GetStaticMethodID(clazz, fieldName, fieldDescriptor); \
158 JNIDrmListener(JNIEnv* env, jobject thiz, jobject weak_thiz);
167 JNIDrmListener::JNIDrmListener(JNIEnv* env, jobject thiz, jobject weak_thiz) argument
171 jclass clazz = env->GetObjectClass(thiz);
174 jniThrowException(env, "java/lang/Exception",
178 mClass = (jclass)env
188 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
232 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
251 throwStateException(JNIEnv *env, const char *msg, status_t err) argument
260 throwExceptionAsNecessary( JNIEnv *env, status_t err, const char *msg = NULL) argument
332 GetDrm(JNIEnv *env, jobject thiz) argument
337 JDrm( JNIEnv *env, jobject thiz, const uint8_t uuid[16]) argument
347 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
430 JByteArrayToVector(JNIEnv *env, jbyteArray const &byteArray) argument
438 VectorToJByteArray(JNIEnv *env, Vector<uint8_t> const &vector) argument
447 JStringToString8(JNIEnv *env, jstring const &jstr) argument
470 HashMapToKeyedVector( JNIEnv *env, jobject &hashMap, bool* pIsOK) argument
521 KeyedVectorToHashMap(JNIEnv *env, KeyedVector<String8, String8> const &map) argument
534 ListOfVectorsToArrayListOfByteArray(JNIEnv *env, List<Vector<uint8_t> > list) argument
553 setDrm( JNIEnv *env, jobject thiz, const sp<JDrm> &drm) argument
567 CheckSession(JNIEnv *env, const sp<IDrm> &drm, jbyteArray const &jsessionId) argument
581 android_media_MediaDrm_release(JNIEnv *env, jobject thiz) argument
589 android_media_MediaDrm_native_init(JNIEnv *env) argument
684 android_media_MediaDrm_native_setup( JNIEnv *env, jobject thiz, jobject weak_this, jbyteArray uuidObj) argument
718 android_media_MediaDrm_native_finalize( JNIEnv *env, jobject thiz) argument
723 android_media_MediaDrm_isCryptoSchemeSupportedNative( JNIEnv *env, jobject , jbyteArray uuidObj, jstring jmimeType) argument
749 android_media_MediaDrm_openSession( JNIEnv *env, jobject thiz) argument
769 android_media_MediaDrm_closeSession( JNIEnv *env, jobject thiz, jbyteArray jsessionId) argument
784 android_media_MediaDrm_getKeyRequest( JNIEnv *env, jobject thiz, jbyteArray jsessionId, jbyteArray jinitData, jstring jmimeType, jint jkeyType, jobject joptParams) argument
875 android_media_MediaDrm_provideKeyResponse( JNIEnv *env, jobject thiz, jbyteArray jsessionId, jbyteArray jresponse) argument
901 android_media_MediaDrm_removeKeys( JNIEnv *env, jobject thiz, jbyteArray jkeysetId) argument
918 android_media_MediaDrm_restoreKeys( JNIEnv *env, jobject thiz, jbyteArray jsessionId, jbyteArray jkeysetId) argument
941 android_media_MediaDrm_queryKeyStatus( JNIEnv *env, jobject thiz, jbyteArray jsessionId) argument
961 android_media_MediaDrm_getProvisionRequestNative( JNIEnv *env, jobject thiz, jint jcertType, jstring jcertAuthority) argument
1008 android_media_MediaDrm_provideProvisionResponseNative( JNIEnv *env, jobject thiz, jbyteArray jresponse) argument
1047 android_media_MediaDrm_getSecureStops( JNIEnv *env, jobject thiz) argument
1068 android_media_MediaDrm_getSecureStop( JNIEnv *env, jobject thiz, jbyteArray ssid) argument
1089 android_media_MediaDrm_releaseSecureStops( JNIEnv *env, jobject thiz, jbyteArray jssRelease) argument
1106 android_media_MediaDrm_releaseAllSecureStops( JNIEnv *env, jobject thiz) argument
1121 android_media_MediaDrm_getPropertyString( JNIEnv *env, jobject thiz, jstring jname) argument
1149 android_media_MediaDrm_getPropertyByteArray( JNIEnv *env, jobject thiz, jstring jname) argument
1177 android_media_MediaDrm_setPropertyString( JNIEnv *env, jobject thiz, jstring jname, jstring jvalue) argument
1207 android_media_MediaDrm_setPropertyByteArray( JNIEnv *env, jobject thiz, jstring jname, jbyteArray jvalue) argument
1237 android_media_MediaDrm_setCipherAlgorithmNative( JNIEnv *env, jobject , jobject jdrm, jbyteArray jsessionId, jstring jalgorithm) argument
1261 android_media_MediaDrm_setMacAlgorithmNative( JNIEnv *env, jobject , jobject jdrm, jbyteArray jsessionId, jstring jalgorithm) argument
1286 android_media_MediaDrm_encryptNative( JNIEnv *env, jobject , jobject jdrm, jbyteArray jsessionId, jbyteArray jkeyId, jbyteArray jinput, jbyteArray jiv) argument
1317 android_media_MediaDrm_decryptNative( JNIEnv *env, jobject , jobject jdrm, jbyteArray jsessionId, jbyteArray jkeyId, jbyteArray jinput, jbyteArray jiv) argument
1347 android_media_MediaDrm_signNative( JNIEnv *env, jobject , jobject jdrm, jbyteArray jsessionId, jbyteArray jkeyId, jbyteArray jmessage) argument
1377 android_media_MediaDrm_verifyNative( JNIEnv *env, jobject , jobject jdrm, jbyteArray jsessionId, jbyteArray jkeyId, jbyteArray jmessage, jbyteArray jsignature) argument
1406 android_media_MediaDrm_signRSANative( JNIEnv *env, jobject , jobject jdrm, jbyteArray jsessionId, jstring jalgorithm, jbyteArray jwrappedKey, jbyteArray jmessage) argument
1527 register_android_media_Drm(JNIEnv *env) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES11.java426 // C function void glGetTexEnvfv ( GLenum env, GLenum pname, GLfloat *params )
429 int env,
435 // C function void glGetTexEnvfv ( GLenum env, GLenum pname, GLfloat *params )
438 int env,
443 // C function void glGetTexEnviv ( GLenum env, GLenum pname, GLint *params )
446 int env,
452 // C function void glGetTexEnviv ( GLenum env, GLenum pname, GLint *params )
455 int env,
460 // C function void glGetTexEnvxv ( GLenum env, GLenum pname, GLfixed *params )
463 int env,
428 glGetTexEnvfv( int env, int pname, float[] params, int offset ) argument
437 glGetTexEnvfv( int env, int pname, java.nio.FloatBuffer params ) argument
445 glGetTexEnviv( int env, int pname, int[] params, int offset ) argument
454 glGetTexEnviv( int env, int pname, java.nio.IntBuffer params ) argument
462 glGetTexEnvxv( int env, int pname, int[] params, int offset ) argument
471 glGetTexEnvxv( int env, int pname, java.nio.IntBuffer params ) argument
[all...]
H A DGLES11Ext.java422 // C function void glGetTexEnvxvOES ( GLenum env, GLenum pname, GLfixed *params )
425 int env,
431 // C function void glGetTexEnvxvOES ( GLenum env, GLenum pname, GLfixed *params )
434 int env,
424 glGetTexEnvxvOES( int env, int pname, int[] params, int offset ) argument
433 glGetTexEnvxvOES( int env, int pname, java.nio.IntBuffer params ) argument
H A DGLErrorWrapper.java1148 public void glGetTexEnviv(int env, int pname, int[] params, int offset) { argument
1150 mgl11.glGetTexEnviv(env, pname, params, offset);
1154 public void glGetTexEnviv(int env, int pname, IntBuffer params) { argument
1156 mgl11.glGetTexEnviv(env, pname, params);
1160 public void glGetTexEnvxv(int env, int pname, int[] params, int offset) { argument
1162 mgl11.glGetTexEnvxv(env, pname, params, offset);
1166 public void glGetTexEnvxv(int env, int pname, IntBuffer params) { argument
1168 mgl11.glGetTexEnvxv(env, pname, params);
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11.java352 int env,
359 int env,
365 int env,
372 int env,
351 glGetTexEnviv( int env, int pname, int[] params, int offset ) argument
358 glGetTexEnviv( int env, int pname, java.nio.IntBuffer params ) argument
364 glGetTexEnvxv( int env, int pname, int[] params, int offset ) argument
371 glGetTexEnvxv( int env, int pname, java.nio.IntBuffer params ) argument
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java1438 // C function void glGetTexEnviv ( GLenum env, GLenum pname, GLint *params )
1441 int env,
1447 // C function void glGetTexEnviv ( GLenum env, GLenum pname, GLint *params )
1450 int env,
1455 // C function void glGetTexEnvxv ( GLenum env, GLenum pname, GLfixed *params )
1458 int env,
1464 // C function void glGetTexEnvxv ( GLenum env, GLenum pname, GLfixed *params )
1467 int env,
1440 glGetTexEnviv( int env, int pname, int[] params, int offset ) argument
1449 glGetTexEnviv( int env, int pname, java.nio.IntBuffer params ) argument
1457 glGetTexEnvxv( int env, int pname, int[] params, int offset ) argument
1466 glGetTexEnvxv( int env, int pname, java.nio.IntBuffer params ) argument

Completed in 534 milliseconds

<<1112