/base/telephony/cellular_call/test/unittest/imstest/ |
H A D | emergency_utils_test.cpp | 51 bool enabled = false; in HWTEST_F() local 52 EXPECT_EQ(emergencyUtils.IsEmergencyCall(slotId, phoneNum, enabled), TELEPHONY_ERR_ARGUMENT_INVALID); in HWTEST_F() 55 EXPECT_EQ(emergencyUtils.IsEmergencyCall(slotId, phoneNum, enabled), TELEPHONY_ERR_ARGUMENT_INVALID); in HWTEST_F() 58 EXPECT_EQ(emergencyUtils.IsEmergencyCall(slotId, phoneNum, enabled), TELEPHONY_ERR_ARGUMENT_INVALID); in HWTEST_F() 61 EXPECT_EQ(emergencyUtils.IsEmergencyCall(slotId, phoneNum, enabled), TELEPHONY_ERR_ARGUMENT_INVALID); in HWTEST_F() 73 bool enabled = false; in HWTEST_F() local 76 EXPECT_EQ(emergencyUtils.IsEmergencyCallProcessing(slotId, formatString, enabled), TELEPHONY_SUCCESS); in HWTEST_F() 79 EXPECT_EQ(emergencyUtils.IsEmergencyCallProcessing(slotId, formatString, enabled), TELEPHONY_SUCCESS); in HWTEST_F() 82 EXPECT_EQ(emergencyUtils.IsEmergencyCallProcessing(slotId, formatString, enabled), TELEPHONY_SUCCESS); in HWTEST_F() 85 EXPECT_EQ(emergencyUtils.IsEmergencyCallProcessing(slotId, formatString, enabled), TELEPHONY_SUCCES in HWTEST_F() [all...] |
/base/notification/distributed_notification_service/test/fuzztest/setnotificationsenabledforallbundles_fuzzer/ |
H A D | setnotificationsenabledforallbundles_fuzzer.cpp | 28 bool enabled = *data % ENABLE;
in DoSomethingInterestingWithMyAPI() local 29 Notification::NotificationHelper::SetNotificationsEnabledForAllBundles(stringData, enabled);
in DoSomethingInterestingWithMyAPI() 31 Notification::NotificationHelper::SetNotificationsEnabledForDefaultBundle(stringData, enabled);
in DoSomethingInterestingWithMyAPI() 37 Notification::NotificationHelper::SetNotificationsEnabledForSpecifiedBundle(bundleOption, stringData, enabled);
in DoSomethingInterestingWithMyAPI() 39 Notification::NotificationHelper::SetShowBadgeEnabledForBundle(bundleOption, enabled);
in DoSomethingInterestingWithMyAPI() 41 return Notification::NotificationHelper::GetShowBadgeEnabledForBundle(bundleOption, enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_helper.cpp | 314 ErrCode NotificationHelper::SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled) in SetNotificationsEnabledForAllBundles() argument 316 return DelayedSingleton<AnsNotification>::GetInstance()->SetNotificationsEnabledForAllBundles(deviceId, enabled); in SetNotificationsEnabledForAllBundles() 319 ErrCode NotificationHelper::SetNotificationsEnabledForDefaultBundle(const std::string &deviceId, bool enabled) in SetNotificationsEnabledForDefaultBundle() argument 321 return DelayedSingleton<AnsNotification>::GetInstance()->SetNotificationsEnabledForDefaultBundle(deviceId, enabled); in SetNotificationsEnabledForDefaultBundle() 325 const NotificationBundleOption &bundleOption, std::string &deviceId, bool enabled) in SetNotificationsEnabledForSpecifiedBundle() 328 bundleOption, deviceId, enabled); in SetNotificationsEnabledForSpecifiedBundle() 331 ErrCode NotificationHelper::SetShowBadgeEnabledForBundle(const NotificationBundleOption &bundleOption, bool enabled) in SetShowBadgeEnabledForBundle() argument 333 return DelayedSingleton<AnsNotification>::GetInstance()->SetShowBadgeEnabledForBundle(bundleOption, enabled); in SetShowBadgeEnabledForBundle() 336 ErrCode NotificationHelper::GetShowBadgeEnabledForBundle(const NotificationBundleOption &bundleOption, bool &enabled) in GetShowBadgeEnabledForBundle() argument 338 return DelayedSingleton<AnsNotification>::GetInstance()->GetShowBadgeEnabledForBundle(bundleOption, enabled); in GetShowBadgeEnabledForBundle() 324 SetNotificationsEnabledForSpecifiedBundle( const NotificationBundleOption &bundleOption, std::string &deviceId, bool enabled) SetNotificationsEnabledForSpecifiedBundle() argument 341 GetShowBadgeEnabled(bool &enabled) GetShowBadgeEnabled() argument 388 IsDistributedEnabled(bool &enabled) IsDistributedEnabled() argument 393 EnableDistributed(const bool enabled) EnableDistributed() argument 398 EnableDistributedByBundle(const NotificationBundleOption &bundleOption, const bool enabled) EnableDistributedByBundle() argument 403 EnableDistributedSelf(const bool enabled) EnableDistributedSelf() argument 408 IsDistributedEnableByBundle(const NotificationBundleOption &bundleOption, bool &enabled) IsDistributedEnableByBundle() argument 438 SetNotificationsEnabledForAllBundles(const int32_t &userId, bool enabled) SetNotificationsEnabledForAllBundles() argument 460 SetEnabledForBundleSlot(const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) SetEnabledForBundleSlot() argument 467 GetEnabledForBundleSlot( const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, bool &enabled) GetEnabledForBundleSlot() argument 473 GetEnabledForBundleSlotSelf(const NotificationConstant::SlotType &slotType, bool &enabled) GetEnabledForBundleSlotSelf() argument 478 SetSyncNotificationEnabledWithoutApp(const int32_t userId, const bool enabled) SetSyncNotificationEnabledWithoutApp() argument 484 GetSyncNotificationEnabledWithoutApp(const int32_t userId, bool &enabled) GetSyncNotificationEnabledWithoutApp() argument 517 SetDistributedEnabledByBundle(const NotificationBundleOption &bundleOption, const std::string &deviceType, const bool enabled) SetDistributedEnabledByBundle() argument 524 IsDistributedEnabledByBundle(const NotificationBundleOption &bundleOption, const std::string &deviceType, bool &enabled) IsDistributedEnabledByBundle() argument 531 SetSmartReminderEnabled(const std::string &deviceType, const bool enabled) SetSmartReminderEnabled() argument 536 IsSmartReminderEnabled(const std::string &deviceType, bool &enabled) IsSmartReminderEnabled() argument [all...] |
/base/notification/distributed_notification_service/services/distributed/src/ |
H A D | distributed_preferences_info.cpp | 59 void DistributedPreferencesInfo::SetSyncEnabledWithoutApp(const int32_t userId, const bool enabled) in SetSyncEnabledWithoutApp() argument 61 enabledWithoutApp_[userId] = enabled; in SetSyncEnabledWithoutApp() 64 ErrCode DistributedPreferencesInfo::GetSyncEnabledWithoutApp(const int32_t userId, bool &enabled) in GetSyncEnabledWithoutApp() argument 68 enabled = false; in GetSyncEnabledWithoutApp() 69 ANS_LOGW("userId(%{public}d) not found. enabled default false", userId); in GetSyncEnabledWithoutApp() 71 enabled = iter->second; in GetSyncEnabledWithoutApp() 72 ANS_LOGI("userId(%{public}d) enabled = %{public}d", userId, enabled); in GetSyncEnabledWithoutApp()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_helper.h | 143 * Set whether the application slot is enabled. 147 * @param enabled the type of slot enabled. 152 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl); 155 * Obtains whether the application slot is enabled. 159 * @param enabled the type of slot enabled to get. 163 const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, bool &enabled); 166 * Obtains whether the current application slot is enabled. 169 * @param enabled th [all...] |
/base/notification/distributed_notification_service/test/fuzztest/enabledistributed_fuzzer/ |
H A D | enabledistributed_fuzzer.cpp | 27 bool enabled = *data % ENABLE;
in DoSomethingInterestingWithMyAPI() local 28 Notification::NotificationHelper::EnableDistributed(enabled);
in DoSomethingInterestingWithMyAPI() 35 Notification::NotificationHelper::EnableDistributedByBundle(bundleOption, enabled);
in DoSomethingInterestingWithMyAPI() 37 Notification::NotificationHelper::EnableDistributedSelf(enabled);
in DoSomethingInterestingWithMyAPI() 39 Notification::NotificationHelper::IsDistributedEnableByBundle(bundleOption, enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/notificationrequest_fuzzer/ |
H A D | notificationrequest_fuzzer.cpp | 35 bool enabled = *data % ENABLE;
in DoSomethingInterestingWithMyAPI() local 36 request.SetInProgress(enabled);
in DoSomethingInterestingWithMyAPI() 38 request.SetUnremovable(enabled);
in DoSomethingInterestingWithMyAPI() 53 request.SetShowDeliveryTime(enabled);
in DoSomethingInterestingWithMyAPI() 62 actionButton->SetAutoCreatedReplies(enabled);
in DoSomethingInterestingWithMyAPI() 63 actionButton->SetContextDependent(enabled);
in DoSomethingInterestingWithMyAPI() 67 request.SetPermitSystemGeneratedContextualActionButtons(enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/telephony/cellular_call/services/utils/src/ |
H A D | emergency_utils.cpp | 26 int32_t EmergencyUtils::IsEmergencyCall(int32_t slotId, const std::string &phoneNum, bool &enabled) in IsEmergencyCall() argument 43 return IsEmergencyCallProcessing(slotId, phoneNum, enabled); in IsEmergencyCall() 46 int32_t EmergencyUtils::IsEmergencyCallProcessing(int32_t slotId, const std::string &formatString, bool &enabled) in IsEmergencyCallProcessing() argument 48 enabled = true; in IsEmergencyCallProcessing() 75 enabled = shortNumberInfo.IsEmergencyNumber(formatString, countryIsoCode); in IsEmergencyCallProcessing() 79 enabled = false; in IsEmergencyCallProcessing()
|
/base/telephony/cellular_data/frameworks/cj/src/ |
H A D | tel_cellular_data_impl.cpp | 181 bool enabled = false; in IsCellularDataEnabled() local 183 errCode = CellularDataClient::GetInstance().IsCellularDataEnabled(enabled); in IsCellularDataEnabled() 188 return enabled; in IsCellularDataEnabled() 193 bool enabled = false; in IsCellularDataRoamingEnabled() local 197 return enabled; in IsCellularDataRoamingEnabled() 201 errCode = CellularDataClient::GetInstance().IsCellularDataRoamingEnabled(slotId, enabled); in IsCellularDataRoamingEnabled() 206 return enabled; in IsCellularDataRoamingEnabled()
|
/base/telephony/cellular_call/test/unittest/cstest/ |
H A D | cs_test.cpp | 208 bool enabled = false; in IsEmergencyPhoneNumber() local 209 telephonyService->IsEmergencyPhoneNumber(slotId, phoneNum, enabled); in IsEmergencyPhoneNumber() 210 return enabled; in IsEmergencyPhoneNumber() 479 bool enabled = false; in JudgeIsEmergencyPhoneNumber() local 482 telephonyService->IsEmergencyPhoneNumber(SIM1_SLOTID, "499", enabled); in JudgeIsEmergencyPhoneNumber() 483 EXPECT_NE(enabled, successCode); in JudgeIsEmergencyPhoneNumber() 484 telephonyService->IsEmergencyPhoneNumber(SIM1_SLOTID, "443", enabled); in JudgeIsEmergencyPhoneNumber() 485 EXPECT_NE(enabled, successCode); in JudgeIsEmergencyPhoneNumber() 486 telephonyService->IsEmergencyPhoneNumber(SIM1_SLOTID, "356", enabled); in JudgeIsEmergencyPhoneNumber() 487 EXPECT_NE(enabled, successCod in JudgeIsEmergencyPhoneNumber() [all...] |
/base/notification/distributed_notification_service/test/fuzztest/setdonotdisturbdate_fuzzer/ |
H A D | setdonotdisturbdate_fuzzer.cpp | 43 bool enabled = *data % ENABLE;
in DoSomethingInterestingWithMyAPI() local 44 Notification::NotificationHelper::SetEnabledForBundleSlot(bundleOption, slotType, enabled, false);
in DoSomethingInterestingWithMyAPI() 46 Notification::NotificationHelper::GetEnabledForBundleSlot(bundleOption, slotType, enabled);
in DoSomethingInterestingWithMyAPI() 48 Notification::NotificationHelper::SetSyncNotificationEnabledWithoutApp(userId, enabled);
in DoSomethingInterestingWithMyAPI() 50 Notification::NotificationHelper::GetSyncNotificationEnabledWithoutApp(userId, enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/reminderrequestalarm_fuzzer/ |
H A D | reminderrequestalarm_fuzzer.cpp | 39 bool enabled = *data % ENABLE;
in DoSomethingInterestingWithMyAPI() local 40 rrc->SetRepeatDaysOfWeek(enabled, daysOfWeek);
in DoSomethingInterestingWithMyAPI() 48 rrc->PreGetNextTriggerTimeIgnoreSnooze(enabled, enabled);
in DoSomethingInterestingWithMyAPI() 50 rrc->GetNextTriggerTime(enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/notificationslot_fuzzer/ |
H A D | notificationslot_fuzzer.cpp | 30 bool enabled = *data % ENABLE;
in DoSomethingInterestingWithMyAPI() local 43 notificationSlot.EnableBypassDnd(enabled);
in DoSomethingInterestingWithMyAPI() 45 notificationSlot.EnableBadge(enabled);
in DoSomethingInterestingWithMyAPI() 46 notificationSlot.SetEnable(enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/cancelgroup_fuzzer/ |
H A D | cancelgroup_fuzzer.cpp | 27 bool enabled = *data % ENABLE;
in DoSomethingInterestingWithMyAPI() local 28 Notification::NotificationHelper::GetShowBadgeEnabled(enabled);
in DoSomethingInterestingWithMyAPI() 42 Notification::NotificationHelper::DoesSupportDoNotDisturbMode(enabled);
in DoSomethingInterestingWithMyAPI() 44 return Notification::NotificationHelper::IsDistributedEnabled(enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/telephony/call_manager/test/unittest/call_manager_gtest/src/ |
H A D | call_manager4_gtest.cpp | 340 bool enabled = false; in HWTEST_F() local 341 int32_t result = CallManagerGtest::clientPtr_->IsEmergencyPhoneNumber(phoneNumber, SIM1_SLOTID, enabled); in HWTEST_F() 343 EXPECT_NE(enabled, true); in HWTEST_F() 346 bool enabled = false; in HWTEST_F() local 347 int32_t result = CallManagerGtest::clientPtr_->IsEmergencyPhoneNumber(phoneNumber, SIM2_SLOTID, enabled); in HWTEST_F() 349 EXPECT_NE(enabled, true); in HWTEST_F() 366 bool enabled = false; in HWTEST_F() local 367 int32_t result = CallManagerGtest::clientPtr_->IsEmergencyPhoneNumber(phoneNumber, SIM2_SLOTID, enabled); in HWTEST_F() 369 EXPECT_EQ(enabled, true); in HWTEST_F() 372 bool enabled in HWTEST_F() local 391 bool enabled = false; HWTEST_F() local 397 bool enabled = false; HWTEST_F() local 417 bool enabled = false; HWTEST_F() local 423 bool enabled = false; HWTEST_F() local 443 bool enabled = false; HWTEST_F() local 462 bool enabled = false; HWTEST_F() local 481 bool enabled = false; HWTEST_F() local 500 bool enabled = false; HWTEST_F() local [all...] |
/base/notification/distributed_notification_service/frameworks/core/include/ |
H A D | ans_manager_interface.h | 410 * @param enabled Indicates the flag that allows notification to be pulished. 413 virtual ErrCode SetNotificationsEnabledForBundle(const std::string &deviceId, bool enabled) = 0; 419 * @param enabled Indicates the flag that allows notification to be pulished. 422 virtual ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled) = 0; 428 * @param enabled Indicates the flag that allows notification to be pulished. 432 const std::string &deviceId, const sptr<NotificationBundleOption> &bundleOption, bool enabled) = 0; 438 * @param enabled Indicates the flag that allows badge to be shown. 441 virtual ErrCode SetShowBadgeEnabledForBundle(const sptr<NotificationBundleOption> &bundleOption, bool enabled) = 0; 447 * @param enabled Indicates the flag that allows badge to be shown. 450 virtual ErrCode GetShowBadgeEnabledForBundle(const sptr<NotificationBundleOption> &bundleOption, bool &enabled) [all...] |
H A D | ans_manager_proxy.h | 397 * @param enabled Indicates the flag that allows notification to be pulished. 400 ErrCode SetNotificationsEnabledForBundle(const std::string &deviceId, bool enabled) override; 406 * @param enabled Indicates the flag that allows notification to be pulished. 409 ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled) override; 415 * @param enabled Indicates the flag that allows notification to be pulished. 419 const std::string &deviceId, const sptr<NotificationBundleOption> &bundleOption, bool enabled) override; 425 * @param enabled Indicates the flag that allows badge to be shown. 428 ErrCode SetShowBadgeEnabledForBundle(const sptr<NotificationBundleOption> &bundleOption, bool enabled) override; 434 * @param enabled Indicates the flag that allows badge to be shown. 437 ErrCode GetShowBadgeEnabledForBundle(const sptr<NotificationBundleOption> &bundleOption, bool &enabled) overrid [all...] |
H A D | ans_notification.h | 325 * @return Returns set notifications enabled for default bundle result. 584 * @param enabled Specifies whether to allow all applications to publish notifications. The value true 587 * @return Returns set notifications enabled for all bundles result. 589 ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled); 597 * @param enabled Specifies whether to allow the current application to publish notifications. The value 600 * @return Returns set notifications enabled for default bundle result. 602 ErrCode SetNotificationsEnabledForDefaultBundle(const std::string &deviceId, bool enabled); 611 * @param enabled Specifies whether to allow the given application to publish notifications. The value 614 * @return Returns set notifications enabled for specified bundle result. 617 const NotificationBundleOption &bundleOption, const std::string &deviceId, bool enabled); [all...] |
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_manager_stub_invalid.cpp | 277 ErrCode AnsManagerStub::SetNotificationsEnabledForBundle(const std::string &bundle, bool enabled) in SetNotificationsEnabledForBundle() argument 283 ErrCode AnsManagerStub::SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled) in SetNotificationsEnabledForAllBundles() argument 290 const std::string &deviceId, const sptr<NotificationBundleOption> &bundleOption, bool enabled) in SetNotificationsEnabledForSpecialBundle() 296 ErrCode AnsManagerStub::SetShowBadgeEnabledForBundle(const sptr<NotificationBundleOption> &bundleOption, bool enabled) in SetShowBadgeEnabledForBundle() argument 302 ErrCode AnsManagerStub::GetShowBadgeEnabledForBundle(const sptr<NotificationBundleOption> &bundleOption, bool &enabled) in GetShowBadgeEnabledForBundle() argument 308 ErrCode AnsManagerStub::GetShowBadgeEnabled(bool &enabled) in GetShowBadgeEnabled() argument 421 ErrCode AnsManagerStub::IsDistributedEnabled(bool &enabled) in IsDistributedEnabled() argument 427 ErrCode AnsManagerStub::EnableDistributed(bool enabled) in EnableDistributed() argument 433 ErrCode AnsManagerStub::EnableDistributedByBundle(const sptr<NotificationBundleOption> &bundleOption, bool enabled) in EnableDistributedByBundle() argument 439 ErrCode AnsManagerStub::EnableDistributedSelf(bool enabled) in EnableDistributedSelf() argument 289 SetNotificationsEnabledForSpecialBundle( const std::string &deviceId, const sptr<NotificationBundleOption> &bundleOption, bool enabled) SetNotificationsEnabledForSpecialBundle() argument 445 IsDistributedEnableByBundle(const sptr<NotificationBundleOption> &bundleOption, bool &enabled) IsDistributedEnableByBundle() argument 523 SetNotificationsEnabledByUser(const int32_t &deviceId, bool enabled) SetNotificationsEnabledByUser() argument 547 SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) SetEnabledForBundleSlot() argument 554 GetEnabledForBundleSlot( const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType, bool &enabled) GetEnabledForBundleSlot() argument 561 GetEnabledForBundleSlotSelf(const NotificationConstant::SlotType &slotType, bool &enabled) GetEnabledForBundleSlotSelf() argument 574 SetSyncNotificationEnabledWithoutApp(const int32_t userId, const bool enabled) SetSyncNotificationEnabledWithoutApp() argument 580 GetSyncNotificationEnabledWithoutApp(const int32_t userId, bool &enabled) GetSyncNotificationEnabledWithoutApp() argument 617 SetDistributedEnabledByBundle(const sptr<NotificationBundleOption> &bundleOption, const std::string &deviceType, const bool enabled) SetDistributedEnabledByBundle() argument 624 IsDistributedEnabledByBundle(const sptr<NotificationBundleOption> &bundleOption, const std::string &deviceType, bool &enabled) IsDistributedEnabledByBundle() argument 631 SetSmartReminderEnabled(const std::string &deviceType, const bool enabled) SetSmartReminderEnabled() argument 637 IsSmartReminderEnabled(const std::string &deviceType, bool &enabled) IsSmartReminderEnabled() argument [all...] |
/base/notification/common_event_service/test/fuzztest/commoneventpublishinfo_fuzzer/ |
H A D | commoneventpublishinfo_fuzzer.cpp | 30 bool enabled = fuzzData.GenerateRandomBool(); in DoSomethingInterestingWithMyAPI() local 33 commonEventPublishInfo.SetSticky(enabled); in DoSomethingInterestingWithMyAPI() 34 commonEventPublishInfo.SetOrdered(enabled); in DoSomethingInterestingWithMyAPI()
|
/base/notification/common_event_service/test/fuzztest/eventreceiveproxy_fuzzer/ |
H A D | eventreceiveproxy_fuzzer.cpp | 30 bool enabled = fuzzData.GenerateRandomBool();
in DoSomethingInterestingWithMyAPI() local 33 result->NotifyEvent(commonEventData, enabled, enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/enablednotificationcallbackdata_fuzzer/ |
H A D | enablednotificationcallbackdata_fuzzer.cpp | 31 bool enabled = *data % ENABLE;
in DoSomethingInterestingWithMyAPI() local 32 Notification::EnabledNotificationCallbackData enabledNotificationCallbackData(stringData, uid, enabled);
in DoSomethingInterestingWithMyAPI() 38 enabledNotificationCallbackData.SetEnable(enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/reminderrequestcalendar_fuzzer/ |
H A D | reminderrequestcalendar_fuzzer.cpp | 54 bool enabled = *data % ENABLE;
in DoSomethingInterestingWithMyAPI() local 55 reminderRequestCalendar.SetDay(days, enabled);
in DoSomethingInterestingWithMyAPI() 57 reminderRequestCalendar.SetMonth(months, enabled);
in DoSomethingInterestingWithMyAPI() 59 reminderRequestCalendar.SetRepeatDaysOfWeek(enabled, daysOfWeek);
in DoSomethingInterestingWithMyAPI() 97 reminderRequestCalendar.PreGetNextTriggerTimeIgnoreSnooze(enabled, enabled);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_setting_test.cpp | 82 bool enabled = false; in HWTEST_F() local 83 EXPECT_EQ(ERR_ANS_PERMISSION_DENIED, NotificationHelper::GetShowBadgeEnabledForBundle(bundleOption, enabled)); in HWTEST_F() 102 bool enabled = false; in HWTEST_F() local 103 EXPECT_EQ(ERR_ANS_PERMISSION_DENIED, NotificationHelper::IsAllowedNotify(bundleOption, enabled)); in HWTEST_F() 146 bool enabled = false; in HWTEST_F() local 147 EXPECT_EQ(ERR_ANS_PERMISSION_DENIED, NotificationHelper::GetSyncNotificationEnabledWithoutApp(USERID, enabled)); in HWTEST_F()
|
/base/notification/distributed_notification_service/test/fuzztest/reminderrequest_fuzzer/ |
H A D | reminderrequest_fuzzer.cpp | 43 bool enabled = *data % ENABLE;
in DoSomethingInterestingWithMyAPI() local 44 reminderRequest.SetExpired(enabled);
in DoSomethingInterestingWithMyAPI() 50 reminderRequest.OnClose(enabled);
in DoSomethingInterestingWithMyAPI() 60 reminderRequest.OnShow(enabled, enabled, enabled);
in DoSomethingInterestingWithMyAPI()
|