Home
last modified time | relevance | path

Searched refs:resourceManager (Results 1 – 10 of 10) sorted by relevance

/base/usb/usb_manager/frameworks/dialog/dialog_ui/usb_right_dialog/src/main/ets/util/
DNotificationUtil.ts107 … title: applicationContext.resourceManager.getStringSync($r('app.string.USB_notify_mtp_title')),
108 text: applicationContext.resourceManager.getStringSync($r('app.string.USB_notify_text')),
113 … title: applicationContext.resourceManager.getStringSync($r('app.string.USB_notify_ptp_title')),
114 text: applicationContext.resourceManager.getStringSync($r('app.string.USB_notify_text')),
119 … title: applicationContext.resourceManager.getStringSync($r('app.string.USB_notify_charge_title')),
120 text: applicationContext.resourceManager.getStringSync($r('app.string.USB_notify_text')),
/base/update/update_app/feature/ota/src/main/ets/notify/
DNotificationHelper.ets80 title: await context.resourceManager.getString($r('app.string.software_update').id),
81 … text: await context.resourceManager.getString($r('app.string.software_download_progress').id)
87 … title: await context.resourceManager.getString($r('app.string.software_download_progress').id),
126 title: await context.resourceManager.getString($r('app.string.software_update').id),
127 … text: await context.resourceManager.getString($r('app.string.software_install_progress').id)
133 … title: await context.resourceManager.getString($r('app.string.software_install_progress').id),
159 title: await context.resourceManager.getString($r('app.string.install_fail_message').id),
184 … title: await context.resourceManager.getString($r('app.string.install_success_message').id),
/base/usb/usb_manager/services/native/src/
Dusb_mass_storage_notification.cpp68 …std::shared_ptr<Global::Resource::ResourceManager> resourceManager(Global::Resource::CreateResourc… in GetHapString() local
69 if (resourceManager == nullptr) { in GetHapString()
81 resourceManager->UpdateResConfig(*resConfig); in GetHapString()
82 if (!resourceManager->AddResource(HAP_PATH.c_str())) { in GetHapString()
88 resourceManager->GetStringByName(it.first.c_str(), outValue); in GetHapString()
/base/update/update_app/common/src/main/ets/util/
DFormatUtils.ts87 let message: string = context?.resourceManager.getStringSync(text.id);
/base/usb/usb_manager/frameworks/dialog/dialog_ui/usb_right_dialog/src/main/ets/pages/
DUsbDialog.ets101 … this.allow = await globalThis.getContext().resourceManager.getStringValue($r('app.string.allow'));
102 this.use = await globalThis.getContext().resourceManager.getStringValue($r('app.string.use'));
/base/web/webview/ohos_adapter/ohos_resource_adapter/src/
Dohos_resource_adapter_impl.cpp232 auto resourceManager = GetResourceMgr(bundleName, moduleName); in GetRawFileData() local
233 if (!resourceManager) { in GetRawFileData()
236 auto state = resourceManager->GetRawFileFromHap(fileName, len, dest); in GetRawFileData()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_controller.cpp60 auto resourceManager = context->GetResourceManager(); in GetAppBundleNameAndModuleName() local
61 if (!resourceManager) { in GetAppBundleNameAndModuleName()
65 applicationBundleName = resourceManager->bundleInfo.first; in GetAppBundleNameAndModuleName()
66 applicationModuleName = resourceManager->bundleInfo.second; in GetAppBundleNameAndModuleName()
/base/update/update_app/feature/ota/src/main/ets/manager/
DStateManager.ets288 … let message = await context.resourceManager.getString($r("app.string.network_err_toast").id);
358 … let message = await context.resourceManager.getString($r("app.string.network_err_toast").id);
/base/notification/distributed_notification_service/services/ans/src/
Dreminder_data_manager.cpp1745 …std::shared_ptr<Global::Resource::ResourceManager> resourceManager(Global::Resource::CreateResourc… in GetBundleResMgr() local
1746 if (!resourceManager) { in GetBundleResMgr()
1757 if (!resourceManager->AddResource(moduleResPath.c_str())) { in GetBundleResMgr()
1766 resourceManager->UpdateResConfig(*resConfig); in GetBundleResMgr()
1767 return resourceManager; in GetBundleResMgr()
/base/update/update_app/product/oh/base/src/main/ets/pages/
Dindex.ets170 …let message = await globalThis.abilityContext.resourceManager.getString($r('app.string.network_err…