Home
last modified time | relevance | path

Searched refs:lock (Results 1 – 25 of 65) sorted by relevance

123

/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/
DReservableTicketPool.java90 mLock.lock(); in close()
158 mLock.lock(); in updateCurrentTicketCount()
192 mLock.lock(); in tryAcquire()
217 mLock.lock(); in reserveCapacity()
247 mLock.lock(); in releaseCapacity()
277 mLock.lock(); in releaseAllCapacity()
302 mLock.lock(); in acquireParentTickets()
337 mLock.lock(); in tryAcquireAtomically()
356 mLock.lock(); in releaseWaitersOnTicketAvailability()
377 mLock.lock(); in abortWaitersOnCapacityDecrease()
DFiniteTicketPool.java96 mLock.lock(); in releaseTicket()
120 mLock.lock(); in acquire()
171 mLock.lock(); in tryAcquire()
187 mLock.lock(); in close()
/packages/apps/Camera2/src/com/android/camera/device/
DSingleDeviceStateMachine.java118 mLock.lock(); in requestOpen()
135 mLock.lock(); in requestClose()
153 mLock.lock(); in setRequest()
184 mLock.lock(); in onDeviceOpened()
201 mLock.lock(); in onDeviceOpenException()
216 mLock.lock(); in onDeviceOpenException()
233 mLock.lock(); in onDeviceClosed()
250 mLock.lock(); in onDeviceClosingException()
362 mLock.lock(); in shutdown()
/packages/apps/Nfc/nci/jni/
DPowerSwitch.cpp102 mMutex.lock (); in initialize()
141 mMutex.lock (); in getLevel()
163 mMutex.lock (); in setLevel()
188 mMutex.lock (); in setLevel()
227 mMutex.lock (); in setScreenOffPowerState()
248 mMutex.lock (); in setModeOff()
270 mMutex.lock (); in setModeOn()
DPeerToPeer.cpp218 mMutex.lock(); in registerServer()
452 mMutex.lock(); in accept()
482 mMutex.lock(); in deregisterServer()
538 mMutex.lock(); in createClient()
1036 mDisconnectMutex.lock (); in disconnectConnOriented()
1280 sP2p.mMutex.lock(); in nfaServerCallback()
1307 sP2p.mMutex.lock(); in nfaServerCallback()
1347 sP2p.mDisconnectMutex.lock (); in nfaServerCallback()
1501 sP2p.mDisconnectMutex.lock (); in nfaClientCallback()
1601 mNewJniHandleMutex.lock (); in getNewJniHandle()
DPn544Interop.cpp63 gMutex.lock (); in pn544InteropStopPolling()
87 gMutex.lock (); in pn544InteropStartPolling()
127 gMutex.lock (); in pn544InteropIsBusy()
147 gMutex.lock (); in pn544InteropAbortNow()
DDataQueue.cpp54 mMutex.lock (); in ~DataQueue()
67 mMutex.lock (); in isEmpty()
90 mMutex.lock (); in enqueue()
128 mMutex.lock (); in dequeue()
DMutex.h61 void lock ();
101 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock()
102 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLRootView.java212 mRenderLock.lock(); in requestLayoutContentPane()
290 mRenderLock.lock(); in onSurfaceCreated()
348 mRenderLock.lock(); in onDrawFrame()
475 mRenderLock.lock(); in dispatchTouchEvent()
501 mRenderLock.lock(); in run()
524 mRenderLock.lock(); in lockRenderThread()
566 mRenderLock.lock(); in freeze()
573 mRenderLock.lock(); in unfreeze()
/packages/apps/Camera2/src/com/android/camera/
DSurfaceTextureRenderer.java153 final Object lock = new Object(); in waitDone() local
154 synchronized (lock) { in waitDone()
158 synchronized (lock) { in waitDone()
159 lock.notifyAll(); in waitDone()
164 lock.wait(); in waitDone()
/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/
DStateMachineImpl.java52 mStateLock.lock(); in jumpToState()
79 mStateLock.lock(); in getCurrentState()
89 mStateLock.lock(); in setInitialState()
103 mStateLock.lock(); in processEvent()
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallTonePlayer.java38 Factory(CallAudioManager callAudioManager, TelecomSystem.SyncRoot lock) { in Factory() argument
40 mLock = lock; in Factory()
106 TelecomSystem.SyncRoot lock) { in InCallTonePlayer() argument
110 mLock = lock; in InCallTonePlayer()
DConnectionServiceRepository.java52 TelecomSystem.SyncRoot lock, in ConnectionServiceRepository() argument
56 mLock = lock; in ConnectionServiceRepository()
DHeadsetMediaButton.java99 TelecomSystem.SyncRoot lock) { in HeadsetMediaButton() argument
102 mLock = lock; in HeadsetMediaButton()
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DImageBackend.java856 mLock.lock(); in setCount()
863 mLock.lock(); in getCount()
870 mLock.lock(); in addCount()
885 mLock.lock(); in block()
900 mLock.lock(); in signal()
/packages/apps/Terminal/jni/
Dcom_android_terminal_Terminal.cpp383 Mutex::Autolock lock(mLock); in run() local
397 Mutex::Autolock lock(mLock); in dispatchCharacter() local
403 Mutex::Autolock lock(mLock); in dispatchKey() local
419 Mutex::Autolock lock(mLock); in resize() local
596 Mutex::Autolock lock(term->mLock); in com_android_terminal_Terminal_nativeGetCellRun() local
/packages/apps/Camera2/src/com/android/camera/processing/
DProcessingService.java158 mSuspendStatusLock.lock(); in pause()
171 mSuspendStatusLock.lock(); in resume()
199 mSuspendStatusLock.lock(); in asyncProcessAllTasksAndShutdown()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DExpandableBinaryDictionary.java169 private static void asyncExecuteTaskWithLock(final Lock lock, final Runnable task) { in asyncExecuteTaskWithLock() argument
173 lock.lock(); in asyncExecuteTaskWithLock()
177 lock.unlock(); in asyncExecuteTaskWithLock()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java382 final TelecomSystem.SyncRoot lock, in updateOnStartup() argument
412 synchronized (lock) { in updateOnStartup()
415 Call call = new Call(mContext, callsManager, lock, in updateOnStartup()
/packages/apps/Settings/src/com/android/settings/
DEventLogTags.logtags5 # log the type of screen lock when user sets lock screen
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
DTinyPlanetFragment.java153 mResultLock.lock();
334 mResultLock.lock(); in createFinalTinyPlanet()
396 mResultLock.lock(); in onSizeChanged()
DTinyPlanetPreview.java66 public void setBitmap(Bitmap preview, Lock lock) { in setBitmap() argument
68 mLock = lock; in setBitmap()
/packages/services/Telephony/tests/src/com/android/services/telephony/activation/
DResponseReceiver.java34 ResponseReceiver(Object lock) { in ResponseReceiver() argument
35 mLock = lock; in ResponseReceiver()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DBarrierConsumer.java55 mLock.lock(); in getValues()
73 mLock.lock(); in consume()
/packages/services/Telecomm/src/com/android/server/telecom/components/
DTelecomService.java86 TelecomSystem.SyncRoot lock) { in initializeTelecomSystem()
87 return new HeadsetMediaButton(context, callsManager, lock); in initializeTelecomSystem()

123