Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/
Dnotification_subscriber_manager_branch_test.cpp433 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID);
452 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID);
472 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID);
489 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID);
507 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID);
524 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID);
539 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID);
557 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID);
575 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID);
594 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID);
[all …]
/base/notification/distributed_notification_service/services/ans/test/unittest/
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);
Dadvanced_notification_service_branch_test.cpp76 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID); in TearDown()
318 …new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots), ERR_ANS_NON_SYSTEM_APP);
335 …new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots), ERR_ANS_PERMISSION_DENI…
353 …new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots), ERR_ANS_NON_SYSTEM_APP);
372 …new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots), ERR_ANS_PERMISSION_DENI…
569 std::string(), new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), false),
634 …new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), allowed), ERR_ANS_NON_SYSTEM_AP…
651 …new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), allowed), ERR_ANS_PERMISSION_DE…
669 …new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), allowed), ERR_ANS_INVALID_BUNDL…
687 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID),
[all …]
Dans_ut_constant.h26 constexpr int32_t SYSTEM_APP_UID = 100; variable
Dadvanced_notification_service_test.cpp78 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID); in SetUp()
87 IPCSkeleton::SetCallingUid(SYSTEM_APP_UID); in TearDown()
458 … std::string(), new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), false),
519 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots),
535 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots),
623 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots),
678 … std::string(), new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), false),
843 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots),
859 new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID), slots),
871 new NotificationBundleOption("", SYSTEM_APP_UID), true),
[all …]
Dnotification_preferences_test.cpp898 …EXPECT_EQ((int)NotificationPreferences::GetInstance().SetDoNotDisturbDate(SYSTEM_APP_UID, date), (…
936 …EXPECT_EQ((int)NotificationPreferences::GetInstance().SetDoNotDisturbDate(SYSTEM_APP_UID, date), (…
939 …EXPECT_EQ((int)NotificationPreferences::GetInstance().GetDoNotDisturbDate(SYSTEM_APP_UID, getDate)…
960 …EXPECT_EQ((int)NotificationPreferences::GetInstance().SetDoNotDisturbDate(SYSTEM_APP_UID, date), (…
963 …EXPECT_EQ((int)NotificationPreferences::GetInstance().GetDoNotDisturbDate(SYSTEM_APP_UID, getDate)…
/base/notification/common_event_service/services/test/unittest/
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");
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
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/
Dbundle_manager_helper_branch_test.cpp131 …tionBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID);