Lines Matching refs:ndk
54 ::ndk::ScopedAStatus status = checkAnyPermission({__VA_ARGS__}); \
66 inline ::ndk::ScopedAStatus statusFromErrcode(int ret) { in statusFromErrcode()
68 return ::ndk::ScopedAStatus( in statusFromErrcode()
71 return ::ndk::ScopedAStatus(AStatus_newOk()); in statusFromErrcode()
118 ::ndk::ScopedAStatus DnsResolverService::isAlive(bool* alive) { in isAlive()
123 return ::ndk::ScopedAStatus(AStatus_newOk()); in isAlive()
126 ::ndk::ScopedAStatus DnsResolverService::registerEventListener( in registerEventListener()
135 ::ndk::ScopedAStatus DnsResolverService::checkAnyPermission( in checkAnyPermission()
140 return ::ndk::ScopedAStatus(AStatus_fromExceptionCodeWithMessage( in checkAnyPermission()
156 return ::ndk::ScopedAStatus(AStatus_newOk()); in checkAnyPermission()
161 return ::ndk::ScopedAStatus(AStatus_newOk()); in checkAnyPermission()
167 return ::ndk::ScopedAStatus(AStatus_fromExceptionCodeWithMessage(EX_SECURITY, err.c_str())); in checkAnyPermission()
197 ::ndk::ScopedAStatus DnsResolverService::setResolverConfiguration( in setResolverConfiguration()
215 return ::ndk::ScopedAStatus(AStatus_fromServiceSpecificErrorWithMessage( in setResolverConfiguration()
229 ::ndk::ScopedAStatus DnsResolverService::getResolverInfo( in getResolverInfo()
242 ::ndk::ScopedAStatus DnsResolverService::startPrefix64Discovery(int32_t netId) { in startPrefix64Discovery()
248 return ::ndk::ScopedAStatus(AStatus_newOk()); in startPrefix64Discovery()
251 ::ndk::ScopedAStatus DnsResolverService::stopPrefix64Discovery(int32_t netId) { in stopPrefix64Discovery()
257 return ::ndk::ScopedAStatus(AStatus_newOk()); in stopPrefix64Discovery()
260 ::ndk::ScopedAStatus DnsResolverService::getPrefix64(int netId, std::string* stringPrefix) { in getPrefix64()
270 ::ndk::ScopedAStatus DnsResolverService::setLogSeverity(int32_t logSeverity) { in setLogSeverity()
278 ::ndk::ScopedAStatus DnsResolverService::destroyNetworkCache(int netId) { in destroyNetworkCache()
284 return ::ndk::ScopedAStatus(AStatus_newOk()); in destroyNetworkCache()
287 ::ndk::ScopedAStatus DnsResolverService::createNetworkCache(int netId) { in createNetworkCache()