Home
last modified time | relevance | path

Searched refs:aggregationKey (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/jni/
Dcom_android_internal_os_KernelSingleProcessCpuThreadReader.cpp90 bool startAggregatingTaskCpuTimes(pid_t pid, uint16_t aggregationKey) { in startAggregatingTaskCpuTimes() argument
91 return android::bpf::startAggregatingTaskCpuTimes(pid, aggregationKey); in startAggregatingTaskCpuTimes()
116 bool startAggregatingTaskCpuTimes(pid_t pid, uint16_t aggregationKey);
280 bool MockCpuTimeInStateReader::startAggregatingTaskCpuTimes(pid_t pid, uint16_t aggregationKey) { in startAggregatingTaskCpuTimes() argument
287 return mEnv->CallBooleanMethod(mCpuTimeInStateReader, mid, pid, aggregationKey); in startAggregatingTaskCpuTimes()
308 uint16_t aggregationKey; in getAggregatedTaskCpuFreqTimes() local
313 android::base::ParseUint(fields[0], &aggregationKey); in getAggregatedTaskCpuFreqTimes()
327 map.emplace(aggregationKey, times); in getAggregatedTaskCpuFreqTimes()
/frameworks/native/libs/cputimeinstate/fuzz/cputimeinstate_fuzzer/
Dcputimeinstate_fuzzer.cpp34 uint16_t aggregationKey = fdp.ConsumeIntegral<uint16_t>(); in LLVMFuzzerTestOneInput() local
49 [&]() { startAggregatingTaskCpuTimes(pid, aggregationKey); }, in LLVMFuzzerTestOneInput()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelSingleProcessCpuThreadReaderTest.java103 public boolean startAggregatingTaskCpuTimes(int pid, int aggregationKey) { in startAggregatingTaskCpuTimes() argument
104 mTrackedTasks.add(pid + " " + aggregationKey); in startAggregatingTaskCpuTimes()
/frameworks/native/libs/cputimeinstate/
Dcputimeinstate.h47 bool startAggregatingTaskCpuTimes(pid_t pid, uint16_t aggregationKey);
Dcputimeinstate.cpp603 bool startAggregatingTaskCpuTimes(pid_t pid, uint16_t aggregationKey) { in startAggregatingTaskCpuTimes() argument
610 return writeToMapEntry(taskAggregationMapFd, &pid, &aggregationKey, BPF_ANY) == 0; in startAggregatingTaskCpuTimes()
634 for (uint16_t aggregationKey : aggregationKeys) { in getAggregatedTaskCpuFreqTimes() local
635 map.emplace(aggregationKey, mapFormat); in getAggregatedTaskCpuFreqTimes()
637 aggregated_task_tis_key_t key{.tgid = tgid, .aggregation_key = aggregationKey}; in getAggregatedTaskCpuFreqTimes()
Dtesttimeinstate.cpp639 uint16_t aggregationKey = pair.first; in TEST_F() local
640 ASSERT_TRUE(aggregationKey == 0 || aggregationKey == 42); in TEST_F()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DSystemServerCpuThreadReaderTest.java97 public boolean startAggregatingTaskCpuTimes(int pid, int aggregationKey) { in startAggregatingTaskCpuTimes() argument
/frameworks/base/core/java/com/android/internal/os/
DKernelSingleProcessCpuThreadReader.java75 boolean startAggregatingTaskCpuTimes(int pid, int aggregationKey); in startAggregatingTaskCpuTimes() argument