/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_setting_test.cpp | 117 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 D | common_event_support_mapper.cpp | 37 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 D | video_device_descriptor_adapter_impl.cpp | 70 void VideoDeviceDescriptorAdapterImpl::SetControlSupport(std::shared_ptr<VideoControlSupportAdapter> support) in SetControlSupport() argument 72 control_support_ = support; in SetControlSupport()
|
H A D | video_device_descriptor_adapter_mock.cpp | 67 void VideoDeviceDescriptorAdapterImpl::SetControlSupport(std::shared_ptr<VideoControlSupportAdapter> support) in SetControlSupport() argument
|
/base/notification/distributed_notification_service/test/fuzztest/publishcontinuoustasknotification_fuzzer/ |
H A D | publishcontinuoustasknotification_fuzzer.cpp | 87 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 D | napi_template.cpp | 52 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 D | common_event_support_mapper.h | 38 * 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 D | ans_template.h | 27 bool support = false; member
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | ans_template.cpp | 105 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 D | bootstrap_service.h | 118 #error Not support current compiler!
|
H A D | core_main.h | 136 #error Not support current compiler!
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_helper_test.cpp | 888 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 D | notification_helper.cpp | 428 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 D | advancednotificationservice_fuzzer.cpp | 144 bool support = fuzzData.GenerateRandomBool(); in DoSomethingInterestingWithMyAPI() local 145 service->IsSupportTemplate(stringData, support); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_helper.h | 714 * @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 D | notification_preferences.h | 252 ErrCode GetTemplateSupported(const std::string &templateName, bool &support);
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_manager_stub.cpp | 1024 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 D | ans_manager_stub_invalid.cpp | 511 ErrCode AnsManagerStub::IsSupportTemplate(const std::string &templateName, bool &support) in IsSupportTemplate() argument
|
/base/telephony/cellular_data/services/src/ |
H A D | cellular_data_handler.cpp | 1330 // 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 D | ansmanagerstubannexthree_fuzzer.cpp | 406 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 D | ansmanagerstubannex_fuzzer.cpp | 414 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 D | ansmanagerstub_fuzzer.cpp | 415 bool support = fuzzData.GenerateRandomBool();
in DoSomethingInterestingWithMyAPI() local 416 ansManagerStub.IsSupportTemplate(stringData, support);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
H A D | ans_manager_interface.h | 731 * @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 D | ans_manager_proxy.h | 662 * @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 D | ans_notification.h | 699 * @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...] |