Home
last modified time | relevance | path

Searched refs:trustList (Results 1 - 7 of 7) sorted by relevance

/base/notification/distributed_notification_service/services/ans/src/clone/
H A Dnotification_clone_disturb_service.cpp119 std::vector<NotificationBundleOption> trustList, std::vector<NotificationBundleOption>& exitBunldleList, in GetProfileUid()
123 for (auto& bundle : trustList) { in GetProfileUid()
186 auto trustList = (*profile)->GetProfileTrustList(); in HandlerBundleEvent()
187 CheckBundleInfo(trustList, bundleList, bundle); in HandlerBundleEvent()
190 if (trustList.empty()) { in HandlerBundleEvent()
193 (*profile)->SetProfileTrustList(trustList); in HandlerBundleEvent()
206 void NotificationCloneDisturb::CheckBundleInfo(std::vector<NotificationBundleOption>& trustList, in CheckBundleInfo() argument
209 for (auto bundleItem = trustList.begin(); bundleItem != trustList.end(); bundleItem++) { in CheckBundleInfo()
213 trustList in CheckBundleInfo()
118 GetProfileUid(int32_t userId, std::map<std::string, int32_t>& uidMap, std::vector<NotificationBundleOption> trustList, std::vector<NotificationBundleOption>& exitBunldleList, std::vector<NotificationBundleOption>& notExitBunldleList) GetProfileUid() argument
[all...]
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_do_not_disturb_profile.h39 int32_t id, const std::string &name, const std::vector<NotificationBundleOption> &trustList);
66 void SetProfileTrustList(const std::vector<NotificationBundleOption> &trustList);
/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_clone_disturb_service.h39 std::vector<NotificationBundleOption> trustList, std::vector<NotificationBundleOption>& exitBunldleList,
41 void CheckBundleInfo(std::vector<NotificationBundleOption>& trustList,
H A Dnotification_preferences.h366 void UpdateProfilesUtil(std::vector<NotificationBundleOption>& trustList,
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_do_not_disturb_profile.cpp29 int32_t id, const std::string &name, const std::vector<NotificationBundleOption> &trustList) in NotificationDoNotDisturbProfile()
30 : id_(id), name_(name), trustList_(trustList) in NotificationDoNotDisturbProfile()
43 void NotificationDoNotDisturbProfile::SetProfileTrustList(const std::vector<NotificationBundleOption> &trustList) in SetProfileTrustList() argument
45 trustList_ = trustList; in SetProfileTrustList()
28 NotificationDoNotDisturbProfile( int32_t id, const std::string &name, const std::vector<NotificationBundleOption> &trustList) NotificationDoNotDisturbProfile() argument
/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences.cpp543 auto trustList = profile->GetProfileTrustList(); in AddDoNotDisturbProfiles() local
544 for (auto& bundleInfo : trustList) { in AddDoNotDisturbProfiles()
550 profile->SetProfileTrustList(trustList); in AddDoNotDisturbProfiles()
593 void NotificationPreferences::UpdateProfilesUtil(std::vector<NotificationBundleOption>& trustList, in UpdateProfilesUtil() argument
598 for (auto& bundle: trustList) { in UpdateProfilesUtil()
605 trustList.push_back(item); in UpdateProfilesUtil()
622 auto trustList = profile->GetProfileTrustList(); in UpdateDoNotDisturbProfiles() local
623 UpdateProfilesUtil(trustList, bundleList); in UpdateDoNotDisturbProfiles()
624 profile->SetProfileTrustList(trustList); in UpdateDoNotDisturbProfiles()
784 auto trustList in RemoveDoNotDisturbProfileTrustList() local
[all...]
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
H A Dapp_verify.c387 const TrustAppCert* trustList, int32_t num) in GetProfSourceBySigningCert()
390 if (strcmp(trustList[i].issueCA, signer->issuer) == 0) { in GetProfSourceBySigningCert()
391 if (strcmp(trustList[i].profileSignCert, signer->subject) == 0 || in GetProfSourceBySigningCert()
392 strcmp(trustList[i].profileDebugSignCert, signer->subject) == 0) { in GetProfSourceBySigningCert()
394 return &trustList[i]; in GetProfSourceBySigningCert()
421 const TrustAppCert* trustList, int32_t num) in GetAppSourceBySigningCert()
424 if (strcmp(trustList[i].appSignCert, signer->subject) == 0 && in GetAppSourceBySigningCert()
425 strcmp(trustList[i].issueCA, signer->issuer) == 0) { in GetAppSourceBySigningCert()
426 return &trustList[i]; in GetAppSourceBySigningCert()
386 GetProfSourceBySigningCert(const SignerResovledInfo *signer, const TrustAppCert* trustList, int32_t num) GetProfSourceBySigningCert() argument
420 GetAppSourceBySigningCert(const SignerResovledInfo *signer, const TrustAppCert* trustList, int32_t num) GetAppSourceBySigningCert() argument

Completed in 6 milliseconds