Home
last modified time | relevance | path

Searched refs:prio (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Connectivity/staticlibs/native/tcutils/tests/
Dtcutils_test.cpp89 static constexpr uint16_t prio = 17; in TEST() local
93 EXPECT_EQ(-EINVAL, tcDeleteFilter(LOOPBACK_IFINDEX, ingress, prio, proto)); in TEST()
95 EXPECT_EQ(-EINVAL, tcAddBpfFilter(LOOPBACK_IFINDEX, ingress, prio, proto, in TEST()
100 EXPECT_EQ(-errNOENT, tcDeleteFilter(LOOPBACK_IFINDEX, ingress, prio, proto)); in TEST()
103 0, tcAddBpfFilter(LOOPBACK_IFINDEX, ingress, prio, proto, bpfProgPath)); in TEST()
104 EXPECT_EQ(0, tcDeleteFilter(LOOPBACK_IFINDEX, ingress, prio, proto)); in TEST()
106 EXPECT_EQ(-errNOENT, tcDeleteFilter(LOOPBACK_IFINDEX, ingress, prio, proto)); in TEST()
110 EXPECT_EQ(-EINVAL, tcDeleteFilter(LOOPBACK_IFINDEX, ingress, prio, proto)); in TEST()
126 static constexpr uint16_t prio = 17; in TEST() local
131 tcDeleteFilter(LOOPBACK_IFINDEX, true /*ingress*/, prio, proto)); in TEST()
[all …]
/packages/modules/Connectivity/clatd/
Dlogging.c31 void logmsg(int prio, const char *fmt, ...) { in logmsg() argument
35 __android_log_vprint(prio, "clatd", fmt, ap); in logmsg()
46 void logmsg_dbg(int prio, const char *fmt, ...) { in logmsg_dbg() argument
50 __android_log_vprint(prio, "clatd", fmt, ap); in logmsg_dbg()
54 void logmsg_dbg(__attribute__((unused)) int prio, __attribute__((unused)) const char *fmt, ...) {} in logmsg_dbg() argument
Dlogging.h24 void logmsg(int prio, const char *fmt, ...);
25 void logmsg_dbg(int prio, const char *fmt, ...);
/packages/modules/Connectivity/staticlibs/native/bpfmapjni/
Dcom_android_net_module_util_TcUtils.cpp49 JNIEnv *env, jclass clazz, jint ifIndex, jboolean ingress, jshort prio, in com_android_net_module_util_TcUtils_tcFilterAddDevBpf() argument
52 int error = tcAddBpfFilter(ifIndex, ingress, prio, proto, pathname.c_str()); in com_android_net_module_util_TcUtils_tcFilterAddDevBpf()
65 JNIEnv *env, jclass clazz, jint ifIndex, jshort prio, jshort proto, in com_android_net_module_util_TcUtils_tcFilterAddDevIngressPolice() argument
68 int error = tcAddIngressPoliceFilter(ifIndex, prio, proto, rateInBytesPerSec, in com_android_net_module_util_TcUtils_tcFilterAddDevIngressPolice()
80 JNIEnv *env, jclass clazz, jint ifIndex, jboolean ingress, jshort prio, in com_android_net_module_util_TcUtils_tcFilterDelDev() argument
82 int error = tcDeleteFilter(ifIndex, ingress, prio, proto); in com_android_net_module_util_TcUtils_tcFilterDelDev()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DTcUtils.java52 public static native void tcFilterAddDevBpf(int ifIndex, boolean ingress, short prio, in tcFilterAddDevBpf() argument
76 public static native void tcFilterAddDevIngressPolice(int ifIndex, short prio, short proto, in tcFilterAddDevIngressPolice() argument
91 public static native void tcFilterDelDev(int ifIndex, boolean ingress, short prio, in tcFilterDelDev() argument
/packages/modules/Connectivity/staticlibs/native/tcutils/include/tcutils/
Dtcutils.h40 int tcAddBpfFilter(int ifIndex, bool ingress, uint16_t prio, uint16_t proto,
42 int tcAddIngressPoliceFilter(int ifIndex, uint16_t prio, uint16_t proto,
45 int tcDeleteFilter(int ifIndex, bool ingress, uint16_t prio, uint16_t proto);
/packages/modules/Connectivity/staticlibs/native/tcutils/
Dtcutils.cpp166 IngressPoliceFilterBuilder(int ifIndex, uint16_t prio, uint16_t proto, unsigned rateInBytesPerSec, in IngressPoliceFilterBuilder() argument
181 .tcm_info = (static_cast<uint32_t>(prio) << 16) in IngressPoliceFilterBuilder()
568 int tcAddBpfFilter(int ifIndex, bool ingress, uint16_t prio, uint16_t proto, in tcAddBpfFilter() argument
615 static_cast<__u32>((static_cast<uint16_t>(prio) << 16) | in tcAddBpfFilter()
682 int tcAddIngressPoliceFilter(int ifIndex, uint16_t prio, uint16_t proto, in tcAddIngressPoliceFilter() argument
694 IngressPoliceFilterBuilder filter(ifIndex, prio, proto, rateInBytesPerSec, in tcAddIngressPoliceFilter()
705 int tcDeleteFilter(int ifIndex, bool ingress, uint16_t prio, uint16_t proto) { in tcDeleteFilter() argument
724 static_cast<__u32>((static_cast<uint16_t>(prio) << 16) | in tcDeleteFilter()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DClatCoordinator.java304 public void tcFilterAddDevBpf(int ifIndex, boolean ingress, short prio, short proto, in tcFilterAddDevBpf() argument
306 TcUtils.tcFilterAddDevBpf(ifIndex, ingress, prio, proto, bpfProgPath); in tcFilterAddDevBpf()
310 public void tcFilterDelDev(int ifIndex, boolean ingress, short prio, short proto) in tcFilterDelDev() argument
312 TcUtils.tcFilterDelDev(ifIndex, ingress, prio, proto); in tcFilterDelDev()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DClatCoordinatorTest.java365 public void tcFilterAddDevBpf(int ifIndex, boolean ingress, short prio, short proto, in tcFilterAddDevBpf() argument
373 public void tcFilterDelDev(int ifIndex, boolean ingress, short prio, short proto) in tcFilterDelDev() argument
/packages/inputmethods/LatinIME/dictionaries/
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpt_PT_wordlist.combined.gz