Home
last modified time | relevance | path

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

123

/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/telephony/telephony_data/common/src/
Dtelephony_datashare_stub_impl.cpp34 void TelephonyDataShareStubImpl::SetOpKeyAbility(std::shared_ptr<DataShareExtAbility> extension) in SetOpKeyAbility() argument
37 opKeyAbility_ = extension; in SetOpKeyAbility()
40 …id TelephonyDataShareStubImpl::SetPdpProfileAbility(std::shared_ptr<DataShareExtAbility> extension) in SetPdpProfileAbility() argument
43 pdpProfileAbility_ = extension; in SetPdpProfileAbility()
46 void TelephonyDataShareStubImpl::SetSimAbility(std::shared_ptr<DataShareExtAbility> extension) in SetSimAbility() argument
49 simAbility_ = extension; in SetSimAbility()
52 void TelephonyDataShareStubImpl::SetSmsMmsAbility(std::shared_ptr<DataShareExtAbility> extension) in SetSmsMmsAbility() argument
55 smsMmsAbility_ = extension; in SetSmsMmsAbility()
58 … TelephonyDataShareStubImpl::SetGlobalParamsAbility(std::shared_ptr<DataShareExtAbility> extension) in SetGlobalParamsAbility() argument
61 globalParamsAbility_ = extension; in SetGlobalParamsAbility()
[all …]
/base/theme/wallpaper_mgr/utils/src/
Dfile_deal.cpp96 std::string extension = ""; in GetExtension() local
106 extension = filename.substr(pos); in GetExtension()
107 std::transform(extension.begin(), extension.end(), extension.begin(), ::tolower); in GetExtension()
109 return extension; in GetExtension()
133 std::string extension = file.extension().string(); in IsZipFile() local
134 if (extension == ".zip") { in IsZipFile()
/base/notification/common_event_service/frameworks/extension/src/
Dstatic_subscriber_stub_impl.cpp25 auto extension = extension_.lock(); in OnReceiveEvent() local
27 if (extension != nullptr) { in OnReceiveEvent()
28 extension->OnReceiveEvent(commonEventData); in OnReceiveEvent()
/base/notification/common_event_service/frameworks/extension/test/static_subscriber_stub_imp_test/
Dstatic_subscriber_stub_imp_test.cpp64 …std::shared_ptr<JsStaticSubscriberExtension> extension = std::make_shared<JsStaticSubscriberExtens… variable
66 sptr<StaticSubscriberStubImpl> object = new (std::nothrow) StaticSubscriberStubImpl(extension);
81 const std::shared_ptr<JsStaticSubscriberExtension> extension; variable
82 sptr<StaticSubscriberStubImpl> object = new (std::nothrow) StaticSubscriberStubImpl(extension);
/base/theme/wallpaper_mgr/frameworks/kits/extension/
DBUILD.gn21 "${wallpaper_path}/frameworks/kits/extension/include",
45 "${wallpaper_path}/frameworks/kits/extension/include",
49 "${wallpaper_path}/frameworks/kits/extension/src/js_wallpaper_extension_ability.cpp",
50 "${wallpaper_path}/frameworks/kits/extension/src/js_wallpaper_extension_context.cpp",
51 "${wallpaper_path}/frameworks/kits/extension/src/wallpaper_extension_ability.cpp",
52 "${wallpaper_path}/frameworks/kits/extension/src/wallpaper_extension_context.cpp",
99 …sources = [ "${wallpaper_path}/frameworks/kits/extension/src/wallpaper_extension_module_loader.cpp…
/base/inputmethod/imf/frameworks/kits/extension/
DBUILD.gn32 include_dirs = [ "${inputmethod_path}/frameworks/kits/extension/include" ]
50 "${inputmethod_path}/frameworks/kits/extension/include",
58 "${inputmethod_path}/frameworks/kits/extension/src/inputmethod_extension.cpp",
59 "${inputmethod_path}/frameworks/kits/extension/src/inputmethod_extension_context.cpp",
60 "${inputmethod_path}/frameworks/kits/extension/src/js_inputmethod_extension.cpp",
61 "${inputmethod_path}/frameworks/kits/extension/src/js_inputmethod_extension_context.cpp",
106 …sources = [ "${inputmethod_path}/frameworks/kits/extension/src/inputmethod_extension_module_loader…
/base/telephony/telephony_data/common/include/
Dtelephony_datashare_stub_impl.h47 void SetOpKeyAbility(std::shared_ptr<DataShareExtAbility> extension);
48 void SetPdpProfileAbility(std::shared_ptr<DataShareExtAbility> extension);
49 void SetSimAbility(std::shared_ptr<DataShareExtAbility> extension);
50 void SetSmsMmsAbility(std::shared_ptr<DataShareExtAbility> extension);
51 void SetGlobalParamsAbility(std::shared_ptr<DataShareExtAbility> extension);
/base/notification/common_event_service/frameworks/extension/include/
Dstatic_subscriber_stub_impl.h27 explicit StaticSubscriberStubImpl(const std::shared_ptr<JsStaticSubscriberExtension>& extension) in StaticSubscriberStubImpl() argument
28 : extension_(extension) {} in StaticSubscriberStubImpl()
/base/notification/common_event_service/services/src/
Dstatic_subscriber_manager.cpp99 for (auto extension : extensions) { in InitValidSubscribers() local
100 if (staticSubscribers_.find(extension.bundleName) == staticSubscribers_.end()) { in InitValidSubscribers()
103 EVENT_LOGD("find legal extension, bundlename = %{public}s", extension.bundleName.c_str()); in InitValidSubscribers()
104 AddSubscriber(extension); in InitValidSubscribers()
328 void StaticSubscriberManager::AddSubscriber(const AppExecFwk::ExtensionAbilityInfo &extension) in AddSubscriber() argument
330 EVENT_LOGD("enter, subscriber bundlename = %{public}s", extension.bundleName.c_str()); in AddSubscriber()
333 …if (!DelayedSingleton<BundleManagerHelper>::GetInstance()->GetResConfigFile(extension, profileInfo… in AddSubscriber()
340 extension.applicationInfo.uid, userId) != ERR_OK) { in AddSubscriber()
341 … EVENT_LOGE("GetOsAccountLocalIdFromUid failed, uid = %{public}d", extension.applicationInfo.uid); in AddSubscriber()
344 ParseEvents(extension.name, extension.bundleName, userId, profile); in AddSubscriber()
[all …]
/base/theme/wallpaper_mgr/
DREADME_ZH.md23 │ ├── kits/extension # extension扩展
/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/print/print_fwk/frameworks/kits/extension/
DBUILD.gn21 "${print_path}/frameworks/kits/extension/include",
40 "${print_path}/frameworks/kits/extension/include",
53 "${print_path}/frameworks/kits/extension/include",
100 sources = [ "${print_path}/frameworks/kits/extension/src/print_extension_module_loader.cpp" ]
/base/print/print_fwk/
DREADME_ZH.md29 └── kits\extension # 打印扩展管理
32 └── extension # 管理扩展生命周期接口
/base/notification/common_event_service/frameworks/extension/test/static_subscriber_extension_module_loader_test/
Dstatic_subscriber_extension_module_loader_test.cpp83 auto extension = StaticSubscriberExtensionModuleLoader::GetInstance().Create(runtime); variable
84 EXPECT_NE(extension, nullptr);
/base/security/code_signature/utils/src/
Dcode_sign_block.cpp81 auto extension = reinterpret_cast<const MerkleTreeExtension *>(extensionAddr); in GetOneFileAndCodeSignInfo() local
82 if (extension->type == CSB_EXTENSION_TYPE_MERKLE_TREE) { in GetOneFileAndCodeSignInfo()
83 arg.tree_offset = extension->treeOffset; in GetOneFileAndCodeSignInfo()
84 arg.root_hash_ptr = reinterpret_cast<uintptr_t>(extension->rootHash); in GetOneFileAndCodeSignInfo()
87 extensionAddr += extension->size; in GetOneFileAndCodeSignInfo()
/base/inputmethod/imf/services/src/
Dime_info_inquirer.cpp265 for (const auto &extension : extensionInfos) { in ListInputMethodInfo() local
266 auto applicationInfo = extension.applicationInfo; in ListInputMethodInfo()
267 …auto label = GetStringById(extension.bundleName, extension.moduleName, applicationInfo.labelId, us… in ListInputMethodInfo()
269 … GetStringById(extension.bundleName, extension.moduleName, applicationInfo.descriptionId, userId); in ListInputMethodInfo()
271 property.mPackageName = extension.bundleName; in ListInputMethodInfo()
272 property.mAbilityName = extension.name; in ListInputMethodInfo()
306 for (const auto &extension : extensionInfos) { in ListInputMethod() local
308 [&extension](const Property &prop) { return prop.name == extension.bundleName; }); in ListInputMethod()
312 props.push_back({ .name = extension.bundleName, in ListInputMethod()
313 .id = extension.name, in ListInputMethod()
[all …]
/base/account/os_account/services/accountmgr/test/mock/src/
Dmock_service_registry.cpp123 int32_t SystemAbilityManagerProxy::GetExtensionSaIds(const std::string& extension, std::vector<int3… in GetExtensionSaIds() argument
128 int32_t SystemAbilityManagerProxy::GetExtensionRunningSaList(const std::string& extension, in GetExtensionRunningSaList() argument
200 int32_t SystemAbilityManagerProxy::GetRunningSaExtensionInfoList(const std::string& extension, in GetRunningSaExtensionInfoList() argument
/base/usb/usb_manager/frameworks/dialog/dialog_ui/usb_right_dialog/src/main/ets/ServiceExtAbility/
DUsbDialogAbility.ts16 import extension from '@ohos.app.ability.ServiceExtensionAbility';
38 export default class UsbDialogAbility extends extension {
/base/global/i18n/frameworks/intl/src/
Dlocale_config.cpp940 void parseExtension(const std::string &extension, std::map<std::string, std::string> &map) in parseExtension() argument
945 …std::regex_token_iterator<std::string::const_iterator> begin1(extension.cbegin(), extension.cend()… in parseExtension()
946 …std::regex_token_iterator<std::string::const_iterator> begin2(extension.cbegin(), extension.cend()… in parseExtension()
953 void setExtension(std::string &extension, const std::string &tag, const std::set<string> &validValu… in setExtension() argument
964 extension += tag; in setExtension()
965 extension += value; in setExtension()
974 extension += tag; in setExtension()
975 extension += value; in setExtension()
981 void setOtherExtension(std::string &extension, std::map<std::string, std::string> &extensionMap, in setOtherExtension() argument
1002 extension += it->first; in setOtherExtension()
[all …]
/base/inputmethod/imf/frameworks/kits/extension/include/
Djs_inputmethod_extension.h138 …licit JsInputMethodExtensionDisplayListener(const std::weak_ptr<JsInputMethodExtension> &extension) in JsInputMethodExtensionDisplayListener() argument
140 jsInputMethodExtension_ = extension; in JsInputMethodExtensionDisplayListener()
/base/notification/common_event_service/services/include/
Dstatic_subscriber_manager.h92 void AddSubscriber(const AppExecFwk::ExtensionAbilityInfo &extension);
93 void AddToValidSubscribers(const std::string &eventName, const StaticSubscriberInfo &extension);
Dbundle_manager_helper.h82 …bool GetResConfigFile(const AppExecFwk::ExtensionAbilityInfo &extension, std::vector<std::string> …
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
DBUILD.gn55 "${print_path}/frameworks/kits/extension:print_extension_framework",
56 "${print_path}/frameworks/kits/extension:print_extension_module",
/base/print/print_fwk/test/unittest/service_test/
DBUILD.gn47 "${print_path}/frameworks/kits/extension:print_extension_framework",
48 "${print_path}/frameworks/kits/extension:print_extension_module",

123