Home
last modified time | relevance | path

Searched refs:normalizedType (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/default_app/
H A Ddefault_app_mgr.cpp128 for (const std::string& normalizedType : normalizedTypeVector) { in IsDefaultApplication() local
148 ret = IsElementValid(userId, normalizedType, element); in IsDefaultApplicationInternal()
196 for (const std::string& normalizedType : normalizedTypeVector) { in GetDefaultApplication() local
209 if (IsAppType(normalizedType)) { in GetDefaultApplicationInternal()
212 return GetBundleInfoByUtd(userId, normalizedType, bundleInfo, backup); in GetDefaultApplicationInternal()
239 for (const std::string& normalizedType : normalizedTypeVector) { in SetDefaultApplication() local
241 setResultMap.try_emplace(normalizedType, ret); in SetDefaultApplication()
277 ret = IsElementValid(userId, normalizedType, element); in SetDefaultApplicationInternal()
313 for (const std::string& normalizedType : normalizedTypeVector) { in ResetDefaultApplication() local
314 ret = ResetDefaultApplicationInternal(userId, normalizedType); in ResetDefaultApplication()
[all …]
H A Ddefault_app_data.cpp97 for (const std::string& normalizedType : normalizedTypeVector) { in ParseDefaultApplicationConfig() local
98 element.type = normalizedType; in ParseDefaultApplicationConfig()
99 infos[normalizedType] = element; in ParseDefaultApplicationConfig()
H A Ddefault_app_rdb.cpp180 for (const std::string& normalizedType : normalizedTypeVector) { in ConvertMimeTypeToUtd() local
181 item.second.type = normalizedType; in ConvertMimeTypeToUtd()
182 newInfos.emplace(normalizedType, item.second); in ConvertMimeTypeToUtd()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/default_app/
H A Ddefault_app_mgr.h74 …ErrCode IsDefaultApplicationInternal(int32_t userId, const std::string& normalizedType, bool& isDe…
76 …int32_t userId, const std::string& normalizedType, BundleInfo& bundleInfo, bool backup = false) co…
78 int32_t userId, const std::string& normalizedType, const Element& element) const;
79 … ErrCode ResetDefaultApplicationInternal(int32_t userId, const std::string& normalizedType) const;
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_session_fsm_test.cpp141 authFsm.info.normalizedType = NORMALIZED_KEY_ERROR;
375 authFsm.info.normalizedType = NORMALIZED_SUPPORT;
379 authFsm.info.normalizedType = NORMALIZED_NOT_SUPPORT;
H A Dauth_session_message_test.cpp853 .normalizedType = NORMALIZED_KEY_ERROR,
863 info.normalizedType = NORMALIZED_NOT_SUPPORT;
H A Dauth_test.cpp525 info.normalizedType = NORMALIZED_SUPPORT;
528 info.normalizedType = NORMALIZED_KEY_ERROR;
H A Dauth_manager_test.cpp761 info.normalizedType = NORMALIZED_SUPPORT;
/ohos5.0/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_session_fsm.h93 NormalizedType normalizedType; member
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_fsm.c480 …*result = (authFsm->info.normalizedType == NORMALIZED_SUPPORT || authFsm->info.isSupportFastAuth) ? in ProcessTimeoutErrorCode()
497 if (authFsm->info.normalizedType == NORMALIZED_KEY_ERROR) { in CompleteAuthSession()
500 } else if ((authFsm->info.normalizedType == NORMALIZED_NOT_SUPPORT) && in CompleteAuthSession()
938 … if (info->normalizedType == NORMALIZED_NOT_SUPPORT || info->peerState == AUTH_STATE_COMPATIBLE) { in HandleMsgRecvDeviceId()
1180 if (authFsm->info.normalizedType == NORMALIZED_SUPPORT) { in TryRecoveryKey()
1226 if (info->normalizedType == NORMALIZED_SUPPORT || info->isSupportFastAuth) { in DeviceAuthStateEnter()
H A Dauth_session_json.c468 if (info->isServer && info->normalizedType == NORMALIZED_KEY_ERROR) { in PackNormalizedKey()
581 info->normalizedType = NORMALIZED_SUPPORT; in ParseNormalizedKeyValue()
639 info->normalizedType = NORMALIZED_NOT_SUPPORT; in UnpackNormalizedKey()
642 info->normalizedType = NORMALIZED_KEY_ERROR; in UnpackNormalizedKey()
651 info->normalizedType = NORMALIZED_SUPPORT; in UnpackNormalizedKey()
677 info->normalizedType = NORMALIZED_SUPPORT; in UnpackNormalizedKey()
H A Dauth_session_message.c180 if (info->normalizedType == NORMALIZED_SUPPORT) { in GetDumpSessionKeyList()
H A Dauth_manager.c596 if (info->normalizedType == NORMALIZED_SUPPORT) { in ProcessSessionKey()
613 if (info->normalizedType == NORMALIZED_NOT_SUPPORT) { in GetExistAuthManager()
951 if (info->normalizedType == NORMALIZED_SUPPORT) { in AuthManagerSetAuthPassed()
H A Dauth_interface.c435 info->normalizedType = isSupportNormalizedKey ? NORMALIZED_SUPPORT : NORMALIZED_NOT_SUPPORT; in FillAuthSessionInfo()