Home
last modified time | relevance | path

Searched refs:GetCurrentUserId (Results 1 - 25 of 43) sorted by relevance

12

/foundation/ability/ability_runtime/test/unittest/user_controller_test/
H A Duser_controller_test.cpp166 EXPECT_TRUE(userController.GetCurrentUserId() == 0); in HWTEST_F()
182 EXPECT_TRUE(userController.GetCurrentUserId() == 0); in HWTEST_F()
210 auto result = userController.GetCurrentUserId(); in HWTEST_F()
226 auto result = userController.GetCurrentUserId(); in HWTEST_F()
243 auto result = userController.GetCurrentUserId(); in HWTEST_F()
260 auto result = userController.GetCurrentUserId(); in HWTEST_F()
277 auto result = userController.GetCurrentUserId(); in HWTEST_F()
293 auto result = userController.GetCurrentUserId(); in HWTEST_F()
309 auto result = userController.GetCurrentUserId(); in HWTEST_F()
/foundation/bundlemanager/bundle_tool/frameworks/include/
H A Dbundle_command_common.h38 static int32_t GetCurrentUserId(int32_t userId);
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/ipc/
H A Dconnection_detector.cpp189 int32_t ConnectionDetector::GetCurrentUserId() in GetCurrentUserId() function in OHOS::Storage::DistributedFile::ConnectionDetector
202 auto userId = GetCurrentUserId(); in ParseHmdfsPath()
/foundation/filemanagement/storage_service/services/storage_manager/include/storage/
H A Dstorage_status_service.h44 int GetCurrentUserId();
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/ipc/
H A Dconnection_detector.h50 static int32_t GetCurrentUserId();
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/network/softbus/
H A Dsoftbus_asset_recv_listener.h47 static int32_t GetCurrentUserId();
/foundation/bundlemanager/bundle_tool/frameworks/src/
H A Dbundle_command.cpp514 int32_t userId = BundleCommandCommon::GetCurrentUserId(Constants::UNSPECIFIED_USERID); in RunAsInstallCommand()
613 userId = BundleCommandCommon::GetCurrentUserId(Constants::UNSPECIFIED_USERID); in RunAsInstallCommand()
733 int32_t userId = BundleCommandCommon::GetCurrentUserId(Constants::UNSPECIFIED_USERID); in RunAsUninstallCommand()
848 userId = BundleCommandCommon::GetCurrentUserId(Constants::UNSPECIFIED_USERID); in RunAsUninstallCommand()
932 int32_t userId = BundleCommandCommon::GetCurrentUserId(Constants::UNSPECIFIED_USERID); in RunAsDumpCommand()
1091 int32_t userId = BundleCommandCommon::GetCurrentUserId(Constants::UNSPECIFIED_USERID); in RunAsCleanCommand()
1258 int32_t userId = BundleCommandCommon::GetCurrentUserId(Constants::UNSPECIFIED_USERID); in RunAsEnableCommand()
1393 int32_t userId = BundleCommandCommon::GetCurrentUserId(Constants::UNSPECIFIED_USERID); in RunAsDisableCommand()
1674 int32_t userId = BundleCommandCommon::GetCurrentUserId(Constants::UNSPECIFIED_USERID); in RunAsDumpOverlay()
1810 int32_t userId = BundleCommandCommon::GetCurrentUserId(Constant in RunAsDumpTargetOverlay()
[all...]
H A Dbundle_command_common.cpp71 int32_t BundleCommandCommon::GetCurrentUserId(int32_t userId) in GetCurrentUserId() function in OHOS::AppExecFwk::BundleCommandCommon
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Duser_controller.cpp111 if (GetCurrentUserId() != USER_ID_NO_HEAD && !Rosen::SceneBoardJudgement::IsSceneBoardEnabled()) { in StartUser()
117 auto oldUserId = GetCurrentUserId(); in StartUser()
230 int32_t UserController::GetCurrentUserId() in GetCurrentUserId() function in OHOS::AAFwk::UserController
249 int32_t oldUserId = GetCurrentUserId(); in IsCurrentUser()
/foundation/filemanagement/storage_service/services/storage_manager/storage/src/
H A Dstorage_status_service.cpp154 int StorageStatusService::GetCurrentUserId() in GetCurrentUserId() function in OHOS::StorageManager::StorageStatusService
173 int userId = GetCurrentUserId(); in GetBundleStats()
180 int userId = GetCurrentUserId(); in GetUserStorageStats()
281 int userId = GetCurrentUserId(); in GetCurrentBundleStats()
/foundation/barrierfree/accessibility/services/aams/test/unittest/
H A Daccessibility_common_event_test.cpp174 int32_t userId = AccessibilityAbilityHelper::GetInstance().GetCurrentUserId(); in HWTEST_F()
198 int32_t userId = AccessibilityAbilityHelper::GetInstance().GetCurrentUserId(); in HWTEST_F()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/
H A Daudio_setting_provider.cpp298 int32_t AudioSettingProvider::GetCurrentUserId() in GetCurrentUserId() function in OHOS::AudioStandard::AudioSettingProvider
324 int32_t currentuserId = GetCurrentUserId(); in CreateDataShareHelper()
365 int32_t currentuserId = GetCurrentUserId(); in AssembleUri()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/device/
H A Ddevice_manager_agent_sup_test.cpp156 * @tc.desc: Verify the GetCurrentUserId function.
165 auto userId = testPtr->GetCurrentUserId(); in HWTEST_F()
169 userId = testPtr->GetCurrentUserId(); in HWTEST_F()
175 userId = testPtr->GetCurrentUserId(); in HWTEST_F()
/foundation/ability/ability_runtime/interfaces/kits/native/ability/ability_runtime/
H A Dlocal_call_container.h59 int32_t GetCurrentUserId();
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Duser_controller.h95 int32_t GetCurrentUserId();
/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/manager/
H A Daudio_setting_provider.h56 static int32_t GetCurrentUserId();
/foundation/multimedia/av_session/services/session/server/
H A Davsession_users_manager.h42 int32_t GetCurrentUserId();
/foundation/multimodalinput/input/test/facility/mock/include/
H A Dinput_windows_manager_mock.h62 MOCK_METHOD(int32_t, GetCurrentUserId, ());
/foundation/ability/ability_runtime/frameworks/native/ability/ability_runtime/
H A Dlocal_call_container.cpp397 int32_t LocalCallContainer::GetCurrentUserId() in GetCurrentUserId() function in OHOS::AbilityRuntime::LocalCallContainer
415 if (accountId > 0 && accountId != GetCurrentUserId()) { in GetValidUserId()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/
H A Dsoftbus_asset_recv_listener.cpp65 int32_t userId = GetCurrentUserId(); in GetRecvPath()
168 int32_t SoftbusAssetRecvListener::GetCurrentUserId() in GetCurrentUserId() function in OHOS::Storage::DistributedFile::SoftbusAssetRecvListener
176 LOGI("GetCurrentUserId end."); in GetCurrentUserId()
/foundation/barrierfree/accessibility/services/aams/test/mock/include/
H A Daccessibility_ut_helper.h361 int32_t GetCurrentUserId() const in GetCurrentUserId() function in OHOS::Accessibility::AccessibilityAbilityHelper
/foundation/barrierfree/accessibility/services/test/moduletest/mock/include/
H A Daccessibility_module_test_helper.h361 int32_t GetCurrentUserId() const in GetCurrentUserId() function in OHOS::Accessibility::AccessibilityAbilityMtHelper
/foundation/barrierfree/accessibility/services/test/xts/inc/
H A Daccessibility_ut_helper.h361 int32_t GetCurrentUserId() const in GetCurrentUserId() function in OHOS::A11y::A11yAbilityHelper
/foundation/multimodalinput/input/service/window_manager/include/
H A Di_input_windows_manager.h91 virtual int32_t GetCurrentUserId() = 0;
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/device/
H A Ddevice_manager_agent.h134 int32_t GetCurrentUserId();

Completed in 15 milliseconds

12