Home
last modified time | relevance | path

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

/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/installer_proxy_test/
H A Dinstaller_proxy_test.cpp74 sptr<IBundleInstaller> installerProxy = bundleMgrProxy->GetBundleInstaller(); in GetInstallerProxy() local
75 if (!installerProxy) { in GetInstallerProxy()
79 return installerProxy; in GetInstallerProxy()
91 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in BenchmarkTestInstallerProxyInfo() local
98 installerProxy->Install(bundleFilePath, installParam, statusReceiver); in BenchmarkTestInstallerProxyInfo()
111 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in BenchmarkTestMultipleInstallerProxyInfo() local
120 installerProxy->Install(bundleFilePaths, installParam, statusReceiver); in BenchmarkTestMultipleInstallerProxyInfo()
133 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in BenchmarkTestUninstallerApplication() local
140 installerProxy->Install(bundleFilePath, installParam, statusReceiver); in BenchmarkTestUninstallerApplication()
143 installerProxy->Uninstall(bundleName, installParam, statusReceiver); in BenchmarkTestUninstallerApplication()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_multiuser_install_test/
H A Dbms_bundle_multiuser_install_ipc_test.cpp104 if (!installerProxy) { in GetInstallerProxy()
110 return installerProxy; in GetInstallerProxy()
182 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); variable
183 if (!installerProxy) {
190 auto result = installerProxy->InstallExisted(bundleName, userId);
197 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); variable
198 if (!installerProxy) {
205 auto result = installerProxy->InstallExisted(bundleName, userId);
212 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); variable
213 if (!installerProxy) {
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_clone_app_test/
H A Dbms_bundle_clone_app_ipc_test.cpp103 sptr<IBundleInstaller> installerProxy = bundleMgrProxy->GetBundleInstaller(); in GetInstallerProxy() local
104 if (!installerProxy) { in GetInstallerProxy()
110 return installerProxy; in GetInstallerProxy()
115 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); variable
116 if (!installerProxy) {
127 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); variable
128 if (!installerProxy) {
135 auto result = installerProxy->InstallCloneApp(bundleName, userId, appIndex);
290 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); variable
291 if (!installerProxy) {
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_permission_grant_system_test/
H A Dbms_permission_grant_system_test.cpp169 sptr<IBundleInstaller> installerProxy = bundleMgrProxy->GetBundleInstaller(); in GetInstallerProxy() local
170 if (!installerProxy) { in GetInstallerProxy()
176 return installerProxy; in GetInstallerProxy()
182 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in InstallBundle() local
183 if (!installerProxy) { in InstallBundle()
194 bool installResult = installerProxy->Install(bundleFilePath, installParam, statusReceiver); in InstallBundle()
202 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in UninstallBundle() local
203 if (!installerProxy) { in UninstallBundle()
214 bool uninstallResult = installerProxy->Uninstall(bundleName, installParam, statusReceiver); in UninstallBundle()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_uninstall_system_test/
H A Dbms_uninstall_system_test.cpp178 if (!installerProxy) { in GetInstallerProxy()
184 return installerProxy; in GetInstallerProxy()
277 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in Install() local
278 if (!installerProxy) { in Install()
295 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in StreamInstall() local
296 if (!installerProxy) { in StreamInstall()
312 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in Uninstall() local
313 if (!installerProxy) { in Uninstall()
335 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in HapUninstall() local
336 if (!installerProxy) { in HapUninstall()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_code_signature_test/
H A Dbundle_mgr_code_signature_system_test.cpp166 sptr<IBundleInstaller> installerProxy = bundleMgrProxy->GetBundleInstaller(); in GetInstallerProxy() local
167 if (!installerProxy) { in GetInstallerProxy()
173 return installerProxy; in GetInstallerProxy()
180 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in InstallBundle() local
181 EXPECT_NE(installerProxy, nullptr); in InstallBundle()
187 … auto installResult = installerProxy->StreamInstall(bundleFilePaths, installParam, statusReceiver); in InstallBundle()
197 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in UninstallBundle() local
198 EXPECT_NE(installerProxy, nullptr); in UninstallBundle()
206 bool uninstallResult = installerProxy->Uninstall(bundleName, installParam, statusReceiver); in UninstallBundle()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_compatible_system_test/
H A Dbms_compatible_system_test.cpp110 if (!installerProxy) { in GetInstallerProxy()
116 return installerProxy; in GetInstallerProxy()
122 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in Install() local
123 if (!installerProxy) { in Install()
133 installerProxy->Install(bundleFilePath, installParam, statusReceiver); in Install()
140 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in Install() local
141 if (!installerProxy) { in Install()
151 installerProxy->Install(bundleFilePaths, installParam, statusReceiver); in Install()
157 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in Uninstall() local
158 if (!installerProxy) { in Uninstall()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_install_system_test/
H A Dbms_install_external_hsp_so_test.cpp164 sptr<IBundleInstaller> installerProxy = bundleMgrProxy->GetBundleInstaller(); in GetInstallerProxy() local
165 if (!installerProxy) { in GetInstallerProxy()
171 return installerProxy; in GetInstallerProxy()
177 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in UninstallBundle() local
184 bool uninstallResult = installerProxy->Uninstall(uninstallParam, statusReceiver); in UninstallBundle()
192 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in InstallPathBundle() local
201 auto installResult = installerProxy->StreamInstall(pathVec, installParam, statusReceiver); in InstallPathBundle()
220 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in UpdateInstallPath() local
229 auto installResult = installerProxy->StreamInstall(pathVec, installParam, statusReceiver); in UpdateInstallPath()
H A Dbms_install_extension_system_test.cpp171 sptr<IBundleInstaller> installerProxy = bundleMgrProxy->GetBundleInstaller(); in GetInstallerProxy() local
172 if (!installerProxy) { in GetInstallerProxy()
178 return installerProxy; in GetInstallerProxy()
184 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in InstallBundle() local
185 if (!installerProxy) { in InstallBundle()
196 bool installResult = installerProxy->Install(bundleFilePath, installParam, statusReceiver); in InstallBundle()
204 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in UninstallBundle() local
205 if (!installerProxy) { in UninstallBundle()
216 bool uninstallResult = installerProxy->Uninstall(bundleName, installParam, statusReceiver); in UninstallBundle()
223 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in UpdateBundleForSelf() local
[all …]
H A Dbms_install_system_test.cpp187 if (!installerProxy) { in GetInstallerProxy()
193 return installerProxy; in GetInstallerProxy()
199 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in InstallBundle() local
200 if (!installerProxy) { in InstallBundle()
219 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in InstallByBundleName() local
220 if (!installerProxy) { in InstallByBundleName()
239 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in InstallErrUid() local
240 if (!installerProxy) { in InstallErrUid()
259 if (!installerProxy) { in InstallMultiBundle()
276 if (!installerProxy) { in UninstallBundle()
[all …]
H A Dbm_install_multi_user_test.cpp160 sptr<IBundleInstaller> installerProxy = bundleMgrProxy->GetBundleInstaller(); in GetInstallerProxy() local
161 if (!installerProxy) { in GetInstallerProxy()
167 return installerProxy; in GetInstallerProxy()
172 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in InstallBundle() local
173 if (!installerProxy) { in InstallBundle()
183 auto ret = installerProxy->StreamInstall(bundleFilePaths, installParam, statusReceiver); in InstallBundle()
192 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in UninstallBundle() local
193 if (!installerProxy) { in UninstallBundle()
203 bool uninstallResult = installerProxy->Uninstall(bundleName, installParam, statusReceiver); in UninstallBundle()
H A Dbms_install_hap_so_test.cpp263 sptr<IBundleInstaller> installerProxy = bundleMgrProxy->GetBundleInstaller(); in GetInstallerProxy() local
264 if (!installerProxy) { in GetInstallerProxy()
270 return installerProxy; in GetInstallerProxy()
276 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in InstallBundle() local
284 auto installResult = installerProxy->StreamInstall(pathVec, installParam, statusReceiver); in InstallBundle()
292 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in InstallBundles() local
307 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in UninstallBundle() local
322 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in InstallPathBundle() local
349 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in UpdateInstall() local
365 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in UpdateInstalls() local
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_launcher_service_system_test/
H A Dbms_launcher_service_system_test.cpp186 sptr<IBundleInstaller> installerProxy = bundleMgrProxy->GetBundleInstaller(); in GetInstallerProxy() local
187 if (!installerProxy) { in GetInstallerProxy()
193 return installerProxy; in GetInstallerProxy()
199 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in Install() local
200 if (!installerProxy) { in Install()
210 installerProxy->Install(bundleFilePath, installParam, statusReceiver); in Install()
216 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in Uninstall() local
217 if (!installerProxy) { in Uninstall()
231 installerProxy->Uninstall(bundleName, installParam, statusReceiver); in Uninstall()
899 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); variable
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/
H A Dbms_bundle_permission_system_app_test.cpp134 sptr<IBundleInstaller> installerProxy = bundleMgrProxy->GetBundleInstaller(); in GetInstallerProxy() local
135 if (!installerProxy) { in GetInstallerProxy()
141 return installerProxy; in GetInstallerProxy()
1352 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); variable
1353 ASSERT_NE(installerProxy, nullptr);
1355 auto result = installerProxy->InstallByBundleName("", installParam, nullptr);
1366 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); variable
1367 ASSERT_NE(installerProxy, nullptr);
1380 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); variable
1381 ASSERT_NE(installerProxy, nullptr);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_overlay_install_test/
H A Dbms_overlay_internal_install_test.cpp192 sptr<IBundleInstaller> installerProxy = bundleMgrProxy->GetBundleInstaller(); in GetInstallerProxy() local
193 if (!installerProxy) { in GetInstallerProxy()
199 return installerProxy; in GetInstallerProxy()
221 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in InstallOverlayBundle() local
222 EXPECT_NE(installerProxy, nullptr); in InstallOverlayBundle()
228 … auto installResult = installerProxy->StreamInstall(bundleFilePaths, installParam, statusReceiver); in InstallOverlayBundle()
235 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in UninstallBundle() local
236 EXPECT_NE(installerProxy, nullptr); in UninstallBundle()
243 bool uninstallResult = installerProxy->Uninstall(bundleName, installParam, statusReceiver); in UninstallBundle()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_sandbox_app_system_test/
H A Dbundle_mgr_sandbox_app_system_test.cpp197 sptr<IBundleInstaller> installerProxy = bundleMgrProxy->GetBundleInstaller(); in GetInstallerProxy() local
198 if (!installerProxy) { in GetInstallerProxy()
204 return installerProxy; in GetInstallerProxy()
211 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in InstallBundle() local
212 if (!installerProxy) { in InstallBundle()
225 bool installResult = installerProxy->Install(bundleFilePath, installParam, statusReceiver); in InstallBundle()
233 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in UninstallBundle() local
234 if (!installerProxy) { in UninstallBundle()
246 bool uninstallResult = installerProxy->Uninstall(bundleName, installParam, statusReceiver); in UninstallBundle()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/
H A Dacts_bms_kit_system_test.cpp337 if (!installerProxy) { in Install()
355 if (!installerProxy) { in Install()
369 if (!installerProxy) { in Uninstall()
392 if (!installerProxy) { in HapUninstall()
439 if (!installerProxy) { in GetInstallerProxy()
445 return installerProxy; in GetInstallerProxy()
4846 if (!installerProxy) {
4883 if (!installerProxy) {
4919 if (!installerProxy) {
4969 if (!installerProxy) {
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_search_system_test/
H A Dbms_search_system_test.cpp248 sptr<IBundleInstaller> installerProxy = bundleMgrProxy->GetBundleInstaller(); in GetInstallerProxy() local
249 if (!installerProxy) { in GetInstallerProxy()
255 return installerProxy; in GetInstallerProxy()
273 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in Install() local
274 if (!installerProxy) { in Install()
284 installerProxy->Install(bundleFilePath, installParam, statusReceiver); in Install()
290 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in Uninstall() local
291 if (!installerProxy) { in Uninstall()
305 installerProxy->Uninstall(bundleName, installParam, statusReceiver); in Uninstall()
/ohos5.0/foundation/bundlemanager/distributed_bundle_framework/services/dbms/test/unittest/dbms_services_kit_test/
H A Ddbms_services_kit_test.cpp228 sptr<IBundleInstaller> installerProxy = bundleMgrProxy->GetBundleInstaller(); in GetInstallerProxy() local
229 if (!installerProxy) { in GetInstallerProxy()
235 return installerProxy; in GetInstallerProxy()
242 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in InstallBundle() local
243 if (!installerProxy) { in InstallBundle()
252 bool result = installerProxy->Install(bundlePath, installParam, statusReceiver); in InstallBundle()
261 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in UninstallBundle() local
262 if (!installerProxy) { in UninstallBundle()
271 bool result = installerProxy->Uninstall(bundleName, installParam, statusReceiver); in UninstallBundle()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_client_system_test/
H A Dbundle_mgr_client_system_test.cpp172 sptr<IBundleInstaller> installerProxy = bundleMgrProxy->GetBundleInstaller(); in GetInstallerProxy() local
173 if (!installerProxy) { in GetInstallerProxy()
179 return installerProxy; in GetInstallerProxy()
186 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in InstallBundle() local
187 if (!installerProxy) { in InstallBundle()
200 bool installResult = installerProxy->Install(bundleFilePath, installParam, statusReceiver); in InstallBundle()
208 sptr<IBundleInstaller> installerProxy = GetInstallerProxy(); in UninstallBundle() local
209 if (!installerProxy) { in UninstallBundle()
221 bool uninstallResult = installerProxy->Uninstall(bundleName, installParam, statusReceiver); in UninstallBundle()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_free_install_test/
H A Dbms_bundle_free_install_test.cpp1550 BundleInstallerProxy installerProxy(remoteObject);
1553 ErrCode ret = installerProxy.WriteHapFileToStream(streamInstaller, path);
1558 ret = installerProxy.WriteHapFileToStream(streamInstaller, path);
1562 ret = installerProxy.WriteHapFileToStream(streamInstaller, path);