Home
last modified time | relevance | path

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

/system/netd/server/
DUidRanges.h29 class UidRanges {
31 UidRanges() {} in UidRanges() function
32 UidRanges(const std::vector<android::net::UidRangeParcel>& ranges);
40 void add(const UidRanges& other);
41 void remove(const UidRanges& other);
DUidRanges.cpp56 bool UidRanges::hasUid(uid_t uid) const { in hasUid()
69 const std::vector<UidRangeParcel>& UidRanges::getRanges() const { in getRanges()
73 bool UidRanges::parseFrom(int argc, char* argv[]) { in parseFrom()
114 UidRanges::UidRanges(const std::vector<UidRangeParcel>& ranges) { in UidRanges() function in android::net::UidRanges
119 void UidRanges::add(const UidRanges& other) { in add()
124 void UidRanges::remove(const UidRanges& other) { in remove()
130 std::string UidRanges::toString() const { in toString()
DVirtualNetwork.h41 [[nodiscard]] int addUsers(const UidRanges& uidRanges, const std::set<uid_t>& protectableUsers);
42 [[nodiscard]] int removeUsers(const UidRanges& uidRanges,
49 int maybeCloseSockets(bool add, const UidRanges& uidRanges,
53 UidRanges mUidRanges;
DRouteController.h31 class UidRanges; variable
68 bool secure, const UidRanges& uidRanges);
71 const UidRanges& uidRanges);
78 bool secure, const UidRanges& uidRanges);
80 bool secure, const UidRanges& uidRanges);
82 [[nodiscard]] static int addUsersToRejectNonSecureNetworkRule(const UidRanges& uidRanges);
83 [[nodiscard]] static int removeUsersFromRejectNonSecureNetworkRule(const UidRanges& uidRanges);
138 const UidRanges& uidRanges, bool secure, bool add,
DVirtualNetwork.cpp44 int VirtualNetwork::maybeCloseSockets(bool add, const UidRanges& uidRanges, in maybeCloseSockets()
64 int VirtualNetwork::addUsers(const UidRanges& uidRanges, const std::set<uid_t>& protectableUsers) { in addUsers()
78 int VirtualNetwork::removeUsers(const UidRanges& uidRanges, in removeUsers()
DNetworkController.h74 class UidRanges; variable
119 [[nodiscard]] int addUsersToNetwork(unsigned netId, const UidRanges& uidRanges);
120 [[nodiscard]] int removeUsersFromNetwork(unsigned netId, const UidRanges& uidRanges);
DRouteController.cpp798 [[nodiscard]] static int modifyRejectNonSecureNetworkRule(const UidRanges& uidRanges, bool add) { in modifyRejectNonSecureNetworkRule()
816 const UidRanges& uidRanges, bool secure, bool add, in modifyVirtualNetwork()
1076 bool secure, const UidRanges& uidRanges) { in addInterfaceToVirtualNetwork()
1086 bool secure, const UidRanges& uidRanges) { in removeInterfaceFromVirtualNetwork()
1108 int RouteController::addUsersToRejectNonSecureNetworkRule(const UidRanges& uidRanges) { in addUsersToRejectNonSecureNetworkRule()
1112 int RouteController::removeUsersFromRejectNonSecureNetworkRule(const UidRanges& uidRanges) { in removeUsersFromRejectNonSecureNetworkRule()
1117 const UidRanges& uidRanges) { in addUsersToVirtualNetwork()
1123 bool secure, const UidRanges& uidRanges) { in removeUsersFromVirtualNetwork()
DSockDiag.h77 int destroySockets(const UidRanges& uidRanges, const std::set<uid_t>& skipUids,
DAndroid.bp137 "UidRanges.cpp",
250 "UidRanges.cpp",
DNetworkController.cpp577 int NetworkController::addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) { in addUsersToNetwork()
594 int NetworkController::removeUsersFromNetwork(unsigned netId, const UidRanges& uidRanges) { in removeUsersFromNetwork()
DNetdNativeService.cpp382 int ret = gCtls->netCtrl.addUsersToNetwork(netId, UidRanges(uidRangeArray)); in networkAddUidRanges()
390 int ret = gCtls->netCtrl.removeUsersFromNetwork(netId, UidRanges(uidRangeArray)); in networkRemoveUidRanges()
402 UidRanges uidRanges(uidRangeArray); in networkRejectNonSecureVpn()
423 UidRanges uidRanges(uids); in socketDestroy()
DSockDiag.cpp408 int SockDiag::destroySockets(const UidRanges& uidRanges, const std::set<uid_t>& skipUids, in destroySockets()
DSockDiagTest.cpp389 UidRanges uidRanges; in destroySockets()
DNdcDispatcher.cpp1180 UidRanges uidRanges; in runCommand()
/system/netd/tests/benchmarks/
DAndroid.bp17 "netd_aidl_interface-cpp", // system/netd/server/UidRanges.h