Home
last modified time | relevance | path

Searched refs:kernelVersion (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/mts/src/android/tethering/mts/
DMtsEthernetTetheringTest.java92 private static boolean isUdpOffloadSupportedByKernel(final String kernelVersion) { in isUdpOffloadSupportedByKernel() argument
93 final KVersion current = DeviceInfoUtils.getMajorMinorSubminorVersion(kernelVersion); in isUdpOffloadSupportedByKernel()
119 final String kernelVersion = VintfRuntimeInfo.getKernelVersion(); in assumeKernelSupportBpfOffloadUdpV4() local
120 assumeTrue("Kernel version " + kernelVersion + " doesn't support IPv4 UDP BPF offload", in assumeKernelSupportBpfOffloadUdpV4()
121 isUdpOffloadSupportedByKernel(kernelVersion)); in assumeKernelSupportBpfOffloadUdpV4()
/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/
DKernelUtils.h40 static inline unsigned kernelVersion() { in kernelVersion() function
46 return kernelVersion() >= KVER(major, minor, sub); in isAtLeastKernelVersion()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DDeviceInfoUtils.java171 final String kernelVersion = VintfRuntimeInfo.getKernelVersion(); in isKernelVersionAtLeast() local
172 final KVersion current = DeviceInfoUtils.getMajorMinorSubminorVersion(kernelVersion); in isKernelVersionAtLeast()
/packages/modules/Connectivity/netbpfload/
DNetBpfLoad.cpp300 kernelVersion(), describeArch(), getuid(), in doLoad()
376 ALOGE("Unsupported kernel version (%07x).", kernelVersion()); in doLoad()
Dloader.cpp656 unsigned kvers = kernelVersion(); in createMaps()
920 unsigned kvers = kernelVersion(); in loadCodeSections()