Searched refs:UidRanges (Results 1 – 14 of 14) sorted by relevance
/system/netd/server/ |
D | UidRanges.cpp | 27 bool UidRanges::hasUid(uid_t uid) const { in hasUid() 33 const std::vector<UidRanges::Range>& UidRanges::getRanges() const { in getRanges() 37 bool UidRanges::parseFrom(int argc, char* argv[]) { in parseFrom() 78 UidRanges::UidRanges(const std::vector<android::net::UidRange>& ranges) { in UidRanges() function in UidRanges 87 void UidRanges::add(const UidRanges& other) { in add() 92 void UidRanges::remove(const UidRanges& other) { in remove() 98 std::string UidRanges::toString() const { in toString()
|
D | UidRanges.h | 26 class UidRanges { 33 UidRanges() {} in UidRanges() function 34 UidRanges(const std::vector<android::net::UidRange>& ranges); 42 void add(const UidRanges& other); 43 void remove(const UidRanges& other);
|
D | RouteController.h | 25 class UidRanges; variable 51 const UidRanges& uidRanges) WARN_UNUSED_RESULT; 53 const UidRanges& uidRanges) WARN_UNUSED_RESULT; 60 const UidRanges& uidRanges) WARN_UNUSED_RESULT; 62 const UidRanges& uidRanges) WARN_UNUSED_RESULT; 64 static int addUsersToRejectNonSecureNetworkRule(const UidRanges& uidRanges) 66 static int removeUsersFromRejectNonSecureNetworkRule(const UidRanges& uidRanges)
|
D | VirtualNetwork.h | 41 int addUsers(const UidRanges& uidRanges, 43 int removeUsers(const UidRanges& uidRanges, 50 int maybeCloseSockets(bool add, const UidRanges& uidRanges, 55 UidRanges mUidRanges;
|
D | VirtualNetwork.cpp | 46 int VirtualNetwork::maybeCloseSockets(bool add, const UidRanges& uidRanges, in maybeCloseSockets() 66 int VirtualNetwork::addUsers(const UidRanges& uidRanges, const std::set<uid_t>& protectableUsers) { in addUsers() 80 int VirtualNetwork::removeUsers(const UidRanges& uidRanges, in removeUsers()
|
D | NetworkController.h | 33 class UidRanges; variable 77 int addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) WARN_UNUSED_RESULT; 78 int removeUsersFromNetwork(unsigned netId, const UidRanges& uidRanges) WARN_UNUSED_RESULT;
|
D | Android.mk | 103 UidRanges.cpp \ 140 UidRanges.cpp \
|
D | RouteController.cpp | 772 WARN_UNUSED_RESULT int modifyRejectNonSecureNetworkRule(const UidRanges& uidRanges, bool add) { in modifyRejectNonSecureNetworkRule() 778 for (const UidRanges::Range& range : uidRanges.getRanges()) { in modifyRejectNonSecureNetworkRule() 791 const UidRanges& uidRanges, bool secure, bool add, in modifyVirtualNetwork() 798 for (const UidRanges::Range& range : uidRanges.getRanges()) { in modifyVirtualNetwork() 1035 bool secure, const UidRanges& uidRanges) { in addInterfaceToVirtualNetwork() 1045 bool secure, const UidRanges& uidRanges) { in removeInterfaceFromVirtualNetwork() 1067 int RouteController::addUsersToRejectNonSecureNetworkRule(const UidRanges& uidRanges) { in addUsersToRejectNonSecureNetworkRule() 1071 int RouteController::removeUsersFromRejectNonSecureNetworkRule(const UidRanges& uidRanges) { in removeUsersFromRejectNonSecureNetworkRule() 1076 const UidRanges& uidRanges) { in addUsersToVirtualNetwork() 1082 bool secure, const UidRanges& uidRanges) { in removeUsersFromVirtualNetwork()
|
D | SockDiag.h | 56 int destroySockets(const UidRanges& uidRanges, const std::set<uid_t>& skipUids);
|
D | NetdNativeService.cpp | 139 UidRanges uidRanges(uidRangeArray); in networkRejectNonSecureVpn() 166 UidRanges uidRanges(uids); in socketDestroy()
|
D | NetworkController.cpp | 465 int NetworkController::addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) { in addUsersToNetwork() 482 int NetworkController::removeUsersFromNetwork(unsigned netId, const UidRanges& uidRanges) { in removeUsersFromNetwork()
|
D | SockDiag.cpp | 350 int SockDiag::destroySockets(const UidRanges& uidRanges, const std::set<uid_t>& skipUids) { in destroySockets()
|
D | SockDiagTest.cpp | 238 UidRanges uidRanges; in destroySockets()
|
D | CommandListener.cpp | 1746 UidRanges uidRanges; in runCommand()
|