Home
last modified time | relevance | path

Searched refs:common (Results 1 - 25 of 46) sorted by relevance

12

/base/security/asset/services/core_service/src/operations/
H A Doperation_update.rs27 use crate::operations::common;
30 let secret_key = common::build_secret_key(calling_info, db_data)?; in encrypt()
32 let cipher = Crypto::encrypt(&secret_key, secret, &common::build_aad(db_data)?)?; in encrypt()
37 let valid_tags = common::NORMAL_LOCAL_LABEL_ATTRS.to_vec(); in is_only_change_local_labels()
70 common::check_required_tags(query, &QUERY_REQUIRED_ATTRS)?; in check_arguments()
71 let mut valid_tags = common::CRITICAL_LABEL_ATTRS.to_vec(); in check_arguments()
72 valid_tags.extend_from_slice(&common::NORMAL_LABEL_ATTRS); in check_arguments()
73 valid_tags.extend_from_slice(&common::NORMAL_LOCAL_LABEL_ATTRS); in check_arguments()
74 valid_tags.extend_from_slice(&common::ACCESS_CONTROL_ATTRS); in check_arguments()
75 common in check_arguments()
[all...]
H A Doperation_remove.rs27 use crate::operations::common;
40 let mut valid_tags = common::CRITICAL_LABEL_ATTRS.to_vec(); in check_arguments()
41 valid_tags.extend_from_slice(&common::NORMAL_LABEL_ATTRS); in check_arguments()
42 valid_tags.extend_from_slice(&common::NORMAL_LOCAL_LABEL_ATTRS); in check_arguments()
43 valid_tags.extend_from_slice(&common::ACCESS_CONTROL_ATTRS); in check_arguments()
44 valid_tags.extend_from_slice(&common::ASSET_SYNC_ATTRS); in check_arguments()
45 common::check_tag_validity(attributes, &valid_tags)?; in check_arguments()
46 common::check_value_validity(attributes)?; in check_arguments()
47 common::check_system_permission(attributes) in check_arguments()
53 let mut db_data = common
[all...]
H A Doperation_query.rs30 use crate::operations::common;
35 let map = common::into_asset_map(db_result); in into_asset_maps()
36 common::check_value_validity(&map)?; in into_asset_maps()
45 let secret_key = common::build_secret_key(calling_info, db_data)?; in upgrade_version()
46 let cipher = Crypto::encrypt(&secret_key, secret, &common::build_aad(db_data)?)?; in upgrade_version()
64 let secret_key = common::build_secret_key(calling_info, db_data)?; in decrypt_secret()
65 let secret = Crypto::decrypt(&secret_key, secret, &common::build_aad(db_data)?)?; in decrypt_secret()
71 common::check_required_tags(query, &AUTH_QUERY_ATTRS)?; in exec_crypto()
80 let secret = crypto.exec_crypt(secret, &common::build_aad(db_data)?, auth_token)?; in exec_crypto()
100 if common in query_all()
[all...]
H A Doperation_pre_query.rs26 use crate::operations::common;
32 let mut valid_tags = common::CRITICAL_LABEL_ATTRS.to_vec(); in check_arguments()
33 valid_tags.extend_from_slice(&common::NORMAL_LABEL_ATTRS); in check_arguments()
34 valid_tags.extend_from_slice(&common::NORMAL_LOCAL_LABEL_ATTRS); in check_arguments()
35 valid_tags.extend_from_slice(&common::ACCESS_CONTROL_ATTRS); in check_arguments()
38 common::check_tag_validity(attributes, &valid_tags)?; in check_arguments()
39 common::check_value_validity(attributes)?; in check_arguments()
40 common::check_system_permission(attributes)?; in check_arguments()
70 let mut db_data = common::into_db_map(query);
71 common
[all...]
H A Doperation_add.rs33 use crate::operations::common;
36 let secret_key = common::build_secret_key(calling_info, db_data)?; in encrypt_secret()
40 let cipher = Crypto::encrypt(&secret_key, secret, &common::build_aad(db_data)?)?; in encrypt_secret()
133 common::check_required_tags(attributes, &REQUIRED_ATTRS)?; in check_arguments()
135 let mut valid_tags = common::CRITICAL_LABEL_ATTRS.to_vec(); in check_arguments()
136 valid_tags.extend_from_slice(&common::NORMAL_LABEL_ATTRS); in check_arguments()
137 valid_tags.extend_from_slice(&common::NORMAL_LOCAL_LABEL_ATTRS); in check_arguments()
138 valid_tags.extend_from_slice(&common::ACCESS_CONTROL_ATTRS); in check_arguments()
139 valid_tags.extend_from_slice(&common::ASSET_SYNC_ATTRS); in check_arguments()
141 common in check_arguments()
[all...]
H A Doperation_post_query.rs22 use crate::operations::common;
28 common::check_required_tags(query, &REQUIRED_ATTRS)?; in check_arguments()
32 common::check_system_permission(query)?; in check_arguments()
33 common::check_value_validity(query) in check_arguments()
/base/hiviewdfx/hiview/plugins/performance/context/
H A DNormalContext.cpp42 NormalContext::CommonParts common = MakeCommonParts(); in CreateContext() local
44 this->eventObservable = common.eventsPoster; in CreateContext()
46 InitAppStartMonitor(common); in CreateContext()
47 InitJankAnimatorMonitor(common); in CreateContext()
58 void NormalContext::InitAppStartMonitor(const NormalContext::CommonParts& common) in InitAppStartMonitor() argument
60 IMonitor* appStartMonitor = MakeAppStartMonitor(common); in InitAppStartMonitor()
75 IMonitor* NormalContext::MakeAppStartMonitor(const NormalContext::CommonParts& common) in MakeAppStartMonitor() argument
78 ITimeoutExecutor* exec = common.thr; in MakeAppStartMonitor()
79 AppTimerAdapter* sceneTimer = new AppTimerAdapter(TimerUser::APP_START, common.timerInfra); in MakeAppStartMonitor()
83 IAppStartReporter* reporter = new AppStartReporterAdapter(infrastructure, common in MakeAppStartMonitor()
90 InitJankAnimatorMonitor(const NormalContext::CommonParts& common) InitJankAnimatorMonitor() argument
98 MakeJankAnimatorMonitor(const NormalContext::CommonParts& common) MakeJankAnimatorMonitor() argument
[all...]
H A DNormalContext.h47 void InitAppStartMonitor(const CommonParts& common);
48 IMonitor* MakeAppStartMonitor(const CommonParts& common);
49 void InitJankAnimatorMonitor(const CommonParts& common);
50 IMonitor* MakeJankAnimatorMonitor(const CommonParts& common);
/base/update/updater/services/ui/view/component/
H A Dcomponent_common.h54 void SetViewCommonInfo(const UxViewCommonInfo &common) in SetViewCommonInfo() argument
56 viewId_ = common.id; in SetViewCommonInfo()
58 child->SetPosition(common.x, common.y, common.w, common.h); in SetViewCommonInfo()
59 child->SetVisible(common.visible); in SetViewCommonInfo()
/base/hiviewdfx/hievent_lite/frameworks/
H A Dhiview_event.c58 e.common.mark = EVENT_INFO_HEAD; in HiEventPrintf()
59 e.common.eventId = eventId; in HiEventPrintf()
60 e.common.time = (uint32)(HIVIEW_GetCurrentTime() / MS_PER_SECOND); in HiEventPrintf()
63 e.common.len = 0; in HiEventPrintf()
66 e.common.len = HiEventEncode((uint8)key, value, 1, encodeBuffer); in HiEventPrintf()
88 event->common.mark = num; in HiEventCreate()
89 event->common.eventId = eventId; in HiEventCreate()
90 event->common.time = (uint32)(HIVIEW_GetCurrentTime() / MS_PER_SECOND); in HiEventCreate()
91 event->common.len = 0; in HiEventCreate()
100 key < 0 || event->common in HiEventPutInteger()
[all...]
H A Dhiview_output_event.c238 event->common.eventId = Change16Endian(event->common.eventId); in OutputEvent()
239 event->common.time = Change32Endian(event->common.time); in OutputEvent()
243 if ((c->usedSize + sizeof(HiEventCommon) + event->common.len) > EVENT_CACHE_SIZE) { in OutputEvent()
246 } else if (WriteToCache(c, (uint8 *)&(event->common), sizeof(HiEventCommon)) == sizeof(HiEventCommon)) { in OutputEvent()
247 WriteToCache(c, event->payload, event->common.len); in OutputEvent()
269 if ((c->usedSize + sizeof(HiEventCommon) + event->common.len) > EVENT_CACHE_SIZE) { in OutputEvent()
270 if (WriteToCache(c, (uint8 *)&(event->common), sizeof(HiEventCommon)) == sizeof(HiEventCommon)) { in OutputEvent()
271 WriteToCache(c, event->payload, event->common in OutputEvent()
[all...]
/base/powermgr/battery_manager/charger/src/
H A Danimation_config.cpp63 info.common.type = ANIMATION_COM_LABEL; in ParseAnimationLabel()
65 info.common.id = component.at("id").get<std::string>(); in ParseAnimationLabel()
71 info.common.x = component.at("x").get<int>(); in ParseAnimationLabel()
74 info.common.y = component.at("y").get<int>(); in ParseAnimationLabel()
77 info.common.w = component.at("w").get<int>(); in ParseAnimationLabel()
80 info.common.h = component.at("h").get<int>(); in ParseAnimationLabel()
98 info.common.type = ANIMATION_COM_IMAGEVIEW; in ParseAnimationImage()
100 info.common.id = component.at("id").get<std::string>(); in ParseAnimationImage()
103 info.common.x = component.at("x").get<int>(); in ParseAnimationImage()
106 info.common in ParseAnimationImage()
[all...]
H A Dcharger_animation.cpp21 #include "common/graphic_startup.h"
22 #include "common/screen.h"
76 label->SetViewId(info.common.id.c_str()); in InitLabel()
77 label->SetPosition(info.common.x, info.common.y, info.common.w, info.common.h); in InitLabel()
82 label->SetVisible(info.common.visible); in InitLabel()
89 animatorImage->SetViewId(info.common.id.c_str()); in InitImageView()
90 animatorImage->SetPosition(info.common in InitImageView()
[all...]
/base/hiviewdfx/hiview_lite/
H A Dhiview_file.c58 FileHeaderCommon *pCommon = &(pHeader->common); in InitHiviewFile()
108 tmpHeader.common.prefix = Change32Endian(tmpHeader.common.prefix); in WriteFileHeader()
109 tmpHeader.common.defineFileVersion = Change32Endian(tmpHeader.common.defineFileVersion); in WriteFileHeader()
135 h.common.prefix = Change32Endian(h.common.prefix); in ReadFileHeader()
136 h.common.defineFileVersion = Change32Endian(h.common.defineFileVersion); in ReadFileHeader()
142 ((h.common in ReadFileHeader()
[all...]
H A Dhiview_file.h79 FileHeaderCommon common; member
/base/security/asset/frameworks/os_dependency/file/src/
H A Dlib.rs19 pub mod common; modules
H A Dde_operator.rs22 use crate::common::{get_user_dbs, is_file_exist};
/base/powermgr/battery_manager/charger/include/
H A Danimation_config.h45 struct CommonInfo common; member
53 struct CommonInfo common; member
/base/security/asset/test/unittest/inner_kits_rust/src/
H A Dmain.rs17 mod common; modules
H A Dpost_query.rs16 use crate::common::*;
H A Dremove.rs16 use crate::common::*;
/base/security/asset/services/core_service/src/
H A Doperations.rs18 mod common; modules
/base/startup/appspawn/etc/sandbox/
H A Dappdata_sandbox_fixer.py30 "common" : [{
234 # 处理common
235 common = data.get("common")
236 if common is not None and len(common) > 0:
237 _merge_scope_common(origin_json.get("common")[0], common[0])
/base/update/updater/test/unittest/updater_ui_test/view/
H A Dui_component_unittest.cpp22 #include "common/task_manager.h"
44 void CheckCommInfo(OHOS::UIView &view, const UxViewCommonInfo &common) in CheckCommInfo() argument
46 EXPECT_EQ(view.GetX(), common.x); in CheckCommInfo()
47 EXPECT_EQ(view.GetY(), common.x); in CheckCommInfo()
48 EXPECT_EQ(view.GetWidth(), common.w); in CheckCommInfo()
49 EXPECT_EQ(view.GetHeight(), common.h); in CheckCommInfo()
50 EXPECT_STREQ(view.GetViewId(), common.id.c_str()); in CheckCommInfo()
51 EXPECT_EQ(view.IsVisible(), common.visible); in CheckCommInfo()
/base/powermgr/powermgr_lite/frameworks/include/
H A Drunning_lock_entry.h19 #include <common.h>

Completed in 8 milliseconds

12