/frameworks/base/core/jni/ |
H A D | android_media_AudioRecord.cpp | 205 jclass clazz = env->GetObjectClass(thiz); local 206 if (clazz == NULL) { 235 lpCallbackData->audioRecord_class = (jclass)env->NewGlobalRef(clazz);
|
H A D | android_os_Debug.cpp | 90 static jlong android_os_Debug_getNativeHeapSize(JNIEnv *env, jobject clazz) argument 100 static jlong android_os_Debug_getNativeHeapAllocatedSize(JNIEnv *env, jobject clazz) argument 110 static jlong android_os_Debug_getNativeHeapFreeSize(JNIEnv *env, jobject clazz) argument 243 static void android_os_Debug_getDirtyPagesPid(JNIEnv *env, jobject clazz, argument 280 static void android_os_Debug_getDirtyPages(JNIEnv *env, jobject clazz, jobject object) argument 282 android_os_Debug_getDirtyPagesPid(env, clazz, getpid(), object); 285 static jlong android_os_Debug_getPssPid(JNIEnv *env, jobject clazz, jint pid) argument 313 static jlong android_os_Debug_getPss(JNIEnv *env, jobject clazz) argument 315 return android_os_Debug_getPssPid(env, clazz, getpid()); 351 static jint android_os_Debug_getBinderSentTransactions(JNIEnv *env, jobject clazz) argument 356 android_os_getBinderReceivedTransactions(JNIEnv *env, jobject clazz) argument 507 android_os_Debug_dumpNativeHeap(JNIEnv* env, jobject clazz, jobject fileDescriptor) argument 544 android_os_Debug_dumpNativeBacktraceToFile(JNIEnv* env, jobject clazz, jint pid, jstring fileName) argument 610 jclass clazz = env->FindClass("android/os/Debug$MemoryInfo"); local [all...] |
H A D | android_os_Parcel.cpp | 64 jclass clazz; member in struct:android::parcel_offsets_t 84 return env->CallStaticObjectMethod(gParcelOffsets.clazz, gParcelOffsets.obtain); 92 static jint android_os_Parcel_dataSize(JNIEnv* env, jclass clazz, jint nativePtr) argument 98 static jint android_os_Parcel_dataAvail(JNIEnv* env, jclass clazz, jint nativePtr) argument 104 static jint android_os_Parcel_dataPosition(JNIEnv* env, jclass clazz, jint nativePtr) argument 110 static jint android_os_Parcel_dataCapacity(JNIEnv* env, jclass clazz, jint nativePtr) argument 116 static void android_os_Parcel_setDataSize(JNIEnv* env, jclass clazz, jint nativePtr, jint size) argument 122 signalExceptionForError(env, clazz, err); 127 static void android_os_Parcel_setDataPosition(JNIEnv* env, jclass clazz, jint nativePtr, jint pos) argument 135 static void android_os_Parcel_setDataCapacity(JNIEnv* env, jclass clazz, jin argument 146 android_os_Parcel_pushAllowFds(JNIEnv* env, jclass clazz, jint nativePtr, jboolean allowFds) argument 156 android_os_Parcel_restoreAllowFds(JNIEnv* env, jclass clazz, jint nativePtr, jboolean lastValue) argument 164 android_os_Parcel_writeNative(JNIEnv* env, jclass clazz, jint nativePtr, jobject data, jint offset, jint length) argument 191 android_os_Parcel_writeInt(JNIEnv* env, jclass clazz, jint nativePtr, jint val) argument 199 android_os_Parcel_writeLong(JNIEnv* env, jclass clazz, jint nativePtr, jlong val) argument 210 android_os_Parcel_writeFloat(JNIEnv* env, jclass clazz, jint nativePtr, jfloat val) argument 221 android_os_Parcel_writeDouble(JNIEnv* env, jclass clazz, jint nativePtr, jdouble val) argument 232 android_os_Parcel_writeString(JNIEnv* env, jclass clazz, jint nativePtr, jstring val) argument 252 android_os_Parcel_writeStrongBinder(JNIEnv* env, jclass clazz, jint nativePtr, jobject object) argument 263 android_os_Parcel_writeFileDescriptor(JNIEnv* env, jclass clazz, jint nativePtr, jobject object) argument 275 android_os_Parcel_createByteArray(JNIEnv* env, jclass clazz, jint nativePtr) argument 301 android_os_Parcel_readInt(JNIEnv* env, jclass clazz, jint nativePtr) argument 310 android_os_Parcel_readLong(JNIEnv* env, jclass clazz, jint nativePtr) argument 319 android_os_Parcel_readFloat(JNIEnv* env, jclass clazz, jint nativePtr) argument 328 android_os_Parcel_readDouble(JNIEnv* env, jclass clazz, jint nativePtr) argument 337 android_os_Parcel_readString(JNIEnv* env, jclass clazz, jint nativePtr) argument 351 android_os_Parcel_readStrongBinder(JNIEnv* env, jclass clazz, jint nativePtr) argument 360 android_os_Parcel_readFileDescriptor(JNIEnv* env, jclass clazz, jint nativePtr) argument 373 android_os_Parcel_openFileDescriptor(JNIEnv* env, jclass clazz, jstring name, jint mode) argument 422 android_os_Parcel_dupFileDescriptor(JNIEnv* env, jclass clazz, jobject orig) argument 446 android_os_Parcel_closeFileDescriptor(JNIEnv* env, jclass clazz, jobject object) argument 460 android_os_Parcel_clearFileDescriptor(JNIEnv* env, jclass clazz, jobject object) argument 472 android_os_Parcel_create(JNIEnv* env, jclass clazz) argument 478 android_os_Parcel_freeBuffer(JNIEnv* env, jclass clazz, jint nativePtr) argument 486 android_os_Parcel_destroy(JNIEnv* env, jclass clazz, jint nativePtr) argument 492 android_os_Parcel_marshall(JNIEnv* env, jclass clazz, jint nativePtr) argument 521 android_os_Parcel_unmarshall(JNIEnv* env, jclass clazz, jint nativePtr, jbyteArray data, jint offset, jint length) argument 542 android_os_Parcel_appendFrom(JNIEnv* env, jclass clazz, jint thisNativePtr, jint otherNativePtr, jint offset, jint length) argument 560 android_os_Parcel_hasFileDescriptors(JNIEnv* env, jclass clazz, jint nativePtr) argument 572 android_os_Parcel_writeInterfaceToken(JNIEnv* env, jclass clazz, jint nativePtr, jstring name) argument 587 android_os_Parcel_enforceInterface(JNIEnv* env, jclass clazz, jint nativePtr, jstring name) argument 676 jclass clazz; local [all...] |
H A D | android_text_format_Time.cpp | 142 static jint android_text_format_Time_compare(JNIEnv* env, jobject clazz, argument
|
H A D | AndroidRuntime.cpp | 188 static void com_android_internal_os_RuntimeInit_nativeFinishInit(JNIEnv* env, jobject clazz) argument 193 static void com_android_internal_os_RuntimeInit_nativeZygoteInit(JNIEnv* env, jobject clazz) argument 199 jobject clazz, jboolean exitWithoutCleanup) 264 jclass clazz, int argc, const char* const argv[]) 272 if (clazz == NULL || env == NULL) { 276 methodId = env->GetStaticMethodID(clazz, "main", "([Ljava/lang/String;)V"); 297 env->CallStaticVoidMethod(clazz, methodId, strArray); 1260 JNIEnv* env, jclass clazz) { 1268 jint Java_LoadClass_registerNatives(JNIEnv* env, jclass clazz) { argument 198 com_android_internal_os_RuntimeInit_nativeSetExitWithoutCleanup(JNIEnv* env, jobject clazz, jboolean exitWithoutCleanup) argument 263 callMain(const char* className, jclass clazz, int argc, const char* const argv[]) argument 1259 Java_com_android_internal_util_WithFramework_registerNatives( JNIEnv* env, jclass clazz) argument
|
H A D | android_database_SQLiteConnection.cpp | 65 jclass clazz; member in struct:android::__anon971 111 static jint nativeOpen(JNIEnv* env, jclass clazz, jstring pathStr, jint openFlags, argument 175 static void nativeClose(JNIEnv* env, jclass clazz, jint connectionPtr) { argument 203 jobjectArray argsArray = env->NewObjectArray(argc, gStringClassInfo.clazz, NULL); 245 static void nativeRegisterCustomFunction(JNIEnv* env, jclass clazz, jint connectionPtr, argument 269 static void nativeRegisterLocalizedCollators(JNIEnv* env, jclass clazz, jint connectionPtr, argument 282 static jint nativePrepareStatement(JNIEnv* env, jclass clazz, jint connectionPtr, argument 313 static void nativeFinalizeStatement(JNIEnv* env, jclass clazz, jint connectionPtr, argument 325 static jint nativeGetParameterCount(JNIEnv* env, jclass clazz, jint connectionPtr, argument 333 static jboolean nativeIsReadOnly(JNIEnv* env, jclass clazz, jin argument 341 nativeGetColumnCount(JNIEnv* env, jclass clazz, jint connectionPtr, jint statementPtr) argument 349 nativeGetColumnName(JNIEnv* env, jclass clazz, jint connectionPtr, jint statementPtr, jint index) argument 365 nativeBindNull(JNIEnv* env, jclass clazz, jint connectionPtr, jint statementPtr, jint index) argument 376 nativeBindLong(JNIEnv* env, jclass clazz, jint connectionPtr, jint statementPtr, jint index, jlong value) argument 387 nativeBindDouble(JNIEnv* env, jclass clazz, jint connectionPtr, jint statementPtr, jint index, jdouble value) argument 398 nativeBindString(JNIEnv* env, jclass clazz, jint connectionPtr, jint statementPtr, jint index, jstring valueString) argument 413 nativeBindBlob(JNIEnv* env, jclass clazz, jint connectionPtr, jint statementPtr, jint index, jbyteArray valueArray) argument 427 nativeResetStatementAndClearBindings(JNIEnv* env, jclass clazz, jint connectionPtr, jint statementPtr) argument 452 nativeExecute(JNIEnv* env, jclass clazz, jint connectionPtr, jint statementPtr) argument 460 nativeExecuteForChangedRowCount(JNIEnv* env, jclass clazz, jint connectionPtr, jint statementPtr) argument 469 nativeExecuteForLastInsertedRowId(JNIEnv* env, jclass clazz, jint connectionPtr, jint statementPtr) argument 487 nativeExecuteForLong(JNIEnv* env, jclass clazz, jint connectionPtr, jint statementPtr) argument 499 nativeExecuteForString(JNIEnv* env, jclass clazz, jint connectionPtr, jint statementPtr) argument 549 nativeExecuteForBlobFileDescriptor(JNIEnv* env, jclass clazz, jint connectionPtr, jint statementPtr) argument 666 nativeExecuteForCursorWindow(JNIEnv* env, jclass clazz, jint connectionPtr, jint statementPtr, jint windowPtr, jint startPos, jint requiredPos, jboolean countAllRows) argument 762 nativeGetDbLookaside(JNIEnv* env, jobject clazz, jint connectionPtr) argument 771 nativeCancel(JNIEnv* env, jobject clazz, jint connectionPtr) argument 776 nativeResetCancel(JNIEnv* env, jobject clazz, jint connectionPtr, jboolean cancelable) argument 861 jclass clazz; local [all...] |
H A D | android_hardware_Camera.cpp | 61 JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera); 129 JNICameraContext::JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera) argument 132 mCameraJClass = (jclass)env->NewGlobalRef(clazz); 483 jclass clazz = env->GetObjectClass(thiz); local 484 if (clazz == NULL) { 491 sp<JNICameraContext> context = new JNICameraContext(env, weak_this, clazz, camera); 945 jclass clazz = env->FindClass(f->class_name); local 946 if (clazz == NULL) { 951 jfieldID field = env->GetFieldID(clazz, f->field_name, f->field_type); 986 jclass clazz [all...] |
H A D | android_media_AudioTrack.cpp | 276 jclass clazz = env->GetObjectClass(thiz); local 277 if (clazz == NULL) { 307 lpJniStorage->mCallbackData.audioTrack_class = (jclass)env->NewGlobalRef(clazz);
|
H A D | android_util_Process.cpp | 97 jint android_os_Process_myPid(JNIEnv* env, jobject clazz) argument 102 jint android_os_Process_myUid(JNIEnv* env, jobject clazz) argument 107 jint android_os_Process_myTid(JNIEnv* env, jobject clazz) argument 112 jint android_os_Process_getUidForName(JNIEnv* env, jobject clazz, jstring name) argument 143 jint android_os_Process_getGidForName(JNIEnv* env, jobject clazz, jstring name) argument 174 void android_os_Process_setThreadGroup(JNIEnv* env, jobject clazz, int tid, jint grp) argument 184 void android_os_Process_setProcessGroup(JNIEnv* env, jobject clazz, int pid, jint grp) argument 271 static void android_os_Process_setCanSelfBackground(JNIEnv* env, jobject clazz, jboolean bgOk) { argument 288 void android_os_Process_setThreadScheduler(JNIEnv* env, jclass clazz, argument 303 void android_os_Process_setThreadPriority(JNIEnv* env, jobject clazz, argument 334 android_os_Process_setCallingThreadPriority(JNIEnv* env, jobject clazz, jint pri) argument 341 android_os_Process_getThreadPriority(JNIEnv* env, jobject clazz, jint pid) argument 353 android_os_Process_setOomAdj(JNIEnv* env, jobject clazz, jint pid, jint adj) argument 370 android_os_Process_setArgV0(JNIEnv* env, jobject clazz, jstring name) argument 389 android_os_Process_setUid(JNIEnv* env, jobject clazz, jint uid) argument 394 android_os_Process_setGid(JNIEnv* env, jobject clazz, jint uid) argument 453 android_os_Process_getFreeMemory(JNIEnv* env, jobject clazz) argument 460 android_os_Process_getTotalMemory(JNIEnv* env, jobject clazz) argument 467 android_os_Process_readProcLines(JNIEnv* env, jobject clazz, jstring fileStr, jobjectArray reqFields, jlongArray outFields) argument 578 android_os_Process_getPids(JNIEnv* env, jobject clazz, jstring file, jintArray lastArray) argument 672 android_os_Process_parseProcLineArray(JNIEnv* env, jobject clazz, char* buffer, jint startIndex, jint endIndex, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument 776 android_os_Process_parseProcLine(JNIEnv* env, jobject clazz, jbyteArray buffer, jint startIndex, jint endIndex, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument 791 android_os_Process_readProcFile(JNIEnv* env, jobject clazz, jstring file, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument 828 android_os_Process_setApplicationObject(JNIEnv* env, jobject clazz, jobject binderObject) argument 839 android_os_Process_sendSignal(JNIEnv* env, jobject clazz, jint pid, jint sig) argument 847 android_os_Process_sendSignalQuiet(JNIEnv* env, jobject clazz, jint pid, jint sig) argument 854 android_os_Process_getElapsedCpuTime(JNIEnv* env, jobject clazz) argument 868 android_os_Process_getPss(JNIEnv* env, jobject clazz, jint pid) argument 895 android_os_Process_getPidsForCommands(JNIEnv* env, jobject clazz, jobjectArray commandNames) argument [all...] |
H A D | android_view_MotionEvent.cpp | 37 jclass clazz; member in struct:android::__anon992 81 jobject eventObj = env->CallStaticObjectMethod(gMotionEventClassInfo.clazz, 338 static jint android_view_MotionEvent_nativeInitialize(JNIEnv* env, jclass clazz, argument 390 static jint android_view_MotionEvent_nativeCopy(JNIEnv* env, jclass clazz, argument 401 static void android_view_MotionEvent_nativeDispose(JNIEnv* env, jclass clazz, argument 407 static void android_view_MotionEvent_nativeAddBatch(JNIEnv* env, jclass clazz, argument 433 static jint android_view_MotionEvent_nativeGetDeviceId(JNIEnv* env, jclass clazz, argument 439 static jint android_view_MotionEvent_nativeGetSource(JNIEnv* env, jclass clazz, argument 445 static void android_view_MotionEvent_nativeSetSource(JNIEnv* env, jclass clazz, argument 451 static jint android_view_MotionEvent_nativeGetAction(JNIEnv* env, jclass clazz, argument 457 android_view_MotionEvent_nativeSetAction(JNIEnv* env, jclass clazz, jint nativePtr, jint action) argument 463 android_view_MotionEvent_nativeIsTouchEvent(JNIEnv* env, jclass clazz, jint nativePtr) argument 469 android_view_MotionEvent_nativeGetFlags(JNIEnv* env, jclass clazz, jint nativePtr) argument 475 android_view_MotionEvent_nativeSetFlags(JNIEnv* env, jclass clazz, jint nativePtr, jint flags) argument 481 android_view_MotionEvent_nativeGetEdgeFlags(JNIEnv* env, jclass clazz, jint nativePtr) argument 487 android_view_MotionEvent_nativeSetEdgeFlags(JNIEnv* env, jclass clazz, jint nativePtr, jint edgeFlags) argument 493 android_view_MotionEvent_nativeGetMetaState(JNIEnv* env, jclass clazz, jint nativePtr) argument 499 android_view_MotionEvent_nativeGetButtonState(JNIEnv* env, jclass clazz, jint nativePtr) argument 505 android_view_MotionEvent_nativeOffsetLocation(JNIEnv* env, jclass clazz, jint nativePtr, jfloat deltaX, jfloat deltaY) argument 511 android_view_MotionEvent_nativeGetXOffset(JNIEnv* env, jclass clazz, jint nativePtr) argument 517 android_view_MotionEvent_nativeGetYOffset(JNIEnv* env, jclass clazz, jint nativePtr) argument 523 android_view_MotionEvent_nativeGetXPrecision(JNIEnv* env, jclass clazz, jint nativePtr) argument 529 android_view_MotionEvent_nativeGetYPrecision(JNIEnv* env, jclass clazz, jint nativePtr) argument 535 android_view_MotionEvent_nativeGetDownTimeNanos(JNIEnv* env, jclass clazz, jint nativePtr) argument 541 android_view_MotionEvent_nativeSetDownTimeNanos(JNIEnv* env, jclass clazz, jint nativePtr, jlong downTimeNanos) argument 547 android_view_MotionEvent_nativeGetPointerCount(JNIEnv* env, jclass clazz, jint nativePtr) argument 553 android_view_MotionEvent_nativeGetPointerId(JNIEnv* env, jclass clazz, jint nativePtr, jint pointerIndex) argument 563 android_view_MotionEvent_nativeGetToolType(JNIEnv* env, jclass clazz, jint nativePtr, jint pointerIndex) argument 573 android_view_MotionEvent_nativeFindPointerIndex(JNIEnv* env, jclass clazz, jint nativePtr, jint pointerId) argument 579 android_view_MotionEvent_nativeGetHistorySize(JNIEnv* env, jclass clazz, jint nativePtr) argument 585 android_view_MotionEvent_nativeGetEventTimeNanos(JNIEnv* env, jclass clazz, jint nativePtr, jint historyPos) argument 599 android_view_MotionEvent_nativeGetRawAxisValue(JNIEnv* env, jclass clazz, jint nativePtr, jint axis, jint pointerIndex, jint historyPos) argument 618 android_view_MotionEvent_nativeGetAxisValue(JNIEnv* env, jclass clazz, jint nativePtr, jint axis, jint pointerIndex, jint historyPos) argument 637 android_view_MotionEvent_nativeGetPointerCoords(JNIEnv* env, jclass clazz, jint nativePtr, jint pointerIndex, jint historyPos, jobject outPointerCoordsObj) argument 660 android_view_MotionEvent_nativeGetPointerProperties(JNIEnv* env, jclass clazz, jint nativePtr, jint pointerIndex, jobject outPointerPropertiesObj) argument 673 android_view_MotionEvent_nativeScale(JNIEnv* env, jclass clazz, jint nativePtr, jfloat scale) argument 679 android_view_MotionEvent_nativeTransform(JNIEnv* env, jclass clazz, jint nativePtr, jobject matrixObj) argument 686 android_view_MotionEvent_nativeReadFromParcel(JNIEnv* env, jclass clazz, jint nativePtr, jobject parcelObj) argument 706 android_view_MotionEvent_nativeWriteToParcel(JNIEnv* env, jclass clazz, jint nativePtr, jobject parcelObj) argument 866 jclass clazz; local [all...] |
H A D | android_view_Surface.cpp | 64 jclass clazz; member in struct:android::__anon997 207 return env->IsInstanceOf(obj, gSurfaceClassInfo.clazz); 258 jobject surfaceObj = env->NewObject(gSurfaceClassInfo.clazz, gSurfaceClassInfo.ctor); 484 static jobject nativeScreenshot(JNIEnv* env, jclass clazz, jobject displayTokenObj, argument 522 static void nativeOpenTransaction(JNIEnv* env, jclass clazz) { argument 526 static void nativeCloseTransaction(JNIEnv* env, jclass clazz) { argument 530 static void nativeSetAnimationTransaction(JNIEnv* env, jclass clazz) { argument 652 static jobject nativeGetBuiltInDisplay(JNIEnv* env, jclass clazz, jint id) { argument 657 static jobject nativeCreateDisplay(JNIEnv* env, jclass clazz, jstring nameObj, argument 665 static void nativeSetDisplaySurface(JNIEnv* env, jclass clazz, argument 674 nativeSetDisplayLayerStack(JNIEnv* env, jclass clazz, jobject tokenObj, jint layerStack) argument 682 nativeSetDisplayProjection(JNIEnv* env, jclass clazz, jobject tokenObj, jint orientation, jobject layerStackRectObj, jobject displayRectObj) argument 702 nativeGetDisplayInfo(JNIEnv* env, jclass clazz, jobject tokenObj, jobject infoObj) argument 722 nativeBlankDisplay(JNIEnv* env, jclass clazz, jobject tokenObj) argument 730 nativeUnblankDisplay(JNIEnv* env, jclass clazz, jobject tokenObj) argument 881 jclass clazz = env->FindClass("android/view/Surface"); local [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 73 jclass clazz = env->GetObjectClass(thiz); local 74 CHECK(clazz != NULL); 76 mClass = (jclass)env->NewGlobalRef(clazz); 180 jclass clazz = env->FindClass("android/media/MediaCodec$BufferInfo"); local 182 jmethodID method = env->GetMethodID(clazz, "set", "(IIJI)V"); 302 jclass clazz = env->FindClass("android/media/MediaCodec$CryptoException"); local 303 CHECK(clazz != NULL); 306 env->GetMethodID(clazz, "<init>", "(ILjava/lang/String;)V"); 312 (jthrowable)env->NewObject(clazz, constructID, err, msgObj); 728 jclass clazz local [all...] |
H A D | android_media_MediaExtractor.cpp | 118 jclass clazz = env->GetObjectClass(thiz); local 119 CHECK(clazz != NULL); 121 mClass = (jclass)env->NewGlobalRef(clazz); 608 jclass clazz = env->FindClass("android/media/MediaExtractor"); local 609 CHECK(clazz != NULL); 611 gFields.context = env->GetFieldID(clazz, "mNativeContext", "I"); 614 clazz = env->FindClass("android/media/MediaCodec$CryptoInfo"); 615 CHECK(clazz != NULL); 618 env->GetMethodID(clazz, "set", "(I[I[I[B[BI)V");
|
H A D | android_media_MediaPlayer.cpp | 82 jclass clazz = env->GetObjectClass(thiz); local 83 if (clazz == NULL) { 88 mClass = (jclass)env->NewGlobalRef(clazz); 603 jclass clazz; local 605 clazz = env->FindClass("android/media/MediaPlayer"); 606 if (clazz == NULL) { 610 fields.context = env->GetFieldID(clazz, "mNativeContext", "I"); 615 fields.post_event = env->GetStaticMethodID(clazz, "postEventFromNative", 621 fields.surface_texture = env->GetFieldID(clazz, "mNativeSurfaceTexture", "I");
|
H A D | android_mtp_MtpDatabase.cpp | 1114 jclass clazz; local 1116 clazz = env->FindClass("android/mtp/MtpDatabase"); 1117 if (clazz == NULL) { 1121 method_beginSendObject = env->GetMethodID(clazz, "beginSendObject", "(Ljava/lang/String;IIIJJ)I"); 1126 method_endSendObject = env->GetMethodID(clazz, "endSendObject", "(Ljava/lang/String;IIZ)V"); 1131 method_getObjectList = env->GetMethodID(clazz, "getObjectList", "(III)[I"); 1136 method_getNumObjects = env->GetMethodID(clazz, "getNumObjects", "(III)I"); 1141 method_getSupportedPlaybackFormats = env->GetMethodID(clazz, "getSupportedPlaybackFormats", "()[I"); 1146 method_getSupportedCaptureFormats = env->GetMethodID(clazz, "getSupportedCaptureFormats", "()[I"); 1151 method_getSupportedObjectProperties = env->GetMethodID(clazz, "getSupportedObjectPropertie [all...] |
/frameworks/base/media/jni/audioeffect/ |
H A D | android_media_AudioEffect.cpp | 196 jclass clazz = env->FindClass(kClassPathName); local 197 if (clazz == NULL) { 202 fields.clazzEffect = (jclass)env->NewGlobalRef(clazz); 231 clazz = env->FindClass("android/media/audiofx/AudioEffect$Descriptor"); 232 if (clazz == NULL) { 236 fields.clazzDesc = (jclass)env->NewGlobalRef(clazz); 704 android_media_AudioEffect_native_queryEffects(JNIEnv *env, jclass clazz) argument 783 android_media_AudioEffect_native_queryPreProcessings(JNIEnv *env, jclass clazz, jint audioSession) argument
|
H A D | android_media_Visualizer.cpp | 251 jclass clazz = env->FindClass(kClassPathName); local 252 if (clazz == NULL) { 257 fields.clazzEffect = (jclass)env->NewGlobalRef(clazz);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapFactory.cpp | 395 static jobject nativeDecodeStreamScaled(JNIEnv* env, jobject clazz, jobject is, jbyteArray storage, argument 409 static jobject nativeDecodeStream(JNIEnv* env, jobject clazz, jobject is, jbyteArray storage, argument 412 return nativeDecodeStreamScaled(env, clazz, is, storage, padding, options, false, 1.0f); 425 static jobject nativeDecodeFileDescriptor(JNIEnv* env, jobject clazz, jobject fileDescriptor, argument 489 static jobject nativeDecodeAssetScaled(JNIEnv* env, jobject clazz, jint native_asset, argument 511 static jobject nativeDecodeAsset(JNIEnv* env, jobject clazz, jint native_asset, argument 514 return nativeDecodeAssetScaled(env, clazz, native_asset, padding, options, false, 1.0f); 588 static jfieldID getFieldIDCheck(JNIEnv* env, jclass clazz, argument 590 jfieldID id = env->GetFieldID(clazz, fieldname, type);
|
H A D | Graphics.cpp | 554 static jfieldID getFieldIDCheck(JNIEnv* env, jclass clazz, argument 557 jfieldID id = env->GetFieldID(clazz, fieldname, type);
|
/frameworks/base/drm/jni/ |
H A D | android_drm_DrmManagerClient.cpp | 124 jclass clazz = env->GetObjectClass(object); local 126 fieldID = env->GetFieldID(clazz, fieldName , "I"); 149 jclass clazz = env->GetObjectClass(thiz); local 151 if (clazz == NULL) { 156 mClass = (jclass)env->NewGlobalRef(clazz); 184 jclass clazz = env->FindClass("android/drm/DrmManagerClient"); local 185 jfieldID fieldId = env->GetFieldID(clazz, "mNativeContext", "I"); 200 jclass clazz = env->FindClass("android/drm/DrmManagerClient"); local 201 jfieldID fieldId = env->GetFieldID(clazz, "mNativeContext", "I"); 342 jclass clazz local 434 jclass clazz = env->FindClass("android/drm/DrmInfo"); local 484 jclass clazz = env->FindClass("android/drm/ProcessedData"); local 514 jclass clazz = env->FindClass("android/drm/DrmInfoRequest"); local 765 jclass clazz = env->FindClass("android/drm/DrmManagerClient"); local [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_location_GpsLocationProvider.cpp | 236 static void android_location_GpsLocationProvider_class_init_native(JNIEnv* env, jclass clazz) { argument 240 method_reportLocation = env->GetMethodID(clazz, "reportLocation", "(IDDDFFFJ)V"); 241 method_reportStatus = env->GetMethodID(clazz, "reportStatus", "(I)V"); 242 method_reportSvStatus = env->GetMethodID(clazz, "reportSvStatus", "()V"); 243 method_reportAGpsStatus = env->GetMethodID(clazz, "reportAGpsStatus", "(III)V"); 244 method_reportNmea = env->GetMethodID(clazz, "reportNmea", "(J)V"); 245 method_setEngineCapabilities = env->GetMethodID(clazz, "setEngineCapabilities", "(I)V"); 246 method_xtraDownloadRequest = env->GetMethodID(clazz, "xtraDownloadRequest", "()V"); 247 method_reportNiNotification = env->GetMethodID(clazz, "reportNiNotification", 249 method_requestRefLocation = env->GetMethodID(clazz,"requestRefLocatio 276 android_location_GpsLocationProvider_is_supported(JNIEnv* env, jclass clazz) argument [all...] |
/frameworks/base/voip/jni/rtp/ |
H A D | AudioGroup.cpp | 1064 jclass clazz; local 1065 if ((clazz = env->FindClass("android/net/rtp/AudioGroup")) == NULL || 1066 (gNative = env->GetFieldID(clazz, "mNative", "I")) == NULL || 1067 (gMode = env->GetFieldID(clazz, "mMode", "I")) == NULL || 1068 env->RegisterNatives(clazz, gMethods, NELEM(gMethods)) < 0) {
|
/frameworks/wilhelm/src/itf/ |
H A D | IEngine.c | 783 const ClassTable *clazz = objectIDtoClass(objectID); local 784 if (NULL == clazz) { 789 for (i = 0; i < clazz->mInterfaceCount; ++i) { 790 switch (clazz->mInterfaces[i].mInterface) { 823 const ClassTable *clazz = objectIDtoClass(objectID); local 824 if (NULL == clazz) { 829 for (i = 0; i < clazz->mInterfaceCount; ++i) { 830 switch (clazz->mInterfaces[i].mInterface) { 844 *pInterfaceId = &SL_IID_array[clazz->mInterfaces[i].mMPH];
|
/frameworks/base/media/libdrm/mobile1/src/jni/ |
H A D | drm1_jni.c | 424 jclass clazz; local 427 clazz = (*env)->GetObjectClass(env, obj); 428 if (NULL == clazz) 431 field = (*env)->GetFieldID(env, clazz, name, "I"); 432 (*env)->DeleteLocalRef(env, clazz); 444 jclass clazz; local 447 clazz = (*env)->GetObjectClass(env, obj); 448 if (NULL == clazz) 451 field = (*env)->GetFieldID(env, clazz, name, "I"); 452 (*env)->DeleteLocalRef(env, clazz); 464 jclass clazz; local 533 jclass clazz; local 771 jclass clazz; local 848 jclass clazz; local 1027 jclass clazz; local 1113 jclass clazz; local [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Instrumentation.java | 975 * @param clazz The class used to create an Application object from. 980 static public Application newApplication(Class<?> clazz, Context context) argument 983 Application app = (Application)clazz.newInstance(); 1008 * @param clazz The Class of the desired Activity 1024 public Activity newActivity(Class<?> clazz, Context context, argument 1029 Activity activity = (Activity)clazz.newInstance();
|