Home
last modified time | relevance | path

Searched refs:user (Results 1 - 25 of 178) sorted by relevance

12345678

/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dkey_manager.cpp36 #include "user/mount_manager.h"
37 #include "user/user_manager.h"
176 LOGI("The user %{public}u el %{public}u have existed", userId, type); in GenerateAndInstallUserKey()
187 LOGE("user security key init failed"); in GenerateAndInstallUserKey()
192 LOGE("user security key store failed"); in GenerateAndInstallUserKey()
197 LOGE("user security key active failed"); in GenerateAndInstallUserKey()
225 LOGE("user %{public}u el5 create error", userId); in GenerateAndInstallEl5Key()
240 LOGE("user %{public}u el5 create error", userId); in GenerateAndInstallEl5Key()
246 LOGE("user %{public}u decrypt error", userId); in GenerateAndInstallEl5Key()
257 LOGI("The user in RestoreUserKey()
486 GenerateUserKeys(unsigned int user, uint32_t flags) GenerateUserKeys() argument
506 GenerateElxAndInstallUserKey(unsigned int user) GenerateElxAndInstallUserKey() argument
551 CheckAndFixUserKeyDirectory(unsigned int user) CheckAndFixUserKeyDirectory() argument
616 GenerateUserKeyByType(unsigned int user, KeyType type, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) GenerateUserKeyByType() argument
653 DoDeleteUserCeEceSeceKeys(unsigned int user, const std::string userDir, std::map<unsigned int, std::shared_ptr<BaseKey>> &userElKey_) DoDeleteUserCeEceSeceKeys() argument
684 DoDeleteUserKeys(unsigned int user) DoDeleteUserKeys() argument
717 DeleteUserKeys(unsigned int user) DeleteUserKeys() argument
737 UpdateUserAuth(unsigned int user, struct UserTokenSecret &userTokenSecret, bool needGenerateShield) UpdateUserAuth() argument
836 UpdateESecret(unsigned int user, struct UserTokenSecret &tokenSecret) UpdateESecret() argument
882 UpdateCeEceSeceUserAuth(unsigned int user, struct UserTokenSecret &userTokenSecret, KeyType type, bool needGenerateShield) UpdateCeEceSeceUserAuth() argument
933 ActiveUserKey(unsigned int user, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) UpdateCeEceSeceUserAuth() argument
965 GetKeyDirByUserAndType(unsigned int user, KeyType type) UpdateCeEceSeceUserAuth() argument
1017 SaveUserElKey(unsigned int user, KeyType type, std::shared_ptr<BaseKey> elKey) UpdateCeEceSeceUserAuth() argument
1040 GetUserElKey(unsigned int user, KeyType type) UpdateCeEceSeceUserAuth() argument
1092 ActiveCeSceSeceUserKey(unsigned int user, KeyType type, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) UpdateCeEceSeceUserAuth() argument
1146 HashElxActived(unsigned int user, KeyType type) UpdateCeEceSeceUserAuth() argument
1167 HasElxDesc(std::map<unsigned int, std::shared_ptr<BaseKey>> &userElKey_, KeyType type, unsigned int user) UpdateCeEceSeceUserAuth() argument
1182 CheckAndDeleteEmptyEl5Directory(std::string keyDir, unsigned int user) UpdateCeEceSeceUserAuth() argument
1213 ActiveUeceUserKey(unsigned int user, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret, std::shared_ptr<BaseKey> elKey) UpdateCeEceSeceUserAuth() argument
1237 ActiveElXUserKey(unsigned int user, const std::vector<uint8_t> &token, KeyType keyType, const std::vector<uint8_t> &secret, std::shared_ptr<BaseKey> elKey) UpdateCeEceSeceUserAuth() argument
1273 UnlockUserScreen(uint32_t user, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) UpdateCeEceSeceUserAuth() argument
1308 UnlockEceSece(uint32_t user, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret, int &ret) UpdateCeEceSeceUserAuth() argument
1335 UnlockUece(uint32_t user, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret, int &ret) UpdateCeEceSeceUserAuth() argument
1357 GetLockScreenStatus(uint32_t user, bool &lockScreenStatus) UpdateCeEceSeceUserAuth() argument
1535 InActiveUserKey(unsigned int user) UpdateCeEceSeceUserAuth() argument
1570 InactiveUserElKey(unsigned int user, std::map<unsigned int, std::shared_ptr<BaseKey>> &userElxKey_) UpdateCeEceSeceUserAuth() argument
1586 LockUserScreen(uint32_t user) UpdateCeEceSeceUserAuth() argument
1636 SetDirectoryElPolicy(unsigned int user, KeyType type, const std::vector<FileList> &vec) UpdateCeEceSeceUserAuth() argument
1684 getEceSeceKeyPath(unsigned int user, KeyType type, std::string &eceSeceKeyPath) UpdateCeEceSeceUserAuth() argument
1853 CheckAndClearTokenInfo(uint32_t user) UpdateCeEceSeceUserAuth() argument
[all...]
H A Dfscrypt_key_v1_ext.cpp32 * In Upgrade Scenario, before upgrade user id 0 and after upgrade user id 100, ioctl
36 * user id mapped as:
74 uint32_t user = GetMappedUserId(userId_, type_); in ActiveKeyExt() local
75 LOGI("type_ is %{public}u, map userId %{public}u to %{public}u", type_, userId_, user); in ActiveKeyExt()
77 if (FBEX::InstallKeyToKernel(user, type_, iv, size, static_cast<uint8_t>(flag)) != 0) { in ActiveKeyExt()
78 LOGE("InstallKeyToKernel failed, user %{public}d, type %{public}d, flag %{public}u", user, type_, flag); in ActiveKeyExt()
93 uint32_t user = GetMappedUserId(userId_, type_); in UnlockUserScreenExt() local
94 LOGI("type_ is %{public}u, map userId %{public}u to %{public}u", type_, userId_, user); in UnlockUserScreenExt()
102 GenerateAppkey(uint32_t user, uint32_t hashId, std::unique_ptr<uint8_t[]> &appKey, uint32_t size) GenerateAppkey() argument
214 uint32_t user = type_ == TYPE_EL5 ? userId_ : GetMappedUserId(userId_, type_); InactiveKeyExt() local
230 uint32_t user = GetMappedUserId(userId_, type_); LockUserScreenExt() local
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dkey_manager.h59 int GenerateUserKeys(unsigned int user, uint32_t flags);
60 int DeleteUserKeys(unsigned int user);
63 int UpdateUserAuth(unsigned int user, struct UserTokenSecret &userTokenSecret,
65 int UpdateCeEceSeceUserAuth(unsigned int user, struct UserTokenSecret &userTokenSecret,
68 int UpdateUserAuth(unsigned int user, struct UserTokenSecret &userTokenSecret);
69 int UpdateCeEceSeceUserAuth(unsigned int user, struct UserTokenSecret &userTokenSecret,
78 int ActiveUserKey(unsigned int user, const std::vector<uint8_t> &token,
80 int ActiveCeSceSeceUserKey(unsigned int user, KeyType type, const std::vector<uint8_t> &token,
82 int InActiveUserKey(unsigned int user);
83 int SetDirectoryElPolicy(unsigned int user, KeyTyp
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/sync_strategies/
H A Dnetwork_sync_strategy.cpp34 if (info.user != user_) { in NetworkSyncStrategy()
58 if (storeInfo.user != user_) { in CheckSyncAction()
60 user_ = storeInfo.user; in CheckSyncAction()
62 StrategyInfo info = GetStrategy(storeInfo.user, storeInfo.bundleName); in CheckSyncAction()
63 if (info.user == StrategyInfo::INVALID_USER) { in CheckSyncAction()
64 info = GetStrategy(storeInfo.user, GLOBAL_BUNDLE); in CheckSyncAction()
74 SetValue(node[GET_NAME(user)], user); in Marshal()
82 GetValue(node, GET_NAME(user), user); in Unmarshal()
93 GetKey(int32_t user) GetKey() argument
98 GetKey(int32_t user, const std::string &bundleName) GetKey() argument
121 GetStrategy(int32_t user, const std::string &bundleName) GetStrategy() argument
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/
H A Dkey_manager_sup_test.cpp143 unsigned int user = 800; in HWTEST_F() local
149 EXPECT_EQ(KeyManager::GetInstance()->GenerateAppkey(user, 100, keyId), -ENOTSUP); in HWTEST_F()
156 KeyManager::GetInstance()->userEl4Key_.erase(user); in HWTEST_F()
158 string basePath = "/data/app/el2/" + to_string(user); in HWTEST_F()
161 EXPECT_EQ(KeyManager::GetInstance()->GenerateAppkey(user, 100, keyId), -ENOENT); in HWTEST_F()
164 string keyDir = KeyManager::GetInstance()->GetKeyDirByUserAndType(user, EL4_KEY); in HWTEST_F()
169 EXPECT_EQ(KeyManager::GetInstance()->GenerateAppkey(user, 100, keyId), -EFAULT); in HWTEST_F()
172 EXPECT_EQ(KeyManager::GetInstance()->GenerateAppkey(user, 100, keyId), 0); in HWTEST_F()
174 KeyManager::GetInstance()->userEl4Key_.erase(user); in HWTEST_F()
175 KeyManager::GetInstance()->userEl4Key_[user] in HWTEST_F()
195 unsigned int user = 800; HWTEST_F() local
258 unsigned int user = 800; HWTEST_F() local
300 unsigned int user = 800; HWTEST_F() local
343 unsigned int user = 800; HWTEST_F() local
384 unsigned int user = 800; HWTEST_F() local
524 unsigned int user = 800; HWTEST_F() local
[all...]
H A Dkey_manager_test.cpp258 unsigned int user = 1; in HWTEST_F() local
262 EXPECT_EQ(KeyManager::GetInstance()->ActiveUserKey(user, token, secret), 0); in HWTEST_F()
275 unsigned int user = 1; in HWTEST_F() local
279 EXPECT_EQ(KeyManager::GetInstance()->ActiveCeSceSeceUserKey(user, EL1_KEY, token, secret), 0); in HWTEST_F()
282 KeyManager::GetInstance()->userEl2Key_[user] = tmpKey; in HWTEST_F()
284 EXPECT_EQ(KeyManager::GetInstance()->ActiveCeSceSeceUserKey(user, EL2_KEY, token, secret), 0); in HWTEST_F()
289 EXPECT_EQ(KeyManager::GetInstance()->ActiveCeSceSeceUserKey(user, type, token, secret), E_KEY_TYPE_INVAL); in HWTEST_F()
292 EXPECT_EQ(KeyManager::GetInstance()->ActiveCeSceSeceUserKey(user, EL1_KEY, token, secret), -ENOENT); in HWTEST_F()
295 EXPECT_EQ(KeyManager::GetInstance()->ActiveCeSceSeceUserKey(user, EL5_KEY, token, secret), -ENOENT); in HWTEST_F()
297 std::string keyDir = USER_EL1_DIR + "/" + std::to_string(user); in HWTEST_F()
324 unsigned int user = 1; HWTEST_F() local
369 unsigned int user = 1; HWTEST_F() local
400 unsigned int user = 1; HWTEST_F() local
423 unsigned int user = 1; HWTEST_F() local
463 unsigned int user = 1; HWTEST_F() local
915 unsigned int user = 800; HWTEST_F() local
952 unsigned int user = 800; HWTEST_F() local
982 unsigned int user = 800; HWTEST_F() local
1012 unsigned int user = 800; HWTEST_F() local
1042 unsigned int user = 800; HWTEST_F() local
1072 unsigned int user = 800; HWTEST_F() local
1102 unsigned int user = 800; HWTEST_F() local
1116 unsigned int user = 800; HWTEST_F() local
1135 unsigned int user = 800; HWTEST_F() local
1155 unsigned int user = 800; HWTEST_F() local
1181 unsigned int user = 800; HWTEST_F() local
1214 unsigned int user = 800; HWTEST_F() local
1253 unsigned int user = 800; HWTEST_F() local
1287 unsigned int user = 800; HWTEST_F() local
1319 unsigned int user = 800; HWTEST_F() local
1344 unsigned int user = 800; HWTEST_F() local
1377 unsigned int user = 800; HWTEST_F() local
[all...]
H A Dkey_manager_other_test.cpp148 uint32_t user = 800; in HWTEST_F() local
149 string basePath = "/data/app/el2/" + to_string(user); in HWTEST_F()
152 EXPECT_EQ(KeyManager::GetInstance()->LockUserScreen(user), 0); in HWTEST_F()
157 EXPECT_EQ(KeyManager::GetInstance()->LockUserScreen(user), 0); in HWTEST_F()
162 EXPECT_EQ(KeyManager::GetInstance()->LockUserScreen(user), 0); in HWTEST_F()
163 EXPECT_NE(KeyManager::GetInstance()->userPinProtect.find(user), KeyManager::GetInstance()->userPinProtect.end()); in HWTEST_F()
164 EXPECT_EQ(KeyManager::GetInstance()->userPinProtect[user], true); in HWTEST_F()
166 EXPECT_NE(KeyManager::GetInstance()->saveLockScreenStatus.find(user), in HWTEST_F()
168 EXPECT_EQ(KeyManager::GetInstance()->saveLockScreenStatus[user], false); in HWTEST_F()
172 EXPECT_EQ(KeyManager::GetInstance()->LockUserScreen(user), in HWTEST_F()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/
H A Dcloud_service_impl.cpp108 auto user = Account::GetInstance()->GetUserByToken(tokenId); in EnableCloud() local
109 auto [status, cloudInfo] = GetCloudInfo(user); in EnableCloud()
124 Execute(GenTask(0, cloudInfo.user, { WORK_CLOUD_INFO_UPDATE, WORK_SCHEMA_UPDATE, WORK_DO_CLOUD_SYNC, WORK_SUB })); in EnableCloud()
133 auto user = Account::GetInstance()->GetUserByToken(tokenId); in DisableCloud() local
135 auto [status, cloudInfo] = GetCloudInfo(user); in DisableCloud()
148 Execute(GenTask(0, cloudInfo.user, { WORK_STOP_CLOUD_SYNC, WORK_RELEASE, WORK_SUB })); in DisableCloud()
157 auto user = Account::GetInstance()->GetUserByToken(tokenId); in ChangeAppSwitch() local
159 auto [status, cloudInfo] = GetCloudInfo(user); in ChangeAppSwitch()
166 Execute(GenTask(0, cloudInfo.user, { WORK_CLOUD_INFO_UPDATE, WORK_SCHEMA_UPDATE, WORK_SUB, in ChangeAppSwitch()
171 std::tie(status, cloudInfo) = GetCloudInfoFromServer(user); in ChangeAppSwitch()
211 DoClean(int32_t user, const SchemaMeta &schemaMeta, int32_t action) DoClean() argument
269 auto user = Account::GetInstance()->GetUserByToken(tokenId); Clean() local
385 auto user = Account::GetInstance()->GetUserByToken(tokenId); NotifyDataChange() local
535 auto user = Account::GetInstance()->GetUserByToken(tokenId); QueryStatistics() local
578 auto user = Account::GetInstance()->GetUserByToken(IPCSkeleton::GetCallingTokenID()); QueryLastSyncInfo() local
663 OnUserChange(uint32_t code, const std::string &user, const std::string &account) OnUserChange() argument
752 UpdateCloudInfoFromServer(int32_t user) UpdateCloudInfoFromServer() argument
762 UpdateCloudInfo(int32_t user) UpdateCloudInfo() argument
792 UpdateSchema(int32_t user) UpdateSchema() argument
819 GetAppSchemaFromServer(int32_t user, const std::string &bundleName) GetAppSchemaFromServer() argument
840 UpgradeSchemaMeta(int32_t user, const SchemaMeta &schemaMeta) UpgradeSchemaMeta() argument
853 GenTask(int32_t retry, int32_t user, Handles handles) GenTask() argument
942 OnAppUninstall(const std::string &bundleName, int32_t user, int32_t index) OnAppUninstall() argument
963 OnAppInstall(const std::string &bundleName, int32_t user, int32_t index) OnAppInstall() argument
1024 ReleaseUserInfo(int32_t user) ReleaseUserInfo() argument
1034 DoCloudSync(int32_t user) DoCloudSync() argument
1041 StopCloudSync(int32_t user) StopCloudSync() argument
1047 DoSubscribe(int32_t user) DoSubscribe() argument
1411 GenSubTask(Task task, int32_t user) GenSubTask() argument
[all...]
H A Dsync_manager.cpp48 int32_t user, const std::string &bundleName, const Store &store, const Tables &tables, int32_t triggerMode) in SyncInfo()
49 : user_(user), bundleName_(bundleName), triggerMode_(triggerMode) in SyncInfo()
54 syncId_ = SyncManager::GenerateId(user); in SyncInfo()
57 SyncManager::SyncInfo::SyncInfo(int32_t user, const std::string &bundleName, const Stores &stores) in SyncInfo() argument
58 : user_(user), bundleName_(bundleName) in SyncInfo()
63 syncId_ = SyncManager::GenerateId(user); in SyncInfo()
66 SyncManager::SyncInfo::SyncInfo(int32_t user, const std::string &bundleName, const MutliStoreTables &tables) in SyncInfo() argument
67 : user_(user), bundleName_(bundleName), tables_(tables) in SyncInfo()
70 syncId_ = SyncManager::GenerateId(user); in SyncInfo()
74 : user_(param.user), bundleName in SyncInfo()
47 SyncInfo( int32_t user, const std::string &bundleName, const Store &store, const Tables &tables, int32_t triggerMode) SyncInfo() argument
246 StopCloudSync(int32_t user) StopCloudSync() argument
[all...]
H A Dsync_manager.h45 static AutoCache::Store GetStore(const StoreMetaData &meta, int32_t user, bool mustBind = true);
52 int32_t user; member
60 explicit SyncInfo(int32_t user, const std::string &bundleName = "", const Store &store = "",
62 SyncInfo(int32_t user, const std::string &bundleName, const Stores &stores);
63 SyncInfo(int32_t user, const std::string &bundleName, const MutliStoreTables &tables);
96 int32_t StopCloudSync(int32_t user = 0);
124 static uint64_t GenerateId(int32_t user);
128 static std::string GetAccountId(int32_t user);
137 Retryer GetRetryer(int32_t times, const SyncInfo &syncInfo, int32_t user);
139 int32_t Compare(uint64_t syncId, int32_t user);
[all...]
/foundation/arkui/ace_engine_lite/frameworks/common/memory/cache/
H A Dcache_manager.cpp26 * buffer rang, if the buffer supplement is rich, every cache user might be assigned one buffer
29 * NOTE: the user must not be duplicated in this list
89 // no user, return normal as no one cares in PrecheckStatus()
93 HILOG_ERROR(HILOG_MODULE_ACE, "too many user!"); in PrecheckStatus()
150 bool CacheManager::IsEnvReady(CacheUser user) const in IsEnvReady()
155 return ((user < USER_MAX_COUNT) && (cacheUnitInfo_[user].cacheStartAddr != 0)); in IsEnvReady()
158 uintptr_t CacheManager::GetCacheBufAddress(CacheUser user) const in GetCacheBufAddress()
160 if (!IsEnvReady(user)) { in GetCacheBufAddress()
163 return cacheUnitInfo_[user] in GetCacheBufAddress()
[all...]
H A Dcache_manager.h38 STATE_NORMAL, // the cache is not initialized ever, or no user is configured
54 uintptr_t GetCacheBufAddress(CacheUser user) const;
56 size_t GetCacheBufLength(CacheUser user) const;
57 bool IsCacheAvailable(CacheUser user) const;
58 bool IsCacheOverflow(CacheUser user) const;
63 * @param count the actual user count
76 * @brief DistributeCacheRange called once to assign proper memory rang to all the user in the config table
84 bool IsEnvReady(CacheUser user) const;
/foundation/communication/netstack/frameworks/js/napi/websocket/websocket_exec/include/
H A Dwebsocket_exec.h42 static int LwsCallback(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len);
50 static int HttpDummy(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len);
52 static int LwsCallbackClientAppendHandshakeHeader(lws *wsi, lws_callback_reasons reason, void *user, void *in,
55 static int LwsCallbackWsPeerInitiatedClose(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len);
57 static int LwsCallbackClientWritable(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len);
59 static int LwsCallbackClientConnectionError(lws *wsi, lws_callback_reasons reason, void *user, void *in,
62 static int LwsCallbackClientReceive(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len);
64 static int LwsCallbackClientFilterPreEstablish(lws *wsi, lws_callback_reasons reason, void *user, void *in,
67 static int LwsCallbackClientEstablished(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len);
69 static int LwsCallbackClientClosed(lws *wsi, lws_callback_reasons reason, void *user, voi
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/
H A Dkey_manager_mock.cpp32 int32_t KeyManager::GenerateUserKeys(unsigned int user, uint32_t flags) in GenerateUserKeys() argument
37 int32_t KeyManager::DeleteUserKeys(unsigned int user) in DeleteUserKeys() argument
41 int32_t KeyManager::UpdateUserAuth(unsigned int user, struct UserTokenSecret &userTokenSecret) in UpdateUserAuth() argument
53 int32_t KeyManager::ActiveUserKey(unsigned int user, const std::vector<uint8_t> &token, in ActiveUserKey() argument
59 int32_t KeyManager::InActiveUserKey(unsigned int user) in InActiveUserKey() argument
64 int32_t KeyManager::LockUserScreen(uint32_t user) in LockUserScreen() argument
69 int32_t KeyManager::UnlockUserScreen(uint32_t user, const std::vector<uint8_t> &token, in UnlockUserScreen() argument
75 int32_t KeyManager::GetLockScreenStatus(uint32_t user, bool &lockScreenStatus) in GetLockScreenStatus() argument
106 int32_t KeyManager::SetDirectoryElPolicy(unsigned int user, KeyType type, in SetDirectoryElPolicy() argument
117 int KeyManager::GenerateUserKeyByType(unsigned int user, KeyTyp argument
124 ActiveCeSceSeceUserKey(unsigned int user, KeyType type, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) ActiveCeSceSeceUserKey() argument
[all...]
/foundation/communication/netstack/frameworks/native/websocket_client/
H A Dwebsocket_client.cpp76 int HttpDummy(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len) in HttpDummy() argument
78 int ret = lws_callback_http_dummy(wsi, reason, user, in, len); in HttpDummy()
84 int (*callback)(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len);
87 int LwsCallbackClientAppendHandshakeHeader(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len) in LwsCallbackClientAppendHandshakeHeader() argument
89 WebSocketClient *client = static_cast<WebSocketClient *>(user); in LwsCallbackClientAppendHandshakeHeader()
109 return HttpDummy(wsi, reason, user, in, len); in LwsCallbackClientAppendHandshakeHeader()
112 int LwsCallbackWsPeerInitiatedClose(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len) in LwsCallbackWsPeerInitiatedClose() argument
114 WebSocketClient *client = static_cast<WebSocketClient *>(user); in LwsCallbackWsPeerInitiatedClose()
123 return HttpDummy(wsi, reason, user, in, len); in LwsCallbackWsPeerInitiatedClose()
129 return HttpDummy(wsi, reason, user, i in LwsCallbackWsPeerInitiatedClose()
132 LwsCallbackClientWritable(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len) LwsCallbackClientWritable() argument
172 LwsCallbackClientConnectionError(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len) LwsCallbackClientConnectionError() argument
186 LwsCallbackClientReceive(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len) LwsCallbackClientReceive() argument
217 LwsCallbackClientFilterPreEstablish(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len) LwsCallbackClientFilterPreEstablish() argument
238 LwsCallbackClientEstablished(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len) LwsCallbackClientEstablished() argument
254 LwsCallbackClientClosed(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len) LwsCallbackClientClosed() argument
276 LwsCallbackWsiDestroy(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len) LwsCallbackWsiDestroy() argument
287 LwsCallbackProtocolDestroy(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len) LwsCallbackProtocolDestroy() argument
293 LwsCallbackVhostCertAging(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len) LwsCallbackVhostCertAging() argument
299 LwsCallback(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len) LwsCallback() argument
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/
H A Dfeature_stub_impl.cpp56 int32_t FeatureStubImpl::OnAppUninstall(const std::string &bundleName, int32_t user, int32_t index) in OnAppUninstall() argument
61 return featureImpl_->OnAppUninstall(bundleName, user, index); in OnAppUninstall()
64 int32_t FeatureStubImpl::OnAppUpdate(const std::string &bundleName, int32_t user, int32_t index) in OnAppUpdate() argument
69 return featureImpl_->OnAppUpdate(bundleName, user, index); in OnAppUpdate()
72 int32_t FeatureStubImpl::OnAppInstall(const std::string &bundleName, int32_t user, int32_t index) in OnAppInstall() argument
77 return featureImpl_->OnAppInstall(bundleName, user, index); in OnAppInstall()
88 int32_t FeatureStubImpl::OnUserChange(uint32_t code, const std::string &user, const std::string &account) in OnUserChange() argument
93 return featureImpl_->OnUserChange(code, user, account); in OnUserChange()
128 int32_t FeatureStubImpl::OnScreenUnlocked(int32_t user) in OnScreenUnlocked() argument
133 return featureImpl_->OnScreenUnlocked(user); in OnScreenUnlocked()
[all...]
H A Dfeature_stub_impl.h35 int32_t OnAppUninstall(const std::string &bundleName, int32_t user, int32_t index);
36 int32_t OnAppUpdate(const std::string &bundleName, int32_t user, int32_t index);
37 int32_t OnAppInstall(const std::string &bundleName, int32_t user, int32_t index);
39 int32_t OnUserChange(uint32_t code, const std::string &user, const std::string &account);
44 int32_t OnScreenUnlocked(int32_t user);
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Duser_delegate.cpp59 for (const auto &user : userMetaData.users) { in GetLocalUsers()
60 value[user.id] = user.isActive; in GetLocalUsers()
63 for (const auto [user, active] : value) { in GetLocalUsers()
64 users.emplace(std::to_string(user)); in GetLocalUsers()
87 for (const auto &user : userMetaData.users) { in GetUsers()
88 users[user.id] = user.isActive; in GetUsers()
112 for (const auto &user : userStatus) { in UpdateUsers()
113 users[user in UpdateUsers()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/metadata/
H A Dstore_meta_data.cpp54 SetValue(node[GET_NAME(user)], user); in Marshal()
61 SetValue(node[GET_NAME(deviceAccountID)], user); in Marshal()
94 GetValue(node, GET_NAME(user), user); in Unmarshal()
103 GetValue(node, GET_NAME(deviceAccountID), user); in Unmarshal()
121 : appId(appId), storeId(storeId), user(userId) in StoreMetaData()
127 user(std::to_string(storeInfo.user)) in StoreMetaData()
145 storeId == metaData.storeId && user in operator ==()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_cloud_kv_executor_utils.h42 const std::string &user, CloudUploadRecorder &recorder);
45 const std::string &user, bool forcePush);
48 const std::string &user, bool forcePush, QuerySyncObject &querySyncObject);
50 static std::pair<int, CloudSyncData> GetLocalCloudVersion(sqlite3 *db, bool isMemory, const std::string &user);
62 static int QueryCloudGid(sqlite3 *db, bool isMemory, const std::string &user,
99 static int BindOnlyUpdateLogStmt(sqlite3_stmt *logStmt, const std::string &user, const DataItem &dataItem);
104 static int BindInsertStmt(sqlite3_stmt *logStmt, sqlite3_stmt *dataStmt, const std::string &user,
107 static int BindInsertLogStmt(sqlite3_stmt *logStmt, const std::string &user,
110 static int BindUpdateStmt(sqlite3_stmt *logStmt, sqlite3_stmt *dataStmt, const std::string &user,
113 static int BindUpdateLogStmt(sqlite3_stmt *logStmt, const std::string &user, cons
[all...]
H A Dsqlite_single_ver_storage_executor_extend.cpp40 const std::string &user, bool isUserBlobType) in CloudExcuteRemoveOrUpdate()
51 if (!user.empty()) { in CloudExcuteRemoveOrUpdate()
53 std::vector<uint8_t> useVect(user.begin(), user.end()); in CloudExcuteRemoveOrUpdate()
56 errCode = SQLiteUtils::BindTextToStatement(statement, bindIndex, user); in CloudExcuteRemoveOrUpdate()
85 const std::string &user, bool &isExist) in CloudCheckDataExist()
95 if (!user.empty()) { in CloudCheckDataExist()
96 errCode = SQLiteUtils::BindTextToStatement(statement, bindIndex, user); // only one arg. in CloudCheckDataExist()
104 errCode = SQLiteUtils::BindTextToStatement(statement, bindIndex, user); // only one arg. in CloudCheckDataExist()
183 int SQLiteSingleVerStorageExecutor::RemoveDeviceDataWithUserInner(const std::string &user, ClearMod argument
39 CloudExcuteRemoveOrUpdate(const std::string &sql, const std::string &deviceName, const std::string &user, bool isUserBlobType) CloudExcuteRemoveOrUpdate() argument
84 CloudCheckDataExist(const std::string &sql, const std::string &deviceName, const std::string &user, bool &isExist) CloudCheckDataExist() argument
210 RemoveDeviceDataWithUserInner(const std::string &deviceName, const std::string &user, ClearMode mode) RemoveDeviceDataWithUserInner() argument
250 RemoveDeviceData(const std::string &deviceName, const std::string &user, ClearMode mode) RemoveDeviceData() argument
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/
H A Dcloud_info.cpp23 SetValue(node[GET_NAME(user)], user); in Marshal()
36 GetValue(node, GET_NAME(user), user); in Unmarshal()
73 return GetKey(INFO_PREFIX, { std::to_string(user) }); in GetKey()
80 const auto key = GetKey(SCHEMA_PREFIX, { std::to_string(user), bundle, std::to_string(app.instanceId) }); in GetSchemaKey()
88 return GetKey(SCHEMA_PREFIX, { std::to_string(user), bundleName, std::to_string(instanceId) }); in GetSchemaKey()
91 std::string CloudInfo::GetSchemaKey(int32_t user, const std::string &bundleName, int32_t instanceId) in GetSchemaKey() argument
93 return GetKey(SCHEMA_PREFIX, { std::to_string(user), bundleName, std::to_string(instanceId) }); in GetSchemaKey()
99 return GetKey(SCHEMA_PREFIX, { std::to_string(user) }); in GetSchemaPrefix()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/feature/
H A Dstatic_acts.h26 virtual int32_t OnAppUninstall(const std::string &bundleName, int32_t user, int32_t index);
27 virtual int32_t OnAppUpdate(const std::string &bundleName, int32_t user, int32_t index);
28 virtual int32_t OnAppInstall(const std::string &bundleName, int32_t user, int32_t index);
29 virtual int32_t OnClearAppStorage(const std::string &bundleName, int32_t user, int32_t index, int32_t tokenId);
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/feature/
H A Dstatic_acts.cpp21 int32_t StaticActs::OnAppUninstall(const std::string &bundleName, int32_t user, int32_t index) in OnAppUninstall() argument
26 int32_t StaticActs::OnAppUpdate(const std::string &bundleName, int32_t user, int32_t index) in OnAppUpdate() argument
31 int32_t StaticActs::OnAppInstall(const std::string &bundleName, int32_t user, int32_t index) in OnAppInstall() argument
36 int32_t StaticActs::OnClearAppStorage(const std::string &bundleName, int32_t user, int32_t index, int32_t tokenId) in OnClearAppStorage() argument
/foundation/distributeddatamgr/pasteboard/framework/framework/clip/
H A Dclip_plugin.cpp66 std::vector<ClipPlugin::GlobalEvent> ClipPlugin::GetTopEvents(uint32_t topN, int32_t user) in GetTopEvents() argument
68 (void)user; in GetTopEvents()
80 void ClipPlugin::Clear(int32_t user) in Clear() argument
82 (void)user; in Clear()
90 ret = ret && SetValue(node, user, GET_NAME(user)); in Marshal()
106 ret = ret && GetValue(node, GET_NAME(user), user); in Unmarshal()

Completed in 12 milliseconds

12345678