Home
last modified time | relevance | path

Searched refs:isLocked (Results 1 – 25 of 29) sorted by relevance

12

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
Dlock_status_observer.cpp100 void LockStatusObserver::OnStatusChange(bool isLocked) const in OnStatusChange()
106 lockStatusChangedNotifier_->NotifyEvent(LOCK_STATUS_CHANGE_EVENT, &isLocked); in OnStatusChange()
Dlock_status_observer.h30 void OnStatusChange(bool isLocked) const;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
Druntime_context_process_system_api_adapter_impl_test.cpp199 bool isLocked = RuntimeContext::GetInstance()->IsAccessControlled(); variable
200 EXPECT_FALSE(isLocked);
208 isLocked = RuntimeContext::GetInstance()->IsAccessControlled();
209 EXPECT_TRUE(!isLocked);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
Dstorage_engine_manager.cpp164 bool isLocked = *static_cast<bool *>(lockStatus); in RegisterLockStatusListener() local
165 LOGD("[StorageEngineManager] Lock status to %d", isLocked); in RegisterLockStatusListener()
166 if (isLocked) { in RegisterLockStatusListener()
170 std::bind(&StorageEngineManager::LockStatusNotifier, this, isLocked)); in RegisterLockStatusListener()
/foundation/window/window_manager/interfaces/innerkits/dm/
Dscreen_manager.h187 DMError SetScreenRotationLocked(bool isLocked);
195 DMError IsScreenRotationLocked(bool& isLocked);
/foundation/window/window_manager/window_scene/session_manager/src/zidl/
Dscreen_session_manager_stub.cpp294 bool isLocked = static_cast<bool>(data.ReadBool()); in OnRemoteRequest() local
295 DMError ret = SetScreenRotationLocked(isLocked); in OnRemoteRequest()
300 bool isLocked = false; in OnRemoteRequest() local
301 DMError ret = IsScreenRotationLocked(isLocked); in OnRemoteRequest()
303 reply.WriteBool(isLocked); in OnRemoteRequest()
/foundation/window/window_manager/test/common/mock/
Dmock_display_manager_adapter.h77 MOCK_METHOD1(SetScreenRotationLocked, DMError(bool isLocked));
78 MOCK_METHOD1(IsScreenRotationLocked, DMError(bool& isLocked));
/foundation/window/window_manager/dmserver/src/
Ddisplay_manager_stub.cpp327 bool isLocked = false; in OnRemoteRequest() local
328 DMError ret = IsScreenRotationLocked(isLocked); in OnRemoteRequest()
330 reply.WriteBool(isLocked); in OnRemoteRequest()
334 bool isLocked = static_cast<bool>(data.ReadBool()); in OnRemoteRequest() local
335 DMError ret = SetScreenRotationLocked(isLocked); in OnRemoteRequest()
Dscreen_rotation_controller.cpp56 DMError ScreenRotationController::SetScreenRotationLocked(bool isLocked) in SetScreenRotationLocked() argument
58 isScreenRotationLocked_ = isLocked; in SetScreenRotationLocked()
59 if (isLocked) { in SetScreenRotationLocked()
Ddisplay_manager_service.cpp739 DMError DisplayManagerService::IsScreenRotationLocked(bool& isLocked) in IsScreenRotationLocked() argument
745 isLocked = ScreenRotationController::IsScreenRotationLocked(); in IsScreenRotationLocked()
749 DMError DisplayManagerService::SetScreenRotationLocked(bool isLocked) in SetScreenRotationLocked() argument
755 return ScreenRotationController::SetScreenRotationLocked(isLocked); in SetScreenRotationLocked()
/foundation/window/window_manager/dmserver/include/
Ddisplay_manager_proxy.h46 DMError IsScreenRotationLocked(bool& isLocked) override;
47 DMError SetScreenRotationLocked(bool isLocked) override;
Ddisplay_manager_interface.h106 virtual DMError SetScreenRotationLocked(bool isLocked) = 0;
107 virtual DMError IsScreenRotationLocked(bool& isLocked) = 0;
Ddisplay_manager_service.h53 DMError IsScreenRotationLocked(bool& isLocked) override;
54 DMError SetScreenRotationLocked(bool isLocked) override;
Dscreen_rotation_controller.h52 static DMError SetScreenRotationLocked(bool isLocked);
/foundation/window/window_manager/dm/src/
Ddisplay_manager_adapter.cpp143 DMError ScreenManagerAdapter::SetScreenRotationLocked(bool isLocked) in SetScreenRotationLocked() argument
147 return displayManagerServiceProxy_->SetScreenRotationLocked(isLocked); in SetScreenRotationLocked()
150 DMError ScreenManagerAdapter::IsScreenRotationLocked(bool& isLocked) in IsScreenRotationLocked() argument
154 return displayManagerServiceProxy_->IsScreenRotationLocked(isLocked); in IsScreenRotationLocked()
Dscreen_manager.cpp539 DMError ScreenManager::SetScreenRotationLocked(bool isLocked) in SetScreenRotationLocked() argument
541 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenRotationLocked(isLocked); in SetScreenRotationLocked()
544 DMError ScreenManager::IsScreenRotationLocked(bool& isLocked) in IsScreenRotationLocked() argument
546 return SingletonContainer::Get<ScreenManagerAdapter>().IsScreenRotationLocked(isLocked); in IsScreenRotationLocked()
/foundation/window/window_manager/window_scene/session_manager/include/zidl/
Dscreen_session_manager_proxy.h85 virtual DMError SetScreenRotationLocked(bool isLocked) override;
86 virtual DMError IsScreenRotationLocked(bool& isLocked) override;
Dscreen_session_manager_interface.h44 virtual DMError SetScreenRotationLocked(bool isLocked) override { return DMError::DM_OK; } in SetScreenRotationLocked() argument
45 virtual DMError IsScreenRotationLocked(bool& isLocked) override { return DMError::DM_OK; } in IsScreenRotationLocked() argument
/foundation/window/window_manager/dm/include/
Ddisplay_manager_adapter.h111 virtual DMError SetScreenRotationLocked(bool isLocked);
112 virtual DMError IsScreenRotationLocked(bool& isLocked);
/foundation/window/window_manager/window_scene/session_manager/src/
Dscreen_rotation_property.cpp66 DMError ScreenRotationProperty::SetScreenRotationLocked(bool isLocked) in SetScreenRotationLocked() argument
68 isScreenRotationLocked_ = isLocked; in SetScreenRotationLocked()
69 if (isLocked) { in SetScreenRotationLocked()
/foundation/window/window_manager/window_scene/session_manager/include/
Dscreen_rotation_property.h52 static DMError SetScreenRotationLocked(bool isLocked);
Dscreen_session_manager.h101 DMError IsScreenRotationLocked(bool& isLocked) override;
102 DMError SetScreenRotationLocked(bool isLocked) override;
/foundation/window/window_manager/dmserver/test/unittest/
Ddisplay_manager_service_test.cpp401 bool isLocked = false; variable
402 dms_->IsScreenRotationLocked(isLocked);
403 ASSERT_EQ(false, isLocked);
/foundation/window/window_manager/interfaces/kits/napi/screen_runtime/napi/
Djs_screen_manager.cpp786 bool isLocked = false; in OnIsScreenRotationLocked() local
788 SingletonContainer::Get<ScreenManager>().IsScreenRotationLocked(isLocked)); in OnIsScreenRotationLocked()
790 task.Resolve(engine, CreateJsValue(engine, isLocked)); in OnIsScreenRotationLocked()
817 bool isLocked = false; in OnSetScreenRotationLocked() local
824 isLocked = static_cast<bool>(*nativeVal); in OnSetScreenRotationLocked()
834 [isLocked](NativeEngine& engine, AsyncTask& task, int32_t status) { in OnSetScreenRotationLocked()
836 SingletonContainer::Get<ScreenManager>().SetScreenRotationLocked(isLocked)); in OnSetScreenRotationLocked()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
Druntime_context.h42 using LockStatusNotifier = std::function<void(void *isLocked)>;

12