Home
last modified time | relevance | path

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

12345678910>>...14

/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.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.cpp148 bool enable = true; variable
152 rrc->SetEnableSound(enable);
359 bool enable = false; variable
363 rrc->SetEnableSound(enable);
376 bool enable = true; variable
380 rrc->SetEnableSound(enable);
392 bool enable = true; variable
395 rrc->SetEnableLight(enable);
396 EXPECT_EQ(rrc->EnableLight(), enable);
407 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/
Dpermission_filter.cpp33 bool enable = false; in OnPublish() local
35 …ificationPreferences::GetInstance().GetNotificationsEnabledForBundle(record->bundleOption, enable); in OnPublish()
40 enable = bundleManager->CheckApiCompatibility(record->bundleOption); in OnPublish()
44 if (!enable) { 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/notification/common_event_service/services/include/
Dstatic_subscriber_manager.h58 int32_t SetStaticSubscriberState(bool enable);
66 bool enable = true; member
71 (permission == that.permission) && (enable == that.enable);
77 bool enable; member
84 const int32_t &extensionUid, const std::string &profile, bool enable = true);
85 void AddSubscriber(const AppExecFwk::ExtensionAbilityInfo &extension, bool enable = true);
/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/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/thermal_manager/services/native/src/thermal_action/action/action_soc/
Daction_cpu_boost.cpp38 void ActionCpuBoost::SetStrict(bool enable) in SetStrict() argument
40 isStrict_ = enable; in SetStrict()
43 void ActionCpuBoost::SetEnableEvent(bool enable) in SetEnableEvent() argument
45 enableEvent_ = enable; in SetEnableEvent()
Daction_gpu.cpp38 void ActionGpu::SetStrict(bool enable) in SetStrict() argument
40 isStrict_ = enable; in SetStrict()
43 void ActionGpu::SetEnableEvent(bool enable) in SetEnableEvent() argument
45 enableEvent_ = enable; in SetEnableEvent()
Daction_cpu_lit.cpp38 void ActionCpuLit::SetStrict(bool enable) in SetStrict() argument
40 isStrict_ = enable; in SetStrict()
43 void ActionCpuLit::SetEnableEvent(bool enable) in SetEnableEvent() argument
45 enableEvent_ = enable; in SetEnableEvent()
Daction_cpu_big.cpp38 void ActionCpuBig::SetStrict(bool enable) in SetStrict() argument
40 isStrict_ = enable; in SetStrict()
43 void ActionCpuBig::SetEnableEvent(bool enable) in SetEnableEvent() argument
45 enableEvent_ = enable; in SetEnableEvent()
Daction_cpu_med.cpp38 void ActionCpuMed::SetStrict(bool enable) in SetStrict() argument
40 isStrict_ = enable; in SetStrict()
43 void ActionCpuMed::SetEnableEvent(bool enable) in SetEnableEvent() argument
45 enableEvent_ = enable; in SetEnableEvent()
/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/notification/distributed_notification_service/frameworks/js/napi/include/
Ddistributed.h29 bool enable = false; member
34 bool enable = false; member
47 bool enable = false; member
67 bool enable = false; member
79 bool enable = false; member
100 bool enable = false; member
/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/powermgr/powermgr_lite/frameworks/src/mini/
Dpower_screen_saver.c18 BOOL SetScreenSaverState(BOOL enable) in SetScreenSaverState() argument
20 (void)enable; in SetScreenSaverState()
/base/telephony/cellular_data/test/
Dcellular_data_test.cpp141 static int32_t EnableCellularDataTest(bool enable);
144 static int32_t EnableCellularDataRoamingTest(int32_t slotId, bool enable);
192 int32_t enable = CellularDataClient::GetInstance().EnableCellularData(true); in SetUpTestCase() local
193 ASSERT_TRUE(enable == TELEPHONY_ERR_SUCCESS); in SetUpTestCase()
254 int32_t CellularDataTest::EnableCellularDataTest(bool enable) in EnableCellularDataTest() argument
256 return CellularDataClient::GetInstance().EnableCellularData(enable); in EnableCellularDataTest()
264 int32_t CellularDataTest::EnableCellularDataRoamingTest(int32_t slotId, bool enable) in EnableCellularDataRoamingTest() argument
266 return CellularDataClient::GetInstance().EnableCellularDataRoaming(slotId, enable); in EnableCellularDataRoamingTest()
456 int32_t enable = CellularDataTest::EnableCellularDataRoamingTest(DEFAULT_SIM_SLOT_ID, false); variable
457 ASSERT_TRUE(enable == TELEPHONY_ERR_SUCCESS);
[all …]
/base/telephony/sms_mms/test/fuzztest/setgetcbconfig_fuzzer/
Dsetgetcbconfig_fuzzer.cpp56 bool enable = slotId == 1 ? true : false; in SetCBConfigFuzz() local
62 dataParcel.WriteBool(enable); in SetCBConfigFuzz()
76 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/powermgr/powermgr_lite/services/src/screensaver/small/
Dscreen_saver_mgr.cpp29 int32_t ScreenSaverMgrSetState(BOOL enable) in ScreenSaverMgrSetState() argument
31 return g_handler.SetState(enable == TRUE); in ScreenSaverMgrSetState()
/base/notification/common_event_service/services/src/
Dstatic_subscriber_manager.cpp66 StaticSubscriber subscriber = { .events = s, .enable = true }; in InitAllowList()
103 AddSubscriber(extension, staticSubscribers_[extension.bundleName].enable); in InitValidSubscribers()
139 if (!subscriber.enable) { in PublishCommonEvent()
217 const int32_t &extensionUserId, const std::string &profile, bool enable) in ParseEvents() argument
275 .enable = enable }; in ParseEvents()
281 …ticSubscriberManager::AddSubscriber(const AppExecFwk::ExtensionAbilityInfo &extension, bool enable) in AddSubscriber() argument
297 ParseEvents(extension.name, extension.bundleName, userId, profile, enable); in AddSubscriber()
334 AddSubscriber(extension, staticSubscribers_[bundleName].enable); in AddSubscriberWithBundleName()
415 int32_t StaticSubscriberManager::SetStaticSubscriberState(bool enable) in SetStaticSubscriberState() argument
419 EVENT_LOGI("current bundleName:%{public}s, enable:%{public}d.", bundleName.c_str(), enable); in SetStaticSubscriberState()
[all …]

12345678910>>...14