Home
last modified time | relevance | path

Searched refs:getLock (Results 1 – 25 of 33) sorted by relevance

12

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DPickerSyncLockManagerTest.java62 assertThat(lock).isEqualTo(mSyncLockManager.getLock(CLOUD_SYNC_LOCK)); in testLockIsCloseable()
65 assertThat(mSyncLockManager.getLock(CLOUD_SYNC_LOCK).isHeldByCurrentThread()).isFalse(); in testLockIsCloseable()
87 assertThat(lock).isEqualTo(mSyncLockManager.getLock(CLOUD_ALBUM_SYNC_LOCK)); in testLockWithTimeoutIsCloseable()
90 assertThat(mSyncLockManager.getLock(CLOUD_ALBUM_SYNC_LOCK).isHeldByCurrentThread()) in testLockWithTimeoutIsCloseable()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/
DPickerSyncLockManager.java70 return tryLock(getLock(lockType), timeout, unit); in tryLock()
88 final CloseableReentrantLock reentrantLock = getLock(lockType); in lock()
100 public CloseableReentrantLock getLock(@LockType int lockType) { in getLock() method in PickerSyncLockManager
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioManager.java513 synchronized (mCallsManager.getLock()) { in silenceRingers()
543 synchronized (mCallsManager.getLock()) { in startRinging()
556 synchronized (mCallsManager.getLock()) { in startCallWaiting()
565 synchronized (mCallsManager.getLock()) { in stopRinging()
572 synchronized (mCallsManager.getLock()) { in stopCallWaiting()
775 }, new LoggedHandlerExecutor(mHandler, "CAM.oCER", mCallsManager.getLock())) in onCallEnteringRinging()
1049 synchronized (mCallsManager.getLock()) { in maybeStopRingingAndCallWaitingForAnsweredOrRejectedCall()
DCallStreamingController.java119 super(callsManager.getLock()); in QueryCallStreamingTransaction()
DNewOutgoingCallIntentBroadcaster.java113 mLock = mCallsManager.getLock(); in NewOutgoingCallIntentBroadcaster()
DTelecomSystem.java527 public Object getLock() { in getLock() method in TelecomSystem
DCallAudioRouteStateMachine.java1542 mLock = callsManager.getLock(); in CallAudioRouteStateMachine()
1568 mLock = callsManager.getLock(); in CallAudioRouteStateMachine()
DTransactionalServiceWrapper.java122 mLock = mCallsManager.getLock(); in TransactionalServiceWrapper()
/packages/services/Telecomm/src/com/android/server/telecom/components/
DTelecomBroadcastReceiver.java35 synchronized (getTelecomSystem().getLock()) { in onReceive()
DUserCallIntentProcessor.java151 synchronized (TelecomSystem.getInstance().getLock()) { in sendIntentToDestination()
DTelecomService.java88 synchronized (getTelecomSystem().getLock()) { in onBind()
/packages/services/Telecomm/src/com/android/server/telecom/voip/
DSetMuteStateTransaction.java37 super(callsManager.getLock()); in SetMuteStateTransaction()
DHoldCallTransaction.java35 super(callsManager.getLock()); in HoldCallTransaction()
DMaybeHoldCallForNewCallTransaction.java42 super(callsManager.getLock()); in MaybeHoldCallForNewCallTransaction()
DEndpointChangeTransaction.java36 super(callsManager.getLock()); in EndpointChangeTransaction()
DEndCallTransaction.java39 super(callsManager.getLock()); in EndCallTransaction()
DRequestVideoStateTransaction.java39 super(callsManager.getLock()); in RequestVideoStateTransaction()
DRequestNewActiveCallTransaction.java52 super(callsManager.getLock()); in RequestNewActiveCallTransaction()
DIncomingCallTransaction.java53 super(callsManager.getLock()); in IncomingCallTransaction()
DOutgoingCallTransaction.java60 super(callsManager.getLock()); in OutgoingCallTransaction()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTransactionalServiceWrapperTest.java83 Mockito.when(mCallsManager.getLock()).thenReturn(mLock); in setUp()
DCallRedirectionProcessorTest.java135 when(mCallsManager.getLock()).thenReturn(mLock); in setUp()
DMissedInformationTest.java419 (TelecomSystem.SyncRoot) mTelecomSystem.getLock(), in setUpIncomingCall()
DCallAudioRouteStateMachineTest.java133 when(mockCallsManager.getLock()).thenReturn(mLock); in setUp()
1369 when(mockCallsManager.getLock()).thenReturn(mLock); in resetMocks()
/packages/services/Telecomm/src/com/android/server/telecom/callredirection/
DCallRedirectionProcessor.java330 mTelecomLock = callsManager.getLock(); in CallRedirectionProcessor()

12