/foundation/aafwk/standard/services/abilitymgr/src/ |
D | mission_data_storage.cpp | 135 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 …]
|
D | mission_info_mgr.cpp | 411 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()
|
D | ability_manager_client.cpp | 280 …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()
|
D | ability_manager_stub.cpp | 1472 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/ |
D | mission_data_storage.h | 66 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);
|
D | mission_info_mgr.h | 143 MissionSnapshot& missionSnapshot) const; 154 MissionSnapshot& missionSnapshot, bool force = false) const;
|
D | task_data_persistence_mgr.h | 85 bool GetMissionSnapshot(int missionId, MissionSnapshot& missionSnapshot);
|
D | mission_list_manager.h | 343 MissionSnapshot& missionSnapshot);
|
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/include/mission/ |
D | snapshot_converter.h | 28 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);
|
D | distributed_sched_mission_manager.h | 85 std::unique_ptr<AAFwk::MissionSnapshot>& missionSnapshot);
|
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/src/mission/ |
D | snapshot_converter.cpp | 27 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()
|
D | distributed_sched_mission_manager.cpp | 255 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/ |
D | distributed_sched_adapter.cpp | 356 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()
|
D | distributed_sched_proxy.cpp | 565 std::unique_ptr<MissionSnapshot>& missionSnapshot) in GetRemoteMissionSnapshotInfo() argument 594 missionSnapshot = std::move(missionSnapshotPtr); in GetRemoteMissionSnapshotInfo()
|
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/mission_manager/ |
D | mission_manager.cpp | 293 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/ |
D | distributed_sched_adapter.h | 56 AAFwk::MissionSnapshot& missionSnapshot);
|
D | distributed_sched_proxy.h | 61 std::unique_ptr<AAFwk::MissionSnapshot>& missionSnapshot) override;
|
D | distributed_sched_interface.h | 75 std::unique_ptr<AAFwk::MissionSnapshot>& missionSnapshot) = 0;
|
D | distributed_sched_service.h | 106 std::unique_ptr<AAFwk::MissionSnapshot>& missionSnapshot) override;
|
/foundation/aafwk/standard/frameworks/kits/ability/native/include/distributed_ability_runtime/ |
D | distributed_client.h | 51 std::unique_ptr<MissionSnapshot>& missionSnapshot);
|
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/abilityManager/ |
D | napi_ability_manager.h | 138 MissionSnapshot missionSnapshot; member
|
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/test/unittest/ |
D | mock_distributed_sched.h | 60 std::unique_ptr<AAFwk::MissionSnapshot>& missionSnapshot) override;
|
D | mock_distributed_sched.cpp | 120 std::unique_ptr<MissionSnapshot>& missionSnapshot) in GetRemoteMissionSnapshotInfo() argument
|
/foundation/aafwk/standard/frameworks/kits/ability/native/src/distributed_ability_runtime/ |
D | distributed_client.cpp | 297 std::unique_ptr<MissionSnapshot>& missionSnapshot) in GetRemoteMissionSnapshotInfo() argument 322 missionSnapshot = std::move(missionSnapshotPtr); in GetRemoteMissionSnapshotInfo()
|
/foundation/aafwk/standard/interfaces/innerkits/ability_manager/include/ |
D | ability_manager_client.h | 300 ErrCode GetMissionSnapshot(const int32_t missionId, MissionSnapshot &missionSnapshot);
|