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/ |
D | notification_subscriber_manager_branch_test.cpp | 433 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/ |
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);
|
D | advanced_notification_service_branch_test.cpp | 76 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 …]
|
D | ans_ut_constant.h | 26 constexpr int32_t SYSTEM_APP_UID = 100; variable
|
D | advanced_notification_service_test.cpp | 78 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 …]
|
D | notification_preferences_test.cpp | 898 …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/ |
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");
|
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/ |
D | mock_bundle_manager_helper.cpp | 50 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/ |
D | bundle_manager_helper_branch_test.cpp | 131 …tionBundleOption> bundleOption = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, SYSTEM_APP_UID);
|