Home
last modified time | relevance | path

Searched refs:enable (Results 1 – 25 of 480) sorted by relevance

12345678910>>...20

/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/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
95 auto rrc = std::make_shared<EnabledNotificationCallbackData>(bundle, uid, enable);
[all …]
Dnotification_test.cpp162 bool enable = true; variable
166 rrc->SetEnableSound(enable);
407 bool enable = false; variable
411 rrc->SetEnableSound(enable);
424 bool enable = true; variable
428 rrc->SetEnableSound(enable);
440 bool enable = true; variable
443 rrc->SetEnableLight(enable);
444 EXPECT_EQ(rrc->EnableLight(), enable);
455 bool enable = true; variable
[all …]
/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/ans/src/
Dadvanced_aggregation_data_roaming_observer.cpp30 string enable = ""; in OnChange() local
31 AdvancedNotificationService::GetInstance()->GetUnifiedGroupInfoFromDb(enable); in OnChange()
32 ANS_LOGI("fengyunfei GetUnifiedGroupInfoFromDb enter, enable:%{public}s", enable.c_str()); in OnChange()
35 EXTENTION_WRAPPER->SetlocalSwitch(enable); in OnChange()
Dpermission_filter.cpp34 bool enable = false; in OnPublish() local
36 …ificationPreferences::GetInstance().GetNotificationsEnabledForBundle(record->bundleOption, enable); in OnPublish()
41 enable = bundleManager->CheckApiCompatibility(record->bundleOption); in OnPublish()
58 if (!enable && !isForceControl) { in OnPublish()
/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()
/base/telephony/cellular_data/services/src/utils/
Dnet_manager_tactics_call_back.cpp26 int32_t NetManagerTacticsCallBack::NetStrategySwitch(const std::string &simId, bool enable) in NetStrategySwitch() argument
43 …int32_t result = DelayedRefSingleton<CellularDataService>::GetInstance().StrategySwitch(i, enable); in NetStrategySwitch()
45 i, enable, result); in NetStrategySwitch()
49 TELEPHONY_LOGI("StrategySwitch fail[%{public}s, %{public}d]", simId.c_str(), enable); in NetStrategySwitch()
/base/notification/distributed_notification_service/services/distributed/test/unittest/
Ddistributed_preferences_test.cpp54 bool enable = true; variable
56 EXPECT_EQ(distributedPreferences_->SetDistributedEnable(enable), ERR_OK);
66 bool enable; variable
68 EXPECT_EQ(distributedPreferences_->GetDistributedEnable(enable), ERR_OK);
78 bool enable = true; variable
81 EXPECT_EQ(distributedPreferences_->SetDistributedBundleEnable(bundleOption, enable), ERR_OK);
91 bool enable = true; variable
94 EXPECT_EQ(distributedPreferences_->SetDistributedBundleEnable(bundleOption, enable), ERR_OK);
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/action_soc/
Daction_cpu_boost.cpp37 void ActionCpuBoost::SetStrict(bool enable) in SetStrict() argument
39 isStrict_ = enable; in SetStrict()
42 void ActionCpuBoost::SetEnableEvent(bool enable) in SetEnableEvent() argument
44 enableEvent_ = enable; in SetEnableEvent()
Daction_cpu_med.cpp37 void ActionCpuMed::SetStrict(bool enable) in SetStrict() argument
39 isStrict_ = enable; in SetStrict()
42 void ActionCpuMed::SetEnableEvent(bool enable) in SetEnableEvent() argument
44 enableEvent_ = enable; in SetEnableEvent()
Daction_cpu_isolate.cpp37 void ActionCpuIsolate::SetStrict(bool enable) in SetStrict() argument
39 isStrict_ = enable; in SetStrict()
42 void ActionCpuIsolate::SetEnableEvent(bool enable) in SetEnableEvent() argument
44 enableEvent_ = enable; in SetEnableEvent()
Daction_cpu_big.cpp37 void ActionCpuBig::SetStrict(bool enable) in SetStrict() argument
39 isStrict_ = enable; in SetStrict()
42 void ActionCpuBig::SetEnableEvent(bool enable) in SetEnableEvent() argument
44 enableEvent_ = enable; in SetEnableEvent()
Daction_cpu_lit.cpp37 void ActionCpuLit::SetStrict(bool enable) in SetStrict() argument
39 isStrict_ = enable; in SetStrict()
42 void ActionCpuLit::SetEnableEvent(bool enable) in SetEnableEvent() argument
44 enableEvent_ = enable; in SetEnableEvent()
Daction_gpu.cpp37 void ActionGpu::SetStrict(bool enable) in SetStrict() argument
39 isStrict_ = enable; in SetStrict()
42 void ActionGpu::SetEnableEvent(bool enable) in SetEnableEvent() argument
44 enableEvent_ = enable; in SetEnableEvent()
/base/notification/distributed_notification_service/services/distributed/src/
Ddistributed_preferences_info.cpp28 void DistributedPreferencesInfo::SetDistributedEnable(bool enable) in SetDistributedEnable() argument
30 distributedEnable_ = enable; in SetDistributedEnable()
38 …referencesInfo::SetDistributedBundleEnable(const std::string &bundleName, int32_t uid, bool enable) in SetDistributedBundleEnable() argument
40 bundleEnable_[std::make_pair(bundleName, uid)] = enable; in SetDistributedBundleEnable()
/base/powermgr/powermgr_lite/frameworks/src/small/
Dpower_screen_saver.c39 static int32_t SetScreenSaverStateProxy(IUnknown *iUnknown, BOOL enable);
112 static int32_t SetScreenSaverStateProxy(IUnknown *iUnknown, BOOL enable) in SetScreenSaverStateProxy() argument
117 WriteBool(&request, enable == TRUE); in SetScreenSaverStateProxy()
122 POWER_HILOGD("Set screen saver state done, enable: %d", (int32_t)enable); in SetScreenSaverStateProxy()
127 BOOL SetScreenSaverState(BOOL enable) in SetScreenSaverState() argument
132 ret = intf->SetScreenSaverStateFunc((IUnknown *)intf, enable); in SetScreenSaverState()
/base/telephony/sms_mms/test/fuzztest/setgetcbconfig_fuzzer/
Dsetgetcbconfig_fuzzer.cpp61 bool enable = slotId == 1 ? true : false; in SetCBConfigFuzz() local
67 dataParcel.WriteBool(enable); in SetCBConfigFuzz()
81 interfaceManager->SetCBConfig(enable, fromMsgId, toMsgId, netType); in SetCBConfigFuzz()
88 smsMiscManager->SetCBConfig(enable, fromMsgId, toMsgId, netType); in SetCBConfigFuzz()
102 int32_t enable = slotId == 1 ? true : false; in SetImsSmsConfigFuzz() local
104 dataParcel.WriteInt32(enable); in SetImsSmsConfigFuzz()
114 interfaceManager->SetImsSmsConfig(slotId, enable); in SetImsSmsConfigFuzz()
120 smsSendManager->SetImsSmsConfig(slotId, enable); in SetImsSmsConfigFuzz()
/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()
/base/notification/distributed_notification_service/frameworks/js/napi/include/
Ddistributed.h29 bool enable = false; member
34 bool enable = false; member
47 bool enable = false; member
69 bool enable = false; member
81 bool enable = false; member
102 bool enable = false; member
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
Daction_node.cpp49 void ActionNode::SetStrict(bool enable) in SetStrict() argument
51 isStrict_ = enable; in SetStrict()
54 void ActionNode::SetEnableEvent(bool enable) in SetEnableEvent() argument
56 enableEvent_ = enable; in SetEnableEvent()
/base/powermgr/powermgr_lite/frameworks/src/mini/
Dpower_screen_saver.c18 BOOL SetScreenSaverState(BOOL enable) in SetScreenSaverState() argument
20 (void)enable; in SetScreenSaverState()

12345678910>>...20