Home
last modified time | relevance | path

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

/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/DnsResolver/
DDnsTlsDispatcher.h68 static std::mutex sLock;
82 int useCount GUARDED_BY(sLock) = 0;
84 std::chrono::time_point<std::chrono::steady_clock> lastUsed GUARDED_BY(sLock);
90 std::map<Key, std::unique_ptr<Transport>> mStore GUARDED_BY(sLock);
94 std::chrono::time_point<std::chrono::steady_clock> mLastCleanup GUARDED_BY(sLock);
98 void cleanup(std::chrono::time_point<std::chrono::steady_clock> now) REQUIRES(sLock);
DDnsTlsDispatcher.cpp38 std::mutex DnsTlsDispatcher::sLock; member in android::net::DnsTlsDispatcher
59 std::lock_guard guard(sLock); in getOrderedServerList()
155 std::lock_guard guard(sLock); in query()
193 std::lock_guard guard(sLock); in query()
/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/apps/Launcher3/src/com/android/launcher3/config/
DBaseFlags.java44 private static final Object sLock = new Object(); field in BaseFlags
129 synchronized (sLock) { in initialize()
145 synchronized (sLock) { in getTogglableFlags()
169 synchronized (sLock) { in BaseTogglableFlag()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DLocationAccessCheck.java140 private static final Object sLock = new Object(); field in LocationAccessCheck
283 synchronized (sLock) { in markAsNotified()
347 synchronized (sLock) { in addLocationNotificationIfNeeded()
368 synchronized (sLock) { in addLocationNotificationIfNeeded()
377 synchronized (sLock) { in addLocationNotificationIfNeeded()
704 synchronized (sLock) { in forgetAboutPackage()
791 synchronized (sLock) { in onCreate()
808 synchronized (LocationAccessCheck.sLock) { in onStartJob()
832 synchronized (sLock) { in onStopJob()
DBackupHelper.java88 private static final Object sLock = new Object(); field in BackupHelper
240 synchronized (sLock) { in restoreState()
334 synchronized (sLock) { in restoreDelayedState()
/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/services/Car/evs/sampleDriver/
DEvsEnumerator.cpp42 std::mutex EvsEnumerator::sLock; member in android::hardware::automotive::evs::V1_0::implementation::EvsEnumerator
104 std::lock_guard<std::mutex> lock(sLock); in EvsUeventThread()
149 std::lock_guard<std::mutex> lock(sLock); in enumerateDevices()
179 std::unique_lock<std::mutex> lock(sLock); in getCameraList()
DEvsEnumerator.h80 static std::mutex sLock; // Mutex on shared camera device list. variable
/packages/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java598 private static final Object sLock = new Object(); // Coarse lock for all of analytics field in Analytics
607 synchronized (sLock) { in addSessionTiming()
617 synchronized (sLock) { in initiateCallAnalytics()
631 synchronized (sLock) { in dumpToParcelableAnalytics()
645 synchronized (sLock) { in dumpToEncodedProto()
691 synchronized (sLock) { in dump()
736 synchronized (sLock) { in reset()
757 synchronized (sLock) { in cloneData()
/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/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/apps/Nfc/src/com/android/nfc/handover/
DPeripheralHandoverService.java64 private static final Object sLock = new Object(); field in PeripheralHandoverService
113 synchronized (sLock) { in onStartCommand()
241 synchronized (sLock) { in onBluetoothPeripheralHandoverComplete()
/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()
DDebugUtils.java60 private static final Object sLock = new Object(); field in DebugUtils
67 synchronized (sLock) { in maybePlayDebugNoise()
/packages/apps/LegacyCamera/src/com/android/camera/
DThumbnail.java57 private static Object sLock = new Object(); field in Thumbnail
107 synchronized (sLock) { in saveTo()
133 synchronized (sLock) { in loadFrom()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
DDeferredMetricsWriter.java47 private static final Object sLock = new Object(); field in DeferredMetricsWriter
80 synchronized (sLock) { in doInBackground()
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DNotificationUtils.java43 private static final Object sLock = new Object(); field in NotificationUtils
57 synchronized (sLock) { in createNotificationBuilder()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DAction.java241 private static final Object sLock = new Object(); field in Action
249 synchronized (sLock) { in getActionIdx()
/packages/apps/Stk/src/com/android/stk/
DStkMenuConfig.java57 private static final Object sLock = new Object(); field in StkMenuConfig
79 synchronized (sLock) { in getInstance()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseHelper.java567 private static final Object sLock = new Object(); field in DatabaseHelper
583 synchronized (sLock) { in getInstance()
DParticipantRefresh.java96 private static final Object sLock = new Object(); field in ParticipantRefresh
178 synchronized (sLock) { in getNeedFullRefresh()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DRoles.java105 private static final Object sLock = new Object(); field in Roles
121 synchronized (sLock) { in get()