Searched refs:railInfo (Results 1 – 1 of 1) sorted by relevance
263 gPowerStatsHalV1_0_ptr->getRailInfo([&env, &channelArray](auto railInfo, auto status) { in nativeGetEnergyMeterInfo() argument267 channelArray = env->NewObjectArray(railInfo.size(), class_C, nullptr); in nativeGetEnergyMeterInfo()268 for (int i = 0; i < railInfo.size(); i++) { in nativeGetEnergyMeterInfo()269 jstring name = env->NewStringUTF(railInfo[i].railName.c_str()); in nativeGetEnergyMeterInfo()270 jstring subsystem = env->NewStringUTF(railInfo[i].subsysName.c_str()); in nativeGetEnergyMeterInfo()272 env->SetIntField(channel, field_C_id, railInfo[i].index); in nativeGetEnergyMeterInfo()