/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | input_method_switch_test.cpp | 46 static std::vector<std::string> extName; member in OHOS::MiscServices::InputMethodSwitchTest 109 EXPECT_EQ(property->id, extName); in CheckCurrentProp() 116 EXPECT_EQ(subProperty->id, extName); in CheckCurrentSubProp() 149 CheckCurrentProp(extName[0]); 150 CheckCurrentSubProp(extName[0]); 169 CheckCurrentProp(extName[0]); 170 CheckCurrentSubProp(extName[0]); 188 CheckCurrentProp(extName[0]); 189 CheckCurrentSubProp(extName[1]); 207 CheckCurrentProp(extName[0]); [all …]
|
H A D | newIme_switch_test.cpp | 43 static std::string extName; member in OHOS::MiscServices::NewImeSwitchTest 52 std::string NewImeSwitchTest::extName = "InputMethodExtAbility"; member in OHOS::MiscServices::NewImeSwitchTest 102 EXPECT_EQ(property->id, extName); in CheckCurrentProp()
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/frameworks/extension/src/ |
H A D | app_domain_verify_extension_register.cpp | 39 void AppDomainVerifyExtensionRegister::RegisterAppDomainVerifyExt(const std::string& extName, in RegisterAppDomainVerifyExt() argument 43 verifyExts_.emplace(extName, createFunc); in RegisterAppDomainVerifyExt() 46 const std::string& extName) in GetAppDomainVerifyExt() argument 49 auto it = verifyExts_.find(extName); in GetAppDomainVerifyExt()
|
H A D | app_domain_verify_extension_mgr.cpp | 99 …omainVerifyAgentExt> AppDomainVerifyExtensionMgr::GetAppDomainVerifyExt(const std::string& extName) in GetAppDomainVerifyExt() argument 101 return AppDomainVerifyExtensionRegister::GetInstance().GetAppDomainVerifyExt(extName); in GetAppDomainVerifyExt()
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/frameworks/extension/include/ |
H A D | app_domain_verify_extension_register.h | 38 void RegisterAppDomainVerifyExt(const std::string& extName, const CreateFunc& createFunc); 39 std::shared_ptr<AppDomainVerifyAgentExt> GetAppDomainVerifyExt(const std::string& extName);
|
H A D | app_domain_verify_extension_mgr.h | 44 …virtual std::shared_ptr<AppDomainVerifyAgentExt> GetAppDomainVerifyExt(const std::string& extName);
|
/ohos5.0/base/inputmethod/imf/services/src/ |
H A D | ime_info_inquirer.cpp | 654 int32_t userId, const std::string &bundleName, const std::string &extName) in GetImeProperty() argument 664 .id = extName.empty() ? extInfos[0].name : extName, in GetImeProperty() 680 prop->id = currentImeCfg->extName; in GetCurrentInputMethod() 685 return GetImeProperty(userId, currentImeCfg->bundleName, currentImeCfg->extName); in GetCurrentInputMethod() 728 extName.c_str()); in IsImeInstalled() 732 [&bundleName, &extName](const OHOS::AppExecFwk::ExtensionAbilityInfo &extInfo) { in IsImeInstalled() 733 return extInfo.bundleName == bundleName && extName == extInfo.name; in IsImeInstalled() 862 imeCfg.extName = imeCfg.imeId.substr(pos + 1); in GetDefaultIme() 929 if (ime.bundleName.empty() || ime.extName.empty()) { in GetDefaultImeCfgProp() 935 defaultIme->id = ime.extName; in GetDefaultImeCfgProp() [all …]
|
H A D | ime_cfg_manager.cpp | 168 info.extName = info.imeId.substr(pos + 1); in GetCurrentImeCfg()
|
H A D | peruser_session.cpp | 1073 imeId.subName = currentImeCfg->extName; in GetCurrentUsingImeId() 1119 want.SetElementName(ime->bundleName, ime->extName); in GetWant() 1136 InitImeData({ imeToStart->bundleName, imeToStart->extName }); in StartInputService() 1296 …== nullptr || imeData->ime.first != cfgIme->bundleName || imeData->ime.second != cfgIme->extName) { in RestoreCurrentImeSubType() 1561 if (imeData->ime.first == ime->bundleName && imeData->ime.second == ime->extName) { in StartIme() 1760 …!= nullptr && imeData->ime.first == cfgIme->bundleName && imeData->ime.second == cfgIme->extName) { in RestoreCurrentIme()
|
/ohos5.0/foundation/filemanagement/app_file_service/services/backup_sa/src/module_external/ |
H A D | bms_adapter.cpp | 137 auto [allToBackup, fullBackupOnly, extName, restoreDeps, supportScene, extraInfo] = in GetBundleInfos() 146 … fullBackupOnly, extName, restoreDeps, supportScene, in GetBundleInfos() 358 auto [allToBackup, fullBackupOnly, extName, restoreDeps, supportScene, extraInfo] = in GetBundleInfosForIncremental() 363 extName, restoreDeps, supportScene, extraInfo}); in GetBundleInfosForIncremental() 407 auto [allToBackup, fullBackupOnly, extName, restoreDeps, supportScene, extraInfo] = in GetFullBundleInfos() 412 …stalledBundle.versionCode, installedBundle.versionName, 0, 0, allToBackup, fullBackupOnly, extName, in GetFullBundleInfos()
|
/ohos5.0/base/inputmethod/imf/test/unittest/napi_test/src/ |
H A D | InputMethodTest.js | 38 let extName = 'InputMethodExtAbility'; 57 expect(property.id).assertEqual(extName); 59 expect(property.methodId).assertEqual(extName); 195 id:extName 272 …et imeProp = props.find(function (prop) {return prop.name === bundleName && prop.id === extName;}); 292 …et imeProp = props.find(function (prop) {return prop.name === bundleName && prop.id === extName;}); 516 id:extName
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/extension/app_domain_verify_extension_mgr_test/ |
H A D | mock_app_domain_verify_extension_mgr.h | 23 …THOD(std::shared_ptr<AppDomainVerifyAgentExt>, GetAppDomainVerifyExt, (const std::string& extName),
|
/ohos5.0/base/sensors/miscdevice/utils/common/src/ |
H A D | file_utils.cpp | 133 int32_t GetFileExtName(const int32_t &fd, std::string &extName) in GetFileExtName() argument 144 extName = fileName.substr(fileName.find_last_of(".") + 1); in GetFileExtName()
|
/ohos5.0/base/sensors/miscdevice/utils/common/include/ |
H A D | file_utils.h | 40 int32_t GetFileExtName(const int32_t &fd, std::string &extName);
|
/ohos5.0/base/inputmethod/imf/services/include/ |
H A D | ime_info_inquirer.h | 81 int32_t userId, const std::string &bundleName, const std::string &extName = ""); 127 …ol IsImeInstalled(const int32_t userId, const std::string &bundleName, const std::string &extName);
|
H A D | ime_cfg_manager.h | 75 std::string extName; member
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/module_ipc/ |
H A D | svc_session_manager_test.cpp | 1005 string extName = sessionManagerPtr_->GetBackupExtName(BUNDLE_NAME); variable 1006 EXPECT_EQ(extName, BUNDLE_NAME); 1046 string extName = sessionManagerPtr_->GetBackupExtName(bundleName); variable 1047 EXPECT_NE(extName, bundleName);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/ |
H A D | bms_bundle_manager_test.cpp | 5337 std::string extName = "jpg"; variable 5338 auto ret = innerBundleInfo.SetExtName(MODULE_NAME, ABILITY_NAME, extName); 5340 ret = innerBundleInfo.DelExtName(MODULE_NAME, ABILITY_NAME, extName); 5373 std::string extName = "jpg"; variable 5374 auto ret = innerBundleInfo.SetExtName(MODULE_NAME, ABILITY_NAME, extName); 5376 ret = innerBundleInfo.DelExtName(MODULE_NAME, ABILITY_NAME, extName); 5386 ret = innerBundleInfo.SetExtName(wrongModuleName, ABILITY_NAME, extName); 5388 ret = innerBundleInfo.DelExtName(wrongModuleName, ABILITY_NAME, extName); 5432 std::string extName = "ext"; variable 5434 BUNDLE_BACKUP_NAME, MODULE_NAME, ABILITY_BACKUP_NAME, extName, EMPTY_STRING); [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/src/ |
H A D | bundle_test_tool.cpp | 1959 std::string extName = ""; in RunAsSetExtNameOrMIMEToAppCommand() local 1984 extName = option == 'e' ? name : extName; in RunAsSetExtNameOrMIMEToAppCommand() 1991 …t = bundleMgrProxy_->SetExtNameOrMIMEToApp(bundleName, moduleName, abilityName, extName, mimeType); in RunAsSetExtNameOrMIMEToAppCommand() 2010 std::string extName = ""; in RunAsDelExtNameOrMIMEToAppCommand() local 2035 extName = option == 'e' ? name : extName; in RunAsDelExtNameOrMIMEToAppCommand() 2042 …t = bundleMgrProxy_->DelExtNameOrMIMEToApp(bundleName, moduleName, abilityName, extName, mimeType); in RunAsDelExtNameOrMIMEToAppCommand()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_mgr_interface.h | 1368 const std::string &abilityName, const std::string &extName, const std::string &mimeType) in SetExtNameOrMIMEToApp() argument 1374 const std::string &abilityName, const std::string &extName, const std::string &mimeType) in DelExtNameOrMIMEToApp() argument
|
H A D | bundle_mgr_proxy.h | 956 … const std::string &abilityName, const std::string &extName, const std::string &mimeType) override; 959 … const std::string &abilityName, const std::string &extName, const std::string &mimeType) override;
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_mgr_host_impl.h | 910 … const std::string &abilityName, const std::string &extName, const std::string &mimeType) override; 912 … const std::string &abilityName, const std::string &extName, const std::string &mimeType) override;
|
H A D | inner_bundle_info.h | 2178 …tExtName(const std::string &moduleName, const std::string &abilityName, const std::string extName); 2180 …lExtName(const std::string &moduleName, const std::string &abilityName, const std::string extName); 2181 …MimeType(const std::string &moduleName, const std::string &abilityName, const std::string extName);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | inner_bundle_info.cpp | 4004 const std::string &moduleName, const std::string &abilityName, const std::string extName) in SetExtName() argument 4016 …bool duplicated = std::any_of(supportExtNames.begin(), supportExtNames.end(), [&extName](const aut… in SetExtName() 4017 return extName == name; in SetExtName() 4020 …APP_LOGW("extName %{public}s already exist in ability %{public}s", extName.c_str(), abilityName.c_… in SetExtName() 4023 supportExtNames.emplace_back(extName); in SetExtName() 4052 const std::string &moduleName, const std::string &abilityName, const std::string extName) in DelExtName() argument 4064 …supportExtNames.erase(std::remove(supportExtNames.begin(), supportExtNames.end(), extName), suppor… in DelExtName()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/ |
H A D | bundle_mgr_proxy.cpp | 3868 const std::string &abilityName, const std::string &extName, const std::string &mimeType) in SetExtNameOrMIMEToApp() argument 3875 if (extName.empty() && mimeType.empty()) { in SetExtNameOrMIMEToApp() 3896 if (!data.WriteString(extName)) { in SetExtNameOrMIMEToApp() 3914 const std::string &abilityName, const std::string &extName, const std::string &mimeType) in DelExtNameOrMIMEToApp() argument 3921 if (extName.empty() && mimeType.empty()) { in DelExtNameOrMIMEToApp() 3942 if (!data.WriteString(extName)) { in DelExtNameOrMIMEToApp()
|