Searched refs:REQUIRES (Results 1 – 23 of 23) sorted by relevance
/system/netd/resolv/ |
D | DnsTlsSocket.h | 78 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);
|
D | Dns64Configuration.h | 101 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);
|
D | DnsTlsTransport.h | 74 void doConnect() REQUIRES(mLock); 87 bool sendQuery(const DnsTlsQueryMap::Query q) REQUIRES(mLock);
|
D | Dns64Configuration.cpp | 108 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()
|
D | ResolverEventReporter.h | 60 REQUIRES(mMutex);
|
D | DnsTlsQueryMap.h | 97 int32_t getFreeId() REQUIRES(mLock);
|
D | PrivateDnsConfiguration.h | 70 unsigned netId, uint32_t mark) REQUIRES(mPrivateDnsLock);
|
D | DnsTlsDispatcher.h | 96 void cleanup(std::chrono::time_point<std::chrono::steady_clock> now) REQUIRES(sLock);
|
D | PrivateDnsConfiguration.cpp | 174 uint32_t mark) REQUIRES(mPrivateDnsLock) { in validatePrivateDnsProvider()
|
D | res_cache.cpp | 1164 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/ |
D | ClatdController.h | 83 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);
|
D | TrafficController.h | 211 UidOwnerMatchType match) REQUIRES(mMutex); 214 UidOwnerMatchType match, uint32_t iif = 0) REQUIRES(mMutex); 255 bool hasUpdateDeviceStatsPermission(uid_t uid) REQUIRES(mMutex);
|
D | TcpSocketMonitor.h | 90 const struct tcp_info *tcpinfo, uint32_t tcpinfoLen) REQUIRES(mLock);
|
D | RouteController.h | 124 REQUIRES(sInterfaceToTableLock);
|
/system/core/libutils/ |
D | Mutex_test.cpp | 24 void modifyLockedVariable() REQUIRES(mLock) { in modifyLockedVariable()
|
/system/core/base/include/android-base/ |
D | thread_annotations.h | 50 #define REQUIRES(...) \ macro
|
/system/core/libutils/include/utils/ |
D | Mutex.h | 51 #define REQUIRES(...) THREAD_ANNOTATION_ATTRIBUTE__(requires_capability(__VA_ARGS__)) macro
|
/system/core/adb/ |
D | transport_fd.cpp | 171 WriteResult DispatchWrites() REQUIRES(write_mutex_) { in DispatchWrites()
|
D | transport_local.cpp | 349 REQUIRES(local_transports_lock) { in find_emulator_transport_by_adb_port_locked()
|
D | transport.cpp | 298 cv_.wait(lock, [this]() REQUIRES(mutex_) { in Start() 949 return cv_.wait_for(lock, timeout, [&]() REQUIRES(mutex_) { in WaitForConnection()
|
/system/core/adb/daemon/ |
D | auth.cpp | 102 REQUIRES(framework_mutex) { in adbd_send_key_message_locked()
|
D | usb.cpp | 631 void SubmitWrites() REQUIRES(write_mutex_) { in SubmitWrites()
|
/system/netd/resolv/dns_responder/ |
D | dns_responder.cpp | 956 guard, [this]() REQUIRES(cv_mutex_for_deferred_resp_) { return !deferred_resp_; }); in handleQuery()
|