Home
last modified time | relevance | path

Searched full:level (Results 1 – 25 of 647) sorted by relevance

12345678910>>...26

/base/powermgr/thermal_manager/application/protector/src/policy/
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).threshold; in AscJudgment()
42 HandleAscNextUpTemp(level, curTemp); in AscJudgment()
[all …]
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
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 …ermalConfigSensorCluster::AscendLevelToThreshold(std::vector<LevelItem>& levItems, uint32_t& level, in AscendLevelToThreshold() argument
130 for (uint32_t i = level; i < end; i++) { in AscendLevelToThreshold()
[all …]
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_config_sensor_cluster_test.cpp72 item.level = 2;
80 item.level = 1;
128 item2.level = 999;
133 uint32_t level = 1; variable
135 cluster.AscJudgment(levItems1, curTemp, level);
136 EXPECT_EQ(level, item2.level);
142 level = 1;
143 cluster.AscJudgment(levItems1, curTemp, level);
144 EXPECT_NE(level, item2.level);
148 levItems1.at(INDEX0).level = 999;
[all …]
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 …HERMAL_HILOGD(LABEL_TEST, "action name = %{public}s, level = %{public}d", actionName.c_str(), leve… 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() argument
260 std::string value = GetActionValue(actionName, level); in ThermalActionTriggered()
332 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel); variable
337 ThermalActionReportTest::ThermalActionTriggered(CPU_BIG_ACTION_NAME, level, actualDumpInfo);
[all …]
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; variable
189 g_service->GetThermalLevel(level);
190 EXPECT_EQ(expectLevel, static_cast<int32_t>(level));
198 g_service->GetThermalLevel(level);
199 EXPECT_EQ(expectLevel, static_cast<int32_t>(level));
207 g_service->GetThermalLevel(level);
208 EXPECT_EQ(expectLevel, static_cast<int32_t>(level));
[all …]
/base/security/device_security_level/
DREADME.md1 # Device Security Level Management
7 …device may threaten the security of the Super Device. The Device Security Level Management (DSLM) …
9 The security level of an OpenHarmony device depends on the system security capabilities of the devi…
15 …ture for a single device. The architecture may vary depending on the risk level as well as the sof…
19 - SL1: SL1 is the lowest security level of OpenHarmony devices. Usually equipped with a lightweight…
21 …se devices must have basic anti-penetration capabilities. Devices of this level support a lightwei…
23 …ts are protected by a well-defined security policy model. Devices of this level must have certain …
25 …tration are required for any access to critical elements. Devices of this level have considerable …
27 …d against physical attacks and attacks simulated in labs. Devices at this level must have high-sec…
29 The security level of each device in a Super Device provides the decision-making criteria for proce…
[all …]
/base/hiviewdfx/hilog_lite/command/
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 with predefined macro\n"); in HilogHelpProc()
83 bool SetLogLevel(unsigned char level) in SetLogLevel() argument
85 if (level >= LOG_DEBUG && level < HILOG_LEVEL_MAX) { in SetLogLevel()
86 g_hiviewConfig.level = level; in SetLogLevel()
87 printf("Set log level : %d \n", level); in SetLogLevel()
119 unsigned char level = LOG_DEBUG; in SetOutputLevel() local
[all …]
/base/security/code_signature/test/unittest/
Djit_code_sign_test.cpp150 for (JitBufferIntegrityLevel level = MIN_LEVEL; variable
151level <= MAX_LEVEL; level = static_cast<JitBufferIntegrityLevel>(static_cast<int>(level) + 1)) {
152 signer = CreateJitCodeSigner(level);
178 for (JitBufferIntegrityLevel level = MIN_LEVEL; variable
179level <= MAX_LEVEL; level = static_cast<JitBufferIntegrityLevel>(static_cast<int>(level) + 1)) {
180 signer = CreateJitCodeSigner(level);
201 for (JitBufferIntegrityLevel level = MIN_LEVEL; variable
202 level <= MAX_LEVEL;
203 level = static_cast<JitBufferIntegrityLevel>(static_cast<int>(level) + 1)) {
204 signer = CreateJitCodeSigner(level);
[all …]
/base/security/device_security_level/interfaces/inner_api/include/
Ddevice_security_info.h30 * Callback for requesting device security level information.
35 * Synchronously requests for the device security level of the local/neighbor devices.
39 * @param [out] info Information containing the device security level.
46 * Asynchronously requests for the device security level of the local/neighbor devices.
50 * @param [in] info Callback used to return the device security level information.
57 * Releases device security level information.
58 * @param info Device security level information in RequestDeviceSecurityInfo.
63 * Gets the device security level from DeviceSecurityInfo.
64 * @param [in] info Device security level information.
65 * @param [out] level Device security level.
[all …]
/base/msdp/device_status/
Dhisysevent.yaml17 __BASE: {type: STATISTIC, level: MINOR, tag: deviceStatus, desc: subscribes to the device status}
23 …__BASE: {type: STATISTIC, level: MINOR, tag: deviceStatus, desc: unsubscribes from the device stat…
29 __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: prepare coordination}
35 __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: prepare coordination}
41 __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: unprepare coordination}
46 __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: unprepare coordination}
51 __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: start remote coordination}
57 __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: start remote coordination}
63 __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: Start Remote Accordination Result}
69 __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: stop remote coordination}
[all …]
/base/powermgr/thermal_manager/services/native/include/thermal_policy/
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…
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, in…
66 …void LevelUpwardsSearch(std::vector<LevelItem>& levItems, uint32_t& level, uint32_t end, int32_t c…
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 …
69 void LevelUpwardsSearchWithThreshold(std::vector<LevelItem>& levItems, uint32_t& level,
[all …]
/base/powermgr/thermal_manager/interfaces/inner_api/native/include/
Dthermal_level_info.h25 * @brief cool level
30 * @brief NORMAL level
35 * @brief warm level
40 * @brief hot level
45 * @brief overheated level
50 * @brief warning level
55 * @brief emergency level
60 * @brief escape level
68 * @brief The thermal level changed common event code.
/base/powermgr/thermal_manager/
DREADME.md19 …temperature control functions, such as temperature detection, temperature level arbitration, and a…
57 <level>
59 <item level="1" threshold="35000" threshold_clr="33000"/>
60 <item level="2" threshold="37000" threshold_clr="35000"/>
61 <item level="3" threshold="40000" threshold_clr="38000"/>
64 <item level="1" threshold="48000,60000" threshold_clr="45000,55000"/>
66 </level>
78 <config name="warm_base" level="1">
84 <config name="warm_base" level="2">
90 <config name="warm_base" level="3">
[all …]
Dthermalmgr.yaml17 __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: device temperature information}
19 TEMPERATURE: {type: INT32, desc: device temperature level}
22 …__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: temperature control level informati…
23 LEVEL: {type: INT32, desc: temperature control level}
26 …__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: Trigger the temperature control act…
32 __BASE: {type: FAULT, level: MINOR, tag: PowerStats, desc: fan fault information}
/base/powermgr/thermal_manager/services/native/profile/
Dthermal_service_config.xml24 <level>
27 <item level="1" threshold="40000" threshold_clr="38000"/>
28 <item level="2" threshold="43000" threshold_clr="41000"/>
31 … <item level="1" threshold="40000,38000,30000,40000" threshold_clr="38000,36000,28000,38000"/>
32 … <item level="2" threshold="43000,41000,32000,42000" threshold_clr="41000,39000,30000,40000"/>
33 … <item level="3" threshold="46000,44000,34000,44000" threshold_clr="44000,42000,32000,42000"/>
34 … <item level="4" threshold="48000,46000,36000,46000" threshold_clr="46000,44000,34000,44000"/>
37 <item level="1" threshold="40000" threshold_clr="38000" aux_trigger_range="5000_35000"/>
38 <item level="2" threshold="43000" threshold_clr="41000" aux_trigger_range="5000_35000"/>
39 <item level="3" threshold="45000" threshold_clr="44000" aux_trigger_range="5000_35000"/>
[all …]
/base/powermgr/thermal_manager/test/resource/system_test/push_xml/
Dthermal_service_config.xml23 <level>
25 … <item level="1" threshold="40500,38000,30000,40000" threshold_clr="38000,36000,28000,38000"/>
26 … <item level="2" threshold="43500,41000,32000,42000" threshold_clr="41000,39000,30000,40000"/>
27 … <item level="3" threshold="46500,44000,34000,44000" threshold_clr="44000,42000,32000,42000"/>
28 … <item level="4" threshold="48500,46000,36000,46000" threshold_clr="46000,44000,34000,44000"/>
31 <item level="1" threshold="40000" threshold_clr="38000" aux_trigger_range="5000_35000"/>
32 <item level="2" threshold="43000" threshold_clr="41000" aux_trigger_range="5000_35000"/>
35 …<item level="1" threshold="75000,30000" threshold_clr="71000,28000" aux_trigger_range="0_900000,0_…
38 <item level="1" threshold="40000" threshold_clr="38000" temp_rise_rate="1.5"/>
39 <item level="2" threshold="43000" threshold_clr="41000" temp_rise_rate="1.5"/>
[all …]
/base/powermgr/battery_statistics/services/native/src/entities/
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 …sHelper::ActiveTimer> PhoneEntity::GetOrCreateTimer(StatsUtils::StatsType statsType, int16_t level) in GetOrCreateTimer() argument
[all …]
/base/powermgr/thermal_manager/application/protector/include/policy/
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_t curTemp);
[all …]
/base/telephony/core_service/
Dhisysevent.yaml17 __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: signal level}
19 LEVEL: {type: INT32, desc: signal strength level}
22 __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: network register}
29 __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: default cellular data slot id}
33 __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: sim state}
38 __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: airplane mode change event}
42 __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: vonr swtich state change event}
46 __BASE: {type: FAULT, level: CRITICAL, tag: PowerStats, desc: receive sms failed event}
54 __BASE: {type: FAULT, level: CRITICAL, tag: PowerStats, desc: send sms failed event}
62 __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: send sms event}
[all …]
/base/time/time_service/test/unittest/js_test/permission/
DSystemDateTimeGet.test.js31 * @tc.level: Level 1
50 * @tc.level: Level 1
72 * @tc.level: Level 1
91 * @tc.level: Level 1
113 * @tc.level: Level 1
133 * @tc.level: Level 1
155 * @tc.level: Level 1
173 * @tc.level: Level 1
194 * @tc.level: Level 1
211 * @tc.level: Level 1
[all …]
DSystemTimerException.test.js66 * @tc.level: Level 1
88 * @tc.level: Level 1
107 * @tc.level: Level 1
127 * @tc.level: Level 1
147 * @tc.level: Level 1
167 * @tc.level: Level 1
190 * @tc.level: Level 1
208 * @tc.level: Level 1
228 * @tc.level: Level 1
258 * @tc.level: Level 1
[all …]
DSystemTimeGet.test.js30 * @tc.level: Level 1
48 * @tc.level: Level 1
69 * @tc.level: Level 1
87 * @tc.level: Level 1
108 * @tc.level: Level 1
127 * @tc.level: Level 1
148 * @tc.level: Level 1
165 * @tc.level: Level 1
185 * @tc.level: Level 1
201 * @tc.level: Level 1
[all …]
/base/startup/init/services/begetctl/
Dsetloglevel.c28 if (argc != 2) { // 2 is set log level parameter number in SetInitLogLevelFromParam()
33 unsigned int level = strtoul(argv[1], 0, 10); // 10 is decimal in SetInitLogLevelFromParam() local
38 if ((level >= INIT_DEBUG) && (level <= INIT_FATAL)) { in SetInitLogLevelFromParam()
41 … printf("Failed to set log level by param \"persist.init.debug.loglevel\" %s. \n", argv[1]); in SetInitLogLevelFromParam()
43 … printf("Success to set log level by param \"persist.init.debug.loglevel\" %s. \n", argv[1]); in SetInitLogLevelFromParam()
46 printf("Set init log level in invailed parameter %s. \n", argv[1]); in SetInitLogLevelFromParam()
57 …printf("Success to get init log level: %s from param \"persist.init.debug.loglevel\". \n", logLeve… in GetInitLogLevelFromParam()
59 printf("Failed to get init log level from param, keep the system origin log level. \n"); in GetInitLogLevelFromParam()
67 …{"setloglevel", SetInitLogLevelFromParam, "set init log level 0:debug, 1:info, 2:warning, 3:err, 4… in MODULE_CONSTRUCTOR()
68 "setloglevel level", NULL}, in MODULE_CONSTRUCTOR()
[all …]
/base/security/device_security_level/baselib/msglib/src/standard/
Dmessenger_device_status_manager.cpp38 …eviceSecurityLevelByNetworkId(const OHOS::DistributedHardware::DmDeviceInfo &info, int32_t &level);
47 …tateReceiver = std::function<int32_t(const DeviceIdentify *devId, uint32_t status, int32_t level)>;
95 uint32_t level {0}; member
126 int32_t level = 0; in MessengerOnNodeStateChange() local
132 GetDeviceSecurityLevelByNetworkId(info, level); in MessengerOnNodeStateChange()
134 ProcessDeviceStatusReceiver(&identity, state, level); in MessengerOnNodeStateChange()
137 …tatic 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()
162 …SECURITY_LOG_INFO("OnlineStateChange device %{public}x*** change to %{public}s, level is %{public}… in ProcessDeviceStatusReceiver()
[all …]
/base/request/request/test/unittest/js_test/requestTest/
DRequestTask.test.js141 * @tc.level: Level 1
158 * @tc.level: Level 1
176 * @tc.level: Level 1
194 * @tc.level: Level 1
220 * @tc.level: Level 1
249 * @tc.level: Level 1
266 * @tc.level: Level 1
284 * @tc.level: Level 1
302 * @tc.level: Level 1
322 * @tc.level: Level 1
[all …]

12345678910>>...26