/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_auth_list_mgr.c | 197 struct CmBlob *authList) in RefreshAuthListBuf() argument 206 ret = InsertUid(&list, uid, authList); in RefreshAuthListBuf() 208 ret = RemoveUid(&list, uid, authList); in RefreshAuthListBuf() 219 static int32_t InitAuthListBuf(uint32_t uid, struct CmBlob *authList) in InitAuthListBuf() argument 259 authList->data = data; in InitAuthListBuf() 260 authList->size = size; in InitAuthListBuf() 277 struct CmBlob authList = { 0, NULL }; in RefreshAuthList() local 279 ret = RefreshAuthListBuf(path, fileName, uid, isAdd, &authList); in RefreshAuthList() 281 ret = InitAuthListBuf(uid, &authList); in RefreshAuthList() 287 ret = CmFileWrite(path, fileName, 0, authList.data, authList.size); in RefreshAuthList() [all …]
|
/base/account/os_account/frameworks/appaccount/native/src/ |
D | app_account_info.cpp | 362 tokenInfo.authList.emplace(bundleName); in SetOAuthTokenVisibility() 367 it->second.authList.erase(bundleName); in SetOAuthTokenVisibility() 370 it->second.authList.emplace(bundleName); in SetOAuthTokenVisibility() 371 if (it->second.authList.size() > MAX_OAUTH_LIST_SIZE) { in SetOAuthTokenVisibility() 374 it->second.authList.erase(bundleName); in SetOAuthTokenVisibility() 396 std::set<std::string> authList = tokenInfoIt->second.authList; in CheckOAuthTokenVisibility() local 397 auto it = authList.find(bundleName); in CheckOAuthTokenVisibility() 398 if (it != authList.end()) { in CheckOAuthTokenVisibility() 425 oauthList = it->second.authList; in GetOAuthList() 490 if ((it->second.token.empty()) && (it->second.authList.size() == 0)) { in ToJson() [all …]
|
/base/account/os_account/services/accountmgr/test/moduletest/app_account/ |
D | app_account_manager_service_module_test.cpp | 1528 std::set<std::string> authList; variable 1529 result = g_accountManagerService->GetOAuthList(STRING_NAME, STRING_AUTH_TYPE, authList); 1531 ASSERT_EQ(authList.size(), SIZE_ONE); 1552 authList.clear(); 1553 result = g_accountManagerService->GetOAuthList(STRING_NAME, STRING_AUTH_TYPE, authList); 1555 ASSERT_EQ(authList.size(), 0); 1646 std::set<std::string> authList; variable 1647 ErrCode result = g_accountManagerService->GetOAuthList(STRING_NAME, STRING_AUTH_TYPE, authList); 1661 std::set<std::string> authList; variable 1662 ErrCode result = g_accountManagerService->GetAuthList(STRING_NAME, STRING_AUTH_TYPE, authList); [all …]
|
/base/account/os_account/frameworks/appaccount/native/include/ |
D | app_account_info.h | 31 std::set<std::string> authList; member
|
/base/account/os_account/services/accountmgr/test/unittest/app_account/ |
D | app_account_info_test.cpp | 597 std::set<std::string> authList; variable 598 authList.insert(STRING_NAME); 603 ASSERT_EQ(appAccountInfo.WriteStringSet(authList, data), true);
|
/base/account/os_account/services/accountmgr/src/appaccount/ |
D | app_account_control_manager.cpp | 588 auto it = tokenInfo.authList.find(request.callerBundleName); in GetAllOAuthTokens() 589 if (it != tokenInfo.authList.end()) { in GetAllOAuthTokens() 590 tokenInfo.authList.clear(); in GetAllOAuthTokens()
|
/base/account/os_account/interfaces/kits/napi/appaccount/include/ |
D | napi_app_account_common.h | 97 std::set<std::string> authList; member
|
/base/account/os_account/interfaces/kits/napi/appaccount/src/ |
D | napi_app_account.cpp | 1329 asyncContext->name, asyncContext->authType, asyncContext->authList); in GetAuthListInternal() 1332 asyncContext->name, asyncContext->authType, asyncContext->authList); in GetAuthListInternal() 1339 GetOAuthListForResult(env, asyncContext->authList, arrVal); in GetAuthListInternal()
|