Searched refs:mLock (Results 1 - 25 of 132) sorted by relevance

123456

/packages/apps/Nfc/nci/jni/
H A DMutex.h101 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); }
102 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); }
103 inline ~Autolock() { mLock.unlock(); }
105 Mutex& mLock; member in class:Mutex::Autolock
/packages/services/Car/libvehiclenetwork/native/
H A DHandlerThread.cpp31 Mutex::Autolock autoLock(mLock);
33 mLooperWait.wait(mLock);
47 mLock.lock();
49 mLock.unlock();
55 mLock.lock();
58 mLock.unlock();
61 Mutex::Autolock autoLock(mLock);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DReadOnlyBinaryDictionary.java37 private final ReentrantReadWriteLock mLock = new ReentrantReadWriteLock(); field in class:ReadOnlyBinaryDictionary
58 if (mLock.readLock().tryLock()) {
64 mLock.readLock().unlock();
72 if (mLock.readLock().tryLock()) {
76 mLock.readLock().unlock();
84 if (mLock.readLock().tryLock()) {
88 mLock.readLock().unlock();
96 if (mLock.readLock().tryLock()) {
100 mLock.readLock().unlock();
108 if (mLock
[all...]
/packages/apps/Camera2/src/com/android/camera/async/
H A DListenable.java28 private final Object mLock; field in class:Listenable
35 mLock = new Object();
44 synchronized (mLock) {
65 synchronized (mLock) {
79 synchronized (mLock) {
H A DRefCountBase.java27 private final Object mLock; field in class:RefCountBase
39 mLock = new Object();
46 synchronized (mLock) {
59 synchronized (mLock) {
70 // Do this outside of the mLock critical section for speed and to avoid
77 synchronized (mLock) {
H A DResettingDelayedExecutor.java36 private final Object mLock; field in class:ResettingDelayedExecutor
45 mLock = new Object();
53 synchronized (mLock) {
63 synchronized (mLock) {
74 synchronized (mLock) {
H A DFilteredUpdatable.java27 private final Object mLock; field in class:FilteredUpdatable
33 mLock = new Object();
40 synchronized (mLock) {
56 synchronized (mLock) {
H A DLifetime.java41 private final Object mLock; field in class:Lifetime
46 mLock = new Object();
53 mLock = new Object();
65 synchronized (mLock) {
81 synchronized (mLock) {
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
H A DAppInfo.java30 private final Object mLock = new Object(); field in class:AppInfo
40 synchronized (mLock) {
46 synchronized (mLock) {
53 synchronized (mLock) {
59 synchronized (mLock) {
/packages/services/Telecomm/src/com/android/server/telecom/
H A DRunnable.java27 private final Object mLock; field in class:Runnable
31 synchronized (mLock) {
53 mLock = new Object();
55 mLock = lock;
85 synchronized (mLock) {
92 * The method that will be run in the handler/thread. This method will be called with mLock
H A DVideoProviderProxy.java63 private final TelecomSystem.SyncRoot mLock; field in class:VideoProviderProxy
105 mLock = lock;
130 synchronized (mLock) {
186 synchronized (mLock) {
207 synchronized (mLock) {
223 synchronized (mLock) {
238 synchronized (mLock) {
255 synchronized (mLock) {
270 synchronized (mLock) {
285 synchronized (mLock) {
[all...]
/packages/services/Telephony/tests/src/com/android/services/telephony/activation/
H A DResponseReceiver.java31 private final Object mLock; field in class:ResponseReceiver
35 mLock = lock;
49 if (mLock != null) {
50 synchronized(mLock) {
52 mLock.notify();
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
H A Ddic_node_vector.h36 AK_FORCE_INLINE DicNodeVector() : mDicNodes(), mLock(false) {}
39 AK_FORCE_INLINE DicNodeVector(const int size) : mDicNodes(), mLock(false) {
48 mLock = false;
52 mLock = true;
57 ASSERT(!mLock);
64 ASSERT(!mLock);
82 bool mLock;
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
H A DAndroidImageReaderProxy.java34 private final Object mLock; field in class:AndroidImageReaderProxy
35 @GuardedBy("mLock")
39 mLock = new Object();
79 synchronized (mLock) {
86 synchronized (mLock) {
93 synchronized (mLock) {
100 synchronized (mLock) {
108 synchronized (mLock) {
116 synchronized (mLock) {
129 synchronized (mLock) {
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/content/
H A DThreadSafeCursorWrapper.java31 private final Object mLock = new Object(); field in class:ThreadSafeCursorWrapper
46 synchronized (mLock) {
54 synchronized (mLock) {
62 synchronized (mLock) {
70 synchronized (mLock) {
78 synchronized (mLock) {
86 synchronized (mLock) {
94 synchronized (mLock) {
104 synchronized (mLock) {
115 synchronized (mLock) {
[all...]
/packages/apps/Camera2/src/com/android/camera/device/
H A DActiveCameraDeviceTracker.java45 private final Object mLock; field in class:ActiveCameraDeviceTracker
47 @GuardedBy("mLock")
50 @GuardedBy("mLock")
55 mLock = new Object();
59 synchronized (mLock) {
65 synchronized (mLock) {
76 synchronized (mLock) {
87 synchronized (mLock) {
H A DCameraDeviceLifecycle.java37 private final Object mLock; field in class:CameraDeviceLifecycle
40 @GuardedBy("mLock")
44 @GuardedBy("mLock")
53 mLock = new Object();
63 synchronized (mLock) {
78 synchronized (mLock) {
89 synchronized (mLock) {
H A DSingleDeviceStateMachine.java69 private final ReentrantLock mLock; field in class:SingleDeviceStateMachine
76 @GuardedBy("mLock")
79 @GuardedBy("mLock")
82 @GuardedBy("mLock")
86 @GuardedBy("mLock")
90 @GuardedBy("mLock")
105 mLock = new ReentrantLock();
118 mLock.lock();
127 mLock.unlock();
135 mLock
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DBarrierConsumer.java30 private final Lock mLock = new ReentrantLock(); field in class:BarrierConsumer
31 private final Condition mNotFull = mLock.newCondition();
55 mLock.lock();
68 mLock.unlock();
73 mLock.lock();
87 mLock.unlock();
H A DCachedLater.java35 private final Object mLock = new Object(); field in class:CachedLater
57 synchronized (mLock) {
83 synchronized (mLock) {
98 synchronized (mLock) {
118 synchronized (mLock) {
125 synchronized (mLock) {
131 synchronized (mLock) {
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/
H A DReservableTicketPool.java90 mLock.lock();
103 mLock.unlock();
122 private final ReentrantLock mLock; field in class:ReservableTicketPool
127 @GuardedBy("mLock")
133 @GuardedBy("mLock")
144 @GuardedBy("mLock")
149 mLock = new ReentrantLock(true);
156 @GuardedBy("mLock")
158 mLock.lock();
166 mLock
[all...]
H A DFiniteTicketPool.java49 synchronized (mLock) {
76 private final ReentrantLock mLock; field in class:FiniteTicketPool
77 @GuardedBy("mLock")
80 @GuardedBy("mLock")
82 @GuardedBy("mLock")
87 mLock = new ReentrantLock(true);
94 @GuardedBy("mLock")
96 mLock.lock();
112 mLock.unlock();
120 mLock
[all...]
/packages/apps/Camera2/src/com/android/camera/settings/
H A DSettingsManager.java79 private final Object mLock; field in class:SettingsManager
104 mLock = new Object();
118 synchronized (mLock) {
129 synchronized (mLock) {
152 synchronized (mLock) {
193 synchronized (mLock) {
221 synchronized (mLock) {
251 synchronized (mLock) {
277 synchronized (mLock) {
296 synchronized (mLock) {
[all...]
/packages/apps/Camera2/src/com/android/camera/processing/memory/
H A DSimpleLruResourcePool.java31 @GuardedBy("mLock")
34 private final Object mLock; field in class:SimpleLruResourcePool
39 mLock = new Object();
46 synchronized (mLock) {
85 private final Object mLock; field in class:SimpleLruResourcePool.SynchronizedResource
88 @GuardedBy("mLock")
91 @GuardedBy("mLock")
100 mLock = new Object();
106 synchronized (mLock) {
116 synchronized (mLock) {
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/
H A DResettingRunnableCameraCommand.java36 private final Object mLock; field in class:ResettingRunnableCameraCommand
47 mLock = new Object();
53 synchronized (mLock) {

Completed in 1057 milliseconds

123456