Home
last modified time | relevance | path

Searched refs:IsSystemApp (Results 1 - 25 of 59) sorted by relevance

123

/base/notification/distributed_notification_service/services/ans/src/advanced_notification_publish/
H A Dlive_publish_process.cpp65 !AccessTokenHelper::IsSystemApp(); in PublishPreWork()
85 !AccessTokenHelper::IsSystemApp() && in PublishNotificationByApp()
121 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in CheckLocalLiveViewAllowed()
H A Dcommon_notification_publish_process.cpp48 !AccessTokenHelper::IsSystemApp()) { in PublishNotificationByApp()
H A Dbase_publish_process.cpp45 if (!AccessTokenHelper::IsSystemApp()) { in CommonPublishCheck()
/base/notification/distributed_notification_service/services/test/moduletest/mock/
H A Dmock_access_token_helper.cpp31 bool AccessTokenHelper::IsSystemApp() in IsSystemApp() function in OHOS::Notification::AccessTokenHelper
H A Dmock_bundle_manager_helper.cpp42 bool BundleManagerHelper::IsSystemApp(int uid) in IsSystemApp() function in OHOS::Notification::BundleManagerHelper
/base/notification/distributed_notification_service/services/ans/test/unittest/access_token_helper_test/
H A Daccess_token_helper_test.cpp89 * @tc.desc : IsSystemApp Token Type TOKEN_NATIVE
94 EXPECT_FALSE(stub_->IsSystemApp()); in HWTEST_F()
100 * @tc.desc : IsSystemApp Token Type TOKEN_HAP
105 EXPECT_TRUE(stub_->IsSystemApp()); in HWTEST_F()
/base/notification/common_event_service/services/test/unittest/mock/
H A Dmock_access_token_helper.cpp48 bool AccessTokenHelper::IsSystemApp() in IsSystemApp() function in OHOS::EventFwk::AccessTokenHelper
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
H A Dmock_access_token_helper.cpp33 bool AccessTokenHelper::IsSystemApp() in IsSystemApp() function in OHOS::Notification::AccessTokenHelper
H A Dmock_bundle_manager_helper.cpp48 bool BundleManagerHelper::IsSystemApp(int uid) in IsSystemApp() function in OHOS::Notification::BundleManagerHelper
/base/notification/common_event_service/test/mock/
H A Dmock_access_token_helper.cpp42 bool AccessTokenHelper::IsSystemApp() in IsSystemApp() function in OHOS::EventFwk::AccessTokenHelper
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_subscriber_service.cpp57 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in Subscribe()
98 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in SubscribeSelf()
143 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in Unsubscribe()
H A Dadvanced_notification_reminder_service.cpp70 ANSR_LOGD("is system app: %{public}d", AccessTokenHelper::IsSystemApp()); in PublishReminder()
71 reminder->SetSystemApp(AccessTokenHelper::IsSystemApp()); in PublishReminder()
103 if (!reminder->IsSystemApp() && (result != ERR_OK || !allowedNotify)) { in PublishReminder()
286 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in GetDeviceRemindType()
H A Dadvanced_notification_slot_service.cpp54 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in AddSlots()
133 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in GetSlotsByBundle()
134 ANS_LOGD("IsSystemApp is false."); in GetSlotsByBundle()
173 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in GetSlotByBundle()
174 ANS_LOGD("IsSystemApp is false."); in GetSlotByBundle()
211 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in UpdateSlots()
297 if (!AccessTokenHelper::IsSystemApp() && slotType == NotificationConstant::SlotType::EMERGENCY_INFORMATION) { in AddSlotByType()
376 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in GetSlotFlagsAsBundle()
418 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in SetSlotFlagsAsBundle()
419 ANS_LOGD("IsSystemApp i in SetSlotFlagsAsBundle()
[all...]
H A Dadvanced_notification_publish_service.cpp129 bool isSystemApp = AccessTokenHelper::IsSystemApp(); in Publish()
384 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in CancelAsBundle()
458 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in CancelAsBundleWithAgent()
538 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in Delete()
600 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in DeleteByBundle()
660 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in DeleteAll()
735 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in SetShowBadgeEnabledForBundle()
785 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in GetShowBadgeEnabledForBundle()
909 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in SetNotificationsEnabledForAllBundles()
910 ANS_LOGD("VerifyNativeToken and IsSystemApp i in SetNotificationsEnabledForAllBundles()
[all...]
/base/inputmethod/imf/services/identity_checker/include/
H A Didentity_checker_impl.h26 bool IsSystemApp(uint64_t fullTokenId) override;
H A Didentity_checker.h29 virtual bool IsSystemApp(uint64_t fullTokenId) = 0;
/base/notification/common_event_service/services/include/
H A Daccess_token_helper.h40 static bool IsSystemApp();
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
H A Dmock_bundle_manager_helper.cpp42 bool BundleManagerHelper::IsSystemApp(int uid) in IsSystemApp() function in OHOS::Notification::BundleManagerHelper
/base/notification/distributed_notification_service/services/ans/include/
H A Daccess_token_helper.h37 static bool IsSystemApp();
/base/notification/common_event_service/services/test/unittest/common_event_manager_service_branch_test/
H A Dmock_access_token_helper.cpp60 bool AccessTokenHelper::IsSystemApp() in IsSystemApp() function in OHOS::EventFwk::AccessTokenHelper
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/mock/
H A Dmock_bundle_manager_helper.cpp43 bool BundleManagerHelper::IsSystemApp(int uid) in IsSystemApp() function in OHOS::Notification::BundleManagerHelper
/base/notification/common_event_service/services/test/unittest/
H A Dcommon_event_access_token_helper_test.cpp148 bool result = AccessTokenHelper::IsSystemApp(); in HWTEST_F()
168 bool result = AccessTokenHelper::IsSystemApp(); in HWTEST_F()
/base/notification/common_event_service/services/test/unittest/static_subscriber_manager_unit_test/
H A Dmock_access_token_helper.cpp94 bool AccessTokenHelper::IsSystemApp() in IsSystemApp() function in OHOS::EventFwk::AccessTokenHelper
/base/notification/distributed_notification_service/services/ans/test/unittest/bundle_manager_helper_branch_test/
H A Dbundle_manager_helper_branch_test.cpp68 * @tc.desc : test IsSystemApp function and bundleMgr_ != nullptr
75 ASSERT_EQ(false, bundleManagerHelper.IsSystemApp(uid)); in HWTEST_F()
81 * @tc.desc : test IsSystemApp function and bundleMgr_ == nullptr
88 ASSERT_EQ(false, bundleManagerHelper.IsSystemApp(uid)); in HWTEST_F()
/base/notification/common_event_service/services/src/
H A Dcommon_event_manager_service.cpp120 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in PublishCommonEvent()
334 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in GetStickyCommonEvent()
518 if (!isSubsystem && !AccessTokenHelper::IsSystemApp()) { in RemoveStickyCommonEvent()
535 if (!AccessTokenHelper::IsSystemApp()) { in SetStaticSubscriberState()
545 if (!AccessTokenHelper::IsSystemApp()) { in SetStaticSubscriberState()

Completed in 11 milliseconds

123