Home
last modified time | relevance | path

Searched refs:WARN_UNUSED_RESULT (Results 1 – 16 of 16) sorted by relevance

/system/netd/server/
DRouteController.h43 static int Init(unsigned localNetId) WARN_UNUSED_RESULT;
45 static int addInterfaceToLocalNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT;
47 const char* interface) WARN_UNUSED_RESULT;
50 Permission permission) WARN_UNUSED_RESULT;
52 Permission permission) WARN_UNUSED_RESULT;
55 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
57 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
61 Permission newPermission) WARN_UNUSED_RESULT;
64 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
66 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
[all …]
DNetworkController.h57 int setDefaultNetwork(unsigned netId) WARN_UNUSED_RESULT;
69 int createPhysicalNetwork(unsigned netId, Permission permission) WARN_UNUSED_RESULT;
70 int createVirtualNetwork(unsigned netId, bool hasDns, bool secure) WARN_UNUSED_RESULT;
71 int destroyNetwork(unsigned netId) WARN_UNUSED_RESULT;
73 int addInterfaceToNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT;
74 int removeInterfaceFromNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT;
80 const std::vector<unsigned>& netIds) WARN_UNUSED_RESULT;
82 int addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) WARN_UNUSED_RESULT;
83 int removeUsersFromNetwork(unsigned netId, const UidRanges& uidRanges) WARN_UNUSED_RESULT;
91 const char* nexthop, bool legacy, uid_t uid) WARN_UNUSED_RESULT;
[all …]
DPhysicalNetwork.h33 Permission permission) WARN_UNUSED_RESULT = 0;
35 Permission permission) WARN_UNUSED_RESULT = 0;
43 int setPermission(Permission permission) WARN_UNUSED_RESULT;
45 int addAsDefault() WARN_UNUSED_RESULT;
46 int removeAsDefault() WARN_UNUSED_RESULT;
50 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT;
51 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT;
DNetlinkCommands.h41 WARN_UNUSED_RESULT int openNetlinkSocket(int protocol);
45 WARN_UNUSED_RESULT int recvNetlinkAck(int sock);
59 WARN_UNUSED_RESULT int sendNetlinkRequest(uint16_t action, uint16_t flags, iovec* iov, int iovlen,
63 WARN_UNUSED_RESULT int processNetlinkDump(int sock, const NetlinkDumpCallback& callback);
69 WARN_UNUSED_RESULT int rtNetlinkFlush(uint16_t getAction, uint16_t deleteAction,
DVirtualNetwork.h45 const std::set<uid_t>& protectableUsers) WARN_UNUSED_RESULT;
47 const std::set<uid_t>& protectableUsers) WARN_UNUSED_RESULT;
51 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT;
52 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT;
DNetwork.h50 virtual int addInterface(const std::string& interface) WARN_UNUSED_RESULT = 0;
51 virtual int removeInterface(const std::string& interface) WARN_UNUSED_RESULT = 0;
52 int clearInterfaces() WARN_UNUSED_RESULT;
DRouteController.cpp217 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint8_t ruleType, in modifyIpRule()
303 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, in modifyIpRule()
310 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, in modifyIpRule()
318 WARN_UNUSED_RESULT int modifyIpRoute(uint16_t action, uint32_t table, const char* interface, in modifyIpRoute()
416 WARN_UNUSED_RESULT int modifyIncomingPacketMark(unsigned netId, const char* interface, in modifyIncomingPacketMark()
439 WARN_UNUSED_RESULT int modifyVpnOutputToLocalRule(const char* vpnInterface, bool add) { in modifyVpnOutputToLocalRule()
450 WARN_UNUSED_RESULT int modifyVpnUidRangeRule(uint32_t table, uid_t uidStart, uid_t uidEnd, in modifyVpnUidRangeRule()
478 WARN_UNUSED_RESULT int modifyVpnSystemPermissionRule(unsigned netId, uint32_t table, bool secure, in modifyVpnSystemPermissionRule()
502 WARN_UNUSED_RESULT int modifyExplicitNetworkRule(unsigned netId, uint32_t table, in modifyExplicitNetworkRule()
525 WARN_UNUSED_RESULT int modifyOutputInterfaceRules(const char* interface, uint32_t table, in modifyOutputInterfaceRules()
[all …]
DLocalNetwork.h32 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT;
33 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT;
DDummyNetwork.h33 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT;
34 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT;
DPhysicalNetwork.cpp30 WARN_UNUSED_RESULT int addToDefault(unsigned netId, const std::string& interface, in addToDefault()
42 WARN_UNUSED_RESULT int removeFromDefault(unsigned netId, const std::string& interface, in removeFromDefault()
DNetlinkCommands.cpp76 WARN_UNUSED_RESULT int sendNetlinkRequest(uint16_t action, uint16_t flags, iovec* iov, int iovlen, in sendNetlinkRequest()
148 WARN_UNUSED_RESULT int rtNetlinkFlush(uint16_t getAction, uint16_t deleteAction, in rtNetlinkFlush()
DNetdConstants.h64 #define WARN_UNUSED_RESULT __attribute__((__warn_unused_result__)) macro
DNetworkController.cpp76 Permission permission, bool add) WARN_UNUSED_RESULT;
80 Permission permission) override WARN_UNUSED_RESULT;
82 Permission permission) override WARN_UNUSED_RESULT;
85 bool add) WARN_UNUSED_RESULT;
/system/extras/perfprofd/quipper/base/
Dcompiler_specific.h154 #define WARN_UNUSED_RESULT __attribute__((warn_unused_result)) macro
156 #define WARN_UNUSED_RESULT macro
/system/tpm/tpm_manager/server/
Dopenssl_crypto_util.h36 std::string* random_data) WARN_UNUSED_RESULT = 0;
Dopenssl_crypto_util_impl.h42 std::string* random_data) override WARN_UNUSED_RESULT;