Home
last modified time | relevance | path

Searched refs:NON_SYSTEM_APP_UID (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_flow_control_service_test.cpp28 constexpr int32_t NON_SYSTEM_APP_UID = 1000; variable
74 callingUid = NON_SYSTEM_APP_UID;
94 callingUid = NON_SYSTEM_APP_UID;
H A Dadvanced_notification_service_branch_test.cpp277 …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 Dadvanced_notification_publish_service_test.cpp301 …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 Dans_ut_constant.h27 constexpr int32_t NON_SYSTEM_APP_UID = 1000; variable
H A Dadvanced_notification_service_test.cpp254 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 Dnotification_preferences_test.cpp56 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 Dmock_bundle_manager.cpp26 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 Dces_ut_constant.h27 constexpr int32_t NON_SYSTEM_APP_UID = 1000; variable
/ohos5.0/base/notification/common_event_service/services/test/unittest/
H A Dcommon_event_publish_system_event_test.cpp37 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 Dmock_bundle_manager.cpp55 return Notification::NON_SYSTEM_APP_UID; in GetUidByBundleName()
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
H A Dmock_bundle_mgr.cpp60 return Notification::NON_SYSTEM_APP_UID; in GetUidByBundleName()
H A Dmock_bundle_manager_helper.cpp44 return NON_SYSTEM_APP_UID; in GetDefaultUidByBundleName()
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dreminder_store_test.cpp35 constexpr int32_t NON_SYSTEM_APP_UID = 1000; variable
75 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID);