Home
last modified time | relevance | path

Searched refs:REQUIRES (Results 1 – 23 of 23) sorted by relevance

/system/netd/resolv/
DDnsTlsSocket.h78 netdutils::Status tcpConnect() REQUIRES(mLock);
82 bssl::UniquePtr<SSL> sslConnect(int fd) REQUIRES(mLock);
85 void sslDisconnect() REQUIRES(mLock);
88 bool sslWrite(const netdutils::Slice buffer) REQUIRES(mLock);
94 int sslRead(const netdutils::Slice buffer, bool wait) REQUIRES(mLock);
96 bool sendQuery(const std::vector<uint8_t>& buf) REQUIRES(mLock);
97 bool readResponse() REQUIRES(mLock);
DDns64Configuration.h101 unsigned getNextId() REQUIRES(mMutex) { return mNextId++; } in getNextId()
102 netdutils::IPPrefix getPrefix64Locked(unsigned netId) const REQUIRES(mMutex);
103 bool isDiscoveryInProgress(const Dns64Config& cfg) const REQUIRES(mMutex);
105 REQUIRES(mMutex);
109 void removeDns64Config(unsigned netId) REQUIRES(mMutex);
DDnsTlsTransport.h74 void doConnect() REQUIRES(mLock);
87 bool sendQuery(const DnsTlsQueryMap::Query q) REQUIRES(mLock);
DDns64Configuration.cpp108 IPPrefix Dns64Configuration::getPrefix64Locked(unsigned netId) const REQUIRES(mMutex) { in getPrefix64Locked()
187 bool Dns64Configuration::isDiscoveryInProgress(const Dns64Config& cfg) const REQUIRES(mMutex) { in isDiscoveryInProgress()
211 void Dns64Configuration::removeDns64Config(unsigned netId) REQUIRES(mMutex) { in removeDns64Config()
DResolverEventReporter.h60 REQUIRES(mMutex);
DDnsTlsQueryMap.h97 int32_t getFreeId() REQUIRES(mLock);
DPrivateDnsConfiguration.h70 unsigned netId, uint32_t mark) REQUIRES(mPrivateDnsLock);
DDnsTlsDispatcher.h96 void cleanup(std::chrono::time_point<std::chrono::steady_clock> now) REQUIRES(sLock);
DPrivateDnsConfiguration.cpp174 uint32_t mark) REQUIRES(mPrivateDnsLock) { in validatePrivateDnsProvider()
Dres_cache.cpp1164 static resolv_cache* find_named_cache_locked(unsigned netid) REQUIRES(cache_mutex);
1165 static int resolv_create_cache_for_net_locked(unsigned netid) REQUIRES(cache_mutex);
1409 static resolv_cache_info* find_cache_info_locked(unsigned netid) REQUIRES(cache_mutex);
1465 [netid, &cache, &key]() REQUIRES(cache_mutex) { in _resolv_cache_lookup()
/system/netd/server/
DClatdController.h83 ClatdTracker* getClatdTracker(const std::string& interface) REQUIRES(mutex);
104 void maybeStartBpf(const ClatdTracker& tracker) REQUIRES(mutex);
105 void maybeStopBpf(const ClatdTracker& tracker) REQUIRES(mutex);
107 REQUIRES(mutex);
DTrafficController.h211 UidOwnerMatchType match) REQUIRES(mMutex);
214 UidOwnerMatchType match, uint32_t iif = 0) REQUIRES(mMutex);
255 bool hasUpdateDeviceStatsPermission(uid_t uid) REQUIRES(mMutex);
DTcpSocketMonitor.h90 const struct tcp_info *tcpinfo, uint32_t tcpinfoLen) REQUIRES(mLock);
DRouteController.h124 REQUIRES(sInterfaceToTableLock);
/system/core/libutils/
DMutex_test.cpp24 void modifyLockedVariable() REQUIRES(mLock) { in modifyLockedVariable()
/system/core/base/include/android-base/
Dthread_annotations.h50 #define REQUIRES(...) \ macro
/system/core/libutils/include/utils/
DMutex.h51 #define REQUIRES(...) THREAD_ANNOTATION_ATTRIBUTE__(requires_capability(__VA_ARGS__)) macro
/system/core/adb/
Dtransport_fd.cpp171 WriteResult DispatchWrites() REQUIRES(write_mutex_) { in DispatchWrites()
Dtransport_local.cpp349 REQUIRES(local_transports_lock) { in find_emulator_transport_by_adb_port_locked()
Dtransport.cpp298 cv_.wait(lock, [this]() REQUIRES(mutex_) { in Start()
949 return cv_.wait_for(lock, timeout, [&]() REQUIRES(mutex_) { in WaitForConnection()
/system/core/adb/daemon/
Dauth.cpp102 REQUIRES(framework_mutex) { in adbd_send_key_message_locked()
Dusb.cpp631 void SubmitWrites() REQUIRES(write_mutex_) { in SubmitWrites()
/system/netd/resolv/dns_responder/
Ddns_responder.cpp956 guard, [this]() REQUIRES(cv_mutex_for_deferred_resp_) { return !deferred_resp_; }); in handleQuery()