/packages/apps/TV/usbtuner/jni/ |
D | mutex.h | 29 int lock() { in lock() function 43 Autolock(Mutex &mutex) : lock(&mutex) { in Autolock() 44 lock->lock(); in Autolock() 47 lock->unlock(); in ~Autolock() 50 Mutex *lock;
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/ |
D | ReservableTicketPool.java | 90 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()
|
D | FiniteTicketPool.java | 96 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/ |
D | SingleDeviceStateMachine.java | 118 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/ |
D | PowerSwitch.cpp | 102 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()
|
D | Pn544Interop.cpp | 63 gMutex.lock (); in pn544InteropStopPolling() 87 gMutex.lock (); in pn544InteropStartPolling() 127 gMutex.lock (); in pn544InteropIsBusy() 147 gMutex.lock (); in pn544InteropAbortNow()
|
D | DataQueue.cpp | 54 mMutex.lock (); in ~DataQueue() 67 mMutex.lock (); in isEmpty() 90 mMutex.lock (); in enqueue() 128 mMutex.lock (); in dequeue()
|
D | Mutex.h | 61 void lock (); 101 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock() 102 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock()
|
D | PeerToPeer.cpp | 218 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()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | StateMachineTestBase.java | 28 final CountDownLatch lock = new CountDownLatch(1); in waitForStateMachineActionCompletion() local 32 lock.countDown(); in waitForStateMachineActionCompletion() 36 while (lock.getCount() > 0) { in waitForStateMachineActionCompletion() 38 lock.await(); in waitForStateMachineActionCompletion()
|
D | TelecomTestCase.java | 53 final CountDownLatch lock = new CountDownLatch(1); in waitForHandlerAction() local 54 h.post(lock::countDown); in waitForHandlerAction() 55 while (lock.getCount() > 0) { in waitForHandlerAction() 57 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerAction()
|
D | CallerInfoLookupHelperTest.java | 214 final CountDownLatch lock = new CountDownLatch(1); in waitForActionCompletion() local 215 mCallerInfoLookupHelper.getHandler().post(lock::countDown); in waitForActionCompletion() 216 while (lock.getCount() > 0) { in waitForActionCompletion() 218 lock.await(); in waitForActionCompletion()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 173 PowerManager.WakeLock lock = getLock(this.getApplicationContext()); in onStartCommand() local 174 if (!lock.isHeld()) { in onStartCommand() 175 lock.acquire(); in onStartCommand() 217 PowerManager.WakeLock lock = getLock(this.getApplicationContext()); in installPackage() local 322 new PackageInstallObserver(this, lock, startId, packageName), in installPackage() 336 finishService(lock, startId); in installPackage() 346 PowerManager.WakeLock lock = getLock(this.getApplicationContext()); in uninstallPackage() local 347 pm.deletePackage(packageName, new PackageDeleteObserver(lock, startId), in uninstallPackage() 463 private void finishService(PowerManager.WakeLock lock, int startId) { in finishService() argument 464 if (lock.isHeld()) { in finishService() [all …]
|
/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/ |
D | StateMachineImpl.java | 52 mStateLock.lock(); in jumpToState() 79 mStateLock.lock(); in getCurrentState() 89 mStateLock.lock(); in setInitialState() 103 mStateLock.lock(); in processEvent()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | SurfaceTextureRenderer.java | 153 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/Gallery2/src/com/android/gallery3d/ui/ |
D | GLRootView.java | 212 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/services/Telecomm/src/com/android/server/telecom/components/ |
D | TelecomService.java | 104 TelecomSystem.SyncRoot lock) { in initializeTelecomSystem() 105 return new HeadsetMediaButton(context, callsManager, lock); in initializeTelecomSystem() 142 Context context, TelecomSystem.SyncRoot lock, in initializeTelecomSystem() 145 return new BluetoothPhoneServiceImpl(context, lock, in initializeTelecomSystem()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | InCallTonePlayer.java | 42 TelecomSystem.SyncRoot lock) { in Factory() argument 44 mLock = lock; in Factory() 120 TelecomSystem.SyncRoot lock) { in InCallTonePlayer() argument 125 mLock = lock; in InCallTonePlayer()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarSensorService.java | 132 mSensorLock.lock(); in init() 220 mSensorLock.lock(); in onSensorHalReady() 236 mSensorLock.lock(); in processSensorData() 288 mSensorLock.lock(); in registerOrUpdateSensorListener() 359 mSensorLock.lock(); in registerOrUpdateSensorListener() 459 mSensorLock.lock(); in unregisterSensorListener() 543 mSensorLock.lock(); in getSensorHal() 565 mSensorLock.lock(); in getLatestSensorEvent() 648 mSensorLock.lock(); in removeClient()
|
/packages/apps/Settings/src/com/android/settings/ |
D | EventLogTags.logtags | 5 # log the type of screen lock when user sets lock screen
|
/packages/services/Car/libvehiclenetwork/native/ |
D | HandlerThread.cpp | 47 mLock.lock(); in quit() 55 mLock.lock(); in threadLoop()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/activation/ |
D | ResponseReceiver.java | 34 ResponseReceiver(Object lock) { in ResponseReceiver() argument 35 mLock = lock; in ResponseReceiver()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | BarrierConsumer.java | 55 mLock.lock(); in getValues() 73 mLock.lock(); in consume()
|
/packages/apps/Camera2/src/com/android/camera/processing/ |
D | ProcessingService.java | 158 mSuspendStatusLock.lock(); in pause() 171 mSuspendStatusLock.lock(); in resume() 199 mSuspendStatusLock.lock(); in asyncProcessAllTasksAndShutdown()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
D | ChannelsBlockedFragment.java | 174 boolean lock = !areAllChannelsBlocked(); in onSelected() 176 getChannelDataManager().updateLocked(channel.getId(), lock); in onSelected() local 178 mBlockedChannelCount = lock ? mChannels.size() : 0; in onSelected()
|