Lines Matching refs:binder

37     binder::Status isAlive(bool *alive) override;
40 binder::Status firewallReplaceUidChain(const std::string& chainName, bool isAllowlist,
42 binder::Status firewallSetFirewallType(int32_t firewallType) override;
43 binder::Status firewallSetInterfaceRule(const std::string& ifName,
45 binder::Status firewallSetUidRule(int32_t childChain, int32_t uid,
47 binder::Status firewallEnableChildChain(int32_t childChain, bool enable) override;
48 binder::Status firewallAddUidInterfaceRules(const std::string& ifName,
50 binder::Status firewallRemoveUidInterfaceRules(const std::vector<int32_t>& uids) override;
53 binder::Status bandwidthEnableDataSaver(bool enable, bool *ret) override;
54 binder::Status bandwidthSetInterfaceQuota(const std::string& ifName, int64_t bytes) override;
55 binder::Status bandwidthRemoveInterfaceQuota(const std::string& ifName) override;
56 binder::Status bandwidthSetInterfaceAlert(const std::string& ifName, int64_t bytes) override;
57 binder::Status bandwidthRemoveInterfaceAlert(const std::string& ifName) override;
58 binder::Status bandwidthSetGlobalAlert(int64_t bytes) 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;
67 binder::Status networkDestroy(int32_t netId) override;
69 binder::Status networkAddInterface(int32_t netId, const std::string& iface) override;
70 binder::Status networkRemoveInterface(int32_t netId, const std::string& iface) override;
72 binder::Status networkAddUidRanges(int32_t netId,
74 binder::Status networkRemoveUidRanges(int32_t netId,
76 binder::Status networkRejectNonSecureVpn(bool enable,
78 binder::Status networkAddRouteParcel(int32_t netId, const RouteInfoParcel& route) override;
79 binder::Status networkUpdateRouteParcel(int32_t netId, const RouteInfoParcel& route) override;
80 binder::Status networkRemoveRouteParcel(int32_t netId, const RouteInfoParcel& route) override;
81 binder::Status networkAddRoute(int32_t netId, const std::string& ifName,
84 binder::Status networkRemoveRoute(int32_t netId, const std::string& ifName,
87 binder::Status networkAddLegacyRoute(int32_t netId, const std::string& ifName,
90 binder::Status networkRemoveLegacyRoute(int32_t netId, const std::string& ifName,
93 binder::Status networkSetDefault(int32_t netId) override;
94 binder::Status networkClearDefault() override;
95 binder::Status networkSetPermissionForNetwork(int32_t netId, int32_t permission) override;
96 binder::Status networkSetPermissionForUser(int32_t permission,
98 binder::Status networkClearPermissionForUser(const std::vector<int32_t>& uids) override;
99 binder::Status networkSetProtectAllow(int32_t uid) override;
100 binder::Status networkSetProtectDeny(int32_t uid) override;
102 binder::Status networkGetDefault(int32_t* netId) override;
103 binder::Status networkCanProtect(int32_t uid, bool* ret) override;
105 binder::Status trafficSetNetPermForUids(int32_t permission,
109 binder::Status socketDestroy(const std::vector<UidRangeParcel>& uids,
112 binder::Status setIPv6AddrGenMode(const std::string& ifName, int32_t mode) override;
115 binder::Status wakeupAddInterface(const std::string& ifName, const std::string& prefix,
118 binder::Status wakeupDelInterface(const std::string& ifName, const std::string& prefix,
122 binder::Status tetherApplyDnsInterfaces(bool *ret) override;
123 binder::Status tetherGetStats(
125 binder::Status tetherOffloadGetStats(
127 binder::Status tetherStart(const std::vector<std::string>& dhcpRanges) override;
128 binder::Status tetherStartWithConfiguration(const TetherConfigParcel& config) override;
129 binder::Status tetherStop() override;
130 binder::Status tetherIsEnabled(bool* enabled) override;
131 binder::Status tetherInterfaceAdd(const std::string& ifName) override;
132 binder::Status tetherInterfaceRemove(const std::string& ifName) override;
133 binder::Status tetherInterfaceList(std::vector<std::string>* ifList) override;
134 binder::Status tetherDnsSet(int32_t netId, const std::vector<std::string>& dnsAddrs) override;
135 binder::Status tetherDnsList(std::vector<std::string>* dnsList) override;
136 binder::Status tetherAddForward(const std::string& intIface,
138 binder::Status tetherRemoveForward(const std::string& intIface,
140 binder::Status tetherOffloadRuleAdd(const android::net::TetherOffloadRuleParcel& rule) override;
141 binder::Status tetherOffloadRuleRemove(
143 binder::Status tetherOffloadSetInterfaceQuota(int ifIndex, int64_t quotaBytes) override;
144 binder::Status tetherOffloadGetAndClearStats(
148 binder::Status interfaceAddAddress(const std::string &ifName,
150 binder::Status interfaceDelAddress(const std::string &ifName,
152 binder::Status interfaceGetList(std::vector<std::string>* interfaceListResult) override;
153 binder::Status interfaceGetCfg(const std::string& ifName,
155 binder::Status interfaceSetCfg(const InterfaceConfigurationParcel& cfg) override;
156 binder::Status interfaceSetIPv6PrivacyExtensions(const std::string& ifName,
158 binder::Status interfaceClearAddrs(const std::string& ifName) override;
159 binder::Status interfaceSetEnableIPv6(const std::string& ifName, bool enable) override;
160 binder::Status interfaceSetMtu(const std::string& ifName, int32_t mtuValue) override;
162 binder::Status getProcSysNet(int32_t ipversion, int32_t which, const std::string& ifname,
164 binder::Status setProcSysNet(int32_t ipversion, int32_t which, const std::string& ifname,
167 binder::Status ipSecSetEncapSocketOwner(const os::ParcelFileDescriptor& socket, int newUid);
169 binder::Status ipSecAllocateSpi(
176 binder::Status ipSecAddSecurityAssociation(
186 binder::Status ipSecDeleteSecurityAssociation(int32_t transformId,
192 binder::Status ipSecApplyTransportModeTransform(const os::ParcelFileDescriptor& socket,
198 binder::Status ipSecRemoveTransportModeTransform(const os::ParcelFileDescriptor& socket);
200 binder::Status ipSecAddSecurityPolicy(int32_t transformId, int32_t selAddrFamily,
205 binder::Status ipSecUpdateSecurityPolicy(int32_t transformId, int32_t selAddrFamily,
211 binder::Status ipSecDeleteSecurityPolicy(int32_t transformId, int32_t selAddrFamily,
215 binder::Status trafficSwapActiveStatsMap() override;
217 binder::Status ipSecAddTunnelInterface(const std::string& deviceName,
222 binder::Status ipSecUpdateTunnelInterface(const std::string& deviceName,
227 binder::Status ipSecRemoveTunnelInterface(const std::string& deviceName);
230 binder::Status idletimerAddInterface(const std::string& ifName, int32_t timeout,
232 binder::Status idletimerRemoveInterface(const std::string& ifName, int32_t timeout,
236 binder::Status strictUidCleartextPenalty(int32_t uid, int32_t policyPenalty) override;
239 binder::Status clatdStart(const std::string& ifName, const std::string& nat64Prefix,
241 binder::Status clatdStop(const std::string& ifName) override;
244 binder::Status ipfwdEnabled(bool* status) override;
245 binder::Status ipfwdGetRequesterList(std::vector<std::string>* requesterList) override;
246 binder::Status ipfwdEnableForwarding(const std::string& requester) override;
247 binder::Status ipfwdDisableForwarding(const std::string& requester) override;
248 binder::Status ipfwdAddInterfaceForward(const std::string& fromIface,
250 binder::Status ipfwdRemoveInterfaceForward(const std::string& fromIface,
254 binder::Status setTcpRWmemorySize(const std::string& rmemValues,
257 binder::Status registerUnsolicitedEventListener(
260 binder::Status getOemNetd(android::sp<android::IBinder>* listener) override;
261 binder::Status getFwmarkForNetwork(int32_t netId, MarkMaskParcel* markmask);