Home
last modified time | relevance | path

Searched refs:subVec (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/jni/
Dcom_android_internal_os_KernelSingleUidTimeReader.cpp29 for (const auto &subVec : vec) s += subVec.size(); in copyVecsToArray() local
32 for (auto &subVec : vec) { in copyVecsToArray() local
33 for (uint32_t i = 0; i < subVec.size(); ++i) subVec[i] /= NSEC_PER_MSEC; in copyVecsToArray()
34 env->SetLongArrayRegion(ar, start, subVec.size(), in copyVecsToArray()
35 reinterpret_cast<const jlong*>(subVec.data())); in copyVecsToArray()
36 start += subVec.size(); in copyVecsToArray()
Dcom_android_internal_os_KernelCpuUidBpfMapReader.cpp48 for (auto &subVec : vec) { in copy2DVecToArray() local
49 for (uint32_t i = 0; i < subVec.size(); ++i) subVec[i] /= NSEC_PER_MSEC; in copy2DVecToArray()
50 env->SetLongArrayRegion(ar, start, subVec.size(), in copy2DVecToArray()
51 reinterpret_cast<const jlong *>(subVec.data())); in copy2DVecToArray()
52 start += subVec.size(); in copy2DVecToArray()
75 for (const auto &subVec : times) s += subVec.size(); in KernelCpuUidFreqTimeBpfMapReader_readBpfData() local
134 for (const auto &subVec : times.policy) s += subVec.size(); in KernelCpuUidClusterTimeBpfMapReader_readBpfData() local
/frameworks/base/services/core/jni/
Dcom_android_server_power_stats_CpuPowerStatsCollector.cpp119 for (const auto &subVec : times) { in flatten() local
120 for (uint32_t i = 0; i < subVec.size(); ++i) { in flatten()
127 out[scalingStep] = subVec[i] / NSEC_PER_MSEC; in flatten()
144 for (const auto &subVec : times) { in combineByBracket() local
145 for (uint32_t i = 0; i < subVec.size(); ++i) { in combineByBracket()
160 brackets[bracket] += subVec[i] / NSEC_PER_MSEC; in combineByBracket()