Home
last modified time | relevance | path

Searched refs:missionSnapshot (Results 1 – 25 of 30) sorted by relevance

12

/foundation/aafwk/standard/services/abilitymgr/src/
Dmission_data_storage.cpp135 void MissionDataStorage::SaveSnapshotFile(int32_t missionId, const MissionSnapshot& missionSnapshot) in SaveSnapshotFile() argument
146 const uint8_t* data = missionSnapshot.snapshot->GetPixels(); in SaveSnapshotFile()
147 bool saveMissionFile = WriteToPng(filePath.c_str(), missionSnapshot.snapshot->GetWidth(), in SaveSnapshotFile()
148 missionSnapshot.snapshot->GetHeight(), data); in SaveSnapshotFile()
154 … MissionDataStorage::SaveMissionSnapshot(int32_t missionId, const MissionSnapshot& missionSnapshot) in SaveMissionSnapshot() argument
157 SaveCachedSnapshot(missionId, missionSnapshot); in SaveMissionSnapshot()
158 SaveSnapshotFile(missionId, missionSnapshot); in SaveMissionSnapshot()
163 bool MissionDataStorage::GetCachedSnapshot(int32_t missionId, MissionSnapshot& missionSnapshot) in GetCachedSnapshot() argument
168 missionSnapshot.snapshot = pixelMap->second; in GetCachedSnapshot()
174 …l MissionDataStorage::SaveCachedSnapshot(int32_t missionId, const MissionSnapshot& missionSnapshot) in SaveCachedSnapshot() argument
[all …]
Dmission_info_mgr.cpp411 MissionSnapshot& missionSnapshot) const in UpdateMissionSnapshot()
436 missionSnapshot.snapshot = snapshot.GetPixelMap(); in UpdateMissionSnapshot()
437 missionSnapshot.topAbility = it->missionInfo.want.GetElement(); in UpdateMissionSnapshot()
438 if (!taskDataPersistenceMgr_->SaveMissionSnapshot(missionId, missionSnapshot)) { in UpdateMissionSnapshot()
447 MissionSnapshot& missionSnapshot, bool force) const in GetMissionSnapshot() argument
465 return UpdateMissionSnapshot(missionId, abilityToken, missionSnapshot); in GetMissionSnapshot()
468 if (taskDataPersistenceMgr_->GetMissionSnapshot(missionId, missionSnapshot)) { in GetMissionSnapshot()
469 missionSnapshot.topAbility = it->missionInfo.want.GetElement(); in GetMissionSnapshot()
474 return UpdateMissionSnapshot(missionId, abilityToken, missionSnapshot); in GetMissionSnapshot()
Dability_manager_client.cpp280 …AbilityManagerClient::GetMissionSnapshot(const int32_t missionId, MissionSnapshot &missionSnapshot) in GetMissionSnapshot() argument
311 missionSnapshot.topAbility = missionPixelMap.topAbility; in GetMissionSnapshot()
312 missionSnapshot.snapshot = std::move(pixel); in GetMissionSnapshot()
Dability_manager_stub.cpp1472 MissionSnapshot missionSnapshot; in GetMissionSnapshotInfoInner() local
1473 int32_t result = GetMissionSnapshot(deviceId, missionId, missionSnapshot); in GetMissionSnapshotInfoInner()
1475 if (!reply.WriteParcelable(&missionSnapshot)) { in GetMissionSnapshotInfoInner()
/foundation/aafwk/standard/services/abilitymgr/include/
Dmission_data_storage.h66 void SaveMissionSnapshot(int32_t missionId, const MissionSnapshot& missionSnapshot);
80 bool GetMissionSnapshot(int32_t missionId, MissionSnapshot& missionSnapshot);
93 bool GetCachedSnapshot(int32_t missionId, MissionSnapshot& missionSnapshot);
95 bool SaveCachedSnapshot(int32_t missionId, const MissionSnapshot& missionSnapshot);
99 void SaveSnapshotFile(int32_t missionId, const MissionSnapshot& missionSnapshot);
Dmission_info_mgr.h143 MissionSnapshot& missionSnapshot) const;
154 MissionSnapshot& missionSnapshot, bool force = false) const;
Dtask_data_persistence_mgr.h85 bool GetMissionSnapshot(int missionId, MissionSnapshot& missionSnapshot);
Dmission_list_manager.h343 MissionSnapshot& missionSnapshot);
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/include/mission/
Dsnapshot_converter.h28 static int32_t ConvertToSnapshot(AAFwk::MissionSnapshot& missionSnapshot, Snapshot& snapshot);
29 …static int32_t ConvertToSnapshot(AAFwk::MissionSnapshot& missionSnapshot, std::unique_ptr<Snapshot…
31 std::unique_ptr<AAFwk::MissionSnapshot>& missionSnapshot);
Ddistributed_sched_mission_manager.h85 std::unique_ptr<AAFwk::MissionSnapshot>& missionSnapshot);
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/src/mission/
Dsnapshot_converter.cpp27 int32_t SnapshotConverter::ConvertToSnapshot(AAFwk::MissionSnapshot& missionSnapshot, Snapshot& sna… in ConvertToSnapshot() argument
55 snapshot.pixelMap_ = missionSnapshot.snapshot; in ConvertToSnapshot()
59 int32_t SnapshotConverter::ConvertToSnapshot(AAFwk::MissionSnapshot& missionSnapshot, in ConvertToSnapshot() argument
88 snapshot->pixelMap_ = missionSnapshot.snapshot; in ConvertToSnapshot()
93 std::unique_ptr<AAFwk::MissionSnapshot>& missionSnapshot) in ConvertToMissionSnapshot() argument
95 missionSnapshot->snapshot = snapshot.pixelMap_; in ConvertToMissionSnapshot()
Ddistributed_sched_mission_manager.cpp255 std::unique_ptr<AAFwk::MissionSnapshot>& missionSnapshot) in GetRemoteMissionSnapshotInfo() argument
270 SnapshotConverter::ConvertToMissionSnapshot(*snapshotPtr, missionSnapshot); in GetRemoteMissionSnapshotInfo()
290 SnapshotConverter::ConvertToMissionSnapshot(*snapshotPtr, missionSnapshot); in GetRemoteMissionSnapshotInfo()
1444 AAFwk::MissionSnapshot missionSnapshot; in MissionSnapshotChanged() local
1446 .GetLocalMissionSnapshotInfo(networkId, missionId, missionSnapshot); in MissionSnapshotChanged()
1452 SnapshotConverter::ConvertToSnapshot(missionSnapshot, snapshot); in MissionSnapshotChanged()
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/src/
Ddistributed_sched_adapter.cpp356 MissionSnapshot& missionSnapshot) in GetLocalMissionSnapshotInfo() argument
365 missionId, missionSnapshot); in GetLocalMissionSnapshotInfo()
371 if (missionSnapshot.snapshot == nullptr) { in GetLocalMissionSnapshotInfo()
375 HILOGD("pixelMap size:%{public}d", missionSnapshot.snapshot->GetCapacity()); in GetLocalMissionSnapshotInfo()
Ddistributed_sched_proxy.cpp565 std::unique_ptr<MissionSnapshot>& missionSnapshot) in GetRemoteMissionSnapshotInfo() argument
594 missionSnapshot = std::move(missionSnapshotPtr); in GetRemoteMissionSnapshotInfo()
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/mission_manager/
Dmission_manager.cpp293 AAFwk::MissionSnapshot missionSnapshot; in OnGetMissionSnapShot() local
295 deviceId, missionId, missionSnapshot); in OnGetMissionSnapShot()
302 … "bundleName", CreateJsValue(engine, missionSnapshot.topAbility.GetBundleName())); in OnGetMissionSnapShot()
304 … "abilityName", CreateJsValue(engine, missionSnapshot.topAbility.GetAbilityName())); in OnGetMissionSnapShot()
308 reinterpret_cast<napi_env>(&engine), missionSnapshot.snapshot)); in OnGetMissionSnapShot()
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/include/
Ddistributed_sched_adapter.h56 AAFwk::MissionSnapshot& missionSnapshot);
Ddistributed_sched_proxy.h61 std::unique_ptr<AAFwk::MissionSnapshot>& missionSnapshot) override;
Ddistributed_sched_interface.h75 std::unique_ptr<AAFwk::MissionSnapshot>& missionSnapshot) = 0;
Ddistributed_sched_service.h106 std::unique_ptr<AAFwk::MissionSnapshot>& missionSnapshot) override;
/foundation/aafwk/standard/frameworks/kits/ability/native/include/distributed_ability_runtime/
Ddistributed_client.h51 std::unique_ptr<MissionSnapshot>& missionSnapshot);
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/abilityManager/
Dnapi_ability_manager.h138 MissionSnapshot missionSnapshot; member
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/test/unittest/
Dmock_distributed_sched.h60 std::unique_ptr<AAFwk::MissionSnapshot>& missionSnapshot) override;
Dmock_distributed_sched.cpp120 std::unique_ptr<MissionSnapshot>& missionSnapshot) in GetRemoteMissionSnapshotInfo() argument
/foundation/aafwk/standard/frameworks/kits/ability/native/src/distributed_ability_runtime/
Ddistributed_client.cpp297 std::unique_ptr<MissionSnapshot>& missionSnapshot) in GetRemoteMissionSnapshotInfo() argument
322 missionSnapshot = std::move(missionSnapshotPtr); in GetRemoteMissionSnapshotInfo()
/foundation/aafwk/standard/interfaces/innerkits/ability_manager/include/
Dability_manager_client.h300 ErrCode GetMissionSnapshot(const int32_t missionId, MissionSnapshot &missionSnapshot);

12