Searched refs:class_PE (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/core/jni/ |
D | com_android_server_powerstats_PowerStatsService.cpp | 53 static jclass class_PE; variable 144 powerEntityArray = env->NewObjectArray(infos.size(), class_PE, nullptr); in nativeGetPowerEntityInfo() 147 jobject powerEntity = env->NewObject(class_PE, method_PE_init); in nativeGetPowerEntityInfo() 371 class_PE = (jclass)env->NewGlobalRef(temp); in nativeInit() 372 method_PE_init = env->GetMethodID(class_PE, "<init>", "()V"); in nativeInit() 373 field_PE_id = env->GetFieldID(class_PE, "id", "I"); in nativeInit() 374 field_PE_name = env->GetFieldID(class_PE, "name", "Ljava/lang/String;"); in nativeInit() 375 field_PE_states = env->GetFieldID(class_PE, "states", "[Landroid/hardware/power/stats/State;"); in nativeInit()
|