Home
last modified time | relevance | path

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

/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dpermission_filter_test.cpp63 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots);
65 record->bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID);
89 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots);
91 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), false);
93 record->bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID);
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);
356 …new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots), ERR_ANS_NON_SYSTEM_APP);
563 std::string(), new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), false),
677 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID),
970 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID),
975 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID),
1082 TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID);
1099 TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID);
[all …]
H A Dadvanced_notification_service_test.cpp94 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID); in SetUp()
102 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID); in TearDown()
589 new NotificationBundleOption("", SYSTEM_APP_UID), true),
2071 int32_t userId = SYSTEM_APP_UID;
3275 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID);
3317 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID);
3350 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID);
3375 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID);
3388 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID);
3404 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID);
[all …]
H A Dans_ut_constant.h26 constexpr int32_t SYSTEM_APP_UID = 100; variable
H A Dnotification_preferences_test.cpp898 …ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetDoNotDisturbDate(SYSTEM_APP_UID, date), …
936 …ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetDoNotDisturbDate(SYSTEM_APP_UID, date), …
939 …ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetDoNotDisturbDate(SYSTEM_APP_UID, getDate…
960 …ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetDoNotDisturbDate(SYSTEM_APP_UID, date), …
963 …ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetDoNotDisturbDate(SYSTEM_APP_UID, getDate…
/ohos5.0/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 variable
116 … data, publishInfo, nullptr, curTime, PID, SYSTEM_APP_UID, tokenID, UNDEFINED_USER, "bundlename");
177 … subscribeInfo, commonEventListenerPtr, curTime, PID, SYSTEM_APP_UID, tokenID, "bundlename"));
195 … data, publishInfo, nullptr, curTime, PID, SYSTEM_APP_UID, tokenID, UNDEFINED_USER, "bundlename");
228 … subscribeInfo, commonEventListenerPtr, curTime, PID, SYSTEM_APP_UID, tokenID, "bundlename"));
246 … data, publishInfo, nullptr, curTime, PID, SYSTEM_APP_UID, tokenID, UNDEFINED_USER, "bundlename");
/ohos5.0/base/notification/common_event_service/services/test/unittest/mock/
H A Dces_ut_constant.h26 constexpr int32_t SYSTEM_APP_UID = 100; variable
/ohos5.0/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()
/ohos5.0/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()
548 … std::string(), new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), false),
570 … std::string(), new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), false),
806 …tionBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID);
839 std::string(), new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), false),
870 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID),
900 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID),
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/bundle_manager_helper_branch_test/
H A Dbundle_manager_helper_branch_test.cpp131 …tionBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID);
/ohos5.0/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);
518 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID);
536 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID);
555 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID);