Home
last modified time | relevance | path

Searched refs:SYSTEM_APP_UID (Results 1 - 11 of 11) sorted by relevance

/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dpermission_filter_test.cpp63 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots); in HWTEST_F()
65 record->bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID); in HWTEST_F()
89 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots); in HWTEST_F()
91 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), false); in HWTEST_F()
93 record->bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID); in HWTEST_F()
H A Dadvanced_notification_service_branch_test.cpp85 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID); in SetUp()
94 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID); in TearDown()
322 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots), ERR_ANS_NON_SYSTEM_APP); in HWTEST_F()
338 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots), ERR_ANS_PERMISSION_DENIED); in HWTEST_F()
356 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots), ERR_ANS_NON_SYSTEM_APP); in HWTEST_F()
374 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots), ERR_ANS_PERMISSION_DENIED); in HWTEST_F()
566 std::string(), new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), false), in HWTEST_F()
630 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), allowed), ERR_ANS_NON_SYSTEM_APP); in HWTEST_F()
646 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), allowed), ERR_ANS_PERMISSION_DENIED); in HWTEST_F()
663 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), allowe in HWTEST_F()
[all...]
H A Dans_ut_constant.h26 constexpr int32_t SYSTEM_APP_UID = 100; member
H A Dadvanced_notification_service_test.cpp95 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID); in SetUp()
103 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID); in TearDown()
227 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots), in HWTEST_F()
243 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots), in HWTEST_F()
426 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots), in HWTEST_F()
562 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots), in HWTEST_F()
578 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots), in HWTEST_F()
590 new NotificationBundleOption("", SYSTEM_APP_UID), true), in HWTEST_F()
775 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), allowed), in HWTEST_F()
791 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), allowe in HWTEST_F()
[all...]
H A Dnotification_preferences_test.cpp898 ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetDoNotDisturbDate(SYSTEM_APP_UID, date), (int)ERR_OK); in HWTEST_F()
936 ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetDoNotDisturbDate(SYSTEM_APP_UID, date), (int)ERR_OK); in HWTEST_F()
939 ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetDoNotDisturbDate(SYSTEM_APP_UID, getDate), (int)ERR_OK); in HWTEST_F()
960 ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetDoNotDisturbDate(SYSTEM_APP_UID, date), (int)ERR_OK); in HWTEST_F()
963 ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetDoNotDisturbDate(SYSTEM_APP_UID, getDate), (int)ERR_OK); in HWTEST_F()
/base/notification/common_event_service/services/test/unittest/
H A Dcommon_event_publish_system_event_test.cpp36 constexpr uint16_t SYSTEM_APP_UID = 1000; // system app member
116 data, publishInfo, nullptr, curTime, PID, SYSTEM_APP_UID, tokenID, UNDEFINED_USER, "bundlename"); in HWTEST_F()
177 subscribeInfo, commonEventListenerPtr, curTime, PID, SYSTEM_APP_UID, tokenID, "bundlename")); in HWTEST_F()
195 data, publishInfo, nullptr, curTime, PID, SYSTEM_APP_UID, tokenID, UNDEFINED_USER, "bundlename"); in HWTEST_F()
228 subscribeInfo, commonEventListenerPtr, curTime, PID, SYSTEM_APP_UID, tokenID, "bundlename")); in HWTEST_F()
246 data, publishInfo, nullptr, curTime, PID, SYSTEM_APP_UID, tokenID, UNDEFINED_USER, "bundlename"); in HWTEST_F()
/base/notification/common_event_service/services/test/unittest/mock/
H A Dces_ut_constant.h26 constexpr int32_t SYSTEM_APP_UID = 100; member
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
H A Dmock_bundle_manager_helper.cpp50 return (uid == SYSTEM_APP_UID || uid == NON_BUNDLE_NAME_UID); in IsSystemApp()
/base/notification/distributed_notification_service/services/ans/test/unittest/bundle_manager_helper_branch_test/
H A Dbundle_manager_helper_branch_test.cpp131 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/test/unittest/advanced_notification_service_test/
H A Dadvanced_notification_service_publish_test.cpp95 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID); in SetUp()
103 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID); in TearDown()
583 std::string(), new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), false), in HWTEST_F()
605 std::string(), new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), false), in HWTEST_F()
841 sptr<NotificationBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID); in HWTEST_F()
874 std::string(), new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), false), in HWTEST_F()
905 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), in HWTEST_F()
935 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/
H A Dnotification_subscriber_manager_branch_test.cpp500 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID); in HWTEST_F()
518 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID); in HWTEST_F()
536 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID); in HWTEST_F()
555 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID); in HWTEST_F()

Completed in 14 milliseconds