/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_flow_control_service_test.cpp | 28 constexpr int32_t NON_SYSTEM_APP_UID = 1000; variable 74 callingUid = NON_SYSTEM_APP_UID; 94 callingUid = NON_SYSTEM_APP_UID;
|
H A D | advanced_notification_service_branch_test.cpp | 277 …new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID)), ERR_ANS_PERMISSION_DENIED); 292 … new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID)), ERR_ANS_NON_SYSTEM_APP); 389 …new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID), true), ERR_ANS_PERMISSION_D… 405 …new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID), allow), ERR_ANS_NON_SYSTEM_… 421 …new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID), allow), ERR_ANS_PERMISSION_… 608 …BundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); 693 …BundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); 708 …BundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); 825 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); 844 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); [all …]
|
H A D | advanced_notification_publish_service_test.cpp | 301 …cationBundleOption> bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); 315 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); 360 …cationBundleOption> bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); 568 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); 613 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); 658 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); 687 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); 1060 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); 1096 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID);
|
H A D | ans_ut_constant.h | 27 constexpr int32_t NON_SYSTEM_APP_UID = 1000; variable
|
H A D | advanced_notification_service_test.cpp | 254 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID), true), 266 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID), true), 270 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID), allow), 401 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID)), 602 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID), allow), 637 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID)), 674 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID), true), 678 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID), allow), 802 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID), slots), 1575 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID), slots), [all …]
|
H A D | notification_preferences_test.cpp | 56 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); 58 new NotificationBundleOption(std::string("notExsitBundleName"), NON_SYSTEM_APP_UID); 60 new NotificationBundleOption(std::string(), NON_SYSTEM_APP_UID); 970 NON_SYSTEM_APP_UID, getExsitDate), (int)ERR_ANS_INVALID_PARAM);
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
H A D | mock_bundle_manager.cpp | 26 int32_t NON_SYSTEM_APP_UID = 1000; variable 72 return Notification::NON_SYSTEM_APP_UID; in GetUidByBundleName()
|
/ohos5.0/base/notification/common_event_service/services/test/unittest/mock/ |
H A D | ces_ut_constant.h | 27 constexpr int32_t NON_SYSTEM_APP_UID = 1000; variable
|
/ohos5.0/base/notification/common_event_service/services/test/unittest/ |
H A D | common_event_publish_system_event_test.cpp | 37 constexpr uint32_t NON_SYSTEM_APP_UID = 20010099; // third party app variable 146 …data, publishInfo, nullptr, curTime, PID, NON_SYSTEM_APP_UID, tokenID, UNDEFINED_USER, "bundlename…
|
/ohos5.0/base/notification/distributed_notification_service/services/test/moduletest/mock/ |
H A D | mock_bundle_manager.cpp | 55 return Notification::NON_SYSTEM_APP_UID; in GetUidByBundleName()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/mock/ |
H A D | mock_bundle_mgr.cpp | 60 return Notification::NON_SYSTEM_APP_UID; in GetUidByBundleName()
|
H A D | mock_bundle_manager_helper.cpp | 44 return NON_SYSTEM_APP_UID; in GetDefaultUidByBundleName()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | reminder_store_test.cpp | 35 constexpr int32_t NON_SYSTEM_APP_UID = 1000; variable 75 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID);
|