/frameworks/libs/net/common/native/bpf_syscall_wrappers/include/ |
D | BpfSyscallWrappers.h | 34 namespace bpf { 41 inline int bpf(int cmd, const bpf_attr& attr) { in bpf() function 47 return bpf(BPF_MAP_CREATE, { in createMap() 58 return bpf(BPF_MAP_UPDATE_ELEM, { in writeToMapEntry() 67 return bpf(BPF_MAP_LOOKUP_ELEM, { in findMapEntry() 75 return bpf(BPF_MAP_DELETE_ELEM, { in deleteMapEntry() 82 return bpf(BPF_MAP_GET_NEXT_KEY, { in getNextMapKey() 94 return bpf(BPF_OBJ_PIN, { in bpfFdPin() 101 return bpf(BPF_OBJ_GET, { in bpfFdGet() 129 return bpf(BPF_PROG_ATTACH, { in attachProgram() [all …]
|
/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 | 40 auto out = android::bpf::getUidCpuFreqTimes(uid); in getUidCpuFreqTimeMs()
|
/frameworks/native/services/gpuservice/gpumem/ |
D | GpuMem.cpp | 44 bpf::waitForProgsLoaded(); in initialize() 47 int fd = bpf::retrieveProgram(kGpuMemTotalProgPath); in initialize() 69 auto map = bpf::BpfMapRO<uint64_t, uint64_t>(kGpuMemTotalMapPath); in initialize() 80 void GpuMem::setGpuMemTotalMap(bpf::BpfMap<uint64_t, uint64_t>& map) { in setGpuMemTotalMap()
|
/frameworks/native/services/gpuservice/gpumem/include/gpumem/ |
D | GpuMem.h | 47 void setGpuMemTotalMap(bpf::BpfMap<uint64_t, uint64_t>& map); 52 android::bpf::BpfMap<uint64_t, uint64_t> mGpuMemTotalMap;
|
/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/gpu_mem.o)
|
/frameworks/native/services/gpuservice/tests/unittests/ |
D | GpuMemTest.cpp | 62 bpf::setrlimitForTest(); in SetUp() 68 mTestMap = bpf::BpfMap<uint64_t, uint64_t>(BPF_MAP_TYPE_HASH, TEST_MAP_SIZE, in SetUp() 85 bpf::BpfMap<uint64_t, uint64_t> mTestMap;
|
D | GpuMemTracerTest.cpp | 59 bpf::setrlimitForTest(); in SetUp() 67 mTestMap = bpf::BpfMap<uint64_t, uint64_t>(BPF_MAP_TYPE_HASH, TEST_MAP_SIZE, in SetUp() 96 bpf::BpfMap<uint64_t, uint64_t> mTestMap;
|
D | TestableGpuMem.h | 31 void setGpuMemTotalMap(bpf::BpfMap<uint64_t, uint64_t>& map) { in setGpuMemTotalMap()
|
/frameworks/av/media/libeffects/hapticgenerator/ |
D | EffectHapticGenerator.cpp | 180 auto bpf = createBPF(param->resonantFrequency, param->bpfQ, sampleRate, channelCount); in HapticGenerator_buildProcessingChain() local 181 processorsRecord.bpf = bpf; in HapticGenerator_buildProcessingChain() 182 addBiquadFilter(processingChain, processorsRecord, bpf); in HapticGenerator_buildProcessingChain() 300 if (context->processorsRecord.bpf != nullptr) { in HapticGenerator_SetParameter() 301 context->processorsRecord.bpf->setCoefficients( in HapticGenerator_SetParameter()
|
D | EffectHapticGenerator.h | 75 std::shared_ptr<HapticBiquadFilter> bpf; member
|
/frameworks/base/services/core/jni/ |
D | com_android_server_net_NetworkStatsService.cpp | 36 using android::bpf::bpfGetUidStats; 37 using android::bpf::bpfGetIfaceStats;
|
D | com_android_server_net_NetworkStatsFactory.cpp | 39 using android::bpf::parseBpfNetworkStatsDetail; 40 using android::bpf::stats_line;
|
/frameworks/native/libs/cputimeinstate/ |
D | cputimeinstate.h | 23 namespace bpf {
|
D | cputimeinstate.cpp | 48 namespace bpf { namespace
|
D | testtimeinstate.cpp | 36 namespace bpf { namespace
|
/frameworks/libs/net/common/native/bpf_syscall_wrappers/ |
D | Android.bp | 37 "//system/bpf/libbpf_android",
|
/frameworks/native/services/gpuservice/bpfprogs/ |
D | Android.bp | 24 bpf {
|