Home
last modified time | relevance | path

Searched refs:extension (Results 1 – 21 of 21) sorted by relevance

/base/customization/enterprise_device_management/framework/extension/src/
Denterprise_admin_stub_impl.cpp24 auto extension = extension_.lock(); in OnAdminEnabled() local
25 if (extension != nullptr) { in OnAdminEnabled()
26 extension->OnAdminEnabled(); in OnAdminEnabled()
34 auto extension = extension_.lock(); in OnAdminDisabled() local
35 if (extension != nullptr) { in OnAdminDisabled()
36 extension->OnAdminDisabled(); in OnAdminDisabled()
44 auto extension = extension_.lock(); in OnBundleAdded() local
45 if (extension != nullptr) { in OnBundleAdded()
46 extension->OnBundleAdded(bundleName); in OnBundleAdded()
54 auto extension = extension_.lock(); in OnBundleRemoved() local
[all …]
/base/notification/common_event_service/services/src/
Dstatic_subscriber_manager.cpp80 for (auto extension : extensions) { in InitValidSubscribers() local
81 …if (find(subscriberList_.begin(), subscriberList_.end(), extension.bundleName) == subscriberList_.… in InitValidSubscribers()
84 EVENT_LOGI("find legal extension, bundlename = %{public}s", extension.bundleName.c_str()); in InitValidSubscribers()
85 AddSubscriber(extension); in InitValidSubscribers()
253 void StaticSubscriberManager::AddSubscriber(const AppExecFwk::ExtensionAbilityInfo &extension) in AddSubscriber() argument
255 EVENT_LOGI("enter, subscriber bundlename = %{public}s", extension.bundleName.c_str()); in AddSubscriber()
258 …if (!DelayedSingleton<BundleManagerHelper>::GetInstance()->GetResConfigFile(extension, profileInfo… in AddSubscriber()
265 extension.applicationInfo.uid, userId) != ERR_OK) { in AddSubscriber()
266 … EVENT_LOGE("GetOsAccountLocalIdFromUid failed, uid = %{public}d", extension.applicationInfo.uid); in AddSubscriber()
269 ParseEvents(extension.name, extension.bundleName, userId, profile); in AddSubscriber()
[all …]
Dbundle_manager_helper.cpp98 bool BundleManagerHelper::GetResConfigFile(const AppExecFwk::ExtensionAbilityInfo &extension, in GetResConfigFile() argument
111 return client.GetResConfigFile(extension, META_NAME_STATIC_SUBSCRIBER, profileInfos); in GetResConfigFile()
/base/customization/enterprise_device_management/framework/extension/include/
Denterprise_admin_stub_impl.h28 explicit EnterpriseAdminStubImpl(const std::shared_ptr<JsEnterpriseAdminExtension>& extension) in EnterpriseAdminStubImpl() argument
29 : extension_(extension) {} in EnterpriseAdminStubImpl()
/base/inputmethod/imf/frameworks/kits/extension/
DBUILD.gn22 "${inputmethod_path}/frameworks/kits/extension/include",
62 "${inputmethod_path}/frameworks/kits/extension/include",
87 "${inputmethod_path}/frameworks/kits/extension/include",
95 "${inputmethod_path}/frameworks/kits/extension/src/inputmethod_extension.cpp",
96 "${inputmethod_path}/frameworks/kits/extension/src/inputmethod_extension_context.cpp",
97 "${inputmethod_path}/frameworks/kits/extension/src/js_inputmethod_extension.cpp",
98 "${inputmethod_path}/frameworks/kits/extension/src/js_inputmethod_extension_context.cpp",
138 …sources = [ "${inputmethod_path}/frameworks/kits/extension/src/inputmethod_extension_module_loader…
/base/theme/wallpaper_mgr/frameworks/kits/extension/
DBUILD.gn23 "//base/theme/wallpaper_mgr/frameworks/kits/extension/include",
65 "//base/theme/wallpaper_mgr/frameworks/kits/extension/include",
91 "//base/theme/wallpaper_mgr/frameworks/kits/extension/include",
96 "//base/theme/wallpaper_mgr/frameworks/kits/extension/src/js_wallpaper_extension.cpp",
97 "//base/theme/wallpaper_mgr/frameworks/kits/extension/src/js_wallpaper_extension_context.cpp",
98 "//base/theme/wallpaper_mgr/frameworks/kits/extension/src/wallpaper_extension.cpp",
99 "//base/theme/wallpaper_mgr/frameworks/kits/extension/src/wallpaper_extension_context.cpp",
144 …sources = [ "//base/theme/wallpaper_mgr/frameworks/kits/extension/src/wallpaper_extension_module_l…
/base/usb/usb_manager/frameworks/dialog/dialog_ui/usb_right_dialog/src/main/ets/ServiceExtAbility/
DUsbDialogAbility.ts16 import extension from '@ohos.app.ability.ServiceExtensionAbility';
32 export default class UsbDialogAbility extends extension {
/base/notification/distributed_notification_service/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/ServiceExtAbility/
DNotificationServiceExtAbility.ts16 import extension from '@ohos.app.ability.ServiceExtensionAbility';
21 export default class NotificationDialogServiceExtensionAbility extends extension {
/base/notification/common_event_service/services/include/
Dstatic_subscriber_manager.h70 void AddSubscriber(const AppExecFwk::ExtensionAbilityInfo &extension);
71 void AddToValidSubscribers(const std::string &eventName, const StaticSubscriberInfo &extension);
Dbundle_manager_helper.h82 …bool GetResConfigFile(const AppExecFwk::ExtensionAbilityInfo &extension, std::vector<std::string> …
/base/global/i18n/frameworks/intl/src/
Dlocale_config.cpp889 void parseExtension(const std::string &extension, std::map<std::string, std::string> &map) in parseExtension() argument
894 …std::regex_token_iterator<std::string::const_iterator> begin1(extension.cbegin(), extension.cend()… in parseExtension()
895 …std::regex_token_iterator<std::string::const_iterator> begin2(extension.cbegin(), extension.cend()… in parseExtension()
902 void setExtension(std::string &extension, const std::string &tag, const std::set<string> &validValu… in setExtension() argument
913 extension += tag; in setExtension()
914 extension += value; in setExtension()
923 extension += tag; in setExtension()
924 extension += value; in setExtension()
930 void setOtherExtension(std::string &extension, std::map<std::string, std::string> &extensionMap, in setOtherExtension() argument
951 extension += it->first; in setOtherExtension()
[all …]
/base/inputmethod/imf/services/src/
Dinput_method_system_ability.cpp720 for (auto extension : extensionInfos) { in ListInputMethodInfo() local
727 AppExecFwk::ApplicationInfo applicationInfo = extension.applicationInfo; in ListInputMethodInfo()
728 … std::string path = extension.hapPath.empty() ? extension.resourcePath : extension.hapPath; in ListInputMethodInfo()
735 property.mPackageName = Str8ToStr16(extension.bundleName); in ListInputMethodInfo()
736 property.mAbilityName = Str8ToStr16(extension.name); in ListInputMethodInfo()
755 for (const auto &extension : extensionInfos) { in ListProperty() local
758 if (extension.bundleName == prop.name) { in ListProperty()
766 props.push_back({ .name = extension.bundleName, in ListProperty()
767 .id = extension.name, in ListProperty()
768 .label = extension.applicationInfo.label, in ListProperty()
[all …]
/base/security/appverify/interfaces/innerkits/appverify/src/init/
Dtrusted_ticket_manager.cpp151 for (auto extension : ticketSourceInfo.critialcalCertExtension) { in EncapTrustedTicketSourceString() local
152 info += extension + ", "; in EncapTrustedTicketSourceString()
Dtrusted_source_manager.cpp188 for (auto extension : appSourceInfo.critialcalCertExtension) { in EncapTrustedAppSourceString() local
189 info += extension + ", "; in EncapTrustedAppSourceString()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_attest.c609 …ic int32_t CreateAttestExtension(const struct HksAttestSpec *attestSpec, struct HksBlob *extension) in CreateAttestExtension() argument
615 if (memcpy_s(extension->data, extension->size, extensionTmpl.data, extensionTmpl.size) != EOK) { in CreateAttestExtension()
622 extension->data[ATTESTATION_KEY_USAGE_OFFSET] = usage; in CreateAttestExtension()
623 extension->data[ATTESTATION_KEY_USAGE_OFFSET - 1] = unusedBits; in CreateAttestExtension()
626 struct HksBlob tmp = *extension; in CreateAttestExtension()
637 .data = extension->data + usageOffset in CreateAttestExtension()
639 return HksAsn1WriteFinal(extension, &seqValue); in CreateAttestExtension()
725 struct HksBlob extension = { EXT_MAX_SIZE + attestSpec->claims.size, extBuf }; in CreateTbs() local
726 ret = CreateAttestExtension(attestSpec, &extension); in CreateTbs()
733 struct HksAsn1Blob extBlob = { ASN_1_TAG_TYPE_CTX_SPEC3, extension.size, extension.data }; in CreateTbs()
/base/customization/enterprise_device_management/framework/extension/
DBUILD.gn17 ROOT = "${SUBSYSTEM_DIR}/framework/extension"
/base/notification/common_event_service/services/test/unittest/mock/
Dmock_bundle_manager_helper.cpp221 bool BundleManagerHelper::GetResConfigFile(const AppExecFwk::ExtensionAbilityInfo &extension, in GetResConfigFile() argument
/base/customization/enterprise_device_management/services/edm/
DBUILD.gn25 "$SUBSYSTEM_DIR/framework/extension/include",
/base/notification/common_event_service/services/test/unittest/
Dcommon_event_subscribe_unit_test.cpp497 OHOS::AppExecFwk::ExtensionAbilityInfo extension; variable
500 bool result = bundleManagerHelper.GetResConfigFile(extension, profileInfos);
/base/theme/wallpaper_mgr/
DREADME_ZH.md223 **表 2** 应用extension的主要接口
234 …4812149"><a name="p18761104812149"></a><a name="p18761104812149"></a>wallpaper extension 初始化的回调</p>
250 …104812149"><a name="p18761104812149"></a><a name="p18761104812149"></a>wallpaper extension 销毁回调</p>
/base/request/request/
DREADME.md165 …Type of the file content. By default, the type is obtained based on the extension of the file name…