/base/security/asset/services/core_service/src/operations/ |
D | operation_update.rs | 27 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() 38 common::check_tag_validity(update, &valid_tags).is_ok() in is_only_change_local_labels() 60 common::check_required_tags(query, &QUERY_REQUIRED_ATTRS)?; in check_arguments() 61 let mut valid_tags = common::CRITICAL_LABEL_ATTRS.to_vec(); in check_arguments() 62 valid_tags.extend_from_slice(&common::NORMAL_LABEL_ATTRS); in check_arguments() 63 valid_tags.extend_from_slice(&common::NORMAL_LOCAL_LABEL_ATTRS); in check_arguments() 64 valid_tags.extend_from_slice(&common::ACCESS_CONTROL_ATTRS); in check_arguments() [all …]
|
D | operation_remove.rs | 27 use crate::operations::common; 42 let mut valid_tags = common::CRITICAL_LABEL_ATTRS.to_vec(); in check_arguments() 43 valid_tags.extend_from_slice(&common::NORMAL_LABEL_ATTRS); in check_arguments() 44 valid_tags.extend_from_slice(&common::NORMAL_LOCAL_LABEL_ATTRS); in check_arguments() 45 valid_tags.extend_from_slice(&common::ACCESS_CONTROL_ATTRS); in check_arguments() 46 valid_tags.extend_from_slice(&common::ASSET_SYNC_ATTRS); in check_arguments() 48 common::check_tag_validity(attributes, &valid_tags)?; in check_arguments() 49 common::check_value_validity(attributes)?; in check_arguments() 50 common::check_system_permission(attributes) in check_arguments() 56 let mut db_data = common::into_db_map(query); in remove() [all …]
|
D | operation_query.rs | 30 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() 65 let secret = Crypto::decrypt(&secret_key, secret, &common::build_aad(db_data)?)?; in decrypt() 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::need_upgrade(&results[0])? { in query_all() [all …]
|
D | operation_pre_query.rs | 26 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() 74 let mut db_data = common::into_db_map(query); in pre_query() 75 common::add_owner_info(calling_info, &mut db_data); in pre_query()
|
/base/hiviewdfx/hiview/plugins/performance/context/ |
D | NormalContext.cpp | 40 NormalContext::CommonParts common = MakeCommonParts(); in CreateContext() local 42 this->eventObservable = common.eventsPoster; in CreateContext() 44 InitAppStartMonitor(common); in CreateContext() 45 InitJankAnimatorMonitor(common); in CreateContext() 56 void NormalContext::InitAppStartMonitor(const NormalContext::CommonParts& common) in InitAppStartMonitor() argument 58 IMonitor* appStartMonitor = MakeAppStartMonitor(common); in InitAppStartMonitor() 73 IMonitor* NormalContext::MakeAppStartMonitor(const NormalContext::CommonParts& common) in MakeAppStartMonitor() argument 76 ITimeoutExecutor* exec = common.thr; in MakeAppStartMonitor() 77 AppTimerAdapter* sceneTimer = new AppTimerAdapter(TimerUser::APP_START, common.timerInfra); in MakeAppStartMonitor() 81 IAppStartReporter* reporter = new AppStartReporterAdapter(infrastructure, common.eventsPoster); in MakeAppStartMonitor() [all …]
|
/base/global/resource_management/frameworks/resmgr/test/ |
D | BUILD.gn | 23 "unittest/common/hap_manager_test.cpp", 24 "unittest/common/hap_parser_test.cpp", 25 "unittest/common/hap_resource_test.cpp", 26 "unittest/common/locale_info_test.cpp", 27 "unittest/common/res_config_impl_test.cpp", 28 "unittest/common/res_config_test.cpp", 29 "unittest/common/res_desc_test.cpp", 30 "unittest/common/resource_manager_performance_test.cpp", 31 "unittest/common/resource_manager_test.cpp", 32 "unittest/common/resource_manager_test_common.cpp", [all …]
|
/base/security/device_security_level/services/sa/ |
D | BUILD.gn | 14 import("//base/security/device_security_level/common/dslm.gni") 23 sources = [ "common/dslm_rpc_process.c" ] 26 "common", 29 "../../common/include", 39 "../common:service_common_obj", 45 "../../common:common_configs", 46 "../../common:common_lite_configs", 62 "common", 80 sources = [ "common/dslm_rpc_process.c" ] 83 "common", [all …]
|
/base/global/resource_management_lite/frameworks/resmgr_lite/test/ |
D | BUILD.gn | 22 "unittest/lite/common/global_test.cpp", 23 "unittest/lite/common/hap_manager_test.cpp", 24 "unittest/lite/common/hap_parser_test.cpp", 25 "unittest/lite/common/hap_resource_test.cpp", 26 "unittest/lite/common/locale_info_test.cpp", 27 "unittest/lite/common/res_config_impl_test.cpp", 28 "unittest/lite/common/res_config_test.cpp", 29 "unittest/lite/common/res_desc_test.cpp", 30 "unittest/lite/common/resource_manager_performance_test.cpp", 31 "unittest/lite/common/resource_manager_test.cpp", [all …]
|
/base/security/crypto_framework/common/ |
D | common.gni | 15 "//base/security/crypto_framework/interfaces/innerkits/common", 17 "//base/security/crypto_framework/common/inc", 21 "//base/security/crypto_framework/common/src/asy_key_params.c", 22 "//base/security/crypto_framework/common/src/blob.c", 23 "//base/security/crypto_framework/common/src/utils.c", 24 "//base/security/crypto_framework/common/src/log.c", 25 "//base/security/crypto_framework/common/src/memory.c", 26 "//base/security/crypto_framework/common/src/hcf_parcel.c", 27 "//base/security/crypto_framework/common/src/hcf_string.c", 28 "//base/security/crypto_framework/common/src/params_parser.c", [all …]
|
/base/security/device_security_level/oem_property/ohos/lite/ |
D | BUILD.gn | 14 import("//base/security/device_security_level/common/dslm.gni") 19 "../common/dslm_ohos_request.c", 20 "../common/dslm_ohos_verify.c", 21 "../common/external_interface_adapter.c", 22 "../common/hks_adapter.c", 29 "../common", 30 "../../common", 32 "../../../common/include", 39 "../../common:oem_common_obj", 52 "../../../common:common_configs", [all …]
|
/base/update/updater/services/flashd/ |
D | BUILD.gn | 22 "${hdc_base}/src/common/base.cpp", 23 "${hdc_base}/src/common/channel.h", 24 "${hdc_base}/src/common/session.h", 25 "${hdc_base}/src/common/transfer.h", 55 "${HDC_PATH}/common/async_cmd.cpp", 56 "${HDC_PATH}/common/auth.cpp", 57 "${HDC_PATH}/common/base.cpp", 58 "${HDC_PATH}/common/channel.cpp", 59 "${HDC_PATH}/common/circle_buffer.cpp", 60 "${HDC_PATH}/common/debug.cpp", [all …]
|
/base/hiviewdfx/faultloggerd/test/unittest/common/ |
D | BUILD.gn | 28 "$faultloggerd_interfaces_path/common", 29 "$faultloggerd_path/common/dfxlog", 30 "$faultloggerd_path/common/dfxutil", 36 "$faultloggerd_path/common/dfxlog:dfx_hilog", 37 "$faultloggerd_path/common/dfxutil:dfx_util", 55 "$faultloggerd_interfaces_path/common", 56 "$faultloggerd_path/common/cutil", 57 "$faultloggerd_path/common/dfxlog", 58 "$faultloggerd_path/common/dfxutil", 62 module_output_path = "faultloggerd/common" [all …]
|
/base/update/updater/services/ui/view/component/ |
D | component_common.h | 54 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/ |
D | hiview_event.c | 58 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.mark == 0) { in HiEventPutInteger() [all …]
|
/base/update/update_app/feature/ota/src/main/ets/notify/ |
D | NotificationManager.ts | 16 import type common from '@ohos.app.ability.common'; alias 42 static async handleAction(action: string, context: common.Context): Promise<boolean> { 55 private static handleCheckAction(context: common.Context): void { 60 private static async handleDetailAction(context: common.Context): Promise<void> { 69 public static async startToNewVersion(context: common.Context): Promise<void> { 75 private static startAbility(uri: string, context: common.Context): void {
|
/base/update/updater/test/unittest/flashd_test/ |
D | BUILD.gn | 28 "${HDC_PATH}/common/async_cmd.cpp", 29 "${HDC_PATH}/common/auth.cpp", 30 "${HDC_PATH}/common/base.cpp", 31 "${HDC_PATH}/common/channel.cpp", 32 "${HDC_PATH}/common/circle_buffer.cpp", 33 "${HDC_PATH}/common/debug.cpp", 34 "${HDC_PATH}/common/file.cpp", 35 "${HDC_PATH}/common/file_descriptor.cpp", 36 "${HDC_PATH}/common/forward.cpp", 37 "${HDC_PATH}/common/session.cpp", [all …]
|
/base/update/update_app/feature/ota/src/main/ets/dialog/ |
D | DialogUtils.ts | 16 import type common from '@ohos.app.ability.common'; alias 34 descriptor.value = function (context: common.Context, otaStatus: OtaStatus, 54 function startMainAbilityIndex(context: common.Context): void { 110 static showDownloadNotEnoughSpaceDialog(context: common.Context, otaStatus: OtaStatus, 122 static showDownloadNoNetworkDialog(context: common.Context, otaStatus: OtaStatus, 134 …static showVerifyFailDialog(context: common.Context, otaStatus: OtaStatus, eventId?: update.EventI… 145 …static showDownloadFailDialog(context: common.Context, otaStatus: OtaStatus, eventId?: update.Even… 156 static showUpgradeNotEnoughSpaceDialog(context: common.Context, otaStatus: OtaStatus, 168 static showUpgradeNotEnoughBatteryDialog(context: common.Context, otaStatus: OtaStatus, 180 …static showUpgradeFailDialog(context: common.Context, otaStatus: OtaStatus, eventId?: update.Event…
|
/base/security/access_token/test/fuzztest/services/privacy/addpermissionusedrecordstub_fuzzer/ |
D | BUILD.gn | 35 "${access_token_path}/frameworks/common/include", 40 "${access_token_path}/services/privacymanager/include/common", 47 "${access_token_path}/services/common/ability_manager/include", 48 "${access_token_path}/services/common/app_manager/include", 49 "${access_token_path}/services/common/database/include", 50 "${access_token_path}/services/common/libraryloader/include", 51 "${access_token_path}/services/common/power_manager/include", 52 "${access_token_path}/services/common/screenlock_manager/include", 56 "${access_token_path}/services/common/app_manager/src/app_manager_access_client.cpp", 57 "${access_token_path}/services/common/app_manager/src/app_manager_access_proxy.cpp", [all …]
|
/base/security/access_token/test/fuzztest/services/privacy/getspecialseccompenhancestub_fuzzer/ |
D | BUILD.gn | 35 "${access_token_path}/frameworks/common/include", 40 "${access_token_path}/services/privacymanager/include/common", 48 "${access_token_path}/services/common/ability_manager/include", 49 "${access_token_path}/services/common/app_manager/include", 50 "${access_token_path}/services/common/database/include", 51 "${access_token_path}/services/common/libraryloader/include", 52 "${access_token_path}/services/common/power_manager/include", 53 "${access_token_path}/services/common/screenlock_manager/include", 57 "${access_token_path}/services/common/app_manager/src/app_manager_access_client.cpp", 58 "${access_token_path}/services/common/app_manager/src/app_manager_access_proxy.cpp", [all …]
|
/base/security/access_token/test/fuzztest/services/privacy/getpermissionusedtypeinfosstub_fuzzer/ |
D | BUILD.gn | 35 "${access_token_path}/frameworks/common/include", 40 "${access_token_path}/services/privacymanager/include/common", 47 "${access_token_path}/services/common/ability_manager/include", 48 "${access_token_path}/services/common/app_manager/include", 49 "${access_token_path}/services/common/database/include", 50 "${access_token_path}/services/common/libraryloader/include", 51 "${access_token_path}/services/common/power_manager/include", 52 "${access_token_path}/services/common/screenlock_manager/include", 57 "${access_token_path}/services/common/app_manager/src/app_manager_access_client.cpp", 58 "${access_token_path}/services/common/app_manager/src/app_manager_access_proxy.cpp", [all …]
|
/base/security/access_token/test/fuzztest/services/privacy/stopusingpermissionstub_fuzzer/ |
D | BUILD.gn | 35 "${access_token_path}/frameworks/common/include", 40 "${access_token_path}/services/privacymanager/include/common", 47 "${access_token_path}/services/common/ability_manager/include", 48 "${access_token_path}/services/common/app_manager/include", 49 "${access_token_path}/services/common/database/include", 50 "${access_token_path}/services/common/libraryloader/include", 51 "${access_token_path}/services/common/power_manager/include", 52 "${access_token_path}/services/common/screenlock_manager/include", 56 "${access_token_path}/services/common/app_manager/src/app_manager_access_client.cpp", 57 "${access_token_path}/services/common/app_manager/src/app_manager_access_proxy.cpp", [all …]
|
/base/security/access_token/test/fuzztest/services/privacy/getpermissionusedrecordsasyncstub_fuzzer/ |
D | BUILD.gn | 35 "${access_token_path}/frameworks/common/include", 40 "${access_token_path}/services/privacymanager/include/common", 47 "${access_token_path}/services/common/ability_manager/include", 48 "${access_token_path}/services/common/app_manager/include", 49 "${access_token_path}/services/common/database/include", 50 "${access_token_path}/services/common/libraryloader/include", 51 "${access_token_path}/services/common/power_manager/include", 52 "${access_token_path}/services/common/screenlock_manager/include", 56 "${access_token_path}/services/common/app_manager/src/app_manager_access_client.cpp", 57 "${access_token_path}/services/common/app_manager/src/app_manager_access_proxy.cpp", [all …]
|
/base/security/access_token/test/fuzztest/services/privacy/getseccompenhancestub_fuzzer/ |
D | BUILD.gn | 35 "${access_token_path}/frameworks/common/include", 40 "${access_token_path}/services/privacymanager/include/common", 48 "${access_token_path}/services/common/ability_manager/include", 49 "${access_token_path}/services/common/app_manager/include", 50 "${access_token_path}/services/common/database/include", 51 "${access_token_path}/services/common/libraryloader/include", 52 "${access_token_path}/services/common/power_manager/include", 53 "${access_token_path}/services/common/screenlock_manager/include", 57 "${access_token_path}/services/common/app_manager/src/app_manager_access_client.cpp", 58 "${access_token_path}/services/common/app_manager/src/app_manager_access_proxy.cpp", [all …]
|
/base/security/access_token/test/fuzztest/services/privacy/getpermissionusedrecordsstub_fuzzer/ |
D | BUILD.gn | 35 "${access_token_path}/frameworks/common/include", 40 "${access_token_path}/services/privacymanager/include/common", 47 "${access_token_path}/services/common/ability_manager/include", 48 "${access_token_path}/services/common/app_manager/include", 49 "${access_token_path}/services/common/database/include", 50 "${access_token_path}/services/common/libraryloader/include", 51 "${access_token_path}/services/common/power_manager/include", 52 "${access_token_path}/services/common/screenlock_manager/include", 56 "${access_token_path}/services/common/app_manager/src/app_manager_access_client.cpp", 57 "${access_token_path}/services/common/app_manager/src/app_manager_access_proxy.cpp", [all …]
|
/base/security/access_token/test/fuzztest/services/privacy/unregisterpermactivestatuscallbackstub_fuzzer/ |
D | BUILD.gn | 35 "${access_token_path}/frameworks/common/include", 40 "${access_token_path}/services/privacymanager/include/common", 47 "${access_token_path}/services/common/ability_manager/include", 48 "${access_token_path}/services/common/app_manager/include", 49 "${access_token_path}/services/common/database/include", 50 "${access_token_path}/services/common/libraryloader/include", 51 "${access_token_path}/services/common/power_manager/include", 52 "${access_token_path}/services/common/screenlock_manager/include", 59 "${access_token_path}/services/common/app_manager/src/app_manager_access_client.cpp", 60 "${access_token_path}/services/common/app_manager/src/app_manager_access_proxy.cpp", [all …]
|