Home
last modified time | relevance | path

Searched refs:sLock (Results 1 – 25 of 55) sorted by relevance

123

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiVendorHal.java89 synchronized (sLock) { in enableVerboseLogging()
157 public static final Object sLock = new Object(); field in WifiVendorHal
168 synchronized (sLock) { in initialize()
186 synchronized (sLock) { in registerRadioModeChangeHandler()
205 synchronized (sLock) { in isVendorHalSupported()
214 synchronized (sLock) { in isVendorHalReady()
225 synchronized (sLock) { in startVendorHalSta()
243 synchronized (sLock) { in startVendorHal()
256 synchronized (sLock) { in getStaIface()
270 synchronized (sLock) { in onDestroyed()
[all …]
/packages/modules/DnsResolver/
DDnsTlsDispatcher.h69 void forceCleanup(unsigned netId) EXCLUDES(sLock);
77 static std::mutex sLock; variable
102 int useCount GUARDED_BY(sLock) = 0;
104 std::chrono::time_point<std::chrono::steady_clock> lastUsed GUARDED_BY(sLock);
108 bool usable() REQUIRES(sLock);
111 int continuousfailureCount GUARDED_BY(sLock) = 0;
113 bool checkRevalidationNecessary() REQUIRES(sLock);
123 bool isRevalidationThresholdReached GUARDED_BY(sLock) = false;
126 bool isXportUnusableThresholdReached GUARDED_BY(sLock) = false;
149 REQUIRES(sLock);
[all …]
DDnsTlsDispatcher.cpp40 std::mutex DnsTlsDispatcher::sLock; member in android::net::DnsTlsDispatcher
66 std::lock_guard guard(sLock); in getOrderedAndUsableServerList()
118 std::lock_guard guard(sLock); in query()
183 std::lock_guard guard(sLock); in query()
214 std::lock_guard guard(sLock); in query()
245 std::lock_guard guard(sLock); in forceCleanup()
290 std::erase_if(mStore, [&](const auto& item) REQUIRES(sLock) { in cleanup()
/packages/modules/Permission/tests/cts/permission/permissionTestUtilLib/src/android/permission/cts/
DCtsNotificationListenerService.java41 private static final Object sLock = new Object(); field in CtsNotificationListenerService
48 synchronized (sLock) { in onListenerConnected()
50 sLock.notifyAll(); in onListenerConnected()
55 synchronized (sLock) { in getInstance()
57 sLock.wait(5000); in getInstance()
68 synchronized (sLock) { in onListenerDisconnected()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES11IdImpl.java28 private static Object sLock = new Object(); field in GLES11IdImpl
32 synchronized (sLock) { in generateTexture()
39 synchronized (sLock) { in glGenBuffers()
48 synchronized (sLock) { in glDeleteTextures()
55 synchronized (sLock) { in glDeleteBuffers()
62 synchronized (sLock) { in glDeleteFramebuffers()
/packages/modules/HealthFitness/framework/java/android/health/connect/ratelimiter/
DRateLimiter.java61 private static final ReentrantReadWriteLock sLock = new ReentrantReadWriteLock(); field in RateLimiter
134 sLock.readLock().lock(); in tryAcquireApiCallQuota()
140 sLock.readLock().unlock(); in tryAcquireApiCallQuota()
164 sLock.readLock().lock(); in tryAcquireApiCallQuota()
170 sLock.readLock().unlock(); in tryAcquireApiCallQuota()
200 sLock.readLock().lock(); in checkMaxChunkMemoryUsage()
206 sLock.readLock().unlock(); in checkMaxChunkMemoryUsage()
220 sLock.readLock().lock(); in checkMaxRecordMemoryUsage()
226 sLock.readLock().unlock(); in checkMaxRecordMemoryUsage()
245 sLock.writeLock().lock(); in updateEnableRateLimiterFlag()
[all …]
/packages/modules/Permission/service/java/com/android/permission/util/
DForegroundThread.java32 private static final Object sLock = new Object(); field in ForegroundThread
62 synchronized (sLock) { in get()
75 synchronized (sLock) { in getHandler()
88 synchronized (sLock) { in getExecutor()
/packages/services/Telecomm/src/com/android/server/telecom/voip/
DTransactionManager.java40 private static final Object sLock = new Object(); field in TransactionManager
60 synchronized (sLock) { in getInstance()
75 synchronized (sLock) { in addTransaction()
117 synchronized (sLock) { in startTransactions()
133 synchronized (sLock) { in finishTransaction()
145 synchronized (sLock) { in clear()
171 synchronized (sLock) { in dump()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/
DForegroundThread.java33 private static final Object sLock = new Object(); field in ForegroundThread
63 synchronized (sLock) { in get()
76 synchronized (sLock) { in getHandler()
89 synchronized (sLock) { in getExecutor()
/packages/modules/StatsD/framework/java/android/app/
DStatsManager.java70 private static final Object sLock = new Object(); field in StatsManager
168 synchronized (sLock) { in addConfig()
210 synchronized (sLock) { in removeConfig()
275 synchronized (sLock) { in setBroadcastSubscriber()
329 synchronized (sLock) { in setFetchReportsOperation()
366 synchronized (sLock) { in setActiveConfigsChangedOperation()
414 synchronized (sLock) { in setRestrictedMetricsChangedOperation()
483 synchronized (sLock) { in query()
522 synchronized (sLock) { in getReports()
567 synchronized (sLock) { in getStatsMetadata()
[all …]
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/provisioner/
DPeriodicProvisioner.java57 private static final ReentrantLock sLock = new ReentrantLock(); field in PeriodicProvisioner
70 sLock.lock(); in lock()
74 sLock.unlock(); in lock()
84 sLock.lock();
88 sLock.unlock();
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdJobService.java44 private static final Object sLock = new Object(); field in StatsdJobService
59 synchronized (sLock) {
68 synchronized (sLock) { in resetCountDownLatch()
DStatsdSyncAdapter.java44 private static final Object sLock = new Object(); field in StatsdSyncAdapter
59 synchronized (sLock) { in onPerformSync()
82 synchronized (sLock) { in resetCountDownLatch()
/packages/apps/TV/tuner/src/com/android/tv/tuner/dvb/
DDvbTunerHal.java34 private static final Object sLock = new Object(); field in DvbTunerHal
56 synchronized (sLock) { in openFirstAvailable()
94 synchronized (sLock) { in open()
117 synchronized (sLock) { in close()
/packages/providers/MediaProvider/src/com/android/providers/media/fuse/
DExternalStorageServiceImpl.java55 private static final Object sLock = new Object(); field in ExternalStorageServiceImpl
80 synchronized (sLock) { in onStartSession()
164 synchronized (sLock) { in onExitSession()
171 synchronized (sLock) { in getFuseDaemon()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DGetCapabilitiesTask.java40 private static final PriorityLock sLock = new PriorityLock(); field in GetCapabilitiesTask
105 sLock.lock(mPriority ? 1 : 0); in doInBackground()
118 sLock.unlock(); in doInBackground()
/packages/apps/Nfc/src/com/android/nfc/handover/
DPeripheralHandoverService.java64 private static final Object sLock = new Object(); field in PeripheralHandoverService
113 synchronized (sLock) { in onStartCommand()
124 synchronized (sLock) { in onStartCommand()
242 synchronized (sLock) { in onBluetoothPeripheralHandoverComplete()
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/
DRoles.java31 private static final Object sLock = new Object(); field in Roles
47 synchronized (sLock) { in get()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaGrantsAppOpStateTest.java72 private static final Object sLock = new Object(); field in MediaGrantsAppOpStateTest
74 (op, packageName) -> sLock.notify();
195 synchronized (sLock) { in modifyAppOpAndPoll()
199 sLock.wait(100); in modifyAppOpAndPoll()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DMetricsLogger.java74 private static final Object sLock = new Object(); field in MetricsLogger
89 synchronized (sLock) { in getInstance()
106 synchronized (sLock) { in setInstanceForTesting()
179 synchronized (sLock) { in cacheCount()
252 synchronized (sLock) { in drainBufferedCounters()
/packages/apps/Messaging/src/com/android/messaging/util/
DVersionUtil.java26 private static final Object sLock = new Object(); field in VersionUtil
32 synchronized (sLock) { in getInstance()
/packages/services/BuiltInPrintService/src/com/android/bips/jni/
DPdfRender.java46 private static final Object sLock = new Object(); field in PdfRender
59 synchronized (sLock) { in getInstance()
92 synchronized (sLock) { in close()
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/
DSdkSandboxSystemServiceRegistry.java56 private static final Object sLock = new Object(); field in SdkSandboxSystemServiceRegistry
64 synchronized (sLock) { in getInstance()
/packages/apps/TV/src/com/android/tv/util/
DPartner.java64 private static final Object sLock = new Object(); field in Partner
99 synchronized (sLock) { in getInstance()
121 synchronized (sLock) { in reset()
/packages/services/Car/cpp/evs/sampleDriver/hidl/
DEvsEnumerator.cpp50 std::mutex EvsEnumerator::sLock; member in android::hardware::automotive::evs::V1_1::implementation::EvsEnumerator
122 std::lock_guard<std::mutex> lock(sLock); in EvsHotplugThread()
128 std::lock_guard<std::mutex> lock(sLock); in EvsHotplugThread()
173 std::lock_guard<std::mutex> lock(sLock); in enumerateCameras()
227 std::unique_lock<std::mutex> lock(sLock); in getCameraList()
373 std::unique_lock<std::mutex> lock(sLock); in getCameraList_1_1()

123