/base/hiviewdfx/hitrace/cmd/config/ |
D | hitrace.rc | 26 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 …]
|
D | hitrace.cfg | 29 "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/ |
D | init_trace.cfg | 10 "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/ |
D | enabled_notification_callback_data_test.cpp | 45 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 …]
|
D | notification_test.cpp | 148 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/ |
D | bootchart_static.c | 21 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/ |
D | permission_filter.cpp | 33 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/ |
D | bootchart_cmd.c | 36 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/ |
D | static_subscriber_manager.h | 58 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/ |
D | net_manager_tactics_call_back.cpp | 26 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/ |
D | distributed_preferences_test.cpp | 54 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/ |
D | distributed_preferences_info.cpp | 28 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/ |
D | action_cpu_boost.cpp | 38 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()
|
D | action_gpu.cpp | 38 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()
|
D | action_cpu_lit.cpp | 38 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()
|
D | action_cpu_big.cpp | 38 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()
|
D | action_cpu_med.cpp | 38 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/ |
D | power_screen_saver.c | 39 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/ |
D | distributed.h | 29 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/ |
D | enabled_notification_callback_data.cpp | 26 …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/ |
D | power_screen_saver.c | 18 BOOL SetScreenSaverState(BOOL enable) in SetScreenSaverState() argument 20 (void)enable; in SetScreenSaverState()
|
/base/telephony/cellular_data/test/ |
D | cellular_data_test.cpp | 141 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/ |
D | setgetcbconfig_fuzzer.cpp | 56 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/ |
D | screen_saver_mgr.cpp | 29 int32_t ScreenSaverMgrSetState(BOOL enable) in ScreenSaverMgrSetState() argument 31 return g_handler.SetState(enable == TRUE); in ScreenSaverMgrSetState()
|
/base/notification/common_event_service/services/src/ |
D | static_subscriber_manager.cpp | 66 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 …]
|