/frameworks/base/core/jni/ |
D | android_opengl_GLES30.cpp | 72 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 …]
|
D | android_opengl_GLES20.cpp | 72 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 …]
|
D | android_opengl_GLES32.cpp | 70 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 …]
|
D | android_opengl_GLES31.cpp | 70 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 …]
|
D | android_opengl_GLES31Ext.cpp | 71 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 …]
|
D | android_opengl_GLES11Ext.cpp | 72 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 …]
|
D | android_opengl_GLES10.cpp | 72 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 …]
|
D | com_google_android_gles_jni_GLImpl.cpp | 90 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 …]
|
D | android_opengl_GLES11.cpp | 72 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 …]
|
D | android_media_AudioTrack.cpp | 244 static jint android_media_AudioTrack_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_AudioTrack_setup() 246 jint channelPositionMask, jint channelIndexMask, in android_media_AudioTrack_setup() 247 jint audioFormat, jint buffSizeInBytes, jint memoryMode, in android_media_AudioTrack_setup() 249 jboolean offload, jint encapsulationMode, in android_media_AudioTrack_setup() 258 return (jint) AUDIO_JAVA_ERROR; in android_media_AudioTrack_setup() 263 jint* nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioTrack_setup() 266 return (jint) AUDIO_JAVA_ERROR; in android_media_AudioTrack_setup() 276 return (jint) AUDIOTRACK_ERROR_SETUP_NATIVEINITFAILED; in android_media_AudioTrack_setup() 285 return (jint) AUDIO_JAVA_ERROR; in android_media_AudioTrack_setup() 290 return (jint) AUDIO_JAVA_ERROR; in android_media_AudioTrack_setup() [all …]
|
D | android_media_AudioRecord.cpp | 147 static jint android_media_AudioRecord_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_AudioRecord_setup() 148 jobject jaa, jintArray jSampleRate, jint channelMask, in android_media_AudioRecord_setup() 149 jint channelIndexMask, jint audioFormat, in android_media_AudioRecord_setup() 150 jint buffSizeInBytes, jintArray jSession, in android_media_AudioRecord_setup() 152 jint sharedAudioHistoryMs) { in android_media_AudioRecord_setup() 161 return (jint) AUDIO_JAVA_ERROR; in android_media_AudioRecord_setup() 164 jint* nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioRecord_setup() 167 return (jint) AUDIO_JAVA_ERROR; in android_media_AudioRecord_setup() 178 return (jint) AUDIORECORD_ERROR_SETUP_NATIVEINITFAILED; in android_media_AudioRecord_setup() 185 return (jint) AUDIO_JAVA_ERROR; in android_media_AudioRecord_setup() [all …]
|
D | android_util_XmlBlock.cpp | 36 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 …]
|
D | android_media_AudioSystem.cpp | 354 static jint getVectorOfAudioDeviceTypeAddr(JNIEnv *env, jintArray deviceTypes, in getVectorOfAudioDeviceTypeAddr() 358 return (jint)AUDIO_JAVA_BAD_VALUE; in getVectorOfAudioDeviceTypeAddr() 362 return (jint)AUDIO_JAVA_BAD_VALUE; in getVectorOfAudioDeviceTypeAddr() 366 jint *typesPtr = nullptr; in getVectorOfAudioDeviceTypeAddr() 369 return (jint)AUDIO_JAVA_BAD_VALUE; in getVectorOfAudioDeviceTypeAddr() 371 for (jint i = 0; i < deviceCount; i++) { in getVectorOfAudioDeviceTypeAddr() 376 for (jint i = 0; i < deviceCount; i++) { in getVectorOfAudioDeviceTypeAddr() 379 return (jint)AUDIO_JAVA_BAD_VALUE; in getVectorOfAudioDeviceTypeAddr() 388 return (jint)NO_ERROR; in getVectorOfAudioDeviceTypeAddr() 391 static jint [all …]
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
D | glGetTransformFeedbackVarying.cpp | 4 …jint 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 …]
|
D | glGetActiveAttrib.cpp | 4 …jint 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 …]
|
D | glGetActiveUniform.cpp | 4 …jint 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 …]
|
D | glGetDebugMessageLogKHR.cpp | 2 static jint 4 …jint 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() 20 …jint 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()
|
D | glGetDebugMessageLog.cpp | 2 static jint 4 …jint 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() 20 …jint 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()
|
D | glDrawElementsInstancedBaseVertex.cpp | 4 …(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()
|
D | glDrawElementsInstanced.cpp | 4 …(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()
|
/frameworks/base/services/core/jni/gnss/ |
D | AGnssRil.h | 40 virtual jboolean setSetId(jint type, const jstring& setid_string) = 0; 41 virtual jboolean setRefLocation(jint type, jint mcc, jint mnc, jint lac, jlong cid, jint tac, 42 jint pcid, jint arfcn) = 0; 43 virtual jboolean updateNetworkState(jboolean connected, jint type, jboolean roaming, 52 jboolean setSetId(jint type, const jstring& setid_string) override; 53 jboolean setRefLocation(jint type, jint mcc, jint mnc, jint lac, jlong cid, jint tac, jint pcid, 54 jint arfcn) override; 55 jboolean updateNetworkState(jboolean connected, jint type, jboolean roaming, jboolean available, 67 jboolean setSetId(jint type, const jstring& setid_string) override; 68 jboolean setRefLocation(jint type, jint mcc, jint mnc, jint lac, jlong cid, jint, jint, [all …]
|
D | GnssConfiguration.h | 43 virtual jboolean setEmergencySuplPdn(jint enable) = 0; 44 virtual jboolean setSuplVersion(jint version) = 0; 45 virtual jboolean setSuplEs(jint enable) = 0; 46 virtual jboolean setSuplMode(jint mode) = 0; 47 virtual jboolean setGpsLock(jint gpsLock) = 0; 48 virtual jboolean setLppProfile(jint lppProfile) = 0; 49 virtual jboolean setGlonassPositioningProtocol(jint gnssPosProtocol) = 0; 50 virtual jboolean setEsExtensionSec(jint emergencyExtensionSeconds) = 0; 58 jint* constellation_array = env->GetIntArrayElements(constellations, 0); in getBlocklistedSources() 66 jint* sv_id_array = env->GetIntArrayElements(sv_ids, 0); in getBlocklistedSources() [all …]
|
/frameworks/base/services/core/jni/ |
D | com_android_server_lights_LightsService.cpp | 44 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/ |
D | registration.cpp | 19 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/ |
D | jni_gl_frame.h | 30 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 …]
|