Home
last modified time | relevance | path

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

/system/netd/server/
DRouteController.h45 static int Init(unsigned localNetId) WARN_UNUSED_RESULT;
47 static int addInterfaceToLocalNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT;
49 const char* interface) WARN_UNUSED_RESULT;
52 Permission permission) WARN_UNUSED_RESULT;
54 Permission permission) WARN_UNUSED_RESULT;
57 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
59 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
63 Permission newPermission) WARN_UNUSED_RESULT;
66 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
68 const UidRanges& uidRanges) WARN_UNUSED_RESULT;
[all …]
DNetworkController.h88 int setDefaultNetwork(unsigned netId) WARN_UNUSED_RESULT;
100 int createPhysicalNetwork(unsigned netId, Permission permission) WARN_UNUSED_RESULT;
101 int createPhysicalOemNetwork(Permission permission, unsigned *netId) WARN_UNUSED_RESULT;
102 int createVirtualNetwork(unsigned netId, bool hasDns, bool secure) WARN_UNUSED_RESULT;
103 int destroyNetwork(unsigned netId) WARN_UNUSED_RESULT;
105 int addInterfaceToNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT;
106 int removeInterfaceFromNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT;
112 const std::vector<unsigned>& netIds) WARN_UNUSED_RESULT;
114 int addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) WARN_UNUSED_RESULT;
115 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.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.cpp228 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint8_t ruleType, in modifyIpRule()
314 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, in modifyIpRule()
321 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, in modifyIpRule()
329 WARN_UNUSED_RESULT int modifyIpRoute(uint16_t action, uint32_t table, const char* interface, in modifyIpRoute()
431 WARN_UNUSED_RESULT int modifyIncomingPacketMark(unsigned netId, const char* interface, in modifyIncomingPacketMark()
455 WARN_UNUSED_RESULT int modifyVpnOutputToLocalRule(const char* vpnInterface, bool add) { in modifyVpnOutputToLocalRule()
466 WARN_UNUSED_RESULT int modifyVpnUidRangeRule(uint32_t table, uid_t uidStart, uid_t uidEnd, in modifyVpnUidRangeRule()
494 WARN_UNUSED_RESULT int modifyVpnSystemPermissionRule(unsigned netId, uint32_t table, bool secure, in modifyVpnSystemPermissionRule()
518 WARN_UNUSED_RESULT int modifyExplicitNetworkRule(unsigned netId, uint32_t table, in modifyExplicitNetworkRule()
541 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.h61 #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;