Searched refs:WARN_UNUSED_RESULT (Results 1 – 16 of 16) sorted by relevance
/system/netd/server/ |
D | RouteController.h | 45 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 …]
|
D | NetworkController.h | 88 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 …]
|
D | PhysicalNetwork.h | 33 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;
|
D | NetlinkCommands.h | 41 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,
|
D | VirtualNetwork.h | 45 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;
|
D | Network.h | 50 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;
|
D | RouteController.cpp | 228 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 …]
|
D | LocalNetwork.h | 32 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT; 33 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT;
|
D | DummyNetwork.h | 33 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT; 34 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT;
|
D | PhysicalNetwork.cpp | 30 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()
|
D | NetlinkCommands.cpp | 76 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()
|
D | NetdConstants.h | 61 #define WARN_UNUSED_RESULT __attribute__((__warn_unused_result__)) macro
|
D | NetworkController.cpp | 76 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/ |
D | compiler_specific.h | 154 #define WARN_UNUSED_RESULT __attribute__((warn_unused_result)) macro 156 #define WARN_UNUSED_RESULT macro
|
/system/tpm/tpm_manager/server/ |
D | openssl_crypto_util.h | 36 std::string* random_data) WARN_UNUSED_RESULT = 0;
|
D | openssl_crypto_util_impl.h | 42 std::string* random_data) override WARN_UNUSED_RESULT;
|