Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/app/
DQueuedWork.java62 private static final Object sLock = new Object(); field in QueuedWork
104 synchronized (sLock) { in getHandler()
130 synchronized (sLock) { in addFinisher()
142 synchronized (sLock) { in removeFinisher()
161 synchronized (sLock) { in waitToFinish()
187 synchronized (sLock) { in waitToFinish()
201 synchronized (sLock) { in waitToFinish()
225 synchronized (sLock) { in queue()
240 synchronized (sLock) { in hasPendingWork()
255 synchronized (sLock) { in processPendingWork()
/frameworks/base/core/java/com/android/server/net/
DNetworkPinner.java65 protected static final Object sLock = new Object(); field in NetworkPinner
91 synchronized(sLock) { in onAvailable()
99 sLock.notify(); in onAvailable()
105 synchronized (sLock) { in onLost()
112 sLock.notify(); in onLost()
118 synchronized (sLock) { in pin()
133 synchronized (sLock) { in unpin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDejankUtils.java61 private static final Object sLock = new Object(); field in DejankUtils
65 synchronized (sLock) {
74 synchronized (sLock) {
135 synchronized (sLock) { in detectBlockingIpcs()
141 synchronized (sLock) { in detectBlockingIpcs()
159 synchronized (sLock) { in startDetectingBlockingIpcs()
174 synchronized (sLock) { in stopDetectingBlockingIpcs()
188 synchronized (sLock) { in whitelistIpcs()
194 synchronized (sLock) { in whitelistIpcs()
209 synchronized (sLock) { in whitelistIpcs()
[all …]
/frameworks/base/services/credentials/java/com/android/server/credentials/
DCredentialDescriptionRegistry.java43 private static final ReentrantLock sLock; field in CredentialDescriptionRegistry
47 sLock = new ReentrantLock();
69 sLock.lock(); in forUser()
80 sLock.unlock(); in forUser()
87 sLock.lock(); in clearUserSession()
91 sLock.unlock(); in clearUserSession()
99 sLock.lock(); in clearAllSessions()
103 sLock.unlock(); in clearAllSessions()
112 sLock.lock(); in setSession()
116 sLock.unlock(); in setSession()
/frameworks/base/core/java/android/view/
DSurfaceControlRegistry.java103 private static final Object sLock = new Object(); field in SurfaceControlRegistry
141 synchronized (sLock) { in setReportingThresholds()
169 synchronized (sLock) { in createProcessInstance()
181 synchronized (sLock) { in destroyProcessInstance()
197 synchronized (sLock) { in getProcessInstance()
206 synchronized (sLock) { in add()
223 synchronized (sLock) { in remove()
239 synchronized (sLock) { in hashCode()
267 synchronized (sLock) { in dump()
DCrossWindowBlurListeners.java48 private static final Object sLock = new Object(); field in CrossWindowBlurListeners
65 synchronized (sLock) { in getInstance()
77 synchronized (sLock) { in isCrossWindowBlurEnabled()
88 synchronized (sLock) { in addListener()
100 synchronized (sLock) { in removeListener()
134 synchronized (sLock) { in onCrossWindowBlurEnabledChanged()
/frameworks/base/core/java/android/webkit/
DWebViewZygote.java37 private static final Object sLock = new Object(); field in WebViewZygote
60 synchronized (sLock) { in getProcess()
69 synchronized (sLock) { in getPackageName()
75 synchronized (sLock) { in isMultiprocessEnabled()
81 synchronized (sLock) { in setMultiprocessEnabled()
93 synchronized (sLock) { in onWebViewProviderChanged()
DCookieSyncManager.java68 private static final Object sLock = new Object(); field in CookieSyncManager
82 synchronized (sLock) { in getInstance()
97 synchronized (sLock) { in createInstance()
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DBackgroundThread.java39 private static final Object sLock = new Object(); field in BackgroundThread
69 synchronized (sLock) { in get()
82 synchronized (sLock) { in getHandler()
95 synchronized (sLock) { in getExecutor()
DSynchronousResultReceiver.java52 private final static Object sLock = new Object(); field in SynchronousResultReceiver
63 synchronized(sLock) { in get()
93 synchronized (sLock) { in getFuture()
211 synchronized (sLock) { in awaitResultNoInterrupt()
225 synchronized (sLock) { in awaitResultNoInterrupt()
/frameworks/base/services/core/java/com/android/server/
DPermissionThread.java37 private static final Object sLock = new Object(); field in PermissionThread
68 synchronized (sLock) { in get()
78 synchronized (sLock) { in getHandler()
89 synchronized (sLock) { in getExecutor()
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodPrivilegedOperationsRegistry.java40 private static final Object sLock = new Object(); field in InputMethodPrivilegedOperationsRegistry
73 synchronized (sLock) { in put()
93 synchronized (sLock) { in get()
120 synchronized (sLock) { in remove()
/frameworks/base/core/java/android/provider/
DDeviceConfigInitializer.java35 private static final Object sLock = new Object(); field in DeviceConfigInitializer
47 synchronized (sLock) { in setDeviceConfigServiceManager()
63 synchronized (sLock) { in getDeviceConfigServiceManager()
/frameworks/base/services/core/java/com/android/server/content/
DSyncJobService.java35 private static final Object sLock = new Object(); field in SyncJobService
59 synchronized (sLock) { in getInstance()
68 synchronized (sLock) { in isReady()
101 synchronized (sLock) { in onStartJob()
135 synchronized (sLock) { in onStopJob()
182 synchronized (sLock) { in callJobFinishedInner()
199 synchronized (sLock) { in markSyncStarted()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerFactory.cpp37 Mutex MediaPlayerFactory::sLock; member in android::MediaPlayerFactory
70 Mutex::Autolock lock_(&sLock); in registerFactory()
75 Mutex::Autolock lock_(&sLock); in unregisterFactory()
80 Mutex::Autolock lock_(&sLock); \
134 Mutex::Autolock lock_(&sLock); in createPlayer()
242 Mutex::Autolock lock_(&sLock); in registerBuiltinFactories()
/frameworks/base/graphics/java/android/graphics/
DLeakyTypefaceStorage.java36 private static final Object sLock = new Object(); field in LeakyTypefaceStorage
54 synchronized (sLock) { in writeTypefaceToParcel()
82 synchronized (sLock) { in readTypefaceFromParcel()
/frameworks/av/camera/
DVendorTagDescriptor.cpp57 static Mutex sLock; variable
600 Mutex::Autolock al(sLock); in setAsGlobalVendorTagDescriptor()
622 Mutex::Autolock al(sLock); in clearGlobalVendorTagDescriptor()
628 Mutex::Autolock al(sLock); in getGlobalVendorTagDescriptor()
635 Mutex::Autolock al(sLock); in setAsGlobalVendorTagCache()
657 Mutex::Autolock al(sLock); in clearGlobalVendorTagCache()
663 Mutex::Autolock al(sLock); in getGlobalVendorTagCache()
668 Mutex::Autolock al(sLock); in isVendorCachePresent()
680 Mutex::Autolock al(sLock); in vendor_tag_descriptor_get_tag_count()
689 Mutex::Autolock al(sLock); in vendor_tag_descriptor_get_all_tags()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DMockFontProvider.java51 private static final Lock sLock = new ReentrantLock(); field in MockFontProvider
52 private static final Condition sCond = sLock.newCondition();
58 sLock.lock(); in blockUntilSignal()
76 sLock.unlock(); in blockUntilSignal()
81 sLock.lock(); in unblock()
86 sLock.unlock(); in unblock()
/frameworks/base/core/java/android/content/res/
DResourceTimer.java60 private static final Object sLock = new Object(); field in ResourceTimer
150 synchronized (sLock) { in start()
202 synchronized (sLock) { in handleMessage()
283 synchronized (sLock) { in dumpTimers()
295 synchronized (sLock) { in dumpTimers()
/frameworks/base/core/java/android/timezone/
DZoneInfoDb.java33 private static final Object sLock = new Object(); field in ZoneInfoDb
42 synchronized (sLock) { in getInstance()
DTelephonyLookup.java33 private static final Object sLock = new Object(); field in TelephonyLookup
42 synchronized (sLock) { in getInstance()
/frameworks/base/packages/Shell/src/com/android/shell/
DHeapDumpProvider.java34 private static final Object sLock = new Object(); field in HeapDumpProvider
40 synchronized (sLock) { in onCreate()
88 synchronized (sLock) { in openFile()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
DApprovedPrintServices.java36 static final public Object sLock = new Object(); field in ApprovedPrintServices
90 synchronized (sLock) { in addApprovedService()
135 synchronized (sLock) { in pruneApprovedServices()
/frameworks/native/libs/ui/
DGraphicBufferAllocator.cpp47 Mutex GraphicBufferAllocator::sLock;
78 Mutex::Autolock _l(sLock); in getTotalSize()
87 Mutex::Autolock _l(sLock); in dump()
166 Mutex::Autolock _l(sLock); in allocateHelper()
214 Mutex::Autolock _l(sLock); in free()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallEventReceiver.java29 private static final Object sLock = new Object(); field in InstallEventReceiver
38 synchronized (sLock) { in getReceiver()

1234