Searched refs:WARN_UNUSED_RESULT (Results 1 – 16 of 16) sorted by relevance
/system/netd/server/ |
D | RouteController.h | 46 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 …]
|
D | NetworkController.h | 89 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 …]
|
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 | 47 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,
|
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 | 233 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 …]
|
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 | 62 #define WARN_UNUSED_RESULT __attribute__((__warn_unused_result__)) macro
|
D | NetworkController.cpp | 78 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/ |
D | g722_typedefs.h | 104 #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/ |
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;
|