Home
last modified time | relevance | path

Searched refs:INVALID_USER_ID (Results 1 – 25 of 49) sorted by relevance

12

/ohos5.0/foundation/arkui/ui_appearance/services/utils/include/
H A Dsetting_data_manager.h34 int32_t userId = INVALID_USER_ID);
36 ErrCode UnregisterObserver(const std::string& key, int32_t userId = INVALID_USER_ID);
38 …GetStringValue(const std::string& key, std::string& value, int32_t userId = INVALID_USER_ID) const;
40 …ErrCode GetInt32Value(const std::string& key, int32_t& value, int32_t userId = INVALID_USER_ID) co…
42 …Int32ValueStrictly(const std::string& key, int32_t& value, int32_t userId = INVALID_USER_ID) const;
44 … ErrCode GetBoolValue(const std::string& key, bool& value, int32_t userId = INVALID_USER_ID) const;
46 … SetStringValue(const std::string& key, const std::string& value, int32_t userId = INVALID_USER_ID,
49 ErrCode SetInt32Value(const std::string& key, int32_t value, int32_t userId = INVALID_USER_ID,
52 ErrCode SetBoolValue(const std::string& key, bool value, int32_t userId = INVALID_USER_ID,
55 bool IsValidKey(const std::string& key, int32_t userId = INVALID_USER_ID) const;
[all …]
H A Dsetting_data_observer.h22 constexpr int32_t INVALID_USER_ID = -1; variable
47 int32_t userId_ = INVALID_USER_ID;
/ohos5.0/foundation/ability/form_fwk/services/include/
H A Dform_info_mgr.h70 …ode GetAllFormsInfo(std::vector<FormInfo> &formInfos, int32_t userId = Constants::INVALID_USER_ID);
72 uint32_t GetVersionCode(int32_t userId = Constants::INVALID_USER_ID);
75 int32_t userId = Constants::INVALID_USER_ID);
78 …InfoFilter &filter, std::vector<FormInfo> &formInfos, int32_t userId = Constants::INVALID_USER_ID);
103 …string &bundleName, std::vector<FormInfo> &formInfos, int32_t userId = Constants::INVALID_USER_ID);
106 std::vector<FormInfo> &formInfos, int32_t userId = Constants::INVALID_USER_ID);
109 …InfoFilter &filter, std::vector<FormInfo> &formInfos, int32_t userId = Constants::INVALID_USER_ID);
114 std::vector<FormInfo> &formInfos, int32_t userId = Constants::INVALID_USER_ID);
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/device/
H A Ddevice_manager_agent_sup_test.cpp38 const int32_t INVALID_USER_ID = -1; variable
163 EXPECT_CALL(*otherMethodMock_, QueryActiveOsAccountIds(_)).WillOnce(Return(INVALID_USER_ID));
166 EXPECT_EQ(userId, INVALID_USER_ID);
170 EXPECT_EQ(userId, INVALID_USER_ID);
298 EXPECT_CALL(*otherMethodMock_, QueryActiveOsAccountIds(_)).WillOnce(Return(INVALID_USER_ID));
320 EXPECT_CALL(*otherMethodMock_, QueryActiveOsAccountIds(_)).WillOnce(Return(INVALID_USER_ID));
/ohos5.0/foundation/window/window_manager/wmserver/src/
H A Dmock_session_manager_service.cpp69 return INVALID_USER_ID; in GetUserIdByCallingUid()
129 : SystemAbility(WINDOW_MANAGER_SERVICE_ID, true), currentWMSUserId_(INVALID_USER_ID), in MockSessionManagerService()
214 if (currentWMSUserId_ <= INVALID_USER_ID) { in SetSessionManagerService()
274 if (clientUserId <= INVALID_USER_ID) { in GetSessionManagerService()
316 if (userId <= INVALID_USER_ID) { in NotifySceneBoardAvailable()
337 if (clientUserId <= INVALID_USER_ID) { in RegisterSMSRecoverListener()
385 if (clientUserId <= INVALID_USER_ID) { in UnregisterSMSRecoverListener()
441 if (clientUserId <= INVALID_USER_ID) { in RegisterSMSLiteRecoverListener()
489 if (clientUserId <= INVALID_USER_ID) { in UnregisterSMSLiteRecoverListener()
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/device/
H A Ddevice_manager_agent.cpp49 const int32_t INVALID_USER_ID = -1; variable
405 return INVALID_USER_ID; in GetCurrentUserId()
499 return INVALID_USER_ID; in MountDfsDocs()
508 if (userId == INVALID_USER_ID) { in MountDfsDocs()
510 return INVALID_USER_ID; in MountDfsDocs()
515 return INVALID_USER_ID; in MountDfsDocs()
535 return INVALID_USER_ID; in UMountDfsDocs()
543 if (userId == INVALID_USER_ID) { in UMountDfsDocs()
545 return INVALID_USER_ID; in UMountDfsDocs()
550 return INVALID_USER_ID; in UMountDfsDocs()
/ohos5.0/base/useriam/user_auth_framework/services/ipc/src/
H A Dtemplate_cache_manager.cpp46 return INVALID_USER_ID; in GetCurrentUserId()
152 if (userId == INVALID_USER_ID) { in Subscribe()
238 IF_FALSE_LOGE_AND_RETURN(currUserId != INVALID_USER_ID); in UpdateTemplateCache()
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dsession_manager.cpp109 int32_t lastUserId = INVALID_USER_ID; in OnWMSConnectionChanged()
317 int32_t userId = INVALID_USER_ID; in RegisterWMSConnectionChangedListener()
323 isWMSAlreadyConnected = isWMSConnected_ && (currentWMSUserId_ > INVALID_USER_ID); in RegisterWMSConnectionChangedListener()
H A Dsession_manager_lite.cpp224 int32_t lastUserId = INVALID_USER_ID; in OnWMSConnectionChanged()
368 int32_t userId = INVALID_USER_ID; in RegisterWMSConnectionChangedListener()
374 isWMSAlreadyConnected = isWMSConnected_ && (currentWMSUserId_ > INVALID_USER_ID); in RegisterWMSConnectionChangedListener()
/ohos5.0/base/useriam/user_auth_framework/services/ipc/inc/
H A Dtemplate_cache_manager.h38 int currUserId_ = INVALID_USER_ID;
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/ipc/
H A Dconnection_detector.cpp208 return INVALID_USER_ID; in GetCurrentUserId()
216 if (userId == INVALID_USER_ID) { in ParseHmdfsPath()
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dsub_managers_helper.cpp28 constexpr int32_t INVALID_USER_ID = -1; variable
320 int32_t userId = INVALID_USER_ID; in GetMissionListManagerByUid()
357 int32_t userId = INVALID_USER_ID; in GetUIAbilityManagerByUid()
371 int32_t userId = INVALID_USER_ID; in UninstallApp()
/ohos5.0/base/inputmethod/imf/services/adapter/os_account_adapter/include/
H A Dos_account_adapter.h27 static constexpr int32_t INVALID_USER_ID = -1; variable
/ohos5.0/foundation/arkui/ui_appearance/services/src/
H A Ddark_mode_manager.cpp94 if (userId <= INVALID_USER_ID || userId == settingDataObserversUserId_) { in OnSwitchUser()
100 if (settingDataObserversUserId_ != INVALID_USER_ID) { in OnSwitchUser()
104 settingDataObserversUserId_ = INVALID_USER_ID; in OnSwitchUser()
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/common/src/
H A Dtdd_util.cpp50 constexpr int32_t INVALID_USER_ID = -1; variable
60 int32_t TddUtil::userID_ = INVALID_USER_ID;
92 if (userID_ != INVALID_USER_ID) { in GetCurrentUserId()
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/ipc/
H A Dconnection_detector.h35 constexpr int32_t INVALID_USER_ID = -1; variable
/ohos5.0/base/inputmethod/imf/services/adapter/os_account_adapter/src/
H A Dos_account_adapter.cpp55 int32_t userId = INVALID_USER_ID; in GetOsAccountLocalIdFromUid()
/ohos5.0/base/inputmethod/imf/services/src/
H A Dinput_control_channel_stub.cpp58 if (userId == OsAccountAdapter::INVALID_USER_ID) { in HideKeyboardSelf()
/ohos5.0/base/useriam/user_auth_framework/interfaces/inner_api/
H A Diam_common_defines.h37 constexpr int INVALID_USER_ID = -1; variable
/ohos5.0/base/useriam/user_auth_framework/services/context/inc/
H A Dcontext_factory.h46 int32_t userId {INVALID_USER_ID};
/ohos5.0/base/useriam/user_auth_framework/services/context/src/
H A Dbase_context.cpp66 return INVALID_USER_ID; in GetUserId()
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/
H A Dsession_manager.h87 int32_t currentWMSUserId_ = INVALID_USER_ID;
H A Dsession_manager_lite.h96 int32_t currentWMSUserId_ = INVALID_USER_ID;
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/distributed_file_daemon/
H A Dconnection_detector_test.cpp31 constexpr int32_t INVALID_USER_ID = -1; variable
45 return INVALID_USER_ID; in QueryActiveOsAccountIds()
/ohos5.0/base/useriam/user_auth_framework/test/fuzztest/dummy/
H A Dmock_ipc_common.cpp39 if (userId != INVALID_USER_ID || skipFlag_) { in GetCallingUserId()

12