Lines Matching refs:uid_t
94 uint32_t getNetworkForDns(unsigned* netId, uid_t uid) const;
95 unsigned getNetworkForUser(uid_t uid) const;
96 unsigned getNetworkForConnect(uid_t uid) const;
97 void getNetworkContext(unsigned netId, uid_t uid, struct android_net_context* netcontext) const;
109 Permission getPermissionForUser(uid_t uid) const;
110 void setPermissionForUsers(Permission permission, const std::vector<uid_t>& uids);
111 int checkUserNetworkAccess(uid_t uid, unsigned netId) const;
124 const char* nexthop, bool legacy, uid_t uid) WARN_UNUSED_RESULT;
126 const char* nexthop, bool legacy, uid_t uid) WARN_UNUSED_RESULT;
134 bool canProtect(uid_t uid) const;
135 void allowProtect(const std::vector<uid_t>& uids);
136 void denyProtect(const std::vector<uid_t>& uids);
143 uint32_t getNetworkForDnsLocked(unsigned* netId, uid_t uid) const;
144 unsigned getNetworkForUserLocked(uid_t uid) const;
145 unsigned getNetworkForConnectLocked(uid_t uid) const;
147 bool canProtectLocked(uid_t uid) const;
150 VirtualNetwork* getVirtualNetworkForUserLocked(uid_t uid) const;
151 Permission getPermissionForUserLocked(uid_t uid) const;
152 int checkUserNetworkAccessLocked(uid_t uid, unsigned netId) const;
156 const char* nexthop, bool add, bool legacy, uid_t uid) WARN_UNUSED_RESULT;
168 std::map<uid_t, Permission> mUsers;
169 std::set<uid_t> mProtectableUsers;