Searched refs:UidRanges (Results 1 – 15 of 15) sorted by relevance
/system/netd/server/ |
D | UidRanges.h | 29 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);
|
D | UidRanges.cpp | 56 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()
|
D | VirtualNetwork.h | 41 [[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;
|
D | RouteController.h | 31 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,
|
D | VirtualNetwork.cpp | 44 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()
|
D | NetworkController.h | 74 class UidRanges; variable 119 [[nodiscard]] int addUsersToNetwork(unsigned netId, const UidRanges& uidRanges); 120 [[nodiscard]] int removeUsersFromNetwork(unsigned netId, const UidRanges& uidRanges);
|
D | RouteController.cpp | 798 [[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()
|
D | SockDiag.h | 77 int destroySockets(const UidRanges& uidRanges, const std::set<uid_t>& skipUids,
|
D | Android.bp | 137 "UidRanges.cpp", 250 "UidRanges.cpp",
|
D | NetworkController.cpp | 577 int NetworkController::addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) { in addUsersToNetwork() 594 int NetworkController::removeUsersFromNetwork(unsigned netId, const UidRanges& uidRanges) { in removeUsersFromNetwork()
|
D | NetdNativeService.cpp | 382 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()
|
D | SockDiag.cpp | 408 int SockDiag::destroySockets(const UidRanges& uidRanges, const std::set<uid_t>& skipUids, in destroySockets()
|
D | SockDiagTest.cpp | 389 UidRanges uidRanges; in destroySockets()
|
D | NdcDispatcher.cpp | 1180 UidRanges uidRanges; in runCommand()
|
/system/netd/tests/benchmarks/ |
D | Android.bp | 17 "netd_aidl_interface-cpp", // system/netd/server/UidRanges.h
|