/foundation/ability/form_fwk/services/include/ |
H A D | form_info_mgr.h | 70 ErrCode 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 const FormInfoFilter &filter, std::vector<FormInfo> &formInfos, int32_t userId = Constants::INVALID_USER_ID); 103 const std::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 const FormInfoFilter &filter, std::vector<FormInfo> &formInfos, int32_t userId = Constants::INVALID_USER_ID); 114 std::vector<FormInfo> &formInfos, int32_t userId = Constants::INVALID_USER_ID);
|
H A D | form_data_mgr.h | 156 int32_t userId = Constants::INVALID_USER_ID) const;
|
/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | session_manager.cpp | 52 int32_t userId = INVALID_USER_ID; 115 int32_t lastUserId = INVALID_USER_ID; in OnWMSConnectionChanged() 135 if (isConnected && lastUserId > INVALID_USER_ID && lastUserId != userId) { in OnWMSConnectionChanged() 318 int32_t userId = INVALID_USER_ID; in RegisterWMSConnectionChangedListener() 324 isWMSAlreadyConnected = isWMSConnected_ && (currentWMSUserId_ > INVALID_USER_ID); in RegisterWMSConnectionChangedListener()
|
H A D | session_manager_lite.cpp | 51 int32_t userId = INVALID_USER_ID; 246 int32_t lastUserId = INVALID_USER_ID; in OnWMSConnectionChanged() 266 if (isConnected && lastUserId > INVALID_USER_ID && lastUserId != userId) { in OnWMSConnectionChanged() 389 int32_t userId = INVALID_USER_ID; in RegisterWMSConnectionChangedListener() 395 isWMSAlreadyConnected = isWMSConnected_ && (currentWMSUserId_ > INVALID_USER_ID); in RegisterWMSConnectionChangedListener()
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/device/ |
H A D | device_manager_agent_sup_test.cpp | 38 const int32_t INVALID_USER_ID = -1; member 163 EXPECT_CALL(*otherMethodMock_, QueryActiveOsAccountIds(_)).WillOnce(Return(INVALID_USER_ID)); in HWTEST_F() 166 EXPECT_EQ(userId, INVALID_USER_ID); in HWTEST_F() 170 EXPECT_EQ(userId, INVALID_USER_ID); in HWTEST_F() 298 EXPECT_CALL(*otherMethodMock_, QueryActiveOsAccountIds(_)).WillOnce(Return(INVALID_USER_ID)); in HWTEST_F() 320 EXPECT_CALL(*otherMethodMock_, QueryActiveOsAccountIds(_)).WillOnce(Return(INVALID_USER_ID)); in HWTEST_F()
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/device/ |
H A D | device_manager_agent.cpp | 49 const int32_t INVALID_USER_ID = -1; member 410 return INVALID_USER_ID; in GetCurrentUserId() 504 return INVALID_USER_ID; in MountDfsDocs() 513 if (userId == INVALID_USER_ID) { in MountDfsDocs() 515 return INVALID_USER_ID; in MountDfsDocs() 520 return INVALID_USER_ID; in MountDfsDocs() 540 return INVALID_USER_ID; in UMountDfsDocs() 548 if (userId == INVALID_USER_ID) { in UMountDfsDocs() 550 return INVALID_USER_ID; in UMountDfsDocs() 555 return INVALID_USER_ID; in UMountDfsDocs() [all...] |
/foundation/window/window_manager/wmserver/src/ |
H A D | mock_session_manager_service.cpp | 69 return INVALID_USER_ID; in GetUserIdByCallingUid() 129 : SystemAbility(WINDOW_MANAGER_SERVICE_ID, true), currentWMSUserId_(INVALID_USER_ID), in MockSessionManagerService() 200 if (currentWMSUserId_ <= INVALID_USER_ID) { in SetSessionManagerService() 261 if (clientUserId <= INVALID_USER_ID) { in GetSessionManagerService() 303 if (userId <= INVALID_USER_ID) { in NotifySceneBoardAvailable() 324 if (clientUserId <= INVALID_USER_ID) { in RegisterSMSRecoverListener() 372 if (clientUserId <= INVALID_USER_ID) { in UnregisterSMSRecoverListener() 428 if (clientUserId <= INVALID_USER_ID) { in RegisterSMSLiteRecoverListener() 476 if (clientUserId <= INVALID_USER_ID) { in UnregisterSMSLiteRecoverListener()
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/ipc/ |
H A D | connection_detector.cpp | 195 return INVALID_USER_ID; in GetCurrentUserId() 203 if (userId == INVALID_USER_ID) { in ParseHmdfsPath()
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/ipc/ |
H A D | connection_detector.h | 35 constexpr int32_t INVALID_USER_ID = -1; member
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | sub_managers_helper.cpp | 28 constexpr int32_t INVALID_USER_ID = -1; member 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()
|
/foundation/window/window_manager/window_scene/session_manager/include/ |
H A D | session_manager.h | 87 int32_t currentWMSUserId_ = INVALID_USER_ID;
|
H A D | session_manager_lite.h | 96 int32_t currentWMSUserId_ = INVALID_USER_ID;
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/cloud_data/include/ |
H A D | cloud_service.h | 94 static const int INVALID_USER_ID = -1; member in OHOS::CloudData::CloudService
|
/foundation/ability/form_fwk/services/src/ |
H A D | form_info_mgr.cpp | 348 userId = (userId == Constants::INVALID_USER_ID) ? FormUtil::GetCurrentAccountId() : userId; in GetAllFormsInfo() 360 userId = (userId == Constants::INVALID_USER_ID) ? FormUtil::GetCurrentAccountId() : userId; in GetVersionCode() 376 userId = (userId == Constants::INVALID_USER_ID) ? FormUtil::GetCurrentAccountId() : userId; in GetFormsInfoByModule() 388 auto newUserId = (userId == Constants::INVALID_USER_ID) ? FormUtil::GetCurrentAccountId() : userId; in GetFormsInfoByFilter()
|
/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | utils.cpp | 55 constexpr int32_t INVALID_USER_ID = -1; member 430 return INVALID_USER_ID; in GetUserIdByCallingUid()
|
/foundation/filemanagement/dfs_service/test/unittests/distributed_file_daemon/ |
H A D | connection_detector_test.cpp | 31 constexpr int32_t INVALID_USER_ID = -1; member 45 return INVALID_USER_ID; in QueryActiveOsAccountIds()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/ |
H A D | cloud_service_impl.cpp | 367 if (userId != INVALID_USER_ID) { in DoKvCloudSync() 404 if (userId != INVALID_USER_ID) { in NotifyDataChange() 565 if (hapInfo.user == INVALID_USER_ID || hapInfo.user == 0) { in SetGlobalCloudStrategy() 1146 if (hapInfo.bundleName.empty() || hapInfo.user == INVALID_USER_ID) { in AllocResourceAndShare() 1224 return { INVALID_USER_ID, -1, "" }; in GetHapInfo() 1462 if (hapInfo.bundleName.empty() || hapInfo.user == INVALID_USER_ID || hapInfo.user == 0) {
|
/foundation/ability/form_fwk/interfaces/inner_api/include/ |
H A D | form_constants.h | 111 constexpr int32_t INVALID_USER_ID = -1; member
|
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | session_manager_test.cpp | 183 sm_->currentWMSUserId_ = INVALID_USER_ID; in HWTEST_F()
|
H A D | session_manager_lite_test.cpp | 219 sml_->currentWMSUserId_ = INVALID_USER_ID; in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_default_app_test/ |
H A D | bms_bundle_default_app_test.cpp | 112 const int32_t INVALID_USER_ID = 200; member 760 ErrCode result = defaultAppProxy->SetDefaultApplication(INVALID_USER_ID, DEFAULT_APP_VIDEO, want); in HWTEST_F() 774 ErrCode result = defaultAppProxy->GetDefaultApplication(INVALID_USER_ID, DEFAULT_APP_VIDEO, bundleInfo); in HWTEST_F() 787 ErrCode result = defaultAppProxy->ResetDefaultApplication(INVALID_USER_ID, DEFAULT_APP_VIDEO); in HWTEST_F() 1643 ErrCode ret = DefaultAppMgr::GetInstance().SetDefaultApplication(INVALID_USER_ID, DEFAULT_APP_VIDEO, element); in HWTEST_F() 1717 ErrCode ret = DefaultAppMgr::GetInstance().ResetDefaultApplication(INVALID_USER_ID, DEFAULT_APP_BROWSER); in HWTEST_F()
|
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | ability_manager_service.h | 85 constexpr int32_t INVALID_USER_ID = -1; member 2179 return (userId != INVALID_USER_ID && userId != U0_USER_ID && userId != GetUserId()); in IsCrossUserCall() 2185 bool CheckCallingTokenId(const std::string &bundleName, int32_t userId = INVALID_USER_ID, int32_t appIndex = 0);
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | cloud_data_test.cpp | 141 static constexpr int32_t INVALID_USER_ID = -1; member in OHOS::Test::DistributedDataTest::CloudServerMock 165 if (userId == INVALID_USER_ID) { in GetAppSchema() 1837 int32_t userId = CloudServerMock::INVALID_USER_ID; in HWTEST_F()
|
/foundation/window/window_manager/interfaces/innerkits/wm/ |
H A D | wm_common.h | 554 constexpr int32_t INVALID_USER_ID = -1; member
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/src/ |
H A D | js_config.cpp | 262 int32_t userId = CloudService::INVALID_USER_ID;
|