Home
last modified time | relevance | path

Searched refs:restoreData (Results 1 - 18 of 18) sorted by relevance

/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/continuation/distributed/
H A Dcontinuation_manager_stage.h136 * @param restoreData The WantParams containing the data
141 bool RestoreData(const WantParams &restoreData, bool reversible, const std::string &originalDeviceId);
165 bool RestoreFromRemote(const WantParams &restoreData);
197 bool DoScheduleRestoreData(const WantParams &restoreData);
198 bool DoRestoreFromRemote(const WantParams &restoreData);
H A Dcontinuation_manager.h64 bool RestoreData(const WantParams &restoreData, bool reversible, const std::string &originalDeviceId);
71 bool RestoreFromRemote(const WantParams &restoreData);
108 bool DoScheduleRestoreData(const WantParams &restoreData);
110 bool DoRestoreFromRemote(const WantParams &restoreData);
/foundation/ability/ability_runtime/frameworks/native/ability/native/continuation/distributed/
H A Dcontinuation_manager_stage.cpp312 const WantParams &restoreData, bool reversible, const std::string &originalDeviceId) in RestoreData()
316 bool result = DoScheduleRestoreData(restoreData); in RestoreData()
358 bool ContinuationManagerStage::RestoreFromRemote(const WantParams &restoreData) in RestoreFromRemote() argument
362 bool result = DoRestoreFromRemote(restoreData); in RestoreFromRemote()
552 bool ContinuationManagerStage::DoScheduleRestoreData(const WantParams &restoreData) in DoScheduleRestoreData() argument
567 for (std::string key : restoreData.KeySet()) { in DoScheduleRestoreData()
568 abilityRestoreData.SetParam(key, restoreData.GetParam(key).GetRefPtr()); in DoScheduleRestoreData()
578 bool ContinuationManagerStage::DoRestoreFromRemote(const WantParams &restoreData) in DoRestoreFromRemote() argument
588 for (std::string key : restoreData.KeySet()) { in DoRestoreFromRemote()
589 abilityRestoreData.SetParam(key, restoreData in DoRestoreFromRemote()
311 RestoreData( const WantParams &restoreData, bool reversible, const std::string &originalDeviceId) RestoreData() argument
[all...]
H A Dcontinuation_manager.cpp307 const WantParams &restoreData, bool reversible, const std::string &originalDeviceId) in RestoreData()
310 bool result = DoScheduleRestoreData(restoreData); in RestoreData()
353 bool ContinuationManager::RestoreFromRemote(const WantParams &restoreData) in RestoreFromRemote() argument
356 bool result = DoRestoreFromRemote(restoreData); in RestoreFromRemote()
536 bool ContinuationManager::DoScheduleRestoreData(const WantParams &restoreData) in DoScheduleRestoreData() argument
551 for (std::string key : restoreData.KeySet()) { in DoScheduleRestoreData()
552 abilityRestoreData.SetParam(key, restoreData.GetParam(key).GetRefPtr()); in DoScheduleRestoreData()
563 bool ContinuationManager::DoRestoreFromRemote(const WantParams &restoreData) in DoRestoreFromRemote() argument
573 for (std::string key : restoreData.KeySet()) { in DoRestoreFromRemote()
574 abilityRestoreData.SetParam(key, restoreData in DoRestoreFromRemote()
306 RestoreData( const WantParams &restoreData, bool reversible, const std::string &originalDeviceId) RestoreData() argument
[all...]
/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Dability_impl.cpp638 PacMap restoreData; in AfterForeground() local
640 AbilityLifeCycleState::ABILITY_STATE_FOREGROUND_NEW, restoreData); in AfterForeground()
661 PacMap restoreData; in AfterBackground() local
663 AbilityLifeCycleState::ABILITY_STATE_BACKGROUND_NEW, restoreData); in AfterBackground()
691 PacMap restoreData; in ForegroundFailed() local
696 AbilityLifeCycleState::ABILITY_STATE_WINDOW_FREEZED, restoreData); in ForegroundFailed()
708 AbilityLifeCycleState::ABILITY_STATE_INVALID_WINDOW_MODE, restoreData); in ForegroundFailed()
713 AbilityLifeCycleState::ABILITY_STATE_DO_NOTHING, restoreData); in ForegroundFailed()
718 AbilityLifeCycleState::ABILITY_STATE_FOREGROUND_FAILED, restoreData); in ForegroundFailed()
749 PacMap restoreData; in BackgroundFailed() local
[all...]
H A Dui_ability_impl.cpp460 AppExecFwk::PacMap restoreData; in AfterForeground() local
462 token_, AAFwk::AbilityLifeCycleState::ABILITY_STATE_FOREGROUND_NEW, restoreData); in AfterForeground()
478 AppExecFwk::PacMap restoreData; in AfterBackground() local
480 token_, AAFwk::AbilityLifeCycleState::ABILITY_STATE_BACKGROUND_NEW, restoreData); in AfterBackground()
513 AppExecFwk::PacMap restoreData; in ForegroundFailed() local
518 token_, AAFwk::AbilityLifeCycleState::ABILITY_STATE_WINDOW_FREEZED, restoreData); in ForegroundFailed()
524 token_, AAFwk::AbilityLifeCycleState::ABILITY_STATE_INVALID_WINDOW_MODE, restoreData); in ForegroundFailed()
529 token_, AAFwk::AbilityLifeCycleState::ABILITY_STATE_DO_NOTHING, restoreData); in ForegroundFailed()
534 token_, AAFwk::AbilityLifeCycleState::ABILITY_STATE_FOREGROUND_FAILED, restoreData); in ForegroundFailed()
567 AppExecFwk::PacMap restoreData; in BackgroundFailed() local
[all...]
H A Dextension_impl.cpp140 AAFwk::PacMap restoreData; in HandleExtensionTransaction() local
141 AAFwk::AbilityManagerClient::GetInstance()->AbilityTransitionDone(token_, targetState.state, restoreData); in HandleExtensionTransaction()
265 AAFwk::PacMap restoreData; in AbilityTransactionCallback() local
266 AAFwk::AbilityManagerClient::GetInstance()->AbilityTransitionDone(token_, state, restoreData); in AbilityTransactionCallback()
H A Dui_ability.cpp481 bool UIAbility::OnRestoreData(AAFwk::WantParams &restoreData) in OnRestoreData() argument
H A Dability.cpp914 bool Ability::OnRestoreData(WantParams &restoreData) in OnRestoreData() argument
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/continuation/kits/
H A Dability_continuation_interface.h32 virtual bool OnRestoreData(AAFwk::WantParams &restoreData) = 0;
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_continuation_ability.h38 MOCK_METHOD1(OnRestoreData, bool(WantParams &restoreData));
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dcontinuation_test.cpp1674 WantParams restoreData; in HWTEST_F() local
1676 bool result = continuationManager_->RestoreData(restoreData, reversible, "originalDeviceId"); in HWTEST_F()
1695 WantParams restoreData; in HWTEST_F() local
1697 bool result = continuationManager_->RestoreData(restoreData, reversible, "originalDeviceId"); in HWTEST_F()
1782 WantParams restoreData; in HWTEST_F() local
1783 bool result = continuationManager_->RestoreFromRemote(restoreData); in HWTEST_F()
1801 WantParams restoreData; in HWTEST_F() local
1802 bool result = continuationManager_->RestoreFromRemote(restoreData); in HWTEST_F()
1951 WantParams restoreData; in HWTEST_F() local
1952 bool result = continuationManager_->DoScheduleRestoreData(restoreData); in HWTEST_F()
1970 WantParams restoreData; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_ability.cpp652 bool AceAbility::OnRestoreData(OHOS::AAFwk::WantParams& restoreData) in OnRestoreData() argument
655 if (restoreData.HasParam(PAGE_URI)) { in OnRestoreData()
656 auto value = restoreData.GetParam(PAGE_URI); in OnRestoreData()
662 if (restoreData.HasParam(CONTINUE_PARAMS_KEY)) { in OnRestoreData()
663 auto value = restoreData.GetParam(CONTINUE_PARAMS_KEY); in OnRestoreData()
H A Dace_ability.h89 bool OnRestoreData(OHOS::AAFwk::WantParams& restoreData) override;
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/
H A Dui_ability.h243 * @param restoreData Indicates the user data to be restored.
246 bool OnRestoreData(AAFwk::WantParams &restoreData) override;
H A Dability.h653 * @param restoreData Indicates the user data to be restored.
656 bool OnRestoreData(WantParams &restoreData) override;
/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_extension_ability/
H A Djs_ui_extension.cpp522 AAFwk::PacMap restoreData; in PostInsightIntentExecuted() local
524 restoreData); in PostInsightIntentExecuted()
H A Djs_ui_extension_base.cpp478 AAFwk::PacMap restoreData; in PostInsightIntentExecuted() local
480 restoreData); in PostInsightIntentExecuted()

Completed in 23 milliseconds