/base/account/os_account/services/accountmgr/ |
D | accountmgr.cfg | 5 "mkdir /data/service/el1/public/account 0750 account account" 11 "mkdir /data/service/el1/public/database/os_account_mgr_service 02770 account ddms", 12 … "mkdir /data/service/el1/public/database/app_account_manager_service 02770 account ddms" 31 "uid" : "account", 32 "gid" : ["account", "shell", "access_token"], 33 "bootevent" : [ "bootevent.account.ready" ],
|
D | BUILD.gn | 20 subsystem_name = "account" 26 relative_install_dir = "account" 27 subsystem_name = "account" 33 relative_install_dir = "account" 34 subsystem_name = "account" 336 subsystem_name = "account"
|
/base/account/os_account/services/accountmgr/param/ |
D | BUILD.gn | 18 ":account.para", 19 ":account.para.dac", 23 ohos_prebuilt_etc("account.para") { 24 source = "account.para" 27 subsystem_name = "account" 30 ohos_prebuilt_etc("account.para.dac") { 31 source = "account.para.dac" 34 subsystem_name = "account"
|
D | account.para.dac | 14 bootevent.account.ready="account:account:755"
|
D | account.para | 14 bootevent.account.ready=false
|
/base/security/selinux_adapter/sepolicy/ohos_policy/account/os_account/system/ |
D | file_contexts | 14 /data/service/el1/public/account/[0-9]+(/.*)? u:object_r:account_data_file:s0 15 /data/service/el1/public/account/account_list.json u:object_r:account_data_file:s0 17 /data/service/el1/public/account/base_os_account_constraints.json u:object_r:account_data_file… 18 /data/service/el1/public/account/global_os_account_constraints.json u:object_r:account_data_fi… 19 /data/service/el1/public/account/specific_os_account_constraints.json u:object_r:account_data_… 20 #/system/etc/account/osaccount_constraints.json u:object_r:account_data_file:s0 21 #/system/etc/account/constraints_list_collection.json u:object_r:account_data_file:s0
|
/base/account/os_account/services/accountmgr/src/appaccount/ |
D | app_account_check_labels_callback.cpp | 38 for (auto account : accountsWithLabels_) { in SendResult() local 39 names.push_back(account.GetName()); in SendResult() 40 owners.push_back(account.GetOwner()); in SendResult() 52 AppAccountInfo account = accounts_[index_]; in CheckLabels() local 54 account.GetOwner(newRequest.owner); in CheckLabels() 55 account.GetName(newRequest.name); in CheckLabels()
|
D | app_account_control_manager.cpp | 638 for (auto account : accessibleAccounts) { in GetAllAccounts() local 640 result = dataStoragePtr->GetAccountInfoById(account, appAccountInfo); in GetAllAccounts() 692 for (auto account : accessibleAccounts) { in GetAllAccessibleAccounts() local 695 result = dataStoragePtr->GetAccountInfoById(account, appAccountInfo); in GetAllAccessibleAccounts() 713 [](auto account) { return account; }); in GetAllAccessibleAccounts() argument 728 for (auto account : options.allowedAccounts) { in SelectAccountsByOptions() local 729 allowedAccounts.emplace(account.first + "_" + account.second); in SelectAccountsByOptions() 739 for (auto account : accessibleAccounts) { in SelectAccountsByOptions() local 740 std::string owner = account.GetOwner(); in SelectAccountsByOptions() 744 if (options.hasAccounts && allowedAccounts.count(owner + "_" + account.GetName()) == 0) { in SelectAccountsByOptions() [all …]
|
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/ |
D | account_adapt.cpp | 43 int8_t GetLocalAccountName(char** account, uint32_t userId) in GetLocalAccountName() argument 45 if (account == nullptr) { in GetLocalAccountName() 51 *account = strdup(accountInfo.second.name_.c_str()); in GetLocalAccountName() 101 std::string account(reinterpret_cast<char*>(accountId->data), accountId->size); in IsAccountLogIn() 102 info.accountName_ = account; in IsAccountLogIn() 121 int32_t GetDomainAccountName(char** account) in GetDomainAccountName() argument 144 *account = strdup(domainInfo.accountName_.c_str()); in GetDomainAccountName()
|
D | account_adapt.h | 36 int8_t GetLocalAccountName(char** account, uint32_t userId); 38 int32_t GetDomainAccountName(char** account);
|
/base/account/os_account/ |
D | README.md | 5 In the standard system, the account subsystem implements lifecycle management of OS accounts, manag… 9 **Figure 1** Architecture of the OS account module<a name="fig4460722185514"></a> 17 /base/account/os_account 19 ├── frameworks Code of the account subsystem 20 │ ├── appaccount Internal API code of the app account module 21 │ │ └── native Code used to implement the app account internal APIs 28 │ ├── ohosaccount Internal API code of the distributed account module 29 │ │ ├── native Code used to implement the distributed account internal APIs 30 │ │ └── test Test code for the distributed account internal APIs 31 │ └── osaccount Internal API code of the OS account module [all …]
|
/base/account/os_account/services/accountmgr/test/moduletest/app_account/ |
D | app_account_manager_service_subscribe_module_test.cpp | 100 for (auto account : accounts) { in OnAccountsChanged() local 101 account.GetOwner(owner); in OnAccountsChanged() 104 account.GetName(name); in OnAccountsChanged() 107 account.GetExtraInfo(extraInfo); in OnAccountsChanged() 161 for (auto account : accounts) { in OnAccountsChanged() local 162 account.GetOwner(owner); in OnAccountsChanged() 165 account.GetName(name); in OnAccountsChanged() 168 account.GetExtraInfo(extraInfo); in OnAccountsChanged() 207 for (auto account : accounts) { in OnAccountsChanged() local 208 account.GetOwner(owner); in OnAccountsChanged() [all …]
|
/base/security/dlp_permission_service/services/dlp_permission/sa/mock/ |
D | dlp_credential_service.c | 95 bool GetAccountName(uint32_t accountType, uint32_t userId, char** account) in GetAccountName() argument 99 if (GetLocalAccountName(account, userId) != 0) { in GetAccountName() 104 if (GetDomainAccountName(account) != 0) { in GetAccountName() 116 char* account = NULL; in CheckAccount() local 133 if (!GetAccountName(accountType, userId, &account)) { in CheckAccount() 136 if (sprintf_s(owner, STRING_LEN, "\"ownerAccountName\":\"%s\"", account) <= 0 || in CheckAccount() 137 sprintf_s(user, STRING_LEN, "\"%s\":{", account) <= 0 || in CheckAccount() 156 free(account); in CheckAccount()
|
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_main/ |
D | dlp_credential.cpp | 367 static int32_t GetLocalAccountName(std::string& account) in GetLocalAccountName() argument 372 account = accountInfo.second.name_; in GetLocalAccountName() 378 static int32_t GetDomainAccountName(std::string& account) in GetDomainAccountName() argument 401 account = domainInfo.accountName_; in GetDomainAccountName() 407 std::string account; in GetAccoutInfo() local 409 if (GetDomainAccountName(account) != DLP_OK) { in GetAccoutInfo() 414 if (GetLocalAccountName(account) != DLP_OK) { in GetAccoutInfo() 421 .accountId = reinterpret_cast<uint8_t*>(strdup(account.c_str())), in GetAccoutInfo() 422 .accountIdLen = account.size(), in GetAccoutInfo()
|
/base/account/os_account/interfaces/kits/napi/osaccount/ |
D | BUILD.gn | 58 relative_install_dir = "module/account" 67 subsystem_name = "account"
|
/base/account/os_account/interfaces/kits/napi/distributedaccount/ |
D | BUILD.gn | 50 relative_install_dir = "module/account" 63 subsystem_name = "account"
|
/base/account/os_account/interfaces/kits/napi/appaccount/authorization_extension_ability/ |
D | BUILD.gn | 49 relative_install_dir = "module/account/appaccount" 50 subsystem_name = "account"
|
/base/account/os_account/interfaces/kits/napi/appaccount/authorization_extension_context/ |
D | BUILD.gn | 50 relative_install_dir = "module/account/appaccount" 51 subsystem_name = "account"
|
/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/ |
D | dlp_credential_test.cpp | 114 std::string account; variable 117 … int res = DlpCredential::GetInstance().GenerateDlpCertificate(policy, account, accountType, stub);
|
/base/account/os_account/tools/acm/ |
D | BUILD.gn | 67 subsystem_name = "account" 78 subsystem_name = "account"
|
/base/security/device_auth/frameworks/src/standard/ |
D | deviceauth_service.cfg | 6 "mkdir /data/service/el1/public/deviceauth/account 0711 deviceauth deviceauth",
|
/base/account/os_account/interfaces/kits/napi/appaccount/ |
D | BUILD.gn | 70 relative_install_dir = "module/account" 92 subsystem_name = "account"
|
/base/security/selinux_adapter/sepolicy/ohos_policy/multimedia/player/system/ |
D | system_core_hap.te | 16 …} for pid=6124 comm="ohos.acts.multi" path="/data/service/el2/100/hmdfs/account/files/Pictures/SR… 18 …} for pid=6124 comm="ohos.acts.multi" path="/data/service/el2/100/hmdfs/account/files/Documents/D…
|
/base/account/os_account/frameworks/appaccount/extension/ |
D | BUILD.gn | 79 subsystem_name = "account" 113 subsystem_name = "account"
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/include/ |
D | dlp_file.h | 128 int32_t GetLocalAccountName(std::string& account) const; 129 int32_t GetDomainAccountName(std::string& account) const;
|