Home
last modified time | relevance | path

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

/system/netd/server/
DRouteController.h46 static int Init(unsigned localNetId) WARN_UNUSED_RESULT;
57 static int addInterfaceToLocalNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT;
59 const char* interface) WARN_UNUSED_RESULT;
62 Permission permission) WARN_UNUSED_RESULT;
64 Permission permission) WARN_UNUSED_RESULT;
67 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
69 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
73 Permission newPermission) WARN_UNUSED_RESULT;
76 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
78 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
[all …]
DNetworkController.h89 int setDefaultNetwork(unsigned netId) WARN_UNUSED_RESULT;
101 int createPhysicalNetwork(unsigned netId, Permission permission) WARN_UNUSED_RESULT;
102 int createPhysicalOemNetwork(Permission permission, unsigned *netId) WARN_UNUSED_RESULT;
103 int createVirtualNetwork(unsigned netId, bool hasDns, bool secure) WARN_UNUSED_RESULT;
104 int destroyNetwork(unsigned netId) WARN_UNUSED_RESULT;
106 int addInterfaceToNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT;
107 int removeInterfaceFromNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT;
113 const std::vector<unsigned>& netIds) WARN_UNUSED_RESULT;
115 int addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) WARN_UNUSED_RESULT;
116 int removeUsersFromNetwork(unsigned netId, const UidRanges& uidRanges) 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.h47 WARN_UNUSED_RESULT int openNetlinkSocket(int protocol);
51 WARN_UNUSED_RESULT int recvNetlinkAck(int sock);
65 WARN_UNUSED_RESULT int sendNetlinkRequest(uint16_t action, uint16_t flags, iovec* iov, int iovlen,
69 WARN_UNUSED_RESULT int processNetlinkDump(int sock, const NetlinkDumpCallback& callback);
75 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.cpp233 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint8_t ruleType, in modifyIpRule()
319 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, in modifyIpRule()
326 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, in modifyIpRule()
334 WARN_UNUSED_RESULT int modifyIpRoute(uint16_t action, uint32_t table, const char* interface, in modifyIpRoute()
435 WARN_UNUSED_RESULT int modifyIncomingPacketMark(unsigned netId, const char* interface, in modifyIncomingPacketMark()
461 WARN_UNUSED_RESULT int modifyVpnOutputToLocalRule(const char* vpnInterface, bool add) { in modifyVpnOutputToLocalRule()
472 WARN_UNUSED_RESULT int modifyVpnUidRangeRule(uint32_t table, uid_t uidStart, uid_t uidEnd, in modifyVpnUidRangeRule()
500 WARN_UNUSED_RESULT int modifyVpnSystemPermissionRule(unsigned netId, uint32_t table, bool secure, in modifyVpnSystemPermissionRule()
524 WARN_UNUSED_RESULT int modifyExplicitNetworkRule(unsigned netId, uint32_t table, in modifyExplicitNetworkRule()
547 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.h62 #define WARN_UNUSED_RESULT __attribute__((__warn_unused_result__)) macro
DNetworkController.cpp78 Permission permission, bool add) WARN_UNUSED_RESULT;
82 Permission permission) override WARN_UNUSED_RESULT;
84 Permission permission) override WARN_UNUSED_RESULT;
87 bool add) WARN_UNUSED_RESULT;
/system/bt/embdrv/g722/
Dg722_typedefs.h104 #if !defined(WARN_UNUSED_RESULT)
106 #define WARN_UNUSED_RESULT __attribute__((warn_unused_result)) macro
108 #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;