Searched refs:aggregationKey (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/jni/ |
D | com_android_internal_os_KernelSingleProcessCpuThreadReader.cpp | 90 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/ |
D | cputimeinstate_fuzzer.cpp | 34 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/ |
D | KernelSingleProcessCpuThreadReaderTest.java | 103 public boolean startAggregatingTaskCpuTimes(int pid, int aggregationKey) { in startAggregatingTaskCpuTimes() argument 104 mTrackedTasks.add(pid + " " + aggregationKey); in startAggregatingTaskCpuTimes()
|
/frameworks/native/libs/cputimeinstate/ |
D | cputimeinstate.h | 47 bool startAggregatingTaskCpuTimes(pid_t pid, uint16_t aggregationKey);
|
D | cputimeinstate.cpp | 603 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()
|
D | testtimeinstate.cpp | 639 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/ |
D | SystemServerCpuThreadReaderTest.java | 97 public boolean startAggregatingTaskCpuTimes(int pid, int aggregationKey) { in startAggregatingTaskCpuTimes() argument
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelSingleProcessCpuThreadReader.java | 75 boolean startAggregatingTaskCpuTimes(int pid, int aggregationKey); in startAggregatingTaskCpuTimes() argument
|