Home
last modified time | relevance | path

Searched refs:levels (Results 1 – 25 of 249) sorted by relevance

12345678910

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/
H A Dwheel.rs162 levels: Vec<Level>, field
172 let levels = (0..LEVELS_NUM).map(Level::new).collect(); in new() localVariable
176 levels, in new()
233 self.levels[level].insert(clock_entry); in insert()
241 self.levels[level].cancel(clock_entry); in cancel()
247 if let Some(expiration) = self.levels[level].next_expiration(self.elapsed()) { in next_expiration()
257 let mut handles = self.levels[expiration.level].take_slot(expiration.slot); in process_expiration()
265 self.levels[level].insert(item); in process_expiration()
450 assert_eq!(wheel.levels.len(), LEVELS_NUM); in ut_wheel_new_test()
496 for slot in lock.levels[1].slots.iter() { in ut_sleep_drop()
/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/src/
H A Ddate_time_rule.cpp76 levels["20016"] = 1; in RuleLevel()
78 levels["20014"] = 3; in RuleLevel()
80 levels["20015"] = 2; in RuleLevel()
83 levels["20016"] = 2; in RuleLevel()
85 levels["20014"] = 3; in RuleLevel()
87 levels["20015"] = 1; in RuleLevel()
205 levels[key] = level; in LoadStrToStr()
346 if (levels.find(name) != levels.end()) { in GetLevel()
347 addLeve = levels[name]; in GetLevel()
/ohos5.0/base/security/dataclassification/
H A DREADME.md18 …ferred. The table below lists the mappings between the device security levels and data risk levels.
20 **Table 1** Mappings between data risk levels and device security levels
46 …LQueryParams *queryParams, uint32_t *levelInfo); | Obtains the data risk levels supported by the d…
47 …HigestSecInfoCallback *callback); | Asynchronously obtains the data risk levels supported by the d…
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/test/unittest/src/
H A Dres_sched_client_test.cpp80 levels = level; in OnSystemloadLevel()
82 static int32_t levels; member in OHOS::ResourceSchedule::ResSchedSystemloadNotifierClientMock
85 int32_t ResSchedSystemloadNotifierClientMock::levels = 0; member in OHOS::ResourceSchedule::ResSchedSystemloadNotifierClientMock
233 EXPECT_TRUE(ResSchedSystemloadNotifierClientMock::levels == 2);
234 ResSchedSystemloadNotifierClientMock::levels = 0;
253 EXPECT_TRUE(ResSchedSystemloadNotifierClientMock::levels == 0);
/ohos5.0/base/security/device_security_level/
H A DREADME.md7 …rity Level Management (DSLM) module is introduced to manage the security levels of OpenHarmony dev…
15levels from SL1 to SL5, based on the industry standard security classification model and actual Op…
17 ![OpenHarmony device security levels](figures/ohos_device_security_level_en.png)
31 For details about the relationship between data risk levels and device security levels, see [Data T…
51 …stems/subsys-security-devicesecuritylevel.md#customizing-device-security-levels) a higher security…
57 … distributed devices, the DSLM APIs can be called to obtain the security levels of related devices…
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/render_environment/graphic/
H A Dgl_utils.cpp41 GLuint GLUtils::CreateTexture2D(GLsizei width, GLsizei height, GLsizei levels, GLenum internalForma… in CreateTexture2D() argument
47 glTexStorage2D(GL_TEXTURE_2D, levels, internalFormat, width, height); in CreateTexture2D()
94 GLuint GLUtils::CreateTexWithStorage(GLenum target, int levels, GLenum internalFormat, in CreateTexWithStorage() argument
104 glTexStorage2D(target, levels, internalFormat, width, height); in CreateTexWithStorage()
H A Dgl_utils.h30 …static GLuint CreateTexture2D(GLsizei width, GLsizei height, GLsizei levels, GLenum internalFormat,
46 …static GLuint CreateTexWithStorage(GLenum target, int levels, GLenum internalFormat, int width, in…
/ohos5.0/foundation/multimedia/av_codec/test/unittest/codeclist_test/inner/
H A Dcodeclist_inner_mock.cpp265 auto levels = profileLevelsMap.find(profile); in AreProfileAndLevelSupported() local
266 if (levels == profileLevelsMap.end()) { in AreProfileAndLevelSupported()
270 return find(levels->second.begin(), levels->second.end(), level) != levels->second.end(); in AreProfileAndLevelSupported()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/src/
H A Dsbc_frame.cpp410 uint32_t levels[VALUE_OF_TWO][VALUE8]; in UnpackFrameStream() local
415 levels[channel][subband] = (1 << bits[channel][subband]) - 1; in UnpackFrameStream()
422 if (levels[channel][subband] == 0) { in UnpackFrameStream()
442 levels[channel][subband]) - (1 << shift); in UnpackFrameStream()
560 … uint32_t (*levels)[VALUE8], uint32_t (*sampleDelta)[VALUE8]) in SbcCaculateLevelsAndSampleDelta()
564 levels[channel][subband] = ((1 << bits[channel][subband]) - 1) in SbcCaculateLevelsAndSampleDelta()
582 uint32_t levels[VALUE_OF_TWO][VALUE8] = {}; in PackFrameInternal() local
605 SbcCaculateLevelsAndSampleDelta(frame, bits, levels, sampleDelta); in PackFrameInternal()
612 audioSample = (static_cast<uint64_t>(levels[channel][subband]) * in PackFrameInternal()
/ohos5.0/foundation/multimedia/av_codec/frameworks/native/capi/common/
H A Dnative_avcapability.cpp156 … const int32_t **levels, uint32_t *levelNum) in OH_AVCapability_GetSupportedLevelsForProfile() argument
158 CHECK_AND_RETURN_RET_LOG(levels != nullptr && levelNum != nullptr, AV_ERR_INVALID_VAL, in OH_AVCapability_GetSupportedLevelsForProfile()
160 *levels = nullptr; in OH_AVCapability_GetSupportedLevelsForProfile()
191 *levels = capability->levels_; in OH_AVCapability_GetSupportedLevelsForProfile()
204 const auto &levels = profileLevelsMap.find(profile); in OH_AVCapability_AreProfileAndLevelSupported() local
205 if (levels == profileLevelsMap.end()) { in OH_AVCapability_AreProfileAndLevelSupported()
208 return find(levels->second.begin(), levels->second.end(), level) != levels->second.end(); in OH_AVCapability_AreProfileAndLevelSupported()
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/getbundleimportance_fuzzer/
H A Dgetbundleimportance_fuzzer.cpp37 uint8_t levels = *data % NOTIFICATION_LEVEL_NUM; in DoSomethingInterestingWithMyAPI() local
39 Notification::NotificationSlot::NotificationLevel(levels); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/codeclist_test/
H A Dcaps_unit_test.cpp782 const int32_t *levels = nullptr; variable
786 EXPECT_EQ(levels, nullptr);
967 const int32_t *levels = nullptr; variable
973 int32_t level = levels[j];
998 const int32_t *levels = nullptr; variable
1004 int32_t level = levels[j];
1029 const int32_t *levels = nullptr; variable
1035 int32_t level = levels[j];
1060 const int32_t *levels = nullptr; variable
1066 int32_t level = levels[j];
[all …]
/ohos5.0/base/customization/config_policy/
H A DREADME.md5 …each service module to obtain the configuration directories at different levels or the configurati…
36 …on policy component to obtain the configuration directories at different levels or the configurati…
45 …fgFiles = GetCfgFiles(cfgPath); // Obtain the configuration file paths of all configuration levels.
/ohos5.0/base/hiviewdfx/hilog/services/hilogd/include/
H A Dlog_filter.h29 uint16_t levels; member
45 std::cout << " levels: " << levels << std::endl; in Print()
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/include/
H A Dgl1ext_entries.in355 HOOK_API_ENTRY(void, glTexStorage1DEXT, GLenum target, GLsizei levels, GLenum internalformat, GLsiz…
356 CALL_HOOK_API(glTexStorage1DEXT, target, levels, internalformat, width)
358 HOOK_API_ENTRY(void, glTexStorage2DEXT, GLenum target, GLsizei levels, GLenum internalformat, GLsiz…
359 CALL_HOOK_API(glTexStorage2DEXT, target, levels, internalformat, width, height)
361 HOOK_API_ENTRY(void, glTexStorage3DEXT, GLenum target, GLsizei levels, GLenum internalformat, GLsiz…
362 CALL_HOOK_API(glTexStorage3DEXT, target, levels, internalformat, width, height, depth)
364 HOOK_API_ENTRY(void, glTextureStorage1DEXT, GLuint texture, GLenum target, GLsizei levels, GLenum i…
365 CALL_HOOK_API(glTextureStorage1DEXT, texture, target, levels, internalformat, width)
367 HOOK_API_ENTRY(void, glTextureStorage2DEXT, GLuint texture, GLenum target, GLsizei levels, GLenum i…
368 CALL_HOOK_API(glTextureStorage2DEXT, texture, target, levels, internalformat, width, height)
[all …]
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-boot-init-log.md11 - Log levels are configurable. Available log levels include INIT_DEBUG, INIT_INFO, INIT_WARN, INIT_…
23 …init logs are classified into five levels, which can be set by the **(INIT_DEBUG_LEVEL)persist.ini…
163 …In the command, set **level** to one of the following log levels: **0** (**INIT_DEBUG**), **1** (*…
165 …akes effect immediately, and log APIs can print logs only when their log levels are higher than or…
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/src/
H A Dapi_test.cpp2187 const int32_t *levels = nullptr; variable
2204 const int32_t *levels = nullptr; variable
2242 const int32_t *levels = nullptr; variable
2261 const int32_t *levels = nullptr; variable
2278 ASSERT_NE(nullptr, levels);
2281 EXPECT_EQ(levels[j], j);
2296 const int32_t *levels = nullptr; variable
2312 ASSERT_NE(nullptr, levels);
2315 EXPECT_GE(levels[j], 0);
2549 const int32_t *levels = nullptr; variable
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/codeclist_test/capi/
H A Dcodeclist_capi_mock.cpp363 const int32_t *levels = nullptr; in GetSupportedLevelsForProfile() local
365 …int32_t ret = OH_AVCapability_GetSupportedLevelsForProfile(codeclist_, profile, &levels, &levelNum… in GetSupportedLevelsForProfile()
372 std::vector<int32_t> retVector = std::vector<int32_t>(levels, levels + levelNum); in GetSupportedLevelsForProfile()
/ohos5.0/docs/en/application-dev/napi/
H A Dqos-guidelines.md13 …et performance requirements. You can prioritize tasks with different QoS levels based on their imp…
16 Currently, OpenHarmony provides six QoS levels in ascending order based on the degree of system-use…
68 …hen, thread 1 will be blocked until thread 2 is executed. Before the QoS levels of the two threads…
79 The figure above illustrates the thread execution after QoS levels are set for thread 1 and thread …
88 …of the open-source benchmark test is improved by about 13% after the QoS levels are set for key th…
/ohos5.0/base/hiviewdfx/hilog/services/hilogtool/
H A Dmain.cpp314 uint16_t levels; member
334 …fileName(""), buffSize(0), jobId(0), fileSize(0), levels(0), stream(""), fileNum(0), blackPid(fals…
343 rqst.levels = levels; in ToOutputRqst()
628 uint16_t levels = Str2ComboLogLevel(arg); in LevelHandler() local
629 if (levels == 0) { in LevelHandler()
632 context.levels = levels; in LevelHandler()
/ohos5.0/docs/en/application-dev/database/
H A Daccess-control-by-device-and-data-level.md6 …data management implements access control based on data security labels and device security levels.
13 The data can be rated into four security levels: S1, S2, S3, and S4.
25 Device security levels are classified into SL1 to SL5 based on devices' security capabilities, for …
61 …vice sync. Data cannot be synced between databases of different security levels. If you want to up…
/ohos5.0/docs/en/readme/
H A Dcustomization.md9 …o obtain the configuration directory or configuration file path at different configuration levels.|
28 …to obtain the configuration directory or configuration file path at different configuration levels.
/ohos5.0/docs/en/design/ux-design/
H A Dapp-navigation-structure-design.md17 - **Too many levels**: A maximum of three navigation levels are recommended. Too many levels may le…
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/
H A Dapi_test.cpp2010 const int32_t *levels = nullptr; variable
2024 const int32_t *levels = nullptr; variable
2028 ret = OH_AVCapability_GetSupportedLevelsForProfile(capability, 1, &levels, &levelNum);
2055 const int32_t *levels = nullptr; variable
2070 const int32_t *levels = nullptr; variable
2082 … ret = OH_AVCapability_GetSupportedLevelsForProfile(capability, profiles[i], &levels, &levelNum);
2084 ASSERT_NE(nullptr, levels);
2087 EXPECT_GE(levels[j], 0);
2100 const int32_t *levels = nullptr; variable
2114 ASSERT_NE(nullptr, levels);
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/
H A Dfunc_test.cpp1630 const int32_t *levels = nullptr; variable
1644 const int32_t *levels = nullptr; variable
1675 const int32_t *levels = nullptr; variable
1690 const int32_t *levels = nullptr; variable
1696 ASSERT_NE(nullptr, levels);
1699 ASSERT_GE(levels[i], 0);
2570 const int32_t **levels = nullptr; variable
2601 const int32_t *levels = nullptr; variable
2616 const int32_t *levels = nullptr; variable
2622 ASSERT_NE(nullptr, levels);
[all …]

12345678910