/frameworks/base/core/jni/ |
D | android_opengl_GLES30.cpp | 73 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() 75 jint position; in getPointer() 76 jint limit; in getPointer() 77 jint elementSizeShift; in getPointer() 174 static void Release(JNIEnv* _env, jintArray array, jint* data, jboolean commit) { in Release() 212 jint position; in getDirectBufferPointer() 213 jint limit; in getDirectBufferPointer() 214 jint elementSizeShift; in getDirectBufferPointer() 325 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) { in get() 326 jint _exception = 0; in get() [all …]
|
D | android_opengl_GLES20.cpp | 73 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() 75 jint position; in getPointer() 76 jint limit; in getPointer() 77 jint elementSizeShift; in getPointer() 174 static void Release(JNIEnv* _env, jintArray array, jint* data, jboolean commit) { in Release() 212 jint position; in getDirectBufferPointer() 213 jint limit; in getDirectBufferPointer() 214 jint elementSizeShift; in getDirectBufferPointer() 325 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) { in get() 326 jint _exception = 0; in get() [all …]
|
D | android_opengl_GLES32.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_GLES31.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_GLES31Ext.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_GLES11Ext.cpp | 73 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() 75 jint position; in getPointer() 76 jint limit; in getPointer() 77 jint elementSizeShift; in getPointer() 174 static void Release(JNIEnv* _env, jintArray array, jint* data, jboolean commit) { in Release() 212 jint position; in getDirectBufferPointer() 213 jint limit; in getDirectBufferPointer() 214 jint elementSizeShift; in getDirectBufferPointer() 325 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) { in get() 326 jint _exception = 0; in get() [all …]
|
D | android_opengl_GLES10.cpp | 73 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() 75 jint position; in getPointer() 76 jint limit; in getPointer() 77 jint elementSizeShift; in getPointer() 174 static void Release(JNIEnv* _env, jintArray array, jint* data, jboolean commit) { in Release() 212 jint position; in getDirectBufferPointer() 213 jint limit; in getDirectBufferPointer() 214 jint elementSizeShift; in getDirectBufferPointer() 325 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) { in get() 326 jint _exception = 0; in get() [all …]
|
D | com_google_android_gles_jni_GLImpl.cpp | 91 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() 93 jint position; in getPointer() 94 jint limit; in getPointer() 95 jint elementSizeShift; in getPointer() 128 jint position; in getDirectBufferPointer() 129 jint limit; in getDirectBufferPointer() 130 jint elementSizeShift; in getDirectBufferPointer() 211 (JNIEnv *_env, jobject _this, jint texture) { in android_glActiveTexture__I() 220 (JNIEnv *_env, jobject _this, jint func, jfloat ref) { in android_glAlphaFunc__IF() 230 (JNIEnv *_env, jobject _this, jint func, jint ref) { in android_glAlphaFuncx__II() [all …]
|
D | android_opengl_GLES11.cpp | 73 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) in getPointer() 75 jint position; in getPointer() 76 jint limit; in getPointer() 77 jint elementSizeShift; in getPointer() 174 static void Release(JNIEnv* _env, jintArray array, jint* data, jboolean commit) { in Release() 212 jint position; in getDirectBufferPointer() 213 jint limit; in getDirectBufferPointer() 214 jint elementSizeShift; in getDirectBufferPointer() 325 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) { in get() 326 jint _exception = 0; in get() [all …]
|
D | android_util_XmlBlock.cpp | 39 jint off, jint len) in android_content_XmlBlock_nativeCreate() 78 jlong token, jint res_id) in android_content_XmlBlock_nativeCreateParseState() 98 static jint android_content_XmlBlock_nativeNext(CRITICAL_JNI_PARAMS_COMMA jlong token) { in android_content_XmlBlock_nativeNext() 128 static jint android_content_XmlBlock_nativeGetNamespace(CRITICAL_JNI_PARAMS_COMMA jlong token) { in android_content_XmlBlock_nativeGetNamespace() 134 return static_cast<jint>(st->getElementNamespaceID()); in android_content_XmlBlock_nativeGetNamespace() 137 static jint android_content_XmlBlock_nativeGetName(CRITICAL_JNI_PARAMS_COMMA jlong token) { in android_content_XmlBlock_nativeGetName() 143 return static_cast<jint>(st->getElementNameID()); in android_content_XmlBlock_nativeGetName() 146 static jint android_content_XmlBlock_nativeGetText(CRITICAL_JNI_PARAMS_COMMA jlong token) { in android_content_XmlBlock_nativeGetText() 152 return static_cast<jint>(st->getTextID()); in android_content_XmlBlock_nativeGetText() 155 static jint android_content_XmlBlock_nativeGetLineNumber(CRITICAL_JNI_PARAMS_COMMA jlong token) { in android_content_XmlBlock_nativeGetLineNumber() [all …]
|
D | android_media_AudioRecord.cpp | 143 static jint android_media_AudioRecord_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_AudioRecord_setup() 144 jobject jaa, jintArray jSampleRate, jint channelMask, in android_media_AudioRecord_setup() 145 jint channelIndexMask, jint audioFormat, in android_media_AudioRecord_setup() 146 jint buffSizeInBytes, jintArray jSession, in android_media_AudioRecord_setup() 148 jint sharedAudioHistoryMs, in android_media_AudioRecord_setup() 149 jint halFlags) { in android_media_AudioRecord_setup() 158 return (jint) AUDIO_JAVA_ERROR; in android_media_AudioRecord_setup() 161 jint* nSession = env->GetIntArrayElements(jSession, nullptr /* isCopy */); in android_media_AudioRecord_setup() 164 return (jint) AUDIO_JAVA_ERROR; in android_media_AudioRecord_setup() 175 return (jint) AUDIORECORD_ERROR_SETUP_NATIVEINITFAILED; in android_media_AudioRecord_setup() [all …]
|
D | android_media_AudioTrack.cpp | 243 static jint android_media_AudioTrack_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_AudioTrack_setup() 245 jint channelPositionMask, jint channelIndexMask, in android_media_AudioTrack_setup() 246 jint audioFormat, jint buffSizeInBytes, jint memoryMode, in android_media_AudioTrack_setup() 249 jint encapsulationMode, jobject tunerConfiguration, in android_media_AudioTrack_setup() 258 return (jint) AUDIO_JAVA_ERROR; in android_media_AudioTrack_setup() 263 jint* nSession = env->GetIntArrayElements(jSession, nullptr /* isCopy */); 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 …]
|
/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, 46 virtual jboolean injectNiSuplMessageData(const jbyteArray& msgData, jint length, 47 jint slotIndex) = 0; 54 jboolean setSetId(jint type, const jstring& setid_string) override; 55 jboolean setRefLocation(jint type, jint mcc, jint mnc, jint lac, jlong cid, jint tac, jint pcid, 56 jint arfcn) override; 57 jboolean updateNetworkState(jboolean connected, jint type, jboolean roaming, jboolean available, [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/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 | 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 | 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 | 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/apct-tests/perftests/core/jni/ |
D | SystemPerfTest.cpp | 24 static void jintarrayArgumentNoop(JNIEnv*, jclass, jintArray, jint) { in jintarrayArgumentNoop() argument 27 static jint jintarrayGetLength(JNIEnv* env, jclass, jintArray jarray) { in jintarrayGetLength() 29 return static_cast<jint>(len); in jintarrayGetLength() 32 static jint jintarrayCriticalAccess(JNIEnv* env, jclass, jintArray jarray, jint index) { in jintarrayCriticalAccess() 37 jint* data = (jint*) env->GetPrimitiveArrayCritical(jarray, 0); in jintarrayCriticalAccess() 38 jint ret = data[index]; in jintarrayCriticalAccess() 43 static jint jintarrayBasicAccess(JNIEnv* env, jclass, jintArray jarray, jint index) { in jintarrayBasicAccess() 48 jint* data = env->GetIntArrayElements(jarray, 0); in jintarrayBasicAccess() 49 jint ret = data[index]; in jintarrayBasicAccess() 54 static jint jintFastNativeAccess(JNIEnv*, jclass, jint number) { in jintFastNativeAccess() [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 …]
|