Home
last modified time | relevance | path

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

12345678910>>...36

/base/hiviewdfx/hitrace/cmd/config/
Dhitrace.rc26 chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_lock/enable
27 chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_locked/enable
28 chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_unlock/enable
29 chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_transaction/enable
30 chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_transaction_received/enable
31 chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_transaction_alloc_buf/enable
33 chmod 0666 /sys/kernel/debug/tracing/events/cgroup/enable
34 chmod 0666 /sys/kernel/debug/tracing/events/cpufreq_interactive/enable
35 chmod 0666 /sys/kernel/debug/tracing/events/dma_fence/enable
36 chmod 0666 /sys/kernel/debug/tracing/events/fence/enable
[all …]
Dhitrace_user.cfg30 "chmod 0666 /sys/kernel/tracing/events/binder/binder_lock/enable",
31 "chmod 0666 /sys/kernel/tracing/events/binder/binder_locked/enable",
32 "chmod 0666 /sys/kernel/tracing/events/binder/binder_unlock/enable",
33 "chmod 0666 /sys/kernel/tracing/events/binder/binder_transaction/enable",
34 "chmod 0666 /sys/kernel/tracing/events/binder/binder_transaction_received/enable",
35 "chmod 0666 /sys/kernel/tracing/events/binder/binder_transaction_alloc_buf/enable",
37 "chmod 0666 /sys/kernel/tracing/events/cgroup/enable",
39 "chmod 0666 /sys/kernel/tracing/events/cpufreq_interactive/enable",
41 "chmod 0666 /sys/kernel/tracing/events/dma_fence/enable",
43 "chmod 0666 /sys/kernel/tracing/events/fence/enable",
[all …]
Dhitrace.cfg29 "chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_lock/enable",
30 "chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_locked/enable",
31 "chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_unlock/enable",
32 "chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_transaction/enable",
33 … "chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_transaction_received/enable",
34 … "chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_transaction_alloc_buf/enable",
36 "chmod 0666 /sys/kernel/debug/tracing/events/cgroup/enable",
38 "chmod 0666 /sys/kernel/debug/tracing/events/cpufreq_interactive/enable",
40 "chmod 0666 /sys/kernel/debug/tracing/events/dma_fence/enable",
42 "chmod 0666 /sys/kernel/debug/tracing/events/fence/enable",
[all …]
/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_utils.json343 "events/sched/sched_switch/enable",
344 "events/sched/sched_wakeup/enable",
345 "events/sched/sched_blocked_reason/enable"
353 "events/preemptirq/preempt_enable/enable",
354 "events/preemptirq/preempt_disable/enable"
362 "events/binder/binder_transaction/enable",
363 "events/binder/binder_transaction_received/enable"
370 "sysFiles": ["events/dma_fence/enable"],
377 "events/workqueue/workqueue_execute_end/enable",
378 "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
/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.
70 * Sets the notification whether enable lock screen.
71 * @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.cpp54 "{\"powerkey\": {\"enable\": false},\"keyborad\": {\"enable\": false},\"mouse\": {\"enable\": "
55 …"false},\"touchscreen\": {\"enable\": false,\"click\": 2},\"touchpad\": {\"enable\": false},\"pen\…
56 "false},\"lid\": {\"enable\": false},\"switch\": {\"enable\": false}}";
68 GTEST_LOG_(INFO) << "PowerWakeupParse001: Failed to parse Enable"; in TestPowerWakeup()
72 GTEST_LOG_(INFO) << "PowerWakeupParse001: Failed to parse Enable"; in TestPowerWakeup()
76 GTEST_LOG_(INFO) << "PowerWakeupParse001: Failed to parse Enable"; in TestPowerWakeup()
83 GTEST_LOG_(INFO) << "PowerWakeupParse001: Failed to parse Enable"; in TestPowerWakeup()
87 GTEST_LOG_(INFO) << "PowerWakeupParse001: Failed to parse Enable"; in TestPowerWakeup()
91 GTEST_LOG_(INFO) << "PowerWakeupParse001: Failed to parse Enable"; in TestPowerWakeup()
95 GTEST_LOG_(INFO) << "PowerWakeupParse001: Failed to parse Enable"; in TestPowerWakeup()
[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/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/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/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}
70 __BASE: {type: BEHAVIOR, level: MINOR, desc: enable notification}
73 ENABLE: {type: BOOL, desc: enable state}
76 __BASE: {type: BEHAVIOR, level: MINOR, desc: enable notification slot}
80 ENABLE: {type: BOOL, desc: enable state}
/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
104 # whether enable huks hdi in system in standard
/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/powermgr/power_manager/services/native/src/wakeup/
Dwakeup_source_parser.cpp137 bool enable = true; in ParseSourcesProc() local
148 enable = enableValue.asBool(); in ParseSourcesProc()
153 …POWER_HILOGI(FEATURE_WAKEUP, "key=%{public}s, type=%{public}u, click=%{public}u, enable=%{public}d… in ParseSourcesProc()
154 key.c_str(), wakeupDeviceType, click, enable); in ParseSourcesProc()
160 if (!enable && g_isFirstSettingUpdated) { in ParseSourcesProc()
163 SettingHelper::SetSettingWakeupDouble(enable); in ParseSourcesProc()
164 POWER_HILOGI(FEATURE_WAKEUP, "the setting wakeupDoubleClick enable=%{public}d", enable); in ParseSourcesProc()
169 SettingHelper::SetSettingWakeupPickup(enable); in ParseSourcesProc()
170 POWER_HILOGI(FEATURE_WAKEUP, "the setting pickup enable=%{public}d", enable); in ParseSourcesProc()
174 if (enable == true) { in ParseSourcesProc()
[all …]
/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/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.cpp84 … "{\"powerkey\": {\"enable\": false},\"keyborad\": {\"enable\": false},\"mouse\": {\"enable\": "
85 …"false},\"touchscreen\": {\"enable\": false,\"click\": 2},\"touchpad\": {\"enable\": false},\"pen\…
86 "{\"enable\": false},\"lid\": {\"enable\": false},\"switch\": {\"enable\": false}}";
/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>\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";
/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()

12345678910>>...36