Home
last modified time | relevance | path

Searched refs:jint (Results 1 – 25 of 332) 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 …]
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_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 …]
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.cpp310 static jint
313 return (jint) check_AudioSystem_Command(AudioSystem::muteMicrophone(on)); in android_media_AudioSystem_muteMicrophone()
325 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) in android_media_AudioSystem_isStreamActive()
333 android_media_AudioSystem_isStreamActiveRemotely(JNIEnv *env, jobject thiz, jint stream, in android_media_AudioSystem_isStreamActiveRemotely()
334 jint inPastMs) in android_media_AudioSystem_isStreamActiveRemotely()
342 android_media_AudioSystem_isSourceActive(JNIEnv *env, jobject thiz, jint source) in android_media_AudioSystem_isSourceActive()
349 static jint
355 static jint
362 static jint
369 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 …]
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()
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()
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()
/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/rs/jni/
Dandroid_renderscript_RenderScript.cpp54 jint len = 0; \
58 jint relFlag = 0; \
212 _env->ReleaseIntArrayElements((jintArray)data, (jint *)ptr, relFlag); \
373 jint* jSizes = _env->GetIntArrayElements(sizeArray, nullptr); in nClosureCreate()
509 jint* jSizes = _env->GetIntArrayElements(sizeArray, nullptr); in nInvokeClosureCreate()
557 jint index, jlong value, jint size) { in nClosureSetArg()
565 jlong fieldID, jlong value, jint size) { in nClosureSetGlobal()
620 nScriptIntrinsicBLAS_Single(JNIEnv *_env, jobject _this, jlong con, jlong id, jint func, jint Trans… in nScriptIntrinsicBLAS_Single()
621 jint TransB, jint Side, jint Uplo, jint Diag, jint M, jint N, jint K, in nScriptIntrinsicBLAS_Single()
622 … jfloat alpha, jlong A, jlong B, jfloat beta, jlong C, jint incX, jint incY, in nScriptIntrinsicBLAS_Single()
[all …]
/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp43 jint len = 0; \
47 jint relFlag = 0; \
180 _env->ReleaseIntArrayElements((jintArray)data, (jint *)ptr, relFlag); \
276 static jboolean nLoadSO(JNIEnv *_env, jobject _this, jboolean useNative, jint targetApi, jstring li… in nLoadSO()
366 jint* jSizes = _env->GetIntArrayElements(sizeArray, nullptr); in nClosureCreate()
474 jint* jSizes = _env->GetIntArrayElements(sizeArray, nullptr); in nInvokeClosureCreate()
518 jint index, jlong value, jint size) { in nClosureSetArg()
526 jlong fieldID, jlong value, jint size) { in nClosureSetGlobal()
585 …BLAS_Single(JNIEnv *_env, jobject _this, jlong con, jlong incCon, jlong id, jint func, jint TransA, in nScriptIntrinsicBLAS_Single()
586 jint TransB, jint Side, jint Uplo, jint Diag, jint M, jint N, jint K, in nScriptIntrinsicBLAS_Single()
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaProfiles.cpp47 static jint
51 return (jint) sProfiles->getOutputFileFormats().size(); in android_media_MediaProfiles_native_get_num_file_formats()
54 static jint
55 android_media_MediaProfiles_native_get_file_format(JNIEnv *env, jobject /* thiz */, jint index) in android_media_MediaProfiles_native_get_file_format()
64 return static_cast<jint>(formats[index]); in android_media_MediaProfiles_native_get_file_format()
67 static jint
76 jint index) in android_media_MediaProfiles_native_get_video_encoder_cap()
119 static jint
123 return (jint) sProfiles->getAudioEncoders().size(); in android_media_MediaProfiles_native_get_num_audio_encoders()
128 jint index) in android_media_MediaProfiles_native_get_audio_encoder_cap()
[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()

12345678910>>...14