Home
last modified time | relevance | path

Searched refs:UidRanges (Results 1 – 14 of 14) sorted by relevance

/system/netd/server/
DUidRanges.cpp27 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()
DUidRanges.h26 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);
DRouteController.h25 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)
DVirtualNetwork.h41 int addUsers(const UidRanges& uidRanges,
43 int removeUsers(const UidRanges& uidRanges,
50 int maybeCloseSockets(bool add, const UidRanges& uidRanges,
55 UidRanges mUidRanges;
DVirtualNetwork.cpp46 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()
DNetworkController.h33 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;
DAndroid.mk103 UidRanges.cpp \
140 UidRanges.cpp \
DRouteController.cpp772 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()
DSockDiag.h56 int destroySockets(const UidRanges& uidRanges, const std::set<uid_t>& skipUids);
DNetdNativeService.cpp139 UidRanges uidRanges(uidRangeArray); in networkRejectNonSecureVpn()
166 UidRanges uidRanges(uids); in socketDestroy()
DNetworkController.cpp465 int NetworkController::addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) { in addUsersToNetwork()
482 int NetworkController::removeUsersFromNetwork(unsigned netId, const UidRanges& uidRanges) { in removeUsersFromNetwork()
DSockDiag.cpp350 int SockDiag::destroySockets(const UidRanges& uidRanges, const std::set<uid_t>& skipUids) { in destroySockets()
DSockDiagTest.cpp238 UidRanges uidRanges; in destroySockets()
DCommandListener.cpp1746 UidRanges uidRanges; in runCommand()