Lines Matching refs:Status

48 binder::Status checkPermission(const char *permission) {  in checkPermission()
53 return binder::Status::ok(); in checkPermission()
56 return binder::Status::fromExceptionCode(binder::Status::EX_SECURITY, String8(err.c_str())); in checkPermission()
61 binder::Status status = checkPermission((permission)); \
88 const binder::Status dump_permission = checkPermission(DUMP); in dump()
105 binder::Status NetdNativeService::isAlive(bool *alive) { in isAlive()
109 return binder::Status::ok(); in isAlive()
112 binder::Status NetdNativeService::firewallReplaceUidChain(const android::String16& chainName, in firewallReplaceUidChain()
119 return binder::Status::ok(); in firewallReplaceUidChain()
122 binder::Status NetdNativeService::bandwidthEnableDataSaver(bool enable, bool *ret) { in bandwidthEnableDataSaver()
127 return binder::Status::ok(); in bandwidthEnableDataSaver()
130 binder::Status NetdNativeService::networkRejectNonSecureVpn(bool add, in networkRejectNonSecureVpn()
149 return binder::Status::fromServiceSpecificError(-err, in networkRejectNonSecureVpn()
152 return binder::Status::ok(); in networkRejectNonSecureVpn()
155 binder::Status NetdNativeService::socketDestroy(const std::vector<UidRange>& uids, in socketDestroy()
162 return binder::Status::fromServiceSpecificError(EIO, in socketDestroy()
170 return binder::Status::fromServiceSpecificError(-err, in socketDestroy()
173 return binder::Status::ok(); in socketDestroy()
176 binder::Status NetdNativeService::setResolverConfiguration(int32_t netId, in setResolverConfiguration()
184 return binder::Status::fromServiceSpecificError(-err, in setResolverConfiguration()
187 return binder::Status::ok(); in setResolverConfiguration()
190 binder::Status NetdNativeService::getResolverInfo(int32_t netId, in getResolverInfo()
198 return binder::Status::fromServiceSpecificError(-err, in getResolverInfo()
201 return binder::Status::ok(); in getResolverInfo()