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

/system/netd/server/
H A DRouteController.h45 static int Init(unsigned localNetId) WARN_UNUSED_RESULT; member in class:android::net::RouteController
47 static int addInterfaceToLocalNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT; member in class:android::net::RouteController
49 const char* interface) WARN_UNUSED_RESULT; member in class:android::net::RouteController
52 Permission permission) WARN_UNUSED_RESULT; member in class:android::net::RouteController
54 Permission permission) WARN_UNUSED_RESULT; member in class:android::net::RouteController
57 const UidRanges& uidRanges) WARN_UNUSED_RESULT; member in class:android::net::RouteController
59 const UidRanges& uidRanges) WARN_UNUSED_RESULT; member in class:android::net::RouteController
63 Permission newPermission) WARN_UNUSED_RESULT; member in class:android::net::RouteController
66 const UidRanges& uidRanges) WARN_UNUSED_RESULT; member in class:android::net::RouteController
68 const UidRanges& uidRanges) WARN_UNUSED_RESULT; member in class:android::net::RouteController
71 WARN_UNUSED_RESULT; member in class:android::net::RouteController
73 WARN_UNUSED_RESULT; member in class:android::net::RouteController
76 Permission permission) WARN_UNUSED_RESULT; member in class:android::net::RouteController
78 Permission permission) WARN_UNUSED_RESULT; member in class:android::net::RouteController
83 TableType tableType) WARN_UNUSED_RESULT; member in class:android::net::RouteController
85 TableType tableType) WARN_UNUSED_RESULT; member in class:android::net::RouteController
88 const char* outputInterface) WARN_UNUSED_RESULT; member in class:android::net::RouteController
90 const char* outputInterface) WARN_UNUSED_RESULT; member in class:android::net::RouteController
93 Permission permission) WARN_UNUSED_RESULT; member in class:android::net::RouteController
95 Permission permission) WARN_UNUSED_RESULT; member in class:android::net::RouteController
106 const char* nexthop) WARN_UNUSED_RESULT; member in namespace:android::net
107 int flushRoutes(uint32_t table) WARN_UNUSED_RESULT; member in namespace:android::net
[all...]
H A DPhysicalNetwork.h33 Permission permission) WARN_UNUSED_RESULT = 0; member in class:android::net::PhysicalNetwork::Delegate
35 Permission permission) WARN_UNUSED_RESULT = 0; member in class:android::net::PhysicalNetwork::Delegate
43 int setPermission(Permission permission) WARN_UNUSED_RESULT; member in class:android::net::PhysicalNetwork
45 int addAsDefault() WARN_UNUSED_RESULT; member in class:android::net::PhysicalNetwork
46 int removeAsDefault() WARN_UNUSED_RESULT; member in class:android::net::PhysicalNetwork
50 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT; member in class:android::net::PhysicalNetwork
51 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT; member in class:android::net::PhysicalNetwork
H A DLocalNetwork.h32 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT; member in class:android::net::LocalNetwork
33 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT; member in class:android::net::LocalNetwork
H A 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,
H A DVirtualNetwork.h45 const std::set<uid_t>& protectableUsers) WARN_UNUSED_RESULT; member in class:android::net::VirtualNetwork
47 const std::set<uid_t>& protectableUsers) WARN_UNUSED_RESULT; member in class:android::net::VirtualNetwork
51 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT; member in class:android::net::VirtualNetwork
52 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT; member in class:android::net::VirtualNetwork
H A DDummyNetwork.h33 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT; member in class:android::net::DummyNetwork
34 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT; member in class:android::net::DummyNetwork
H A DNetworkController.h88 int setDefaultNetwork(unsigned netId) WARN_UNUSED_RESULT; member in class:android::net::NetworkController
100 int createPhysicalNetwork(unsigned netId, Permission permission) WARN_UNUSED_RESULT; member in class:android::net::NetworkController
101 int createPhysicalOemNetwork(Permission permission, unsigned *netId) WARN_UNUSED_RESULT; member in class:android::net::NetworkController
102 int createVirtualNetwork(unsigned netId, bool hasDns, bool secure) WARN_UNUSED_RESULT; member in class:android::net::NetworkController
103 int destroyNetwork(unsigned netId) WARN_UNUSED_RESULT; member in class:android::net::NetworkController
105 int addInterfaceToNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT; member in class:android::net::NetworkController
106 int removeInterfaceFromNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT; member in class:android::net::NetworkController
112 const std::vector<unsigned>& netIds) WARN_UNUSED_RESULT; member in class:android::net::NetworkController
114 int addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) WARN_UNUSED_RESULT; member in class:android::net::NetworkController
115 int removeUsersFromNetwork(unsigned netId, const UidRanges& uidRanges) WARN_UNUSED_RESULT; member in class:android::net::NetworkController
123 const char* nexthop, bool legacy, uid_t uid) WARN_UNUSED_RESULT; member in class:android::net::NetworkController
125 const char* nexthop, bool legacy, uid_t uid) WARN_UNUSED_RESULT; member in class:android::net::NetworkController
140 int createPhysicalNetworkLocked(unsigned netId, Permission permission) WARN_UNUSED_RESULT; member in class:android::net::NetworkController
143 const char* nexthop, bool add, bool legacy, uid_t uid) WARN_UNUSED_RESULT; member in class:android::net::NetworkController
144 int modifyFallthroughLocked(unsigned vpnNetId, bool add) WARN_UNUSED_RESULT; member in class:android::net::NetworkController
[all...]
H A DNetwork.h50 virtual int addInterface(const std::string& interface) WARN_UNUSED_RESULT = 0; member in class:android::net::Network
51 virtual int removeInterface(const std::string& interface) WARN_UNUSED_RESULT = 0; member in class:android::net::Network
52 int clearInterfaces() WARN_UNUSED_RESULT; member in class:android::net::Network
H A DRouteController.cpp228 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint8_t ruleType,
314 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table,
321 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table,
329 WARN_UNUSED_RESULT int modifyIpRoute(uint16_t action, uint32_t table, const char* interface,
431 WARN_UNUSED_RESULT int modifyIncomingPacketMark(unsigned netId, const char* interface,
455 WARN_UNUSED_RESULT int modifyVpnOutputToLocalRule(const char* vpnInterface, bool add) {
466 WARN_UNUSED_RESULT int modifyVpnUidRangeRule(uint32_t table, uid_t uidStart, uid_t uidEnd,
494 WARN_UNUSED_RESULT int modifyVpnSystemPermissionRule(unsigned netId, uint32_t table, bool secure,
518 WARN_UNUSED_RESULT int modifyExplicitNetworkRule(unsigned netId, uint32_t table,
541 WARN_UNUSED_RESULT in
[all...]
H A DNetdConstants.h61 #define WARN_UNUSED_RESULT __attribute__((__warn_unused_result__)) macro
H A DNetlinkCommands.cpp76 WARN_UNUSED_RESULT int sendNetlinkRequest(uint16_t action, uint16_t flags, iovec* iov, int iovlen,
148 WARN_UNUSED_RESULT int rtNetlinkFlush(uint16_t getAction, uint16_t deleteAction,
H A DPhysicalNetwork.cpp30 WARN_UNUSED_RESULT int addToDefault(unsigned netId, const std::string& interface,
42 WARN_UNUSED_RESULT int removeFromDefault(unsigned netId, const std::string& interface,
H A DNetworkController.cpp76 Permission permission, bool add) WARN_UNUSED_RESULT; member in class:android::net::NetworkController::DelegateImpl
80 Permission permission) override WARN_UNUSED_RESULT; member in class:android::net::NetworkController::DelegateImpl
82 Permission permission) override WARN_UNUSED_RESULT; member in class:android::net::NetworkController::DelegateImpl
85 bool add) WARN_UNUSED_RESULT; member in class:android::net::NetworkController::DelegateImpl
/system/tpm/tpm_manager/server/
H A Dopenssl_crypto_util.h36 std::string* random_data) WARN_UNUSED_RESULT = 0; member in class:tpm_manager::OpensslCryptoUtil
H A Dopenssl_crypto_util_impl.h42 std::string* random_data) override WARN_UNUSED_RESULT; member in class:tpm_manager::OpensslCryptoUtilImpl
/system/extras/perfprofd/quipper/base/
H A Dcompiler_specific.h151 // int foo() WARN_UNUSED_RESULT;
154 #define WARN_UNUSED_RESULT __attribute__((warn_unused_result)) macro
156 #define WARN_UNUSED_RESULT macro

Completed in 742 milliseconds