Lines Matching refs:uid_t
101 unsigned getNetworkForUser(uid_t uid) const;
102 unsigned getNetworkForConnect(uid_t uid) const;
103 void getNetworkContext(unsigned netId, uid_t uid, struct android_net_context* netcontext) const;
117 Permission getPermissionForUser(uid_t uid) const;
118 void setPermissionForUsers(Permission permission, const std::vector<uid_t>& uids);
119 int checkUserNetworkAccess(uid_t uid, unsigned netId) const;
134 const char* nexthop, bool legacy, uid_t uid, int mtu);
136 const char* nexthop, bool legacy, uid_t uid, int mtu);
138 const char* nexthop, bool legacy, uid_t uid);
146 bool canProtect(uid_t uid) const;
147 void allowProtect(const std::vector<uid_t>& uids);
148 void denyProtect(const std::vector<uid_t>& uids);
152 bool isUidAllowed(unsigned netId, uid_t uid) const;
161 uint32_t getNetworkForDnsLocked(unsigned* netId, uid_t uid) const;
162 unsigned getNetworkForConnectLocked(uid_t uid) const;
165 bool canProtectLocked(uid_t uid) const;
167 VirtualNetwork* getVirtualNetworkForUserLocked(uid_t uid) const;
168 Network* getPhysicalOrUnreachableNetworkForUserLocked(uid_t uid) const;
169 Permission getPermissionForUserLocked(uid_t uid) const;
170 int checkUserNetworkAccessLocked(uid_t uid, unsigned netId) const;
175 const char* nexthop, RouteOperation op, bool legacy, uid_t uid,
189 std::map<uid_t, Permission> mUsers;
190 std::set<uid_t> mProtectableUsers;