Lines Matching defs:env
41 static void nativeGetPagerStats(JNIEnv *env, jobject clazz, jobject statsObj)
51 env->SetIntField(statsObj, gSQLiteDebugPagerStatsClassInfo.memoryUsed, memoryUsed);
52 env->SetIntField(statsObj, gSQLiteDebugPagerStatsClassInfo.pageCacheOverflow,
54 env->SetIntField(statsObj, gSQLiteDebugPagerStatsClassInfo.largestMemAlloc, largestMemAlloc);
67 int register_android_database_SQLiteDebug(JNIEnv *env)
69 jclass clazz = FindClassOrDie(env, "android/database/sqlite/SQLiteDebug$PagerStats");
71 gSQLiteDebugPagerStatsClassInfo.memoryUsed = GetFieldIDOrDie(env, clazz, "memoryUsed", "I");
72 gSQLiteDebugPagerStatsClassInfo.largestMemAlloc = GetFieldIDOrDie(env, clazz,
74 gSQLiteDebugPagerStatsClassInfo.pageCacheOverflow = GetFieldIDOrDie(env, clazz,
77 return RegisterMethodsOrDie(env, "android/database/sqlite/SQLiteDebug",