Home
last modified time | relevance | path

Searched refs:ACCOUNT_UID (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/ohos_account/
H A Dohos_account_manager_test.cpp53 const int ACCOUNT_UID = 100; variable
183 …ErrCode ret = OhosAccountManager::GetInstance().LogoutOhosAccount(ACCOUNT_UID, curOhosAccount, TES…
196 …ErrCode ret = OhosAccountManager::GetInstance().LogoffOhosAccount(ACCOUNT_UID, curOhosAccount, TES…
373 ohosAccountInfo.uid_ = ACCOUNT_UID;
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_inner_account_mgr_cov.cpp52 const int ACCOUNT_UID = 3058; variable
215 setuid(ACCOUNT_UID);
H A Dos_account_control_file_manager_test.cpp48 const uid_t ACCOUNT_UID = 3058; variable
519 if (chown(Constants::ACCOUNT_LIST_FILE_JSON_PATH.c_str(), ACCOUNT_UID, ACCOUNT_GID) != 0) {
H A Dos_account_inner_account_mgr_mock.cpp73 const int ACCOUNT_UID = 3058; variable
986 (void)setuid(ACCOUNT_UID);
1139 (void)setuid(ACCOUNT_UID);
1691 (void)setuid(ACCOUNT_UID);
1808 (void)setuid(ACCOUNT_UID);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_service_constants.h106 constexpr int32_t ACCOUNT_UID = 3058; variable
/ohos5.0/base/notification/common_event_service/services/src/
H A Dcommon_event_permission_manager.cpp36 constexpr int32_t ACCOUNT_UID = 3058; variable
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/account_iam/
H A Daccount_iam_manager_test.cpp51 const uid_t ACCOUNT_UID = 3058; variable
477 setuid(ACCOUNT_UID); in SetUpTestCase()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/ipc/src/
H A Dstorage_manager_stub.cpp27 constexpr pid_t ACCOUNT_UID = 3058; variable
43 if (tokenType == Security::AccessToken::TOKEN_NATIVE && uid == ACCOUNT_UID) { in CheckClientPermission()
/ohos5.0/base/account/os_account/services/accountmgr/test/moduletest/os_account/
H A Dos_account_manager_service_module_test.cpp48 const uid_t ACCOUNT_UID = 3058; variable
275 if (chown(Constants::ACCOUNT_LIST_FILE_JSON_PATH.c_str(), ACCOUNT_UID, ACCOUNT_GID) != 0) {
2093 setuid(ACCOUNT_UID);
/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp85 const uid_t ACCOUNT_UID = 3058; variable
557 if (chown(Constants::ACCOUNT_LIST_FILE_JSON_PATH.c_str(), ACCOUNT_UID, ACCOUNT_GID) != 0) {
2362 …ASSERT_EQ(OsAccountManager::GetBundleIdFromUid(ACCOUNT_UID, bundleId), ERR_ACCOUNT_COMMON_NOT_SYST…
2449 ASSERT_EQ(OsAccountManager::GetBundleIdFromUid(ACCOUNT_UID, bundleId), ERR_OK);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_data_mgr_test.cpp4130 setuid(ServiceConstants::ACCOUNT_UID);
4154 setuid(ServiceConstants::ACCOUNT_UID);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_mgr_host_impl.cpp2370 if (callingUid != ServiceConstants::ACCOUNT_UID) { in GetBundleUserMgr()