Lines Matching refs:int32_t
41 const std::vector<int32_t>& uids, bool* ret) override;
42 binder::Status firewallSetFirewallType(int32_t firewallType) override;
44 int32_t firewallRule) override;
45 binder::Status firewallSetUidRule(int32_t childChain, int32_t uid,
46 int32_t firewallRule) override;
47 binder::Status firewallEnableChildChain(int32_t childChain, bool enable) override;
49 const std::vector<int32_t>& uids) override;
50 binder::Status firewallRemoveUidInterfaceRules(const std::vector<int32_t>& uids) override;
59 binder::Status bandwidthAddNaughtyApp(int32_t uid) override;
60 binder::Status bandwidthRemoveNaughtyApp(int32_t uid) override;
61 binder::Status bandwidthAddNiceApp(int32_t uid) override;
62 binder::Status bandwidthRemoveNiceApp(int32_t uid) override;
65 binder::Status networkCreatePhysical(int32_t netId, int32_t permission) override;
66 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,
83 binder::Status networkAddRouteParcel(int32_t netId, const RouteInfoParcel& route) override;
84 binder::Status networkUpdateRouteParcel(int32_t netId, const RouteInfoParcel& route) override;
85 binder::Status networkRemoveRouteParcel(int32_t netId, const RouteInfoParcel& route) override;
86 binder::Status networkAddRoute(int32_t netId, const std::string& ifName,
89 binder::Status networkRemoveRoute(int32_t netId, const std::string& ifName,
92 binder::Status networkAddLegacyRoute(int32_t netId, const std::string& ifName,
94 int32_t uid) override;
95 binder::Status networkRemoveLegacyRoute(int32_t netId, const std::string& ifName,
97 const std::string& nextHop, int32_t uid) override;
98 binder::Status networkSetDefault(int32_t netId) override;
100 binder::Status networkSetPermissionForNetwork(int32_t netId, int32_t permission) override;
101 binder::Status networkSetPermissionForUser(int32_t permission,
102 const std::vector<int32_t>& uids) override;
103 binder::Status networkClearPermissionForUser(const std::vector<int32_t>& uids) override;
104 binder::Status networkSetProtectAllow(int32_t uid) override;
105 binder::Status networkSetProtectDeny(int32_t uid) override;
107 binder::Status networkGetDefault(int32_t* netId) override;
108 binder::Status networkCanProtect(int32_t uid, bool* ret) override;
110 binder::Status trafficSetNetPermForUids(int32_t permission,
111 const std::vector<int32_t>& uids) override;
115 const std::vector<int32_t>& skipUids) override;
117 binder::Status setIPv6AddrGenMode(const std::string& ifName, int32_t mode) override;
121 int32_t mark, int32_t mask) override;
124 int32_t mark, int32_t mask) override;
139 binder::Status tetherDnsSet(int32_t netId, const std::vector<std::string>& dnsAddrs) override;
165 binder::Status interfaceSetMtu(const std::string& ifName, int32_t mtuValue) override;
167 binder::Status getProcSysNet(int32_t ipversion, int32_t which, const std::string& ifname,
169 binder::Status setProcSysNet(int32_t ipversion, int32_t which, const std::string& ifname,
175 int32_t transformId,
178 int32_t inSpi,
179 int32_t* outSpi);
182 int32_t transformId, int32_t mode, const std::string& sourceAddress,
183 const std::string& destinationAddress, int32_t underlyingNetId, int32_t spi,
184 int32_t markValue, int32_t markMask, const std::string& authAlgo,
185 const std::vector<uint8_t>& authKey, int32_t authTruncBits,
187 int32_t cryptTruncBits, const std::string& aeadAlgo,
188 const std::vector<uint8_t>& aeadKey, int32_t aeadIcvBits, int32_t encapType,
189 int32_t encapLocalPort, int32_t encapRemotePort, int32_t interfaceId);
191 binder::Status ipSecDeleteSecurityAssociation(int32_t transformId,
194 int32_t spi, int32_t markValue, int32_t markMask,
195 int32_t interfaceId);
198 int32_t transformId, int32_t direction,
201 int32_t spi);
205 binder::Status ipSecAddSecurityPolicy(int32_t transformId, int32_t selAddrFamily,
206 int32_t direction, const std::string& tmplSrcAddress,
207 const std::string& tmplDstAddress, int32_t spi,
208 int32_t markValue, int32_t markMask, int32_t interfaceId);
210 binder::Status ipSecUpdateSecurityPolicy(int32_t transformId, int32_t selAddrFamily,
211 int32_t direction, const std::string& tmplSrcAddress,
212 const std::string& tmplDstAddress, int32_t spi,
213 int32_t markValue, int32_t markMask,
214 int32_t interfaceId);
216 binder::Status ipSecDeleteSecurityPolicy(int32_t transformId, int32_t selAddrFamily,
217 int32_t direction, int32_t markValue, int32_t markMask,
218 int32_t interfaceId);
224 const std::string& remoteAddress, int32_t iKey,
225 int32_t oKey, int32_t interfaceId);
229 const std::string& remoteAddress, int32_t iKey,
230 int32_t oKey, int32_t interfaceId);
235 binder::Status idletimerAddInterface(const std::string& ifName, int32_t timeout,
237 binder::Status idletimerRemoveInterface(const std::string& ifName, int32_t timeout,
241 binder::Status strictUidCleartextPenalty(int32_t uid, int32_t policyPenalty) override;
266 binder::Status getFwmarkForNetwork(int32_t netId, MarkMaskParcel* markmask);
269 std::vector<uid_t> intsToUids(const std::vector<int32_t>& intUids);
270 Permission convertPermission(int32_t permission);
271 static FirewallRule parseRule(int32_t firewallRule);
272 static ChildChain parseChildChain(int32_t childChain);