Home
last modified time | relevance | path

Searched refs:jint (Results 1 – 25 of 335) sorted by relevance

12345678910>>...14

/frameworks/base/core/jni/
Dandroid_opengl_GLES30.cpp72 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer()
74 jint position; in getPointer()
75 jint limit; in getPointer()
76 jint elementSizeShift; in getPointer()
173 static void Release(JNIEnv* _env, jintArray array, jint* data, jboolean commit) { in Release()
211 jint position; in getDirectBufferPointer()
212 jint limit; in getDirectBufferPointer()
213 jint elementSizeShift; in getDirectBufferPointer()
324 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) { in get()
325 jint _exception = 0; in get()
[all …]
Dandroid_opengl_GLES20.cpp72 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer()
74 jint position; in getPointer()
75 jint limit; in getPointer()
76 jint elementSizeShift; in getPointer()
173 static void Release(JNIEnv* _env, jintArray array, jint* data, jboolean commit) { in Release()
211 jint position; in getDirectBufferPointer()
212 jint limit; in getDirectBufferPointer()
213 jint elementSizeShift; in getDirectBufferPointer()
324 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) { in get()
325 jint _exception = 0; in get()
[all …]
Dandroid_opengl_GLES32.cpp70 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer()
72 jint position; in getPointer()
73 jint limit; in getPointer()
74 jint elementSizeShift; in getPointer()
171 static void Release(JNIEnv* _env, jintArray array, jint* data, jboolean commit) { in Release()
209 jint position; in getDirectBufferPointer()
210 jint limit; in getDirectBufferPointer()
211 jint elementSizeShift; in getDirectBufferPointer()
322 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) { in get()
323 jint _exception = 0; in get()
[all …]
Dandroid_opengl_GLES31.cpp70 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer()
72 jint position; in getPointer()
73 jint limit; in getPointer()
74 jint elementSizeShift; in getPointer()
171 static void Release(JNIEnv* _env, jintArray array, jint* data, jboolean commit) { in Release()
209 jint position; in getDirectBufferPointer()
210 jint limit; in getDirectBufferPointer()
211 jint elementSizeShift; in getDirectBufferPointer()
322 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) { in get()
323 jint _exception = 0; in get()
[all …]
Dandroid_opengl_GLES31Ext.cpp71 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer()
73 jint position; in getPointer()
74 jint limit; in getPointer()
75 jint elementSizeShift; in getPointer()
172 static void Release(JNIEnv* _env, jintArray array, jint* data, jboolean commit) { in Release()
210 jint position; in getDirectBufferPointer()
211 jint limit; in getDirectBufferPointer()
212 jint elementSizeShift; in getDirectBufferPointer()
323 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) { in get()
324 jint _exception = 0; in get()
[all …]
Dandroid_opengl_GLES11Ext.cpp72 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer()
74 jint position; in getPointer()
75 jint limit; in getPointer()
76 jint elementSizeShift; in getPointer()
173 static void Release(JNIEnv* _env, jintArray array, jint* data, jboolean commit) { in Release()
211 jint position; in getDirectBufferPointer()
212 jint limit; in getDirectBufferPointer()
213 jint elementSizeShift; in getDirectBufferPointer()
324 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) { in get()
325 jint _exception = 0; in get()
[all …]
Dandroid_opengl_GLES10.cpp72 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer()
74 jint position; in getPointer()
75 jint limit; in getPointer()
76 jint elementSizeShift; in getPointer()
173 static void Release(JNIEnv* _env, jintArray array, jint* data, jboolean commit) { in Release()
211 jint position; in getDirectBufferPointer()
212 jint limit; in getDirectBufferPointer()
213 jint elementSizeShift; in getDirectBufferPointer()
324 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) { in get()
325 jint _exception = 0; in get()
[all …]
Dandroid_server_NetworkManagementSocketTagger.cpp33 static jint QTagUid_tagSocketFd(JNIEnv* env, jclass, in QTagUid_tagSocketFd()
35 jint tagNum, jint uid) { in QTagUid_tagSocketFd()
40 return (jint)-1; in QTagUid_tagSocketFd()
45 return (jint)-errno; in QTagUid_tagSocketFd()
47 return (jint)res; in QTagUid_tagSocketFd()
50 static jint QTagUid_untagSocketFd(JNIEnv* env, jclass, in QTagUid_untagSocketFd()
56 return (jint)-1; in QTagUid_untagSocketFd()
61 return (jint)-errno; in QTagUid_untagSocketFd()
63 return (jint)res; in QTagUid_untagSocketFd()
66 static jint QTagUid_setCounterSet(JNIEnv* env, jclass, in QTagUid_setCounterSet()
[all …]
Dcom_google_android_gles_jni_GLImpl.cpp90 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer()
92 jint position; in getPointer()
93 jint limit; in getPointer()
94 jint elementSizeShift; in getPointer()
127 jint position; in getDirectBufferPointer()
128 jint limit; in getDirectBufferPointer()
129 jint elementSizeShift; in getDirectBufferPointer()
210 (JNIEnv *_env, jobject _this, jint texture) { in android_glActiveTexture__I()
219 (JNIEnv *_env, jobject _this, jint func, jfloat ref) { in android_glAlphaFunc__IF()
229 (JNIEnv *_env, jobject _this, jint func, jint ref) { in android_glAlphaFuncx__II()
[all …]
Dandroid_opengl_GLES11.cpp72 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer()
74 jint position; in getPointer()
75 jint limit; in getPointer()
76 jint elementSizeShift; in getPointer()
173 static void Release(JNIEnv* _env, jintArray array, jint* data, jboolean commit) { in Release()
211 jint position; in getDirectBufferPointer()
212 jint limit; in getDirectBufferPointer()
213 jint elementSizeShift; in getDirectBufferPointer()
324 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) { in get()
325 jint _exception = 0; in get()
[all …]
Dandroid_media_AudioTrack.cpp216 static jint
218 jintArray jSampleRate, jint channelPositionMask, jint channelIndexMask, in android_media_AudioTrack_setup()
219 jint audioFormat, jint buffSizeInBytes, jint memoryMode, jintArray jSession, in android_media_AudioTrack_setup()
231 return (jint) AUDIO_JAVA_ERROR; in android_media_AudioTrack_setup()
234 jint* nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioTrack_setup()
237 return (jint) AUDIO_JAVA_ERROR; in android_media_AudioTrack_setup()
248 return (jint) AUDIOTRACK_ERROR_SETUP_NATIVEINITFAILED; in android_media_AudioTrack_setup()
255 return (jint) AUDIO_JAVA_ERROR; in android_media_AudioTrack_setup()
260 return (jint) AUDIO_JAVA_ERROR; in android_media_AudioTrack_setup()
272 return (jint) AUDIOTRACK_ERROR_SETUP_INVALIDCHANNELMASK; in android_media_AudioTrack_setup()
[all …]
Dandroid_util_XmlBlock.cpp36 jint off, jint len) in android_content_XmlBlock_nativeCreate()
75 jlong token, jint res_id) in android_content_XmlBlock_nativeCreateParseState()
95 static jint android_content_XmlBlock_nativeNext(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeNext()
129 static jint android_content_XmlBlock_nativeGetNamespace(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeGetNamespace()
137 return static_cast<jint>(st->getElementNamespaceID()); in android_content_XmlBlock_nativeGetNamespace()
140 static jint android_content_XmlBlock_nativeGetName(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeGetName()
148 return static_cast<jint>(st->getElementNameID()); in android_content_XmlBlock_nativeGetName()
151 static jint android_content_XmlBlock_nativeGetText(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeGetText()
159 return static_cast<jint>(st->getTextID()); in android_content_XmlBlock_nativeGetText()
162 static jint android_content_XmlBlock_nativeGetLineNumber(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeGetLineNumber()
[all …]
Dandroid_media_AudioRecord.cpp184 static jint
186 jobject jaa, jintArray jSampleRate, jint channelMask, jint channelIndexMask, in android_media_AudioRecord_setup()
187 jint audioFormat, jint buffSizeInBytes, jintArray jSession, jstring opPackageName, in android_media_AudioRecord_setup()
198 return (jint) AUDIO_JAVA_ERROR; in android_media_AudioRecord_setup()
201 jint* nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioRecord_setup()
204 return (jint) AUDIO_JAVA_ERROR; in android_media_AudioRecord_setup()
216 return (jint) AUDIORECORD_ERROR_SETUP_NATIVEINITFAILED; in android_media_AudioRecord_setup()
223 return (jint) AUDIO_JAVA_ERROR; in android_media_AudioRecord_setup()
228 return (jint) AUDIO_JAVA_ERROR; in android_media_AudioRecord_setup()
230 jint elements[1]; in android_media_AudioRecord_setup()
[all …]
Dandroid_media_AudioSystem.cpp309 static jint
312 return (jint) check_AudioSystem_Command(AudioSystem::muteMicrophone(on)); in android_media_AudioSystem_muteMicrophone()
324 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) in android_media_AudioSystem_isStreamActive()
332 android_media_AudioSystem_isStreamActiveRemotely(JNIEnv *env, jobject thiz, jint stream, in android_media_AudioSystem_isStreamActiveRemotely()
333 jint inPastMs) in android_media_AudioSystem_isStreamActiveRemotely()
341 android_media_AudioSystem_isSourceActive(JNIEnv *env, jobject thiz, jint source) in android_media_AudioSystem_isSourceActive()
348 static jint
354 static jint
361 static jint
368 static jint
[all …]
/frameworks/native/opengl/tools/glgen/stubs/gles11/
DglGetTransformFeedbackVarying.cpp4jint program, jint index, jint bufsize, jintArray length_ref, jint lengthOffset, jintArray size_re… in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI()
5 jint _exception = 0; in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI()
9 jint _lengthRemaining; in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI()
12 jint _sizeRemaining; in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI()
15 jint _typeRemaining; in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI()
18 jint _nameRemaining; in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI()
101 _env->ReleaseIntArrayElements(type_ref, (jint*)type_base, in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI()
105 _env->ReleaseIntArrayElements(size_ref, (jint*)size_base, in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI()
109 _env->ReleaseIntArrayElements(length_ref, (jint*)length_base, in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI()
120 …(JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jobject length_buf, jobject … in android_glGetTransformFeedbackVarying__IIILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2B()
[all …]
DglGetActiveAttrib.cpp4jint program, jint index, jint bufsize, jintArray length_ref, jint lengthOffset, jintArray size_re… in android_glGetActiveAttrib__III_3II_3II_3II_3BI()
5 jint _exception = 0; in android_glGetActiveAttrib__III_3II_3II_3II_3BI()
9 jint _lengthRemaining; in android_glGetActiveAttrib__III_3II_3II_3II_3BI()
12 jint _sizeRemaining; in android_glGetActiveAttrib__III_3II_3II_3II_3BI()
15 jint _typeRemaining; in android_glGetActiveAttrib__III_3II_3II_3II_3BI()
18 jint _nameRemaining; in android_glGetActiveAttrib__III_3II_3II_3II_3BI()
101 _env->ReleaseIntArrayElements(type_ref, (jint*)type_base, in android_glGetActiveAttrib__III_3II_3II_3II_3BI()
105 _env->ReleaseIntArrayElements(size_ref, (jint*)size_base, in android_glGetActiveAttrib__III_3II_3II_3II_3BI()
109 _env->ReleaseIntArrayElements(length_ref, (jint*)length_base, in android_glGetActiveAttrib__III_3II_3II_3II_3BI()
120 …(JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jobject length_buf, jobject … in android_glGetActiveAttrib__IIILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2B()
[all …]
DglGetActiveUniform.cpp4jint program, jint index, jint bufsize, jintArray length_ref, jint lengthOffset, jintArray size_re… in android_glGetActiveUniform__III_3II_3II_3II_3BI()
5 jint _exception = 0; in android_glGetActiveUniform__III_3II_3II_3II_3BI()
9 jint _lengthRemaining; in android_glGetActiveUniform__III_3II_3II_3II_3BI()
12 jint _sizeRemaining; in android_glGetActiveUniform__III_3II_3II_3II_3BI()
15 jint _typeRemaining; in android_glGetActiveUniform__III_3II_3II_3II_3BI()
18 jint _nameRemaining; in android_glGetActiveUniform__III_3II_3II_3II_3BI()
101 _env->ReleaseIntArrayElements(type_ref, (jint*)type_base, in android_glGetActiveUniform__III_3II_3II_3II_3BI()
105 _env->ReleaseIntArrayElements(size_ref, (jint*)size_base, in android_glGetActiveUniform__III_3II_3II_3II_3BI()
109 _env->ReleaseIntArrayElements(length_ref, (jint*)length_base, in android_glGetActiveUniform__III_3II_3II_3II_3BI()
120 …(JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jobject length_buf, jobject … in android_glGetActiveUniform__IIILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2B()
[all …]
DglGetDebugMessageLog.cpp2 static jint
4jint count, jint bufSize, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typ… in android_glGetDebugMessageLog__II_3II_3II_3II_3II_3II_3BI()
12 …(JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref,… in android_glGetDebugMessageLog__ILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_ByteBuffer_2()
20jint count, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jint… in android_glGetDebugMessageLog__I_3II_3II_3II_3II()
28 …(JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref,… in android_glGetDebugMessageLog__ILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
DglGetDebugMessageLogKHR.cpp2 static jint
4jint count, jint bufSize, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typ… in android_glGetDebugMessageLogKHR__II_3II_3II_3II_3II_3II_3BI()
12 …(JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref,… in android_glGetDebugMessageLogKHR__ILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_ByteBuffer_2()
20jint count, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jint… in android_glGetDebugMessageLogKHR__I_3II_3II_3II_3II()
28 …(JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref,… in android_glGetDebugMessageLogKHR__ILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
DglDrawElementsInstancedBaseVertex.cpp4 …(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instance… in android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II()
5 jint _exception = 0; in android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II()
9 jint _bufferOffset = (jint) 0; in android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II()
10 jint _remaining; in android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II()
42 …(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceC… in android_glDrawElementsInstancedBaseVertex__IIIIII()
DglDrawElementsInstanced.cpp4 …(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instance… in android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I()
6 jint _bufferOffset = (jint) 0; in android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I()
7 jint _remaining; in android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I()
30 …(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceC… in android_glDrawElementsInstanced__IIIII()
DglGetActiveUniformBlockName.cpp4 …v, jobject _this, jint program, jint uniformBlockIndex, int bufSize, jintArray length_ref, jint le… in android_glGetActiveUniformBlockName_III_3II_3BI()
5 jint _exception = 0; in android_glGetActiveUniformBlockName_III_3II_3BI()
9 jint _lengthRemaining; in android_glGetActiveUniformBlockName_III_3II_3BI()
12 jint _nameRemaining; in android_glGetActiveUniformBlockName_III_3II_3BI()
59 _env->ReleaseIntArrayElements(length_ref, (jint*)_length_base, in android_glGetActiveUniformBlockName_III_3II_3BI()
70 …(JNIEnv* _env, jobject _this, jint program, jint uniformBlockIndex, jobject length_buf, jobject un… in android_glGetActiveUniformBlockName_IILjava_nio_Buffer_2Ljava_nio_Buffer_2()
71 jint _exception = 0; in android_glGetActiveUniformBlockName_IILjava_nio_Buffer_2Ljava_nio_Buffer_2()
75 jint _lengthBufferOffset = (jint)0; in android_glGetActiveUniformBlockName_IILjava_nio_Buffer_2Ljava_nio_Buffer_2()
77 jint _lengthRemaining; in android_glGetActiveUniformBlockName_IILjava_nio_Buffer_2Ljava_nio_Buffer_2()
79 jint _nameBufferOffset = (jint)0; in android_glGetActiveUniformBlockName_IILjava_nio_Buffer_2Ljava_nio_Buffer_2()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_lights_LightsService.cpp44 static bool validate(jint light, jint flash, jint brightness) { in validate()
47 if (light < 0 || light >= static_cast<jint>(Type::COUNT)) { in validate()
52 if (flash != static_cast<jint>(Flash::NONE) && in validate()
53 flash != static_cast<jint>(Flash::TIMED) && in validate()
54 flash != static_cast<jint>(Flash::HARDWARE)) { in validate()
59 if (brightness != static_cast<jint>(Brightness::USER) && in validate()
60 brightness != static_cast<jint>(Brightness::SENSOR) && in validate()
61 brightness != static_cast<jint>(Brightness::LOW_PERSISTENCE)) { in validate()
66 if (brightness == static_cast<jint>(Brightness::LOW_PERSISTENCE) && in validate()
67 light != static_cast<jint>(Type::BACKLIGHT)) { in validate()
[all …]
/frameworks/base/core/tests/utiltests/jni/
Dregistration.cpp19 extern jint android_util_MemoryIntArrayTest_createAshmem(JNIEnv* env,
20 jobject clazz, jstring name, jint size);
22 jobject clazz, jint fd, jint size);
25 JNIEXPORT jint JNICALL Java_android_util_MemoryIntArrayTest_nativeCreateAshmem(
26 JNIEnv * env, jobject obj, jstring name, jint size);
28 JNIEnv * env, jobject obj, jint fd, jint size);
31 JNIEXPORT jint JNICALL Java_android_util_MemoryIntArrayTest_nativeCreateAshmem( in Java_android_util_MemoryIntArrayTest_nativeCreateAshmem()
33 jstring name, jint size) in Java_android_util_MemoryIntArrayTest_nativeCreateAshmem()
40 jint fd, jint size) in Java_android_util_MemoryIntArrayTest_nativeSetAshmemSize()
/frameworks/base/media/mca/filterfw/jni/
Djni_gl_frame.h30 jint width,
31 jint height);
37 jint tex_id,
38 jint width,
39 jint height);
45 jint fbo_id,
46 jint width,
47 jint height);
73 jint offset,
74 jint length);
[all …]

12345678910>>...14