Home
last modified time | relevance | path

Searched refs:level (Results 1 - 25 of 362) sorted by relevance

12345678910>>...15

/base/powermgr/thermal_manager/application/protector/src/policy/
H A Dprotector_thermal_zone_info.cpp25 uint32_t level = 0; in UpdateThermalLevel() local
27 DescJudgment(curTemp, level); in UpdateThermalLevel()
29 AscJudgment(curTemp, level); in UpdateThermalLevel()
31 latestLevel_ = level; in UpdateThermalLevel()
34 void ProtectorThermalZoneInfo::AscJudgment(int32_t curTemp, uint32_t &level) in AscJudgment() argument
37 level = latestLevel_; in AscJudgment()
38 if (level > 0 && level < tzItemList_.size()) { in AscJudgment()
39 int32_t curDownTemp = tzItemList_.at(level - 1).thresholdClr; in AscJudgment()
40 int32_t nextUptemp = tzItemList_.at(level) in AscJudgment()
56 DescJudgment(int32_t curTemp, uint32_t &level) DescJudgment() argument
79 HandleAscNextUpTemp(uint32_t &level, int32_t curTemp) HandleAscNextUpTemp() argument
91 HandleAscCurDownTemp(uint32_t &level, int32_t curTemp) HandleAscCurDownTemp() argument
103 HandleAscMaxSizeTemp(uint32_t &level, int32_t curTemp) HandleAscMaxSizeTemp() argument
118 HandleAscMinSizeTemp(uint32_t &level, int32_t curTemp) HandleAscMinSizeTemp() argument
135 HandleDescNextUpTemp(uint32_t &level, int32_t curTemp) HandleDescNextUpTemp() argument
147 HandleDescCurDownTemp(uint32_t &level, int32_t curTemp) HandleDescCurDownTemp() argument
159 HandleDescMaxSizeTemp(uint32_t &level, int32_t curTemp) HandleDescMaxSizeTemp() argument
174 HandleDescMinSizeTemp(uint32_t &level, int32_t curTemp) HandleDescMinSizeTemp() argument
[all...]
/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_config_sensor_cluster_test.cpp72 item.level = 2; in HWTEST_F()
80 item.level = 1; in HWTEST_F()
128 item2.level = 999; in HWTEST_F()
133 uint32_t level = 1; in HWTEST_F() local
135 cluster.AscJudgment(levItems1, curTemp, level); in HWTEST_F()
136 EXPECT_EQ(level, item2.level); in HWTEST_F()
142 level = 1; in HWTEST_F()
143 cluster.AscJudgment(levItems1, curTemp, level); in HWTEST_F()
144 EXPECT_NE(level, item in HWTEST_F()
172 uint32_t level = 1; HWTEST_F() local
196 uint32_t level = 0; HWTEST_F() local
222 uint32_t level = 1; HWTEST_F() local
255 uint32_t level = 1; HWTEST_F() local
279 uint32_t level = 0; HWTEST_F() local
297 uint32_t level = 0; HWTEST_F() local
337 uint32_t level = 2; HWTEST_F() local
[all...]
H A Dthermal_action_report_test.cpp83 ThermalLevel level; in GetThermalLevel() local
84 g_service->GetThermalLevel(level); in GetThermalLevel()
85 int32_t value = static_cast<int32_t>(level); in GetThermalLevel()
91 std::string ThermalActionReportTest::GetActionValue(const std::string& actionName, uint32_t level) in GetActionValue() argument
93 THERMAL_HILOGD(LABEL_TEST, "action name = %{public}s, level = %{public}d", actionName.c_str(), level); in GetActionValue()
96 if (!g_configParser->GetActionPolicy(POLICY_CFG_NAME, level, vAction)) { in GetActionValue()
252 const std::string& actionName, int32_t level, const std::string& dumpInfo, bool isReversed) in ThermalActionTriggered()
260 std::string value = GetActionValue(actionName, level); in ThermalActionTriggered()
332 int32_t level in HWTEST_F() local
251 ThermalActionTriggered( const std::string& actionName, int32_t level, const std::string& dumpInfo, bool isReversed) ThermalActionTriggered() argument
371 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel); HWTEST_F() local
411 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel); HWTEST_F() local
451 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel); HWTEST_F() local
491 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel); HWTEST_F() local
531 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel); HWTEST_F() local
571 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel); HWTEST_F() local
611 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel); HWTEST_F() local
651 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel); HWTEST_F() local
693 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel); HWTEST_F() local
735 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel); HWTEST_F() local
777 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel); HWTEST_F() local
[all...]
H A Dthermal_mock_action_test.cpp59 virtual void SetSocPerfThermalLevel(uint32_t level);
119 void MockActionCpuBoost::SetSocPerfThermalLevel(uint32_t level) in SetSocPerfThermalLevel() argument
174 * @tc.result: level 1~3, socperf function execution three times
181 ThermalLevel level = ThermalLevel::COOL; in HWTEST_F() local
189 g_service->GetThermalLevel(level); in HWTEST_F()
190 EXPECT_EQ(expectLevel, static_cast<int32_t>(level)); in HWTEST_F()
198 g_service->GetThermalLevel(level); in HWTEST_F()
199 EXPECT_EQ(expectLevel, static_cast<int32_t>(level)); in HWTEST_F()
207 g_service->GetThermalLevel(level); in HWTEST_F()
208 EXPECT_EQ(expectLevel, static_cast<int32_t>(level)); in HWTEST_F()
231 ThermalLevel level = ThermalLevel::COOL; HWTEST_F() local
256 ThermalLevel level = ThermalLevel::COOL; HWTEST_F() local
290 ThermalLevel level = ThermalLevel::COOL; HWTEST_F() local
324 ThermalLevel level = ThermalLevel::COOL; HWTEST_F() local
359 ThermalLevel level = ThermalLevel::COOL; HWTEST_F() local
394 ThermalLevel level = ThermalLevel::COOL; HWTEST_F() local
429 ThermalLevel level = ThermalLevel::COOL; HWTEST_F() local
[all...]
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
H A Dthermal_config_sensor_cluster.cpp44 if (sensorInfo->second.at(i).level != expectedLev) { in CheckStandard()
114 uint32_t level = latestLevel_; in CalculateSensorLevel() local
116 DescJudgment(sensorInfo->second, iter->second, level); in CalculateSensorLevel()
117 CheckExtraCondition(typeTempInfo, level); in CalculateSensorLevel()
118 levelList.push_back(level); in CalculateSensorLevel()
120 AscJudgment(sensorInfo->second, iter->second, level); in CalculateSensorLevel()
121 CheckExtraCondition(typeTempInfo, level); in CalculateSensorLevel()
122 levelList.push_back(level); in CalculateSensorLevel()
127 void ThermalConfigSensorCluster::AscendLevelToThreshold(std::vector<LevelItem>& levItems, uint32_t& level, in AscendLevelToThreshold() argument
130 for (uint32_t i = level; in AscendLevelToThreshold()
138 DescendLevelToThresholdClr(std::vector<LevelItem>& levItems, uint32_t& level, int32_t curTemp) DescendLevelToThresholdClr() argument
149 DescendLevelToThreshold(std::vector<LevelItem>& levItems, uint32_t& level, int32_t curTemp) DescendLevelToThreshold() argument
161 AscendLevelToThresholdClr(std::vector<LevelItem>& levItems, uint32_t& level, uint32_t end, int32_t curTemp) AscendLevelToThresholdClr() argument
173 LevelUpwardsSearch(std::vector<LevelItem>& levItems, uint32_t& level, uint32_t end, int32_t curTemp) LevelUpwardsSearch() argument
184 LevelDownwardsSearch(std::vector<LevelItem>& levItems, uint32_t& level, int32_t curTemp) LevelDownwardsSearch() argument
195 LevelDownwardsSearchWithThreshold(std::vector<LevelItem>& levItems, uint32_t& level, int32_t curTemp) LevelDownwardsSearchWithThreshold() argument
207 LevelUpwardsSearchWithThreshold(std::vector<LevelItem>& levItems, uint32_t& level, uint32_t end, int32_t curTemp) LevelUpwardsSearchWithThreshold() argument
219 AscJudgment(std::vector<LevelItem>& levItems, int32_t curTemp, uint32_t& level) AscJudgment() argument
242 DescJudgment(std::vector<LevelItem>& levItems, int32_t curTemp, uint32_t& level) DescJudgment() argument
265 CheckExtraCondition(const TypeTempMap& typeTempInfo, uint32_t& level) CheckExtraCondition() argument
280 IsTempRateTrigger(uint32_t& level) IsTempRateTrigger() argument
307 IsAuxSensorTrigger(const TypeTempMap& typeTempInfo, uint32_t& level) IsAuxSensorTrigger() argument
[all...]
/base/security/code_signature/test/unittest/
H A Djit_code_sign_test.cpp150 for (JitBufferIntegrityLevel level = MIN_LEVEL; in HWTEST_F()
151 level <= MAX_LEVEL; level = static_cast<JitBufferIntegrityLevel>(static_cast<int>(level) + 1)) { in HWTEST_F()
152 signer = CreateJitCodeSigner(level); in HWTEST_F()
178 for (JitBufferIntegrityLevel level = MIN_LEVEL; in HWTEST_F()
179 level <= MAX_LEVEL; level = static_cast<JitBufferIntegrityLevel>(static_cast<int>(level) + 1)) { in HWTEST_F()
180 signer = CreateJitCodeSigner(level); in HWTEST_F()
[all...]
/base/hiviewdfx/hilog/interfaces/rust/src/
H A Dmacros.rs22 (@call $log_label:ident, $level:expr, $fmt:literal, $(,)? $($processed_args:expr),* ) => (
33 $crate::HiLogPrint($log_label.log_type as u8, $level as u8, $log_label.domain as u32,
40 (@rec $priv_flag:ident; $log_label:ident; $level:expr; $fmt:literal; ($arg:expr); $(,)? $($processed_args:expr),*) => {
42 hilog!(@call $log_label, $level, $fmt, $($processed_args),*, "<private>");
44 hilog!(@call $log_label, $level, $fmt, $($processed_args),*, $arg);
48 (@rec $priv_flag:ident; $log_label:ident; $level:expr; $fmt:literal; (@private($arg:expr)); $(,)? $($processed_args:expr),*) => {
50 hilog!(@call $log_label, $level, $fmt, $($processed_args),*, "<private>");
52 hilog!(@call $log_label, $level, $fmt, $($processed_args),*, $arg);
56 (@rec $priv_flag:ident; $log_label:ident; $level:expr; $fmt:literal; (@public($arg:expr)); $(,)? $($processed_args:expr),*) => {
57 hilog!(@call $log_label, $level,
[all...]
/base/hiviewdfx/hilog/platform/
H A Dhilog_printf.cpp19 static OHOS::Ace::LogLevel ConvertLogLevel(LogLevel level) in ConvertLogLevel() argument
21 switch (level) { in ConvertLogLevel()
37 int HiLogPrintArgs(const LogType type, const LogLevel level, const unsigned int domain, const char *tag, in HiLogPrintArgs() argument
40 OHOS::HiviewDFX::Hilog::Platform::LogPrint(ConvertLogLevel(level), fmt, ap); in HiLogPrintArgs()
44 int HiLogPrint(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt, ...) in HiLogPrint() argument
49 ret = HiLogPrintArgs(type, level, domain, tag, fmt, ap); in HiLogPrint()
54 bool HiLogIsLoggable(unsigned int domain, const char *tag, LogLevel level) in HiLogIsLoggable() argument
56 if ((level <= LOG_LEVEL_MIN) || (level >= LOG_LEVEL_MAX) || tag == nullptr) { in HiLogIsLoggable()
/base/powermgr/thermal_manager/services/native/include/thermal_policy/
H A Dthermal_config_sensor_cluster.h30 uint32_t level; member
36 int32_t level; member
62 void AscendLevelToThreshold(std::vector<LevelItem>& levItems, uint32_t& level, uint32_t end, int32_t curTemp);
63 void DescendLevelToThresholdClr(std::vector<LevelItem>& levItems, uint32_t& level, int32_t curTemp);
64 void DescendLevelToThreshold(std::vector<LevelItem>& levItems, uint32_t& level, int32_t curTemp);
65 void AscendLevelToThresholdClr(std::vector<LevelItem>& levItems, uint32_t& level, uint32_t end, int32_t curTemp);
66 void LevelUpwardsSearch(std::vector<LevelItem>& levItems, uint32_t& level, uint32_t end, int32_t curTemp);
67 void LevelDownwardsSearch(std::vector<LevelItem>& levItems, uint32_t& level, int32_t curTemp);
68 void LevelDownwardsSearchWithThreshold(std::vector<LevelItem>& levItems, uint32_t& level, int32_t curTemp);
69 void LevelUpwardsSearchWithThreshold(std::vector<LevelItem>& levItems, uint32_t& level,
[all...]
/base/powermgr/thermal_manager/application/protector/include/policy/
H A Dprotector_thermal_zone_info.h28 uint32_t level; member
52 void AscJudgment(int32_t curTemp, uint32_t &level);
53 void DescJudgment(int32_t curTemp, uint32_t &level);
54 void HandleDescNextUpTemp(uint32_t &level, int32_t curTemp);
55 void HandleDescCurDownTemp(uint32_t &level, int32_t curTemp);
56 void HandleDescMaxSizeTemp(uint32_t &level, int32_t curTemp);
57 void HandleDescMinSizeTemp(uint32_t &level, int32_t curTemp);
58 void HandleAscNextUpTemp(uint32_t &level, int32_t curTemp);
59 void HandleAscCurDownTemp(uint32_t &level, int32_t curTemp);
60 void HandleAscMaxSizeTemp(uint32_t &level, int32_
[all...]
/base/security/device_security_level/baselib/msglib/src/standard/
H A Dmessenger_device_status_manager.cpp38 static void GetDeviceSecurityLevelByNetworkId(const OHOS::DistributedHardware::DmDeviceInfo &info, int32_t &level);
47 using StateReceiver = std::function<int32_t(const DeviceIdentify *devId, uint32_t status, int32_t level)>;
95 uint32_t level {0};
126 int32_t level = 0; in MessengerOnNodeStateChange() local
132 GetDeviceSecurityLevelByNetworkId(info, level); in MessengerOnNodeStateChange()
134 ProcessDeviceStatusReceiver(&identity, state, level); in MessengerOnNodeStateChange()
137 static void ProcessDeviceStatusReceiver(const DeviceIdentify *devId, uint32_t status, int32_t level) in ProcessDeviceStatusReceiver() argument
156 if (level > 0) { in ProcessDeviceStatusReceiver()
157 data->level = static_cast<uint32_t>(level); in ProcessDeviceStatusReceiver()
253 GetDeviceSecurityLevelByNetworkId(const OHOS::DistributedHardware::DmDeviceInfo &info, int32_t &level) GetDeviceSecurityLevelByNetworkId() argument
326 MessengerGetDeviceOnlineStatus(const DeviceIdentify *devId, int32_t *level) MessengerGetDeviceOnlineStatus() argument
340 MessengerGetSelfDeviceIdentify(DeviceIdentify *devId, int32_t *level) MessengerGetSelfDeviceIdentify() argument
386 int32_t level = 0; MessengerForEachDeviceProcess() local
[all...]
/base/hiviewdfx/hilog_lite/command/
H A Dhilog_command.c55 .level = LOG_DEBUG,
65 printf("Usage: %s [-h | --help] [-L <level> | --level=<level>] [--silence]\n", tag); in HilogHelpProc()
70 printf("-L <level>, --level=<level> Outputs logs at a specific level\n"); in HilogHelpProc()
71 printf(" Values of level :\n"); in HilogHelpProc()
77 printf(" auto, set log level wit in HilogHelpProc()
83 SetLogLevel(unsigned char level) SetLogLevel() argument
119 unsigned char level = LOG_DEBUG; SetOutputLevel() local
172 char level = arg[0]; HilogLevelProc() local
[all...]
/base/hiviewdfx/hilog_lite/frameworks/mini/
H A Dhiview_log.c33 static boolean CheckParameters(uint8 module, uint8 level);
67 static boolean CheckParameters(uint8 module, uint8 level) in CheckParameters() argument
69 if ((level < g_hiviewConfig.level) || (level < HILOG_COMPILE_LEVEL) || in CheckParameters()
109 void HiLogPrintf(uint8 module, uint8 level, const char *nums, const char *fmt, ...) in HiLogPrintf() argument
119 if (g_hiviewConfig.logSwitch == HIVIEW_FEATURE_OFF || !CheckParameters(module, level) || in HiLogPrintf()
127 pCommon->level = level; in HiLogPrintf()
146 void HILOG_HashPrintf(uint8 module, uint8 level, cons argument
231 HiLogSetLogLevel(uint8 level) HiLogSetLogLevel() argument
[all...]
/base/web/webview/ohos_adapter/hiviewdfx_adapter/src/
H A Dhilog_adapter.cpp39 int HiLogPrintArgs(LogType type, LogLevel level, unsigned int domain, const char* tag, const char* fmt, va_list ap);
41 int HiLogAdapterPrintLog(uint32_t level, const char* tag, const char* fmt, va_list ap) in HiLogAdapterPrintLog() argument
47 return HiLogPrintArgs(LOG_CORE, LOG_LEVELS[level], domain, tag, fmt, ap); in HiLogAdapterPrintLog()
50 int HiLogAdapterConsoleLog(uint32_t level, const char* tag, const char* fmt, va_list ap) in HiLogAdapterConsoleLog() argument
52 return HiLogPrintArgs(LOG_APP, LOG_LEVELS[level], LOG_CONSOLE_DOMAIN, tag, fmt, ap); in HiLogAdapterConsoleLog()
56 int HiLogAdapter::PrintLog(LogLevelAdapter level, const char* tag, const char* fmt, ...) in PrintLog() argument
61 ret = HiLogAdapterPrintLog(static_cast<uint32_t>(level), tag, fmt, ap); in PrintLog()
66 int HiLogAdapter::PrintConsoleLog(LogLevelAdapter level, const char* tag, const char* fmt, ...) in PrintConsoleLog() argument
71 ret = HiLogAdapterConsoleLog(static_cast<uint32_t>(level), tag, fmt, ap); in PrintConsoleLog()
/base/powermgr/battery_statistics/services/native/src/entities/
H A Dphone_entity.cpp33 int64_t PhoneEntity::GetActiveTimeMs(StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs() argument
38 if (level != StatsUtils::INVALID_VALUE) { in GetActiveTimeMs()
39 auto iter = phoneOnTimerMap_.find(level); in GetActiveTimeMs()
42 STATS_HILOGD(COMP_SVC, "Get phone on time: %{public}" PRId64 "ms of signal level: %{public}d", in GetActiveTimeMs()
43 activeTimeMs, level); in GetActiveTimeMs()
54 if (level != StatsUtils::INVALID_VALUE) { in GetActiveTimeMs()
55 auto iter = phoneDataTimerMap_.find(level); in GetActiveTimeMs()
58 STATS_HILOGD(COMP_SVC, "Get phone data time: %{public}" PRId64 "ms of signal level: %{public}d", in GetActiveTimeMs()
59 activeTimeMs, level); in GetActiveTimeMs()
138 std::shared_ptr<StatsHelper::ActiveTimer> PhoneEntity::GetOrCreateTimer(StatsUtils::StatsType statsType, int16_t level) in GetOrCreateTimer() argument
[all...]
H A Dscreen_entity.cpp32 int64_t ScreenEntity::GetActiveTimeMs(StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs() argument
46 if (level != StatsUtils::INVALID_VALUE) { in GetActiveTimeMs()
47 auto iter = screenBrightnessTimerMap_.find(level); in GetActiveTimeMs()
51 "Get screen brightness time: %{public}" PRId64 "ms of brightness level: %{public}d", in GetActiveTimeMs()
52 activeTimeMs, level); in GetActiveTimeMs()
115 std::shared_ptr<StatsHelper::ActiveTimer> ScreenEntity::GetOrCreateTimer(StatsUtils::StatsType statsType, int16_t level) in GetOrCreateTimer() argument
131 if (level <= StatsUtils::INVALID_VALUE || level > StatsUtils::SCREEN_BRIGHTNESS_BIN) { in GetOrCreateTimer()
135 auto iter = screenBrightnessTimerMap_.find(level); in GetOrCreateTimer()
137 STATS_HILOGD(COMP_SVC, "Get screen brightness timer of brightness level in GetOrCreateTimer()
[all...]
/base/hiviewdfx/hilog/services/hilogd/
H A Dkmsg_parser.cpp58 uint16_t level; in KmsgLevelMap() local
63 level = LOG_FATAL; in KmsgLevelMap()
66 level = LOG_ERROR; in KmsgLevelMap()
70 level = LOG_WARN; in KmsgLevelMap()
73 level = LOG_INFO; in KmsgLevelMap()
76 level = LOG_DEBUG; in KmsgLevelMap()
79 return level; in KmsgLevelMap()
95 msg.level = KmsgLevelMap(LOG_INFO); in ParseKmsg()
/base/update/updater/services/include/log/
H A Dlog.h35 #define LOG(level) UpdaterLogger(level).OutputUpdaterLog((UPDATER_LOG_FILE_NAME), (__LINE__))
54 void SetLogLevel(int level);
59 extern "C" void Logger(int level, const char* fileName, int32_t line, const char* format, ...);
61 extern "C" void UpdaterHiLogger(int level, const char* fileName, int32_t line, const char* format, ...);
65 UpdaterLogger(int level) : level_(level) {} in UpdaterLogger() argument
96 ErrorCode(enum UpdaterErrorCode level) {} in ErrorCode() argument
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
H A Daction_thermal_level.cpp104 void ActionThermalLevel::LevelRequest(int32_t level) in LevelRequest() argument
106 if (level > MAX_THERMAL_LEVEL) { in LevelRequest()
107 level = MAX_THERMAL_LEVEL; in LevelRequest()
109 if (level < MIN_THERMAL_LEVEL) { in LevelRequest()
110 level = MIN_THERMAL_LEVEL; in LevelRequest()
112 NotifyThermalLevelChanged(level); in LevelRequest()
158 void ActionThermalLevel::NotifyThermalLevelChanged(int32_t level) in NotifyThermalLevelChanged() argument
160 THERMAL_HILOGI(COMP_SVC, "thermal level changed, new lev: %{public}d, old lev: %{public}d", level, lastValue_); in NotifyThermalLevelChanged()
163 PublishLevelChangedEvents(ThermalCommonEventCode::CODE_THERMAL_LEVEL_CHANGED, level); in NotifyThermalLevelChanged()
175 PublishLevelChangedEvents(ThermalCommonEventCode code, int32_t level) PublishLevelChangedEvents() argument
[all...]
/base/hiviewdfx/hilog/frameworks/libhilog/
H A Dhilog_printf.cpp111 // if this js log comes from debuggable hap, set the default level. in GetFinalLevel()
173 .level = header.level, in PrintLog()
196 static int LogToKmsg(const LogLevel level, const char *tag, const char* info) in LogToKmsg() argument
204 if (snprintf_s(logInfo, sizeof(logInfo), sizeof(logInfo) - 1, "<%d>%s: %s\n", level, tag, info) == -1) { in LogToKmsg()
215 int HiLogPrintArgs(const LogType type, const LogLevel level, const unsigned int domain, const char *tag, in HiLogPrintArgs() argument
221 if (!HiLogIsLoggable(domain, tag, level)) { in HiLogPrintArgs()
231 return LogToKmsg(level, tag, tmpFmt); in HiLogPrintArgs()
294 logCallbackFunc(type, level, domain, tag, logBuf); in HiLogPrintArgs()
306 header.level in HiLogPrintArgs()
343 uint16_t level = header.level; HiLogPrintArgs() local
360 HiLogPrint(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt, ...) HiLogPrint() argument
370 HiLogIsLoggable(unsigned int domain, const char *tag, LogLevel level) HiLogIsLoggable() argument
[all...]
/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/
H A Dsample_stack_printer.cpp27 uintptr_t pc, int32_t count, uint64_t level, SampleStackItem* acientNode) in Insert()
42 curNode->current->index = curNode->level; in Insert()
48 if (level > curNode->level) { in Insert()
53 curNode->child->level = curNode->level + 1; in Insert()
54 return Insert(curNode->child, pc, count, level, acientNode); in Insert()
67 curNode->siblings->level = curNode->level; in Insert()
68 SampleStackItem* node = Insert(curNode->siblings, pc, count, level, acientNod in Insert()
26 Insert(SampleStackItem* curNode, uintptr_t pc, int32_t count, uint64_t level, SampleStackItem* acientNode) Insert() argument
93 uint64_t level = 0; Insert() local
[all...]
/base/security/device_security_level/interfaces/inner_api/src/lite/
H A Ddevice_security_info.c46 static int32_t GetDeviceSecurityLevelValueImpl(const DeviceSecurityInfo *info, int32_t *level) in GetDeviceSecurityLevelValueImpl() argument
48 if (info == NULL || level == NULL) { in GetDeviceSecurityLevelValueImpl()
55 *level = (int32_t)(info->level); in GetDeviceSecurityLevelValueImpl()
76 int32_t GetDeviceSecurityLevelValue(const DeviceSecurityInfo *info, int32_t *level) in GetDeviceSecurityLevelValue() argument
78 return GetDeviceSecurityLevelValueImpl(info, level); in GetDeviceSecurityLevelValue()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_hilog_adapter_wrapper.cpp22 using HiLogAdapterPrintLogFunc = int (*)(uint32_t level, const char* tag, const char* fmt, va_list ap);
24 ARK_WEB_NO_SANITIZE int HiLogAdapter::PrintLog(LogLevelAdapter level, const char* tag, const char* fmt, ...) in PrintLog() argument
35 ret = hi_log_adapter_print_log((uint32_t)level, tag, fmt, ap); in PrintLog()
40 ARK_WEB_NO_SANITIZE int HiLogAdapter::PrintConsoleLog(LogLevelAdapter level, const char* tag, const char* fmt, ...) in PrintConsoleLog() argument
51 ret = hi_log_adapter_console_log((uint32_t)level, tag, fmt, ap); in PrintConsoleLog()
/base/hiviewdfx/hilog/frameworks/libhilog/base/
H A Dhilog_base.c80 const LogType type, const LogLevel level, const unsigned int domain, const char *tag, const char *fmt, va_list ap) in HiLogBasePrintArgs()
90 header.level = level; in HiLogBasePrintArgs()
100 int HiLogBasePrint(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt, ...) in HiLogBasePrint() argument
102 if (!HiLogBaseIsLoggable(domain, tag, level)) { in HiLogBasePrint()
109 ret = HiLogBasePrintArgs(type, level, domain, tag, fmt, ap); in HiLogBasePrint()
114 bool HiLogBaseIsLoggable(unsigned int domain, const char *tag, LogLevel level) in HiLogBaseIsLoggable() argument
116 if ((level <= LOG_LEVEL_MIN) || (level >= LOG_LEVEL_MAX) || tag == NULL) { in HiLogBaseIsLoggable()
79 HiLogBasePrintArgs( const LogType type, const LogLevel level, const unsigned int domain, const char *tag, const char *fmt, va_list ap) HiLogBasePrintArgs() argument
/base/startup/init/services/begetctl/
H A Dbegetctl_cmd.c57 if (argc != 2) { // 2 is set log level parameter number in SetInitLogLevelFromParam()
63 unsigned int level = strtoul(argv[1], 0, 10); // 10 is decimal in SetInitLogLevelFromParam() local
68 if ((level >= INIT_DEBUG) && (level <= INIT_FATAL)) { in SetInitLogLevelFromParam()
72 printf("Failed to set log level %s. \n", logLevelStr[level]); in SetInitLogLevelFromParam()
74 printf("Success to set log level %s. \n", logLevelStr[level]); in SetInitLogLevelFromParam()
84 int level = GetIntParameter(INIT_DEBUG_LEVEL, (int)INIT_ERROR); in GetInitLogLevelFromParam() local
85 if ((level > in GetInitLogLevelFromParam()
[all...]

Completed in 11 milliseconds

12345678910>>...15