HomeSort by relevance Sort by last modified time
    Searched refs:uid_start (Results 1 - 10 of 10) sorted by null

  /system/netd/
UidMarkMap.h 27 bool add(int uid_start, int uid_end, int mark);
28 bool remove(int uid_start, int uid_end, int mark);
34 int uid_start; member in struct:UidMarkMap::UidMarkEntry
37 UidMarkEntry(int uid_start, int uid_end, int mark);
ResolverController.h 36 int setDnsInterfaceForUidRange(const char* iface, int uid_start, int uid_end);
37 int clearDnsInterfaceForUidRange(const char* iface, int uid_start, int uid_end);
UidMarkMap.cpp 21 uid_start(start),
26 bool UidMarkMap::add(int uid_start, int uid_end, int mark) {
28 if (uid_start > uid_end) {
32 UidMarkEntry *e = new UidMarkEntry(uid_start, uid_end, mark);
37 bool UidMarkMap::remove(int uid_start, int uid_end, int mark) {
42 if (entry->uid_start == uid_start && entry->uid_end == uid_end && entry->mark == mark) {
56 if (entry->uid_start <= uid && entry->uid_end >= uid) {
ResolverController.cpp 100 int ResolverController::setDnsInterfaceForUidRange(const char* iface, int uid_start, int uid_end) {
102 ALOGD("setDnsIfaceForUidRange iface = %s, range = [%d,%d]\n", iface, uid_start, uid_end);
105 return _resolv_set_iface_for_uid_range(iface, uid_start, uid_end);
108 int ResolverController::clearDnsInterfaceForUidRange(const char* iface, int uid_start,
111 ALOGD("clearDnsIfaceForUidRange iface = %s range = [%d,%d]\n", iface, uid_start, uid_end);
114 return _resolv_clear_iface_for_uid_range(iface, uid_start, uid_end);
SecondaryTableController.h 47 int addUidRule(const char *iface, int uid_start, int uid_end);
48 int removeUidRule(const char *iface, int uid_start, int uid_end);
68 int setUidRule(const char* iface, int uid_start, int uid_end, bool add);
SecondaryTableController.cpp 492 int SecondaryTableController::addUidRule(const char *iface, int uid_start, int uid_end) {
493 return setUidRule(iface, uid_start, uid_end, true);
496 int SecondaryTableController::removeUidRule(const char *iface, int uid_start, int uid_end) {
497 return setUidRule(iface, uid_start, uid_end, false);
500 int SecondaryTableController::setUidRule(const char *iface, int uid_start, int uid_end, bool add) {
508 if (!mUidMarkMap->add(uid_start, uid_end, mark)) {
513 if (!mUidMarkMap->remove(uid_start, uid_end, mark)) {
519 snprintf(uid_str, sizeof(uid_str), "%d-%d", uid_start, uid_end);
  /bionic/libc/private/
resolv_iface.h 83 extern int _resolv_set_iface_for_uid_range(const char* ifname, int uid_start, int uid_end);
87 extern int _resolv_clear_iface_for_uid_range(const char* ifname, int uid_start, int uid_end);
  /frameworks/base/core/java/android/os/
INetworkManagementService.aidl 351 * Set all packets from users [uid_start,uid_end] to go through interface iface
354 void setUidRangeRoute(String iface, int uid_start, int uid_end);
357 * Clears the special routing rules for users [uid_start,uid_end]
359 void clearUidRangeRoute(String iface, int uid_start, int uid_end);
418 void setDnsInterfaceForUidRange(String iface, int uid_start, int uid_end);
423 void clearDnsInterfaceForUidRange(String iface, int uid_start, int uid_end);
  /bionic/libc/netbsd/resolv/
res_cache.c 1262 int uid_start; member in struct:resolv_uidiface_info
    [all...]
  /frameworks/base/services/java/com/android/server/
NetworkManagementService.java     [all...]

Completed in 32 milliseconds