/frameworks/base/core/jni/ |
D | com_android_internal_os_KernelCpuBpfTracking.cpp | 24 return android::bpf::isTrackingUidTimesSupported() ? JNI_TRUE : JNI_FALSE; in KernelCpuBpfTracking_isSupported() 28 return android::bpf::startTrackingUidTimes(); in KernelCpuBpfTracking_startTrackingInternal() 32 auto freqs = android::bpf::getCpuFreqs(); in KernelCpuBpfTracking_getFreqsInternal() 47 auto freqs = android::bpf::getCpuFreqs(); in KernelCpuBpfTracking_getFreqsClustersInternal()
|
D | com_android_internal_os_KernelCpuUidBpfMapReader.cpp | 59 if (!android::bpf::clearUidTimes(uid)) return false; in KernelCpuUidFreqTimeBpfMapReader_removeUidRange() 69 auto data = android::bpf::getUidsUpdatedCpuFreqTimes(&newLastUpdate); in KernelCpuUidFreqTimeBpfMapReader_readBpfData() 95 auto data = android::bpf::getUidsUpdatedConcurrentTimes(&newLastUpdate); in KernelCpuUidActiveTimeBpfMapReader_readBpfData() 128 auto data = android::bpf::getUidsUpdatedConcurrentTimes(&newLastUpdate); in KernelCpuUidClusterTimeBpfMapReader_readBpfData() 145 auto times = android::bpf::getUidConcurrentTimes(0); in KernelCpuUidClusterTimeBpfMapReader_getDataDimensions()
|
D | com_android_internal_os_KernelSingleProcessCpuThreadReader.cpp | 72 std::optional<std::vector<std::vector<uint32_t>>> cpuFreqs = android::bpf::getCpuFreqs(); in getCpuFrequencyCount() 87 return android::bpf::startTrackingProcessCpuTimes(tgid); in startTrackingProcessCpuTimes() 91 return android::bpf::startAggregatingTaskCpuTimes(pid, aggregationKey); in startAggregatingTaskCpuTimes() 96 return android::bpf::getAggregatedTaskCpuFreqTimes(pid, aggregationKeys); in getAggregatedTaskCpuFreqTimes()
|
D | com_android_internal_os_KernelCpuTotalBpfMapReader.cpp | 24 auto freqTimes = android::bpf::getTotalCpuFreqTimes(); in KernelCpuTotalBpfMapReader_readInternal()
|
D | com_android_internal_os_KernelSingleUidTimeReader.cpp | 42 auto out = android::bpf::getUidCpuFreqTimes(uid); in getUidCpuFreqTimeMs() 93 android::bpf::getUidCpuFreqTimes(uid), deltaOutContainerNativePtr); in addDeltaFromBpf()
|
/frameworks/native/services/gpuservice/gpumem/ |
D | GpuMem.cpp | 44 bpf::waitForProgsLoaded(); in initialize() 47 int fd = bpf::retrieveProgram(kGpuMemTotalProgPath); in initialize() 70 auto map = bpf::BpfMapRO<uint64_t, uint64_t>(kGpuMemTotalMapPath); in initialize() 81 void GpuMem::setGpuMemTotalMap(bpf::BpfMapRO<uint64_t, uint64_t>& map) { in setGpuMemTotalMap()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_power_stats_CpuPowerStatsCollector.cpp | 69 if (!android::bpf::startTrackingUidTimes()) { in nativeIsSupportedFeature() 72 auto totalByScalingStep = android::bpf::getTotalCpuFreqTimes(); in nativeIsSupportedFeature() 88 auto totalByScalingStep = android::bpf::getTotalCpuFreqTimes(); in nativeReadCpuStats() 99 auto data = android::bpf::getUidsUpdatedCpuFreqTimes(&newLastUpdate); in nativeReadCpuStats()
|
D | com_android_server_am_OomConnection.cpp | 25 using namespace ::android::bpf::memevents;
|
/frameworks/native/services/gpuservice/ |
D | CleanSpec.mk | 48 …l add-clean-step, rm -rf $(OUT_DIR)/soong/.intermediates/frameworks/native/services/gpuservice/bpf) 51 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/bpf/gpuMem.o)
|
/frameworks/native/services/gpuservice/gpumem/include/gpumem/ |
D | GpuMem.h | 48 void setGpuMemTotalMap(bpf::BpfMapRO<uint64_t, uint64_t>& map); 57 android::bpf::BpfMapRO<uint64_t, uint64_t> mGpuMemTotalMap;
|
/frameworks/native/services/gpuservice/gpuwork/include/gpuwork/ |
D | GpuWork.h | 95 bpf::BpfMap<GpuIdUid, UidTrackingInfo> mGpuWorkMap GUARDED_BY(mMutex); 98 bpf::BpfMap<uint32_t, GlobalData> mGpuWorkGlobalDataMap GUARDED_BY(mMutex);
|
/frameworks/native/services/gpuservice/gpuwork/ |
D | GpuWork.cpp | 68 bool getBpfMap(const char* mapPath, bpf::BpfMap<Key, Value>* out) { in getBpfMap() 70 auto map = bpf::BpfMap<Key, Value>(mapPath); in getBpfMap() 122 bpf::waitForProgsLoaded(); in initialize() 196 const android::bpf::BpfMap<GpuIdUid, UidTrackingInfo>&) in dump() 229 base::unique_fd fd(bpf::retrieveProgram(programPath)); in attachTracepoint() 296 const android::bpf::BpfMap<GpuIdUid, UidTrackingInfo>&) in pullWorkAtoms()
|
/frameworks/av/media/libeffects/hapticgenerator/aidl/ |
D | HapticGeneratorContext.cpp | 124 if (mProcessorsRecord.bpf != nullptr) { in setHgVibratorInformation() 125 mProcessorsRecord.bpf->setCoefficients(::android::audio_effect::haptic_generator::bpfCoefs( in setHgVibratorInformation() 279 auto bpf = ::android::audio_effect::haptic_generator::createBPF( in buildProcessingChain() local 281 mProcessorsRecord.bpf = bpf; in buildProcessingChain() 282 addBiquadFilter(bpf); in buildProcessingChain()
|
D | HapticGeneratorContext.h | 60 std::shared_ptr<HapticBiquadFilter> bpf; member
|
/frameworks/native/services/gpuservice/tests/unittests/ |
D | TestableGpuMem.h | 31 void setGpuMemTotalMap(bpf::BpfMapRO<uint64_t, uint64_t>& map) { in setGpuMemTotalMap()
|
D | GpuMemTest.cpp | 63 bpf::setrlimitForTest(); in SetUp() 84 bpf::BpfMap<uint64_t, uint64_t> mTestMap;
|
D | GpuMemTracerTest.cpp | 60 bpf::setrlimitForTest(); in SetUp() 95 bpf::BpfMap<uint64_t, uint64_t> mTestMap;
|
/frameworks/av/media/libeffects/hapticgenerator/ |
D | EffectHapticGenerator.cpp | 224 auto bpf = createBPF(param->resonantFrequency, param->bpfQ, sampleRate, channelCount); in HapticGenerator_buildProcessingChain() local 225 processorsRecord.bpf = bpf; in HapticGenerator_buildProcessingChain() 226 addBiquadFilter(processingChain, processorsRecord, bpf); in HapticGenerator_buildProcessingChain() 356 if (context->processorsRecord.bpf != nullptr) { in HapticGenerator_SetParameter() 357 context->processorsRecord.bpf->setCoefficients( in HapticGenerator_SetParameter()
|
D | EffectHapticGenerator.h | 76 std::shared_ptr<HapticBiquadFilter> bpf; member
|
/frameworks/native/libs/cputimeinstate/fuzz/cputimeinstate_fuzzer/ |
D | cputimeinstate_fuzzer.cpp | 25 using namespace android::bpf;
|
/frameworks/native/services/gpuservice/gpuwork/bpfprogs/ |
D | Android.bp | 19 bpf {
|
/frameworks/native/libs/cputimeinstate/ |
D | cputimeinstate.h | 23 namespace bpf {
|
D | cputimeinstate.cpp | 48 namespace bpf { namespace
|
/frameworks/native/services/gpuservice/bpfprogs/ |
D | Android.bp | 24 bpf {
|
/frameworks/proto_logging/stats/atoms/kernel/ |
D | kernel_extension_atoms.proto | 47 // Millisecond uptime timestamp of when the kill was detected by the memevents bpf-program.
|