Home
last modified time | relevance | path

Searched refs:withLock (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DMainActivity.kt36 import kotlin.concurrent.withLock
103 mDrawLock.withLock { in createSurfaceView()
120 mDrawLock.withLock { in createSurfaceView()
129 mDrawLock.withLock { in drawFrame()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/base/interactor/
DFakeQSTileUserActionInteractor.kt20 import kotlinx.coroutines.sync.withLock
32 mutex.withLock { mutableInputs.add(input) } in lastInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/data/repository/
DProfileTypeRepositoryImpl.kt27 import kotlinx.coroutines.sync.withLock
42 return mutex.withLock { in getProfileType()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DTransition.kt23 import kotlinx.coroutines.sync.withLock
87 Mutex(locked = true).withLock {} in TestScope()
DSceneTransitionLayoutStateTest.kt37 import kotlinx.coroutines.sync.withLock in <lambda>()
565 Mutex(locked = true).withLock {} in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/domain/interactor/
DCustomTileInteractor.kt39 import kotlinx.coroutines.sync.withLock
94 userMutex.withLock { in getTiles()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/
DQSSettingsRestoredRepository.kt39 import kotlinx.coroutines.sync.withLock in <lambda>()
91 mutex.withLock { in <lambda>()
106 mutex.withLock { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/data/repository/
DCustomTileRepository.kt42 import kotlinx.coroutines.sync.withLock
196 tileUpdateMutex.withLock { in restoreForTheUserIfNeeded()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/authentication/data/repository/
DFakeAuthenticationRepository.kt36 import kotlinx.coroutines.sync.withLock in <lambda>()
131 return credentialCheckingMutex.withLock { in <lambda>()
/frameworks/native/libs/binder/
DBinder.cpp203 void IBinder::withLock(const std::function<void()>& doWithLock) { in withLock() function in android::IBinder
206 local->withLock(doWithLock); in withLock()
211 proxy->withLock(doWithLock); in withLock()
475 void BBinder::withLock(const std::function<void()>& doWithLock) { in withLock() function in android::BBinder
DBpBinder.cpp587 void BpBinder::withLock(const std::function<void()>& doWithLock) { in withLock() function in android::BpBinder
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/
DUserSwitcherInteractor.kt86 import kotlinx.coroutines.sync.withLock in <lambda>()
361 applicationScope.launch { callbackMutex.withLock { callbacks.add(callback) } } in <lambda>()
365 applicationScope.launch { callbackMutex.withLock { callbacks.remove(callback) } } in <lambda>()
559 callbackMutex.withLock { in <lambda>()
/frameworks/native/include/binder/
DIBinder.h285 void withLock(const std::function<void()>& doWithLock);
DBinder.h58 LIBBINDER_EXPORTED void withLock(const std::function<void()>& doWithLock);
/frameworks/native/libs/binder/include/binder/
DIBinder.h285 void withLock(const std::function<void()>& doWithLock);
DBinder.h58 LIBBINDER_EXPORTED void withLock(const std::function<void()>& doWithLock);
DBpBinder.h74 LIBBINDER_EXPORTED void withLock(const std::function<void()>& doWithLock);
/frameworks/native/libs/binder/ndk/
Dibinder.cpp315 binder->withLock([&]() { in lookupOrCreateFromBinder()