Home
last modified time | relevance | path

Searched refs:mWriteLock (Results 1 – 5 of 5) sorted by relevance

/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/storage/
DBooleanFileDatastore.java69 private final Lock mWriteLock = mReadWriteLock.writeLock(); field in BooleanFileDatastore
180 mWriteLock.lock(); in put()
185 mWriteLock.unlock(); in put()
217 mWriteLock.lock(); in putIfNew()
228 mWriteLock.unlock(); in putIfNew()
341 mWriteLock.lock(); in clear()
346 mWriteLock.unlock(); in clear()
351 mWriteLock.lock(); in clearByFilter()
356 mWriteLock.unlock(); in clearByFilter()
398 mWriteLock.lock(); in remove()
[all …]
/packages/modules/OnDevicePersonalization/systemservice/java/com/android/server/ondevicepersonalization/
DBooleanFileDataStore.java54 private final Lock mWriteLock = mReadWriteLock.writeLock(); field in BooleanFileDataStore
95 mWriteLock.lock(); in put()
100 mWriteLock.unlock(); in put()
148 mWriteLock.lock(); in clear()
153 mWriteLock.unlock(); in clear()
205 mWriteLock.lock(); in tearDownForTesting()
210 mWriteLock.unlock(); in tearDownForTesting()
219 mWriteLock.lock(); in clearLocalMapForTesting()
221 mWriteLock.unlock(); in clearLocalMapForTesting()
/packages/services/Telephony/src/com/android/phone/
DSimPhonebookProvider.java132 private final Lock mWriteLock = new ReentrantLock(true); field in SimPhonebookProvider
650 if (!mWriteLock.tryLock(WRITE_TIMEOUT_SECONDS, TimeUnit.SECONDS)) { in acquireWriteLockOrThrow()
659 mWriteLock.unlock(); in releaseWriteLock()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DStubProvider.java94 private final Object mWriteLock = new Object(); field in StubProvider
233 synchronized (mWriteLock) { in deleteDocument()
475 synchronized (mWriteLock) { in startWrite()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java185 private final PhoneAccountRegistrarWriteLock mWriteLock = field in PhoneAccountRegistrar
2029 synchronized (mWriteLock) { in doInBackground()