/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | permission_filter_test.cpp | 63 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 D | advanced_notification_service_branch_test.cpp | 85 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 D | advanced_notification_service_test.cpp | 94 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 D | ans_ut_constant.h | 26 constexpr int32_t SYSTEM_APP_UID = 100; variable
|
H A D | notification_preferences_test.cpp | 898 …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 D | common_event_publish_system_event_test.cpp | 36 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 D | ces_ut_constant.h | 26 constexpr int32_t SYSTEM_APP_UID = 100; variable
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/mock/ |
H A D | mock_bundle_manager_helper.cpp | 50 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 D | advanced_notification_service_publish_test.cpp | 95 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 D | bundle_manager_helper_branch_test.cpp | 131 …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 D | notification_subscriber_manager_branch_test.cpp | 500 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID); 518 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID); 536 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID); 555 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID);
|