Home
last modified time | relevance | path

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

12

/frameworks/base/libs/input/
DPointerController.cpp53 base::ScopedLockAssertion assumeLocked(mPointerController->getLock()); in onWindowInfosChanged()
108 std::scoped_lock lock(getLock()); in PointerController()
119 std::mutex& PointerController::getLock() const { in getLock() function in android::PointerController
131 std::scoped_lock lock(getLock()); in move()
142 std::scoped_lock lock(getLock()); in setPosition()
153 std::scoped_lock lock(getLock()); in getPosition()
164 std::scoped_lock lock(getLock()); in fade()
169 std::scoped_lock lock(getLock()); in unfade()
174 std::scoped_lock lock(getLock()); in setPresentation()
198 std::scoped_lock lock(getLock()); in setSpots()
[all …]
DPointerController.h76 REQUIRES(getLock());
101 std::mutex& getLock() const;
113 } mLocked GUARDED_BY(getLock());
131 const ui::Transform& getTransformForDisplayLocked(int displayId) const REQUIRES(getLock());
133 void clearSpotsLocked() REQUIRES(getLock());
/frameworks/base/core/java/com/android/internal/midi/
DEventScheduler.java155 Object lock = getLock(); in add()
193 Object lock = getLock(); in getNextEvent()
217 Object lock = getLock(); in waitNextEvent()
256 Object lock = getLock(); in close()
269 protected Object getLock() { in getLock() method in EventScheduler
DMidiEventMultiScheduler.java39 protected Object getLock() { in getLock() method in MidiEventMultiScheduler.MultiLockMidiEventScheduler
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java212 ReentrantLock lock = Bridge.getLock(); in acquireLock()
240 ReentrantLock lock = Bridge.getLock(); in release()
340 ReentrantLock lock = Bridge.getLock(); in checkLock()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java182 PowerManager.WakeLock lock = getLock(this.getApplicationContext()); in onStartCommand()
235 PowerManager.WakeLock lock = getLock(this.getApplicationContext()); in installPackage()
385 PowerManager.WakeLock lock = getLock(this.getApplicationContext()); in uninstallPackage()
544 private synchronized PowerManager.WakeLock getLock(Context context) { in getLock() method in WearPackageInstallerService
/frameworks/base/services/core/java/com/android/server/wm/
DBaseAppSnapshotPersister.java38 mLock = persistQueue.getLock(); in BaseAppSnapshotPersister()
DActivitySnapshotController.java145 synchronized (mSnapshotPersistQueue.getLock()) { in cleanUpUserFiles()
239 synchronized (mSnapshotPersistQueue.getLock()) { in postProcess()
585 synchronized (mSnapshotPersistQueue.getLock()) { in removeSnapshotFiles()
DSnapshotPersistQueue.java71 Object getLock() { in getLock() method in SnapshotPersistQueue
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DStateController.java54 mLock = service.getLock(); in StateController()
/frameworks/base/core/java/android/hardware/
DSyncFence.java265 public Object getLock() { in getLock() method in SyncFence
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DStateControllerTest.java108 when(mJobSchedulerService.getLock()).thenReturn(mJobSchedulerService); in setUp()
DBatteryControllerTest.java92 when(mJobSchedulerService.getLock()).thenReturn(mJobSchedulerService); in setUp()
DPrefetchControllerTest.java117 when(mJobSchedulerService.getLock()).thenReturn(mJobSchedulerService); in setUp()
/frameworks/base/services/core/java/com/android/server/slice/
DPinnedSliceState.java64 mLock = mService.getLock(); in PinnedSliceState()
DSliceManagerService.java390 public Object getLock() { in getLock() method in SliceManagerService
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DPinnedSliceStateTest.java77 when(mSliceService.getLock()).thenReturn(new Object()); in setUp()
/frameworks/base/services/core/java/com/android/server/am/
DBaseAppStateTracker.java93 mLock = controller.getLock(); in BaseAppStateTracker()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/
DBridgeClient.java377 Bridge.getLock().lock(); in beforeClass()
381 Bridge.getLock().unlock(); in beforeClass()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/tare/
DAgentTest.java80 doReturn(mIrs).when(mIrs).getLock(); in setUp()
DScribeTest.java92 when(mIrs.getLock()).thenReturn(new Object()); in setUp()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/
DScribe.java416 synchronized (mIrs.getLock()) { in cleanupLedgers()
661 synchronized (mIrs.getLock()) { in writeState()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceInjector.java274 public PackageManagerTracedLock getLock() { in getLock() method in PackageManagerServiceInjector
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/restrictions/
DThermalStatusRestrictionTest.java89 when(mJobSchedulerService.getLock()).thenReturn(mJobSchedulerService); in setUp()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java560 public static ReentrantLock getLock() { in getLock() method in Bridge

12