Home
last modified time | relevance | path

Searched refs:OnFinished (Results 1 - 25 of 98) sorted by relevance

1234

/foundation/bundlemanager/bundle_tool/test/mock/
H A Dmock_bundle_installer_host.cpp39 statusReceiver->OnFinished(OHOS::ERR_OK, MSG_SUCCESS); in Install()
54 statusReceiver->OnFinished(OHOS::ERR_OK, MSG_SUCCESS); in Install()
67 statusReceiver->OnFinished(OHOS::ERR_OK, MSG_SUCCESS); in Uninstall()
81 statusReceiver->OnFinished(OHOS::ERR_OK, MSG_SUCCESS); in Uninstall()
92 statusReceiver->OnFinished(OHOS::ERR_OK, MSG_SUCCESS); in Recover()
100 statusReceiver->OnFinished(OHOS::ERR_OK, MSG_SUCCESS); in StreamInstall()
129 statusReceiver->OnFinished(OHOS::ERR_OK, MSG_SUCCESS); in Uninstall()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_installer_host.cpp356 statusReceiver->OnFinished(ERR_BUNDLE_MANAGER_SYSTEM_API_DENIED, ""); in Install()
369 statusReceiver->OnFinished(ERR_APPEXECFWK_INSTALL_PERMISSION_DENIED, ""); in Install()
387 statusReceiver->OnFinished(ERR_BUNDLE_MANAGER_SYSTEM_API_DENIED, ""); in Install()
400 statusReceiver->OnFinished(ERR_APPEXECFWK_INSTALL_PERMISSION_DENIED, ""); in Install()
418 statusReceiver->OnFinished(ERR_BUNDLE_MANAGER_SYSTEM_API_DENIED, ""); in Recover()
423 statusReceiver->OnFinished(ERR_APPEXECFWK_INSTALL_PERMISSION_DENIED, ""); in Recover()
440 statusReceiver->OnFinished(ERR_BUNDLE_MANAGER_SYSTEM_API_DENIED, ""); in Uninstall()
445 statusReceiver->OnFinished(ERR_APPEXECFWK_UNINSTALL_PERMISSION_DENIED, ""); in Uninstall()
462 statusReceiver->OnFinished(ERR_BUNDLE_MANAGER_SYSTEM_API_DENIED, ""); in Uninstall()
467 statusReceiver->OnFinished(ERR_APPEXECFWK_UNINSTALL_PERMISSION_DENIE in Uninstall()
[all...]
H A Dbundle_installer.cpp59 statusReceiver_->OnFinished(resultCode, resultMsg); in Install()
80 statusReceiver_->OnFinished(resultCode, ""); in Recover()
106 statusReceiver_->OnFinished(resultCode, resultMsg); in Install()
114 statusReceiver_->OnFinished(resultCode, ""); in InstallByBundleName()
148 statusReceiver_->OnFinished(resultCode, ""); in Uninstall()
157 statusReceiver_->OnFinished(resultCode, ""); in Uninstall()
192 statusReceiver_->OnFinished(resultCode, ""); in Uninstall()
316 statusReceiver_->OnFinished(resultCode, ""); in UninstallAndRecover()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/ipc/
H A Dasset_recv_callback_proxy_test.cpp157 * @tc.desc: The execution of the OnFinished failed.
167 auto ret = proxy_->OnFinished("srcNetworkId", assetObj, 0); in HWTEST_F()
172 ret = proxy_->OnFinished("srcNetworkId", assetObj, 0); in HWTEST_F()
178 ret = proxy_->OnFinished("srcNetworkId", assetObj, 0); in HWTEST_F()
185 ret = proxy_->OnFinished("srcNetworkId", assetObj, 0); in HWTEST_F()
192 * @tc.desc: The execution of the OnFinished failed.
205 auto ret = testProxy->OnFinished("srcNetworkId", assetObj, 0); in HWTEST_F()
214 ret = proxy_->OnFinished("srcNetworkId", assetObj, 0); in HWTEST_F()
221 * @tc.desc: The execution of the OnFinished success.
236 auto ret = proxy_->OnFinished("srcNetworkI in HWTEST_F()
[all...]
/foundation/filemanagement/dfs_service/test/fuzztest/filetranslistenerstub_fuzzer/
H A Dfiletranslistenerstub_fuzzer.cpp41 int32_t OnFinished(const std::string &sessionName) override;
56 int32_t FileTransListenerStubImpl::OnFinished(const std::string &sessionName) in OnFinished() function in OHOS::FileTransListenerStubImpl
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/ipc/
H A Ddownload_asset_callback_proxy_test.cpp65 * @tc.desc: Verify the OnFinished function.
71 GTEST_LOG_(INFO) << "OnFinished Start"; in HWTEST_F()
77 proxy_->OnFinished(taskId, uri, result); in HWTEST_F()
80 GTEST_LOG_(INFO) << " OnFinished ERROR"; in HWTEST_F()
82 GTEST_LOG_(INFO) << "OnFinished End"; in HWTEST_F()
87 * @tc.desc: Verify the OnFinished function.
99 proxy_->OnFinished(taskId, uri, result); in HWTEST_F()
/foundation/graphic/graphic_3d/kits/js/src/
H A DAnimationJS.cpp68 DeclareMethod("onFinished", OnFinished, NapiApi::Function); in Init()
135 anim->OnFinished()->RemoveHandler(OnFinishedToken_); in DisposeNative()
221 napi_value AnimationJS::OnFinished(NapiApi::FunctionContext<NapiApi::Function>& ctx) in OnFinished() function in AnimationJS
229 a->OnFinished()->RemoveHandler(OnFinishedToken_); in OnFinished()
240 OnFinishedCB_ = new OnCallJS("OnFinished", ctx.This(), func); in OnFinished()
244 OnFinishedToken_ = a->OnFinished()->AddHandler( in OnFinished()
/foundation/filemanagement/dfs_service/test/unittests/distributed_file_daemon/
H A Dfile_trans_listener_proxy_test.cpp186 * @tc.desc: Verify the OnFinished function.
194 auto ret = proxy_->OnFinished("test"); in HWTEST_F()
199 ret = proxy_->OnFinished("test"); in HWTEST_F()
205 ret = testProxy->OnFinished("test"); in HWTEST_F()
213 * @tc.desc: Verify the OnFinished function.
224 auto ret = proxy_->OnFinished("test"); in HWTEST_F()
230 ret = proxy_->OnFinished("test"); in HWTEST_F()
/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloudsync_kit_inner/
H A Ddownload_asset_callback.h24 virtual void OnFinished(const TaskId taskId, const std::string &uri, const int32_t result) = 0;
/foundation/ability/ability_runtime/test/moduletest/mock/src/appmgr/
H A Dmock_status_receiver.cpp20 void MockStatusReceiver::OnFinished(const int32_t resultCode, [[maybe_unused]] const std::string& resultMsg) in OnFinished() function in OHOS::AppExecFwk::MockStatusReceiver
/foundation/bundlemanager/bundle_framework/services/test/mock/src/
H A Dmock_status_receiver.cpp20 void MockStatusReceiver::OnFinished(const int32_t resultCode, [[maybe_unused]] const std::string &resultMsg) in OnFinished() function in OHOS::AppExecFwk::MockStatusReceiver
/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/ipc/
H A Ddownload_asset_callback_proxy.h29 void OnFinished(const TaskId taskId, const std::string &uri, const int32_t result) override;
/foundation/filemanagement/dfs_service/frameworks/native/distributed_file_inner/include/
H A Di_file_trans_listener.h33 virtual int32_t OnFinished(const std::string &sessionName) = 0;
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/
H A Ddistributed_sched_test_util.cpp50 void OnFinished(const int32_t resultCode, const std::string &resultMsg) override;
75 void StatusReceiverImpl::OnFinished(const int32_t resultCode, const std::string &resultMsg) in OnFinished() function in OHOS::DistributedSchedule::StatusReceiverImpl
/foundation/bundlemanager/bundle_framework/test/benchmarktest/installer_proxy_test/
H A Dinstaller_proxy_test.cpp36 virtual void OnFinished(const int32_t resultCode, const std::string &resultMsg) override;
48 void InstallerProxyTest::OnFinished(const int32_t resultCode, const std::string &resultMsg) in OnFinished() function in __anon4239::InstallerProxyTest
/foundation/filemanagement/dfs_service/test/unittests/distributed_file_inner/asset/
H A Dasset_recv_callback_stub_test.cpp35 MOCK_METHOD3(OnFinished, int32_t(const std::string &srcNetworkId,
192 EXPECT_CALL(*mockStub_, OnFinished(_, _, _)).WillOnce(Return(E_PERMISSION_DENIED)); in HWTEST_F()
214 EXPECT_CALL(*mockStub_, OnFinished(_, _, _)).WillOnce(Return(E_OK)); in HWTEST_F()
/foundation/ability/ability_runtime/test/moduletest/mock/include/appmgr/
H A Dmock_status_receiver.h33 virtual void OnFinished(const int32_t resultCode, [[maybe_unused]] const std::string& resultMsg) override;
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/
H A Dinstaller_callback.h32 virtual void OnFinished(const int32_t resultCode, [[maybe_unused]] const std::string &resultMsg) override;
H A Dinstaller_callback.cpp20 void InstallerCallback::OnFinished(const int32_t resultCode, [[maybe_unused]] const std::string &resultMsg) in OnFinished() function in OHOS::AppExecFwk::InstallerCallback
H A Dbundle_death_recipient.cpp43 statusReceiver_->OnFinished(IStatusReceiver::ERR_FAILED_SERVICE_DIED, STRING_FAIL); in OnRemoteDied()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dstatus_receiver_proxy.h40 virtual void OnFinished(const int32_t resultCode, const std::string &resultMsg) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/include/
H A Dmock_status_receiver.h33 virtual void OnFinished(const int32_t resultCode, [[maybe_unused]] const std::string &resultMsg) override;
/foundation/bundlemanager/bundle_framework/services/test/mock/include/
H A Dmock_status_receiver.h33 virtual void OnFinished(const int32_t resultCode, [[maybe_unused]] const std::string &resultMsg) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dmock_status_receiver.cpp26 void MockStatusReceiver::OnFinished(const int32_t resultCode, [[maybe_unused]] const std::string &resultMsg) in OnFinished() function in OHOS::AppExecFwk::MockStatusReceiver
/foundation/bundlemanager/bundle_tool/frameworks/include/
H A Dstatus_receiver_impl.h31 virtual void OnFinished(const int32_t resultCode, const std::string &resultMsg) override;

Completed in 9 milliseconds

1234