Home
last modified time | relevance | path

Searched refs:enabled (Results 1 – 25 of 1488) sorted by relevance

12345678910>>...60

/ohos5.0/base/telephony/cellular_call/test/unittest/imstest/
H A Demergency_utils_test.cpp51 bool enabled = false; variable
52 …EXPECT_EQ(emergencyUtils.IsEmergencyCall(slotId, phoneNum, enabled), TELEPHONY_ERR_ARGUMENT_INVALI…
55 …EXPECT_EQ(emergencyUtils.IsEmergencyCall(slotId, phoneNum, enabled), TELEPHONY_ERR_ARGUMENT_INVALI…
58 …EXPECT_EQ(emergencyUtils.IsEmergencyCall(slotId, phoneNum, enabled), TELEPHONY_ERR_ARGUMENT_INVALI…
61 …EXPECT_EQ(emergencyUtils.IsEmergencyCall(slotId, phoneNum, enabled), TELEPHONY_ERR_ARGUMENT_INVALI…
73 bool enabled = false; variable
76 …EXPECT_EQ(emergencyUtils.IsEmergencyCallProcessing(slotId, formatString, enabled), TELEPHONY_SUCCE…
79 …EXPECT_EQ(emergencyUtils.IsEmergencyCallProcessing(slotId, formatString, enabled), TELEPHONY_SUCCE…
82 …EXPECT_EQ(emergencyUtils.IsEmergencyCallProcessing(slotId, formatString, enabled), TELEPHONY_SUCCE…
85 …EXPECT_EQ(emergencyUtils.IsEmergencyCallProcessing(slotId, formatString, enabled), TELEPHONY_SUCCE…
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_helper.cpp356 bundleOption, deviceId, enabled); in SetNotificationsEnabledForSpecifiedBundle()
369 ErrCode NotificationHelper::GetShowBadgeEnabled(bool &enabled) in GetShowBadgeEnabled() argument
416 ErrCode NotificationHelper::IsDistributedEnabled(bool &enabled) in IsDistributedEnabled() argument
469 userId, enabled); in SetNotificationsEnabledForAllBundles()
492 slotType, enabled, isForceControl); in SetEnabledForBundleSlot()
509 userId, enabled); in SetSyncNotificationEnabledWithoutApp()
515 userId, enabled); in GetSyncNotificationEnabledWithoutApp()
546 const std::string &deviceType, const bool enabled) in SetDistributedEnabledByBundle() argument
549 deviceType, enabled); in SetDistributedEnabledByBundle()
553 const std::string &deviceType, bool &enabled) in IsDistributedEnabledByBundle() argument
[all …]
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_helper.h705 const NotificationBundleOption &bundleOption, std::string &deviceId, bool enabled);
731 static ErrCode GetShowBadgeEnabled(bool &enabled);
790 static ErrCode IsDistributedEnabled(bool &enabled);
800 static ErrCode EnableDistributed(const bool enabled);
823 static ErrCode EnableDistributedSelf(const bool enabled);
887 static ErrCode SetNotificationsEnabledForAllBundles(const int32_t &userId, bool enabled);
946 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl);
975 static ErrCode SetSyncNotificationEnabledWithoutApp(const int32_t userId, const bool enabled);
984 static ErrCode GetSyncNotificationEnabledWithoutApp(const int32_t userId, bool &enabled);
1065 static ErrCode IsSmartReminderEnabled(const std::string &deviceType, bool &enabled);
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_notification.h679 ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled);
733 ErrCode GetShowBadgeEnabled(bool &enabled);
810 ErrCode IsDistributedEnabled(bool &enabled);
820 ErrCode EnableDistributed(const bool enabled);
843 ErrCode EnableDistributedSelf(const bool enabled);
975 ErrCode SetNotificationsEnabledForAllBundles(const int32_t &userId, bool enabled);
1016 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl);
1058 ErrCode SetSyncNotificationEnabledWithoutApp(const int32_t userId, const bool enabled);
1067 ErrCode GetSyncNotificationEnabledWithoutApp(const int32_t userId, bool &enabled);
1157 ErrCode IsSmartReminderEnabled(const std::string &deviceType, bool &enabled);
[all …]
H A Dans_manager_interface.h413 virtual ErrCode SetNotificationsEnabledForBundle(const std::string &deviceId, bool enabled) = 0;
458 virtual ErrCode GetShowBadgeEnabled(bool &enabled) = 0;
612 virtual ErrCode IsDistributedEnabled(bool &enabled) = 0;
620 virtual ErrCode EnableDistributed(bool enabled) = 0;
637 virtual ErrCode EnableDistributedSelf(bool enabled) = 0;
759 virtual ErrCode SetNotificationsEnabledByUser(const int32_t &deviceId, bool enabled) = 0;
787 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) = 0;
789 const NotificationConstant::SlotType &slotType, bool &enabled) = 0;
821 virtual ErrCode GetSyncNotificationEnabledWithoutApp(const int32_t userId, bool &enabled) = 0;
916 virtual ErrCode IsSmartReminderEnabled(const std::string &deviceType, bool &enabled) = 0;
[all …]
H A Dans_manager_proxy.h400 ErrCode SetNotificationsEnabledForBundle(const std::string &deviceId, bool enabled) override;
409 … ErrCode SetNotificationsEnabledForAllBundles(const std::string &deviceId, bool enabled) override;
445 ErrCode GetShowBadgeEnabled(bool &enabled) override;
600 ErrCode IsDistributedEnabled(bool &enabled) override;
608 ErrCode EnableDistributed(bool enabled) override;
625 ErrCode EnableDistributedSelf(bool enabled) override;
747 ErrCode SetNotificationsEnabledByUser(const int32_t &userId, bool enabled) override;
777 const NotificationConstant::SlotType &slotType, bool &enabled) override;
808 ErrCode GetSyncNotificationEnabledWithoutApp(const int32_t userId, bool &enabled) override;
918 ErrCode IsSmartReminderEnabled(const std::string &deviceType, bool &enabled) override;
[all …]
/ohos5.0/base/telephony/cellular_call/test/unittest/cstest/
H A Dcs_test.cpp208 bool enabled = false; in IsEmergencyPhoneNumber() local
210 return enabled; in IsEmergencyPhoneNumber()
479 bool enabled = false; in JudgeIsEmergencyPhoneNumber() local
483 EXPECT_NE(enabled, successCode); in JudgeIsEmergencyPhoneNumber()
485 EXPECT_NE(enabled, successCode); in JudgeIsEmergencyPhoneNumber()
487 EXPECT_NE(enabled, successCode); in JudgeIsEmergencyPhoneNumber()
489 EXPECT_NE(enabled, successCode); in JudgeIsEmergencyPhoneNumber()
491 EXPECT_NE(enabled, successCode); in JudgeIsEmergencyPhoneNumber()
493 EXPECT_NE(enabled, successCode); in JudgeIsEmergencyPhoneNumber()
497 EXPECT_NE(enabled, successCode); in JudgeIsEmergencyPhoneNumber()
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/
H A Dnotification_subscriber_manager_branch_test.cpp539 bool enabled = true; variable
558 bool enabled = true; variable
623 bool enabled = true; variable
640 bool enabled = true; variable
658 bool enabled = true; variable
674 bool enabled = true; variable
689 bool enabled = true; variable
985 bool enabled = true; variable
1001 bool enabled = true; variable
1017 bool enabled = true; variable
[all …]
/ohos5.0/base/telephony/call_manager/test/unittest/call_manager_gtest/src/
H A Dcall_manager4_gtest.cpp339 bool enabled = false; variable
345 bool enabled = false; variable
365 bool enabled = false; variable
371 bool enabled = false; variable
390 bool enabled = false; variable
396 bool enabled = false; variable
416 bool enabled = false; variable
442 bool enabled = false; variable
461 bool enabled = false; variable
480 bool enabled = false; variable
[all …]
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/setnotificationsenabledforallbundles_fuzzer/
H A Dsetnotificationsenabledforallbundles_fuzzer.cpp28 bool enabled = *data % ENABLE; in DoSomethingInterestingWithMyAPI() local
29 Notification::NotificationHelper::SetNotificationsEnabledForAllBundles(stringData, enabled); in DoSomethingInterestingWithMyAPI()
31 … Notification::NotificationHelper::SetNotificationsEnabledForDefaultBundle(stringData, enabled); in DoSomethingInterestingWithMyAPI()
37 …::NotificationHelper::SetNotificationsEnabledForSpecifiedBundle(bundleOption, stringData, enabled); in DoSomethingInterestingWithMyAPI()
39 Notification::NotificationHelper::SetShowBadgeEnabledForBundle(bundleOption, enabled); in DoSomethingInterestingWithMyAPI()
41 … return Notification::NotificationHelper::GetShowBadgeEnabledForBundle(bundleOption, enabled); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationrequest_fuzzer/
H A Dnotificationrequest_fuzzer.cpp35 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()
/ohos5.0/base/notification/distributed_notification_service/services/distributed/src/
H A Ddistributed_preferences_info.cpp59 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()
71 enabled = iter->second; in GetSyncEnabledWithoutApp()
72 ANS_LOGI("userId(%{public}d) enabled = %{public}d", userId, enabled); in GetSyncEnabledWithoutApp()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_stub_invalid.cpp277 ErrCode AnsManagerStub::SetNotificationsEnabledForBundle(const std::string &bundle, bool enabled) in SetNotificationsEnabledForBundle() argument
290 const std::string &deviceId, const sptr<NotificationBundleOption> &bundleOption, bool enabled) in SetNotificationsEnabledForSpecialBundle() 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
439 ErrCode AnsManagerStub::EnableDistributedSelf(bool enabled) in EnableDistributedSelf() argument
523 ErrCode AnsManagerStub::SetNotificationsEnabledByUser(const int32_t &deviceId, bool enabled) in SetNotificationsEnabledByUser() argument
548 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) in SetEnabledForBundleSlot() argument
618 const std::string &deviceType, const bool enabled) in SetDistributedEnabledByBundle() argument
625 const std::string &deviceType, bool &enabled) in IsDistributedEnabledByBundle() argument
[all …]
H A Dans_manager_stub.cpp1384 bool enabled = false; in HandleSetNotificationsEnabledForBundle() local
1406 bool enabled = false; in HandleSetNotificationsEnabledForAllBundles() local
1434 bool enabled = false; in HandleSetNotificationsEnabledForSpecialBundle() local
1457 bool enabled = false; in HandleSetShowBadgeEnabledForBundle() local
1479 bool enabled = false; in HandleGetShowBadgeEnabledForBundle() local
1495 bool enabled = false; in HandleGetShowBadgeEnabled() local
1761 bool enabled = false; in HandleIsDistributedEnabled() local
1778 bool enabled = false; in HandleEnableDistributed() local
1801 bool enabled = false; in HandleEnableDistributedByBundle() local
1818 bool enabled = false; in HandleEnableDistributedSelf() local
[all …]
/ohos5.0/foundation/multimedia/audio_framework/frameworks/js/napi/audiomanager/callback/
H A Dnapi_audio_spatialization_manager_callback.cpp152 cb->enabled = enabled; in OnSpatializationEnabledChange()
160 const sptr<AudioDeviceDescriptor> &deviceDescriptor, const bool &enabled) in OnSpatializationEnabledChangeForAnyDevice() argument
170 cb->enabled = enabled; in OnSpatializationEnabledChangeForAnyDevice()
181 cb->enabled = enabled; in OnSpatializationEnabledChangeForAnyDevice()
215 NapiParamUtils::SetValueBoolean(env, event->enabled, args[PARAM0]); in WorkCallbackInterruptDone()
220 audioSpatialEnabledStateForDevice.enabled = event->enabled; in WorkCallbackInterruptDone()
370 cb->enabled = enabled; in OnHeadTrackingEnabledChange()
379 const sptr<AudioDeviceDescriptor> &deviceDescriptor, const bool &enabled) in OnHeadTrackingEnabledChangeForAnyDevice() argument
389 cb->enabled = enabled; in OnHeadTrackingEnabledChangeForAnyDevice()
400 cb->enabled = enabled; in OnHeadTrackingEnabledChangeForAnyDevice()
[all …]
H A Dnapi_audio_spatialization_manager_callback.h42 void OnSpatializationEnabledChange(const bool &enabled) override;
44 const bool &enabled) override;
50 bool enabled; member
71 void OnHeadTrackingEnabledChange(const bool &enabled) override;
73 const bool &enabled) override;
79 bool enabled; member
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_helper_test.cpp628 bool enabled = true; variable
643 bool enabled = true; variable
658 bool enabled = true; variable
673 bool enabled = true; variable
687 bool enabled = true; variable
772 bool enabled = true; variable
786 bool enabled = true; variable
801 bool enabled = true; variable
815 bool enabled = true; variable
830 bool enabled = true; variable
[all …]
/ohos5.0/base/telephony/cellular_call/services/utils/src/
H A Demergency_utils.cpp26 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 …ncyUtils::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()
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-mini-debug-shell.md7 Some commands can be used only after the corresponding options are enabled by using **make menuconf…
13 …plays the content of a text file. This command can be used only after **LOSCFG_FS_VFS** is enabled.
27 Changes the current directory. This command can be used only after **LOSCFG_FS_VFS** is enabled.
41 Copies a file. This command can be used only after **LOSCFG_FS_VFS** is enabled.
107 …plays the content of a directory. This command can be used only after **LOSCFG_FS_VFS** is enabled.
136 Creates a directory. This command can be used only after **LOSCFG_FS_VFS** is enabled.
150 … the network is connected. This command can be used only after **LWIP_SHELLCMD_ENABLE** is enabled.
164 Displays the current path. This command can be used only after **LOSCFG_FS_VFS** is enabled.
172 Deletes a file or folder. This command can be used only after **LOSCFG_FS_VFS** is enabled.
187 Deletes a folder. This command can be used only after **LOSCFG_FS_VFS** is enabled.
[all …]
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/enabledistributed_fuzzer/
H A Denabledistributed_fuzzer.cpp27 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()
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/event_handler/test/
H A Dscene_board_judgement_test.cpp105 bool enabled = false; variable
110 judgement.InitWithConfigFile("test_config.txt", enabled);
111 ASSERT_TRUE(enabled);
125 bool enabled = false; variable
130 judgement.InitWithConfigFile("test_config.txt", enabled);
131 ASSERT_FALSE(enabled);
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_setting_test.cpp82 bool enabled = false; variable
83 …RR_ANS_PERMISSION_DENIED, NotificationHelper::GetShowBadgeEnabledForBundle(bundleOption, enabled));
102 bool enabled = false; variable
103 … EXPECT_EQ(ERR_ANS_PERMISSION_DENIED, NotificationHelper::IsAllowedNotify(bundleOption, enabled));
146 bool enabled = false; variable
147 …_ANS_PERMISSION_DENIED, NotificationHelper::GetSyncNotificationEnabledWithoutApp(USERID, enabled));
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/manager/
H A Dans_manager_proxy_bundle.cpp178 if (!data.WriteBool(enabled)) { in SetNotificationsEnabledForBundle()
212 if (!data.WriteBool(enabled)) { in SetNotificationsEnabledForAllBundles()
258 if (!data.WriteBool(enabled)) { in SetNotificationsEnabledForSpecialBundle()
298 if (!data.WriteBool(enabled)) { in SetShowBadgeEnabledForBundle()
350 if (!reply.ReadBool(enabled)) { in GetShowBadgeEnabledForBundle()
358 ErrCode AnsManagerProxy::GetShowBadgeEnabled(bool &enabled) in GetShowBadgeEnabled() argument
379 if (!reply.ReadBool(enabled)) { in GetShowBadgeEnabled()
580 ErrCode AnsManagerProxy::SetNotificationsEnabledByUser(const int32_t &userId, bool enabled) in SetNotificationsEnabledByUser() argument
593 if (!data.WriteBool(enabled)) { in SetNotificationsEnabledByUser()
627 if (!data.WriteBool(enabled)) { in SetSyncNotificationEnabledWithoutApp()
[all …]
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/reminderrequest_fuzzer/
H A Dreminderrequest_fuzzer.cpp43 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()
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/reminderrequestcalendar_fuzzer/
H A Dreminderrequestcalendar_fuzzer.cpp54 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()

12345678910>>...60