Home
last modified time | relevance | path

Searched refs:cpuAbi (Results 1 - 25 of 80) sorted by relevance

1234

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dquick_fix_checker.cpp112 if (qfInfo.cpuAbi != bundleInfo.applicationInfo.cpuAbi) { in CheckPatchNativeSoWithInstalledBundle()
113 LOG_E(BMS_TAG_DEFAULT, "qfInfo.cpuAbi: %{public}s, applicationInfo.cpuAbi: %{public}s", in CheckPatchNativeSoWithInstalledBundle()
114 qfInfo.cpuAbi.c_str(), bundleInfo.applicationInfo.cpuAbi.c_str()); in CheckPatchNativeSoWithInstalledBundle()
138 (hapModuleInfoNativeLibraryPath.find(hqfInfo.cpuAbi) == std::string::npos)) { in CheckPatchNativeSoWithInstalledBundle()
256 std::string cpuAbi = appqfInfo.cpuAbi; in CheckMultiNativeSo() local
264 cpuAbi in CheckMultiNativeSo()
[all...]
H A Dquick_fix_deployer.cpp183 // check multiple cpuAbi and native library path in ProcessPatchDeployStart()
439 appqfInfo.hqfInfos[0].cpuAbi = appqfInfo.cpuAbi; in ResetNativeSoAttrs()
475 const HqfInfo hqfInfo, bool isLibIsolated, std::string &nativeLibraryPath, std::string &cpuAbi) in FetchPatchNativeSoAttrs()
479 cpuAbi = hqfInfo.cpuAbi; in FetchPatchNativeSoAttrs()
482 cpuAbi = appqfInfo.cpuAbi; in FetchPatchNativeSoAttrs()
725 std::string cpuAbi; in ExtractQuickFixSoFile() local
727 if (!FetchPatchNativeSoAttrs(appQuickFix.deployingAppqfInfo, hqf, isLibIsolated, libraryPath, cpuAbi)) { in ExtractQuickFixSoFile()
474 FetchPatchNativeSoAttrs(const AppqfInfo &appqfInfo, const HqfInfo hqfInfo, bool isLibIsolated, std::string &nativeLibraryPath, std::string &cpuAbi) FetchPatchNativeSoAttrs() argument
800 std::string cpuAbi = bundleInfo.applicationInfo.cpuAbi; ExtractSoFiles() local
830 std::string cpuAbi; ProcessApplyDiffPatch() local
867 std::string cpuAbi = bundleInfo.applicationInfo.cpuAbi; ExtractEncryptedSoFiles() local
896 std::string cpuAbi; PrepareCodeSignatureParam() local
[all...]
H A Dpatch_profile.cpp210 appqfInfo.cpuAbi = ServiceConstants::ARM64_V8A; in DefaultNativeSo()
224 appqfInfo.cpuAbi = ServiceConstants::ARM_EABI_V7A; in DefaultNativeSo()
235 appqfInfo.cpuAbi = ServiceConstants::ARM_EABI; in DefaultNativeSo()
265 appqfInfo.cpuAbi = isSystemLib64Exist ? ServiceConstants::ARM64_V8A : ServiceConstants::ARM_EABI_V7A; in ParseNativeSo()
270 appqfInfo.cpuAbi = abi; in ParseNativeSo()
287 appqfInfo.cpuAbi = abi; in ParseNativeSo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_operator.h81 * @param cpuAbi cpuAbi.
85 const std::string &cpuAbi);
87 static bool IsNativeSo(const std::string &entryName, const std::string &cpuAbi);
95 const std::string &cpuAbi,
106 const std::string &cpuAbi,
110 static bool DeterminePrefix(const ExtractFileType &extractFileType, const std::string &cpuAbi,
228 const std::string &targetPath, const std::string &cpuAbi);
231 const std::string &cpuAbi);
240 static bool GetNativeLibraryFileNames(const std::string &filePath, const std::string &cpuAbi,
[all...]
H A Dinstalld_host_impl.h42 * @param cpuAbi cpuAbi.
46 const std::string &targetSoPath, const std::string &cpuAbi) override;
63 const std::string &hapPath, const std::string &cpuAbi, const std::string &packageName) override;
177 const std::string &cpuAbi) override;
194 virtual ErrCode GetNativeLibraryFileNames(const std::string &filePath, const std::string &cpuAbi,
207 const std::string &cpuAbi, const std::string &tmpSoPath, int32_t uid) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp36 const std::string &targetSoPath, const std::string &cpuAbi) in ExtractModuleFiles()
43 return CallService(&IInstalld::ExtractModuleFiles, srcModulePath, targetPath, targetSoPath, cpuAbi); in ExtractModuleFiles()
63 const std::string &hapPath, const std::string &cpuAbi, const std::string &packageName) in ProcessBundleInstallNative()
66 hapPath, cpuAbi, packageName); in ProcessBundleInstallNative()
294 const std::string &cpuAbi) in ExtractDiffFiles()
296 if (filePath.empty() || targetPath.empty() || cpuAbi.empty()) { in ExtractDiffFiles()
299 return CallService(&IInstalld::ExtractDiffFiles, filePath, targetPath, cpuAbi); in ExtractDiffFiles()
341 ErrCode InstalldClient::GetNativeLibraryFileNames(const std::string &filePath, const std::string &cpuAbi, in GetNativeLibraryFileNames() argument
344 return CallService(&IInstalld::GetNativeLibraryFileNames, filePath, cpuAbi, fileNames); in GetNativeLibraryFileNames()
381 const std::string &cpuAbi, cons in ExtractEncryptedSoFiles()
35 ExtractModuleFiles(const std::string &srcModulePath, const std::string &targetPath, const std::string &targetSoPath, const std::string &cpuAbi) ExtractModuleFiles() argument
62 ProcessBundleInstallNative(const std::string &userId, const std::string &hnpRootPath, const std::string &hapPath, const std::string &cpuAbi, const std::string &packageName) ProcessBundleInstallNative() argument
293 ExtractDiffFiles(const std::string &filePath, const std::string &targetPath, const std::string &cpuAbi) ExtractDiffFiles() argument
380 ExtractEncryptedSoFiles(const std::string &hapPath, const std::string &realSoFilesPath, const std::string &cpuAbi, const std::string &tmpSoPath, int32_t uid) ExtractEncryptedSoFiles() argument
[all...]
H A Dmock_installd_host_impl.cpp38 const std::string &targetSoPath, const std::string &cpuAbi) in ExtractModuleFiles()
49 const std::string &hapPath, const std::string &cpuAbi, const std::string &packageName) in ProcessBundleInstallNative()
163 const std::string &cpuAbi) in ExtractDiffFiles()
224 ErrCode InstalldHostImpl::GetNativeLibraryFileNames(const std::string &filePath, const std::string &cpuAbi, in GetNativeLibraryFileNames() argument
252 const std::string &cpuAbi, const std::string &tmpSoPath, int32_t uid) in ExtractEncryptedSoFiles()
37 ExtractModuleFiles(const std::string &srcModulePath, const std::string &targetPath, const std::string &targetSoPath, const std::string &cpuAbi) ExtractModuleFiles() argument
48 ProcessBundleInstallNative(const std::string &userId, const std::string &hnpRootPath, const std::string &hapPath, const std::string &cpuAbi, const std::string &packageName) ProcessBundleInstallNative() argument
162 ExtractDiffFiles(const std::string &filePath, const std::string &targetPath, const std::string &cpuAbi) ExtractDiffFiles() argument
251 ExtractEncryptedSoFiles(const std::string &hapPath, const std::string &realSoFilesPath, const std::string &cpuAbi, const std::string &tmpSoPath, int32_t uid) ExtractEncryptedSoFiles() argument
H A Dmock_install_client.cpp26 const std::string &targetSoPath, const std::string &cpuAbi) in ExtractModuleFiles()
42 const std::string &hapPath, const std::string &cpuAbi, const std::string &packageName) in ProcessBundleInstallNative()
182 const std::string &filePath, const std::string &targetPath, const std::string &cpuAbi) in ExtractDiffFiles()
223 ErrCode InstalldClient::GetNativeLibraryFileNames(const std::string &filePath, const std::string &cpuAbi, in GetNativeLibraryFileNames() argument
256 const std::string &cpuAbi, const std::string &tmpSoPath, int32_t uid) in ExtractEncryptedSoFiles()
25 ExtractModuleFiles(const std::string &srcModulePath, const std::string &targetPath, const std::string &targetSoPath, const std::string &cpuAbi) ExtractModuleFiles() argument
41 ProcessBundleInstallNative(const std::string &userId, const std::string &hnpRootPath, const std::string &hapPath, const std::string &cpuAbi, const std::string &packageName) ProcessBundleInstallNative() argument
181 ExtractDiffFiles( const std::string &filePath, const std::string &targetPath, const std::string &cpuAbi) ExtractDiffFiles() argument
255 ExtractEncryptedSoFiles(const std::string &hapPath, const std::string &realSoFilesPath, const std::string &cpuAbi, const std::string &tmpSoPath, int32_t uid) ExtractEncryptedSoFiles() argument
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/quick_fix/
H A Dappqf_info.cpp30 const char* APP_QF_INFO_CPU_ABI = "cpuAbi";
41 {APP_QF_INFO_CPU_ABI, appqfInfo.cpuAbi}, in to_json()
62 APP_QF_INFO_CPU_ABI, appqfInfo.cpuAbi, in from_json()
87 cpuAbi = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
108 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(cpuAbi)); in Marshalling()
H A Dhqf_info.cpp31 const char* HQF_INFO_CPU_ABI = "cpuAbi";
42 {HQF_INFO_CPU_ABI, hqfInfo.cpuAbi}, in to_json()
80 hqfInfo.cpuAbi, in from_json()
100 cpuAbi = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
111 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(cpuAbi)); in Marshalling()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dcode_signature_param.cpp27 constexpr const char* CODE_SIGNATURE_CPU_ABI = "cpuAbi";
39 cpuAbi = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
52 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(cpuAbi)); in Marshalling()
77 { CODE_SIGNATURE_CPU_ABI, cpuAbi }, in ToString()
H A Dextract_param.cpp58 cpuAbi = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
67 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(cpuAbi)); in Marshalling()
85 + ", cpuAbi = " + cpuAbi in ToString()
H A Dcheck_encryption_param.cpp26 cpuAbi = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
37 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(cpuAbi)); in Marshalling()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerextractmodulefiles_fuzzer/
H A Dbasebundleinstallerextractmodulefiles_fuzzer.cpp34 std::string cpuAbi; in DoSomethingInterestingWithMyAPI() local
35 auto ret1 = basebundleinstall.ExtractModuleFiles(info, modulePath, targetSoPath, cpuAbi); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dcompatible_application_info.cpp44 cpuAbi = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
110 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(cpuAbi)); in Marshalling()
142 applicationInfo.cpuAbi = cpuAbi; in ConvertToApplicationInfo()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/shared/
H A Dshared_module_info.cpp34 const char* SHARED_MODULE_INFO_CPU_ABI = "cpuAbi";
48 cpuAbi = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
68 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(cpuAbi)); in Marshalling()
98 {SHARED_MODULE_INFO_CPU_ABI, sharedModuleInfo.cpuAbi}, in to_json()
133 sharedModuleInfo.cpuAbi, false, parseResult); in from_json()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dinstalld_client.cpp41 const std::string &targetSoPath, const std::string &cpuAbi) in ExtractModuleFiles()
48 return CallService(&IInstalld::ExtractModuleFiles, srcModulePath, targetPath, targetSoPath, cpuAbi); in ExtractModuleFiles()
69 const std::string &hapPath, const std::string &cpuAbi, const std::string &packageName) in ProcessBundleInstallNative()
72 hapPath, cpuAbi, packageName); in ProcessBundleInstallNative()
352 const std::string &cpuAbi) in ExtractDiffFiles()
354 if (filePath.empty() || targetPath.empty() || cpuAbi.empty()) { in ExtractDiffFiles()
355 APP_LOGE("file path or target path or cpuAbi is empty"); in ExtractDiffFiles()
358 return CallService(&IInstalld::ExtractDiffFiles, filePath, targetPath, cpuAbi); in ExtractDiffFiles()
401 ErrCode InstalldClient::GetNativeLibraryFileNames(const std::string &filePath, const std::string &cpuAbi, in GetNativeLibraryFileNames() argument
404 return CallService(&IInstalld::GetNativeLibraryFileNames, filePath, cpuAbi, fileName in GetNativeLibraryFileNames()
40 ExtractModuleFiles(const std::string &srcModulePath, const std::string &targetPath, const std::string &targetSoPath, const std::string &cpuAbi) ExtractModuleFiles() argument
68 ProcessBundleInstallNative(const std::string &userId, const std::string &hnpRootPath, const std::string &hapPath, const std::string &cpuAbi, const std::string &packageName) ProcessBundleInstallNative() argument
351 ExtractDiffFiles(const std::string &filePath, const std::string &targetPath, const std::string &cpuAbi) ExtractDiffFiles() argument
506 ExtractEncryptedSoFiles(const std::string &hapPath, const std::string &realSoFilesPath, const std::string &cpuAbi, const std::string &tmpSoPath, int32_t uid) ExtractEncryptedSoFiles() argument
[all...]
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundle_info_test/
H A Dbundle_info_test.cpp42 info.cpuAbi = "armeabi"; in BenchmarkTestForReadFromParcel()
81 info.cpuAbi = "armeabi"; in BenchmarkTestForMarshalling()
119 info.cpuAbi = "armeabi"; in BenchmarkTestForUnmarshalling()
/foundation/bundlemanager/bundle_framework/test/benchmarktest/ability_info_test/
H A Dability_info_test.cpp54 info.applicationInfo.cpuAbi = "armeabi"; in BenchmarkTestForReadFromParcel()
92 info.applicationInfo.cpuAbi = "armeabi"; in BenchmarkTestForMarshalling()
129 info.applicationInfo.cpuAbi = "armeabi"; in BenchmarkTestForUnmarshalling()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_operator.cpp220 const std::string &cpuAbi) in ExtractFiles()
234 if (!ObtainNativeSoFile(extractor, cpuAbi, soEntryFiles)) { in ExtractFiles()
239 for_each(soEntryFiles.begin(), soEntryFiles.end(), [&extractor, &targetSoPath, &cpuAbi](const auto &entry) { in ExtractFiles()
240 ExtractTargetFile(extractor, entry, targetSoPath, cpuAbi); in ExtractFiles()
283 extractParam.cpuAbi, extractParam.extractFileType); in ExtractFiles()
330 if (!DeterminePrefix(extractParam.extractFileType, extractParam.cpuAbi, prefix)) { in ExtractFiles()
364 if (!DeterminePrefix(extractParam.extractFileType, extractParam.cpuAbi, prefix) || in IsNativeFile()
395 bool InstalldOperator::IsNativeSo(const std::string &entryName, const std::string &cpuAbi) in IsNativeSo() argument
398 std::string prefix = ServiceConstants::LIBS + cpuAbi + ServiceConstants::PATH_SEPARATOR; in IsNativeSo()
408 const std::string &targetPath, const std::string &cpuAbi) in IsDiffFiles()
219 ExtractFiles(const std::string &sourcePath, const std::string &targetSoPath, const std::string &cpuAbi) ExtractFiles() argument
407 IsDiffFiles(const std::string &entryName, const std::string &targetPath, const std::string &cpuAbi) IsDiffFiles() argument
459 ProcessBundleInstallNative(const std::string &userId, const std::string &hnpRootPath, const std::string &hapPath, const std::string &cpuAbi, const std::string &packageName) ProcessBundleInstallNative() argument
495 ExtractTargetFile(const BundleExtractor &extractor, const std::string &entryName, const std::string &targetPath, const std::string &cpuAbi, const ExtractFileType &extractFileType) ExtractTargetFile() argument
562 DeterminePrefix(const ExtractFileType &extractFileType, const std::string &cpuAbi, std::string &prefix) DeterminePrefix() argument
1158 ExtractDiffFiles(const std::string &filePath, const std::string &targetPath, const std::string &cpuAbi) ExtractDiffFiles() argument
1321 GetNativeLibraryFileNames(const std::string &filePath, const std::string &cpuAbi, std::vector<std::string> &fileNames) GetNativeLibraryFileNames() argument
1430 const std::string cpuAbi = checkEncryptionParam.cpuAbi; CheckEncryption() local
1497 ObtainNativeSoFile(const BundleExtractor &extractor, const std::string &cpuAbi, std::vector<std::string> &soEntryFiles) ObtainNativeSoFile() argument
1736 ExtractSoFilesToTmpHapPath(const std::string &hapPath, const std::string &cpuAbi, const std::string &tmpSoPath, int32_t uid) ExtractSoFilesToTmpHapPath() argument
1800 ExtractSoFilesToTmpSoPath(const std::string &hapPath, const std::string &realSoFilesPath, const std::string &cpuAbi, const std::string &tmpSoPath, int32_t uid) ExtractSoFilesToTmpSoPath() argument
[all...]
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/appservicefwkinstallerupdateappservice_fuzzer/
H A Dappservicefwkinstallerupdateappservice_fuzzer.cpp54 std::string cpuAbi(data, size); in DoSomethingInterestingWithMyAPI()
57 appServiceFwk.VerifyCodeSignatureForNativeFiles(bundlePath, cpuAbi, targetSoPath); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinstalld_client.h48 * @param cpuAbi cpuAbi.
52 const std::string &targetSoPath, const std::string &cpuAbi);
163 const std::string &cpuAbi);
185 const std::string &hapPath, const std::string &cpuAbi, const std::string &packageName);
189 ErrCode GetNativeLibraryFileNames(const std::string &filePath, const std::string &cpuAbi,
216 const std::string &cpuAbi, const std::string &tmpSoPath, int32_t uid);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dinstalld_interface.h52 * @param cpuAbi cpuAbi.
56 const std::string &targetSoPath, const std::string &cpuAbi) in ExtractModuleFiles()
82 const std::string &hapPath, const std::string &cpuAbi, const std::string &packageName) in ProcessBundleInstallNative()
299 const std::string &cpuAbi) in ExtractDiffFiles()
340 virtual ErrCode GetNativeLibraryFileNames(const std::string &filePath, const std::string &cpuAbi, in GetNativeLibraryFileNames() argument
368 const std::string &cpuAbi, const std::string &tmpSoPath, int32_t uid) in ExtractEncryptedSoFiles()
55 ExtractModuleFiles(const std::string &srcModulePath, const std::string &targetPath, const std::string &targetSoPath, const std::string &cpuAbi) ExtractModuleFiles() argument
81 ProcessBundleInstallNative(const std::string &userId, const std::string &hnpRootPath, const std::string &hapPath, const std::string &cpuAbi, const std::string &packageName) ProcessBundleInstallNative() argument
298 ExtractDiffFiles(const std::string &filePath, const std::string &targetPath, const std::string &cpuAbi) ExtractDiffFiles() argument
367 ExtractEncryptedSoFiles(const std::string &hapPath, const std::string &realSoFilesPath, const std::string &cpuAbi, const std::string &tmpSoPath, int32_t uid) ExtractEncryptedSoFiles() argument
H A Dinstalld_proxy.h44 * @param cpuAbi cpuAbi.
48 const std::string &targetSoPath, const std::string &cpuAbi) override;
65 const std::string &hapPath, const std::string &cpuAbi, const std::string &packageName) override;
178 const std::string &cpuAbi) override;
195 virtual ErrCode GetNativeLibraryFileNames(const std::string &filePath, const std::string &cpuAbi,
209 const std::string &cpuAbi, const std::string &tmpSoPath, int32_t uid) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_operator_test.cpp490 extractParam.cpuAbi = TEST_CPU_ABI; in HWTEST_F()
556 extractParam.cpuAbi = TEST_CPU_ABI; in HWTEST_F()
972 codeSignatureParam.cpuAbi = TEST_STRING; in HWTEST_F()
1123 checkEncryptionParam.cpuAbi = TEST_STRING; in HWTEST_F()
1236 extractParam.cpuAbi = TEST_CPU_ABI; in HWTEST_F()
1282 std::string cpuAbi = "cpuabi"; in HWTEST_F() local
1284 bool ret = InstalldOperator::ProcessBundleInstallNative(userId, hnpRootPath, hapPath, cpuAbi, packageName); in HWTEST_F()
1299 std::string cpuAbi = "cpuabi"; in HWTEST_F() local
1301 bool ret = InstalldOperator::ProcessBundleInstallNative(userId, hnpRootPath, hapPath, cpuAbi, packageName); in HWTEST_F()
1316 std::string cpuAbi in HWTEST_F() local
1494 std::string cpuAbi = ""; HWTEST_F() local
1655 std::string cpuAbi = TEST_CPU_ABI; HWTEST_F() local
[all...]

Completed in 18 milliseconds

1234