Home
last modified time | relevance | path

Searched refs:support (Results 1 - 25 of 35) sorted by relevance

12

/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_setting_test.cpp117 bool support = false; in HWTEST_F() local
118 EXPECT_EQ(0, NotificationHelper::IsSupportTemplate(templateName, support)); in HWTEST_F()
119 EXPECT_EQ(true, support); in HWTEST_F()
131 bool support = false; in HWTEST_F() local
132 EXPECT_EQ(0, NotificationHelper::IsSupportTemplate(templateName, support)); in HWTEST_F()
133 EXPECT_EQ(false, support); in HWTEST_F()
/base/notification/common_event_service/services/src/
H A Dcommon_event_support_mapper.cpp37 bool CommonEventSupportMapper::GetMappedSupport(const std::string &support, std::string &mappedSupport) in GetMappedSupport() argument
43 if (support == iter->first) { in GetMappedSupport()
/base/web/webview/ohos_adapter/camera_adapter/src/
H A Dvideo_device_descriptor_adapter_impl.cpp70 void VideoDeviceDescriptorAdapterImpl::SetControlSupport(std::shared_ptr<VideoControlSupportAdapter> support) in SetControlSupport() argument
72 control_support_ = support; in SetControlSupport()
H A Dvideo_device_descriptor_adapter_mock.cpp67 void VideoDeviceDescriptorAdapterImpl::SetControlSupport(std::shared_ptr<VideoControlSupportAdapter> support) in SetControlSupport() argument
/base/notification/distributed_notification_service/test/fuzztest/publishcontinuoustasknotification_fuzzer/
H A Dpublishcontinuoustasknotification_fuzzer.cpp87 bool support = *data % ENABLE; in DoSomethingInterestingWithMyAPI() local
88 Notification::NotificationHelper::IsSupportTemplate(stringData, support); in DoSomethingInterestingWithMyAPI()
90 return Notification::NotificationHelper::IsAllowedNotify(style, support); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_template.cpp52 asyncCallbackinfo->params.templateName, asyncCallbackinfo->params.support); in NapiIsSupportTemplate()
60 napi_get_boolean(env, asyncCallbackinfo->params.support, &result); in NapiIsSupportTemplate()
/base/notification/common_event_service/services/include/
H A Dcommon_event_support_mapper.h38 * Gets mapped support.
40 * @param support the input event name
44 bool GetMappedSupport(const std::string &support, std::string &mappedSupport);
/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dans_template.h27 bool support = false; member
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dans_template.cpp105 asyncCallbackinfo->params.templateName, asyncCallbackinfo->params.support); in IsSupportTemplate()
113 napi_get_boolean(env, asyncCallbackinfo->params.support, &result); in IsSupportTemplate()
/base/startup/bootstrap_lite/services/source/
H A Dbootstrap_service.h118 #error Not support current compiler!
H A Dcore_main.h136 #error Not support current compiler!
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_helper_test.cpp888 bool support = true; in HWTEST_F() local
890 ErrCode ret = notificationHelper.IsSupportTemplate(templateName, support); in HWTEST_F()
918 bool support = true; in HWTEST_F() local
920 ErrCode ret = notificationHelper.IsSupportTemplate(templateName, support); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_helper.cpp428 ErrCode NotificationHelper::IsSupportTemplate(const std::string &templateName, bool &support) in IsSupportTemplate() argument
430 return DelayedSingleton<AnsNotification>::GetInstance()->IsSupportTemplate(templateName, support); in IsSupportTemplate()
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/
H A Dadvancednotificationservice_fuzzer.cpp144 bool support = fuzzData.GenerateRandomBool(); in DoSomethingInterestingWithMyAPI() local
145 service->IsSupportTemplate(stringData, support); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_helper.h714 * @brief Obtains the flag that whether to support do not disturb mode.
716 * @param doesSupport Specifies whether to support do not disturb mode.
740 * @param enable Specifies whether to enable the device to support distributed notification.
741 * The value true indicates that the device is enabled to support distributed notifications, and
742 * the value false indicates that the device is forbidden to support distributed notifications.
751 * @param enabled Specifies whether to enable an application to support distributed notification.
752 * The value true indicates that the application is enabled to support distributed notifications,
753 * and the value false indicates that the application is forbidden to support distributed
762 * @param enabled Specifies whether to enable this application to support distributed notification.
763 * The value true indicates that this application is enabled to support distribute
[all...]
/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences.h252 ErrCode GetTemplateSupported(const std::string &templateName, bool &support);
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_stub.cpp1024 bool support = false; in HandleDoesSupportDoNotDisturbMode() local
1026 ErrCode result = DoesSupportDoNotDisturbMode(support); in HandleDoesSupportDoNotDisturbMode()
1032 if (!reply.WriteBool(support)) { in HandleDoesSupportDoNotDisturbMode()
2077 bool support = false; in HandleIsSupportTemplate() local
2078 ErrCode result = IsSupportTemplate(templateName, support); in HandleIsSupportTemplate()
2083 if (!reply.WriteBool(support)) { in HandleIsSupportTemplate()
2084 ANS_LOGE("[HandleIsSupportTemplate] fail: write support failed."); in HandleIsSupportTemplate()
H A Dans_manager_stub_invalid.cpp511 ErrCode AnsManagerStub::IsSupportTemplate(const std::string &templateName, bool &support) in IsSupportTemplate() argument
/base/telephony/cellular_data/services/src/
H A Dcellular_data_handler.cpp1330 // next to check if radio technology support voice and data at same time. in HandleVoiceCallChanged()
1333 bool support = (psRadioTech == static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_GSM)); in HandleVoiceCallChanged() local
1335 if (apnManager_->HasAnyConnectedState() && support) { in HandleVoiceCallChanged()
1342 if (apnManager_->HasAnyConnectedState() && support) { in HandleVoiceCallChanged()
1719 bool support = (networkType == (int32_t)RadioTech::RADIO_TECHNOLOGY_GSM); in IsRestrictedMode() local
1723 support, inCall); in IsRestrictedMode()
1724 return inCall && support; in IsRestrictedMode()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/
H A Dansmanagerstubannexthree_fuzzer.cpp406 bool support = fuzzData.GenerateRandomBool(); in DoSomethingInterestingWithMyAPI() local
407 ansManagerStub.IsSupportTemplate(stringData, support); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannex_fuzzer/
H A Dansmanagerstubannex_fuzzer.cpp414 bool support = fuzzData.GenerateRandomBool(); in DoSomethingInterestingWithMyAPI() local
415 ansManagerStub.IsSupportTemplate(stringData, support); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/
H A Dansmanagerstub_fuzzer.cpp415 bool support = fuzzData.GenerateRandomBool(); in DoSomethingInterestingWithMyAPI() local
416 ansManagerStub.IsSupportTemplate(stringData, support); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_manager_interface.h731 * @brief Checks whether this device is support template.
734 * @param support Identifies the support flag.
737 virtual ErrCode IsSupportTemplate(const std::string &templateName, bool &support) = 0;
H A Dans_manager_proxy.h662 * @brief Checks whether this device is support template.
665 * @param support Identifies the support flag.
668 ErrCode IsSupportTemplate(const std::string &templateName, bool &support) override;
H A Dans_notification.h699 * @brief Obtains the flag that whether to support do not disturb mode.
701 * @param doesSupport Specifies whether to support do not disturb mode.
725 * @param enable Specifies whether to enable the device to support distributed notification.
726 * The value true indicates that the device is enabled to support distributed notifications, and
727 * the value false indicates that the device is forbidden to support distributed notifications.
736 * @param enabled Specifies whether to enable an application to support distributed notification.
737 * The value true indicates that the application is enabled to support distributed notifications,
738 * and the value false indicates that the application is forbidden to support distributed
747 * @param enabled Specifies whether to enable this application to support distributed notification.
748 * The value true indicates that this application is enabled to support distribute
[all...]

Completed in 27 milliseconds

12