Home
last modified time | relevance | path

Searched full:enable (Results 1 – 25 of 928) sorted by relevance

12345678910>>...38

/base/startup/init/services/modules/trace/
Dinit_trace.cfg10 "events/f2fs/f2fs_sync_file_enter/enable",
11 "events/f2fs/f2fs_sync_file_exit/enable",
12 "events/f2fs/f2fs_write_begin/enable",
13 "events/f2fs/f2fs_write_end/enable",
14 "events/ext4/ext4_da_write_begin/enable",
15 "events/ext4/ext4_da_write_end/enable",
16 "events/ext4/ext4_sync_file_enter/enable",
17 "events/ext4/ext4_sync_file_exit/enable",
18 "events/block/block_rq_issue/enable",
19 "events/block/block_rq_complete/enable"
[all …]
/base/hiviewdfx/hitrace/config/
Dhitrace.cfg25 "chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_transaction/enable",
26 … "chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_transaction_received/enable",
28 "chmod 0666 /sys/kernel/debug/tracing/events/cgroup/enable",
30 "chmod 0666 /sys/kernel/debug/tracing/events/cpufreq_interactive/enable",
32 "chmod 0666 /sys/kernel/debug/tracing/events/dma_fence/enable",
34 "chmod 0666 /sys/kernel/debug/tracing/events/fence/enable",
36 "chmod 0666 /sys/kernel/debug/tracing/events/i2c/enable",
45 "chmod 0666 /sys/kernel/debug/tracing/events/i2c/i2c_read/enable",
46 "chmod 0666 /sys/kernel/debug/tracing/events/i2c/i2c_write/enable",
47 "chmod 0666 /sys/kernel/debug/tracing/events/i2c/i2c_result/enable",
[all …]
Dhitrace_utils.json294 "events/sched/sched_switch/enable",
295 "events/sched/sched_wakeup/enable",
296 "events/sched/sched_blocked_reason/enable"
309 "events/preemptirq/preempt_enable/enable",
310 "events/preemptirq/preempt_disable/enable"
318 "events/binder/binder_transaction/enable",
319 "events/binder/binder_transaction_received/enable"
330 "enable_path": [ "events/dma_fence/enable" ],
346 "events/workqueue/workqueue_execute_end/enable",
347 "events/workqueue/workqueue_execute_start/enable"
[all …]
/base/powermgr/power_manager/services/native/profile/
Dpower_wakeup.json3 "enable": true boolean
6 "enable": true boolean
9 "enable": true boolean
12 "enable": true, boolean
16 "enable": true boolean
19 "enable": true boolean
22 "enable": true boolean
25 "enable": true boolean
28 "enable": false boolean
31 "enable": true boolean
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_flags.h40 * Sets the notification whether enable sound.
41 * @param soundEnabled whether enable sound.
46 * Checks whether enable sound.
47 * @return sound enable.
52 * Sets the notification whether enable vibration.
53 * @param vibrationEnabled whether enable vibration.
58 * Checks whether enable vibration.
59 * @return vibration enable.
75 * Sets the notification whether enable lock screen.
76 * @param visblenessEnabled whether enable lock screen.
[all …]
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Denabled_notification_callback_data_test.cpp45 bool enable = true; variable
46 auto rrc = std::make_shared<EnabledNotificationCallbackData>(bundle, uid, enable);
61 bool enable = true; variable
62 auto rrc = std::make_shared<EnabledNotificationCallbackData>(bundle, uid, enable);
77 bool enable = true; variable
78 auto rrc = std::make_shared<EnabledNotificationCallbackData>(bundle, uid, enable);
79 rrc->SetEnable(enable);
80 EXPECT_EQ(rrc->GetEnable(), enable);
93 bool enable = true; variable
94 std::string result = "EnabledNotificationCallbackData{ bundle = Bundle, uid = 10, enable = 1 }";
[all …]
/base/powermgr/power_manager/test/unittest/src/interface_test/
Dpower_wakeup_parse_test.cpp55 "{\"powerkey\": {\"enable\": false},\"keyborad\": {\"enable\": false},\"mouse\": {\"enable\": "
56 …"false},\"touchscreen\": {\"enable\": false,\"click\": 2},\"touchpad\": {\"enable\": false},\"pen\…
57 "false},\"lid\": {\"enable\": false},\"switch\": {\"enable\": false}}";
69 GTEST_LOG_(INFO) << "PowerWakeupParse001: Failed to parse Enable"; in TestPowerWakeup()
73 GTEST_LOG_(INFO) << "PowerWakeupParse001: Failed to parse Enable"; in TestPowerWakeup()
77 GTEST_LOG_(INFO) << "PowerWakeupParse001: Failed to parse Enable"; in TestPowerWakeup()
84 GTEST_LOG_(INFO) << "PowerWakeupParse001: Failed to parse Enable"; in TestPowerWakeup()
88 GTEST_LOG_(INFO) << "PowerWakeupParse001: Failed to parse Enable"; in TestPowerWakeup()
92 GTEST_LOG_(INFO) << "PowerWakeupParse001: Failed to parse Enable"; in TestPowerWakeup()
96 GTEST_LOG_(INFO) << "PowerWakeupParse001: Failed to parse Enable"; in TestPowerWakeup()
[all …]
/base/powermgr/power_manager/services/native/src/wakeup/
Dwakeup_source_parser.cpp145 bool enable = true; in ParseSourcesProc() local
156 enable = enableValue.asBool(); in ParseSourcesProc()
161 …POWER_HILOGI(FEATURE_WAKEUP, "key=%{public}s, type=%{public}u, click=%{public}u, enable=%{public}d… in ParseSourcesProc()
162 key.c_str(), wakeupDeviceType, click, enable); in ParseSourcesProc()
168 if (!enable && g_isFirstSettingUpdated) { in ParseSourcesProc()
171 SettingHelper::SetSettingWakeupDouble(enable); in ParseSourcesProc()
172 POWER_HILOGI(FEATURE_WAKEUP, "the setting wakeupDoubleClick enable=%{public}d", enable); in ParseSourcesProc()
177 SettingHelper::SetSettingWakeupPickup(enable); in ParseSourcesProc()
178 POWER_HILOGI(FEATURE_WAKEUP, "the setting pickup enable=%{public}d", enable); in ParseSourcesProc()
182 if (enable == true) { in ParseSourcesProc()
[all …]
/base/telephony/cellular_data/interfaces/innerkits/
Di_cellular_data_manager.h36 * Whether to enable cellular data user switch
38 * @param enable allow or not
39 * @return return 84082688 invalid parameter, 1 data enable success, 0 enable fail
41 virtual int32_t EnableCellularData(bool enable) = 0;
44 * Whether to enable intelligence switch
46 * @param enable allow or not
47 * @return return 84082688 invalid parameter, 1 data enable success, 0 enable fail
49 virtual int32_t EnableIntelligenceSwitch(bool enable) = 0;
75 * @param enable Whether roaming switches are allowed
78 virtual int32_t EnableCellularDataRoaming(int32_t slotId, bool enable) = 0;
[all …]
Dcellular_data_client.h43 * @brief Whether to enable cellular data user switch
45 * @param enable Enable or not.
46 * @return Return 84082688 invalid parameter, 0 data enable success, others enable fail.
48 int32_t EnableCellularData(bool enable);
51 * @brief Whether to enable intelligence switch
53 * @param enable Enable or not.
54 * @return Return 84082688 invalid parameter, 1 data enable success, 0 enable fail.
56 int32_t EnableIntelligenceSwitch(bool enable);
106 * @param enable Whether roaming switches are allowed
109 int32_t EnableCellularDataRoaming(int32_t slotId, bool enable);
/base/startup/init/services/begetctl/
Dbootchart_cmd.c36 char enable[4] = {}; // 4 enable size in bootchartCmdStart() local
37 uint32_t size = sizeof(enable); in bootchartCmdStart()
38 int ret = SystemGetParameter("persist.init.bootchart.enabled", enable, &size); in bootchartCmdStart()
39 if (ret != 0 || strcmp(enable, "1") != 0) { in bootchartCmdStart()
56 … {"bootchart", bootchartCmdEnable, "bootchart enable", "bootchart enable", "bootchart enable"}, in MODULE_CONSTRUCTOR()
/base/notification/distributed_notification_service/services/ans/src/
Dadvanced_aggregation_data_roaming_observer.cpp30 std::string enable = ""; in OnChange() local
31 AdvancedNotificationService::GetInstance()->GetUnifiedGroupInfoFromDb(enable); in OnChange()
32 ANS_LOGI("GetUnifiedGroupInfoFromDb enter, enable:%{public}s", enable.c_str()); in OnChange()
35 EXTENTION_WRAPPER->SetlocalSwitch(enable); in OnChange()
36 AdvancedNotificationService::GetInstance()->ClearAllNotificationGroupInfo(enable); in OnChange()
/base/security/huks/build/
Dconfig.gni43 # whether huks enable log
55 # whether enable key file auto-upgrade
58 # whether enable upgrade key file for l1 sdk to l1 service, default as false
61 # whether enable upgrade root key component from V1 to V2, default as true
64 # whether enable upgrade key derivation algorithm
85 # whether enable upgrade key storage secure level
94 # whether enable skip upgrade key storage secure level
103 # whether enable huks hdi in system in standard
/base/startup/init/test/unittest/modules/
Dtrace_unittest.cpp35 "\"events/f2fs/f2fs_sync_file_enter/enable\","
36 "\"events/f2fs/f2fs_sync_file_exit/enable\","
37 "\"events/f2fs/f2fs_write_begin/enable\","
38 "\"events/f2fs/f2fs_write_end/enable\","
39 "\"events/ext4/ext4_da_write_begin/enable\","
40 "\"events/ext4/ext4_da_write_end/enable\","
41 "\"events/ext4/ext4_sync_file_enter/enable\","
42 "\"events/ext4/ext4_sync_file_exit/enable\","
43 "\"events/block/block_rq_issue/enable\","
44 "\"events/block/block_rq_complete/enable\""
[all …]
/base/telephony/cellular_data/frameworks/native/
Dcellular_data_service_proxy.h46 * Whether to enable intelligence switch
48 * @param enable allow or not
49 * @return return 84082688 invalid parameter, 1 data enable success, 0 enable fail
51 int32_t EnableIntelligenceSwitch(bool enable);
54 * Whether to enable cellular data user switch
56 * @param enable allow or not
57 * @return return 84082688 invalid parameter, 1 data enable success, 0 enable fail
59 int32_t EnableCellularData(bool enable);
95 * @param enable Whether roaming switches are allowed
98 int32_t EnableCellularDataRoaming(int32_t slotId, bool enable);
/base/notification/distributed_notification_service/
Dhisysevent.yaml26 __BASE: {type: FAULT, level: MINOR, desc: enable notification error}
29 ENABLE: {type: BOOL, desc: enable state}
33 __BASE: {type: FAULT, level: MINOR, desc: enable notification slot error}
37 ENABLE: {type: BOOL, desc: enable state}
49 __BASE: {type: FAULT, level: MINOR, desc: enable notification system error}
76 __BASE: {type: BEHAVIOR, level: MINOR, desc: enable notification}
79 ENABLE: {type: BOOL, desc: enable state}
82 __BASE: {type: BEHAVIOR, level: MINOR, desc: enable notification slot}
86 ENABLE: {type: BOOL, desc: enable state}
/base/startup/init/services/modules/bootchart/
Dbootchart_static.c21 char enable[4] = {}; // 4 enable size in bootchartEarlyHook() local
22 uint32_t size = sizeof(enable); in bootchartEarlyHook()
23 SystemReadParam("persist.init.bootchart.enabled", enable, &size); in bootchartEarlyHook()
24 if (strcmp(enable, "1") != 0) { in bootchartEarlyHook()
/base/notification/distributed_notification_service/services/distributed/test/unittest/
Ddistributed_preferences_test.cpp50 * @tc.desc : Set distributed notification enable.
54 bool enable = true; variable
56 EXPECT_EQ(distributedPreferences_->SetDistributedEnable(enable), ERR_OK);
62 * @tc.desc : Get distributed notification enable.
66 bool enable; variable
68 EXPECT_EQ(distributedPreferences_->GetDistributedEnable(enable), ERR_OK);
74 * @tc.desc : Set distributed notification enable of a bundle.
78 bool enable = true; variable
81 EXPECT_EQ(distributedPreferences_->SetDistributedBundleEnable(bundleOption, enable), ERR_OK);
87 * @tc.desc : Set distributed notification enable of a bundle.
[all …]
/base/customization/enterprise_device_management/tools/edm/include/
Dedm_command.h30 " enable-admin enable a admin with options\n"
34 const std::string HELP_MSG_ENABLE_ADMIN = "usage: edm enable-admin <options>\n"
35 … "eg:edm enable-admin -n <bundle-name> -a <ability-name> -t <admin-type>\n"
38 … " -n, --bundle-name <bundle-name> enable an admin with bundle name\n"
39 … " -a, --ability-name <ability-name> enable an admin with ability name\n"
40 … " -t, --admin-type <admin-type> enable an admin with admin type,"
/base/customization/enterprise_device_management/test/unittest/tools/src/
Dedm_command_test.cpp51 * @tc.desc: Test EdmCommand: edm enable-admin.
58 const_cast<char*>("enable-admin"),
68 * @tc.desc: Test EdmCommand: edm enable-admin -h.
75 const_cast<char*>("enable-admin"),
86 * @tc.desc: Test EdmCommand: edm enable-admin -f.
93 const_cast<char*>("enable-admin"),
104 * @tc.desc: Test EdmCommand: edm enable-admin -n.
111 const_cast<char*>("enable-admin"),
123 * @tc.desc: Test EdmCommand: edm enable-admin -n <bundle-name>.
130 const_cast<char*>("enable-admin"),
[all …]
/base/powermgr/power_manager/test/unittest/src/
Dpower_parsesources_mock_test.cpp85 … "{\"powerkey\": {\"enable\": false},\"keyborad\": {\"enable\": false},\"mouse\": {\"enable\": "
86 …"false},\"touchscreen\": {\"enable\": false,\"click\": 2},\"touchpad\": {\"enable\": false},\"pen\…
87 "{\"enable\": false},\"lid\": {\"enable\": false},\"switch\": {\"enable\": false}}";
/base/notification/distributed_notification_service/services/distributed/include/
Ddistributed_preferences_info.h34 * @param enable Specifies whether to enable the device to support distributed notification.
36 void SetDistributedEnable(bool enable);
50 * @param enable Specifies whether to enable an application to support distributed notification.
52 void SetDistributedBundleEnable(const std::string &bundleName, int32_t uid, bool enable);
/base/notification/distributed_notification_service/frameworks/ans/src/
Denabled_notification_callback_data.cpp26 …tificationCallbackData::EnabledNotificationCallbackData(std::string bundle, uid_t uid, bool enable) in EnabledNotificationCallbackData() argument
27 : bundle_(bundle), uid_(uid), enable_(enable) in EnabledNotificationCallbackData()
50 void EnabledNotificationCallbackData::SetEnable(const bool enable) in SetEnable() argument
52 enable_ = enable; in SetEnable()
65 ", enable = " + std::to_string(enable_) + in Dump()
82 ANS_LOGE("Failed to write enable"); in Marshalling()
/base/security/code_signature/interfaces/inner_api/code_sign_utils/include/
Dcode_sign_utils_in_c.h26 FILE_ALL, // Enable hap and so(new and historical records)
27 FILE_SELF, // Only enable hap
28 FILE_ENTRY_ONLY, // Only enable so(new and historical records)
29 FILE_ENTRY_ADD, // Only record, not enable
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/
Dark_web_preference_wrapper.cpp514 void ArkWebPreferenceWrapper::SetScrollable(bool enable) in SetScrollable() argument
516 ark_web_preference_->SetScrollable(enable); in SetScrollable()
530 void ArkWebPreferenceWrapper::SetViewportEnable(bool enable) in SetViewportEnable() argument
533 ark_web_preference_->SetViewportEnable(enable); in SetViewportEnable()
537 void ArkWebPreferenceWrapper::SetNativeVideoPlayerConfig(bool enable, bool shouldOverlay) in SetNativeVideoPlayerConfig() argument
539 ark_web_preference_->SetNativeVideoPlayerConfig(enable, shouldOverlay); in SetNativeVideoPlayerConfig()
560 void ArkWebPreferenceWrapper::PutOverlayScrollbarEnabled(bool enable) in PutOverlayScrollbarEnabled() argument
562 ark_web_preference_->PutOverlayScrollbarEnabled(enable); in PutOverlayScrollbarEnabled()
565 void ArkWebPreferenceWrapper::SetScrollable(bool enable, int32_t scrollType) in SetScrollable() argument
567 ark_web_preference_->SetScrollable(enable, scrollType); in SetScrollable()
[all …]

12345678910>>...38