• Home
  • Raw
  • Download

Lines Matching refs:int32_t

42             const std::vector<int32_t>& uids, bool *ret) override;
43 binder::Status firewallSetFirewallType(int32_t firewallType) override;
45 int32_t firewallRule) override;
46 binder::Status firewallSetUidRule(int32_t childChain, int32_t uid,
47 int32_t firewallRule) override;
48 binder::Status firewallEnableChildChain(int32_t childChain, bool enable) override;
50 const std::vector<int32_t>& uids) override;
51 binder::Status firewallRemoveUidInterfaceRules(const std::vector<int32_t>& uids) override;
60 binder::Status bandwidthAddNaughtyApp(int32_t uid) override;
61 binder::Status bandwidthRemoveNaughtyApp(int32_t uid) override;
62 binder::Status bandwidthAddNiceApp(int32_t uid) override;
63 binder::Status bandwidthRemoveNiceApp(int32_t uid) override;
66 binder::Status networkCreatePhysical(int32_t netId, int32_t permission) override;
67 binder::Status networkCreateVpn(int32_t netId, bool secure) override;
68 binder::Status networkDestroy(int32_t netId) override;
70 binder::Status networkAddInterface(int32_t netId, const std::string& iface) override;
71 binder::Status networkRemoveInterface(int32_t netId, const std::string& iface) override;
73 binder::Status networkAddUidRanges(int32_t netId,
75 binder::Status networkRemoveUidRanges(int32_t netId,
79 binder::Status networkAddRoute(int32_t netId, const std::string& ifName,
82 binder::Status networkRemoveRoute(int32_t netId, const std::string& ifName,
85 binder::Status networkAddLegacyRoute(int32_t netId, const std::string& ifName,
87 int32_t uid) override;
88 binder::Status networkRemoveLegacyRoute(int32_t netId, const std::string& ifName,
90 const std::string& nextHop, int32_t uid) override;
91 binder::Status networkSetDefault(int32_t netId) override;
93 binder::Status networkSetPermissionForNetwork(int32_t netId, int32_t permission) override;
94 binder::Status networkSetPermissionForUser(int32_t permission,
95 const std::vector<int32_t>& uids) override;
96 binder::Status networkClearPermissionForUser(const std::vector<int32_t>& uids) override;
97 binder::Status networkSetProtectAllow(int32_t uid) override;
98 binder::Status networkSetProtectDeny(int32_t uid) override;
100 binder::Status networkGetDefault(int32_t* netId) override;
101 binder::Status networkCanProtect(int32_t uid, bool* ret) override;
103 binder::Status trafficSetNetPermForUids(int32_t permission,
104 const std::vector<int32_t>& uids) override;
108 const std::vector<int32_t>& skipUids) override;
110 binder::Status setIPv6AddrGenMode(const std::string& ifName, int32_t mode) override;
114 int32_t mark, int32_t mask) override;
117 int32_t mark, int32_t mask) override;
129 binder::Status tetherDnsSet(int32_t netId, const std::vector<std::string>& dnsAddrs) override;
145 binder::Status interfaceSetMtu(const std::string& ifName, int32_t mtuValue) override;
147 binder::Status getProcSysNet(int32_t ipversion, int32_t which, const std::string& ifname,
149 binder::Status setProcSysNet(int32_t ipversion, int32_t which, const std::string& ifname,
155 int32_t transformId,
158 int32_t inSpi,
159 int32_t* outSpi);
162 int32_t transformId, int32_t mode, const std::string& sourceAddress,
163 const std::string& destinationAddress, int32_t underlyingNetId, int32_t spi,
164 int32_t markValue, int32_t markMask, const std::string& authAlgo,
165 const std::vector<uint8_t>& authKey, int32_t authTruncBits,
167 int32_t cryptTruncBits, const std::string& aeadAlgo,
168 const std::vector<uint8_t>& aeadKey, int32_t aeadIcvBits, int32_t encapType,
169 int32_t encapLocalPort, int32_t encapRemotePort, int32_t interfaceId);
171 binder::Status ipSecDeleteSecurityAssociation(int32_t transformId,
174 int32_t spi, int32_t markValue, int32_t markMask,
175 int32_t interfaceId);
178 int32_t transformId, int32_t direction,
181 int32_t spi);
185 binder::Status ipSecAddSecurityPolicy(int32_t transformId, int32_t selAddrFamily,
186 int32_t direction, const std::string& tmplSrcAddress,
187 const std::string& tmplDstAddress, int32_t spi,
188 int32_t markValue, int32_t markMask, int32_t interfaceId);
190 binder::Status ipSecUpdateSecurityPolicy(int32_t transformId, int32_t selAddrFamily,
191 int32_t direction, const std::string& tmplSrcAddress,
192 const std::string& tmplDstAddress, int32_t spi,
193 int32_t markValue, int32_t markMask,
194 int32_t interfaceId);
196 binder::Status ipSecDeleteSecurityPolicy(int32_t transformId, int32_t selAddrFamily,
197 int32_t direction, int32_t markValue, int32_t markMask,
198 int32_t interfaceId);
204 const std::string& remoteAddress, int32_t iKey,
205 int32_t oKey, int32_t interfaceId);
209 const std::string& remoteAddress, int32_t iKey,
210 int32_t oKey, int32_t interfaceId);
215 binder::Status idletimerAddInterface(const std::string& ifName, int32_t timeout,
217 binder::Status idletimerRemoveInterface(const std::string& ifName, int32_t timeout,
221 binder::Status strictUidCleartextPenalty(int32_t uid, int32_t policyPenalty) override;
253 std::vector<uid_t> intsToUids(const std::vector<int32_t>& intUids);
254 Permission convertPermission(int32_t permission);
255 static FirewallRule parseRule(int32_t firewallRule);
256 static ChildChain parseChildChain(int32_t childChain);