Home
last modified time | relevance | path

Searched refs:WriteToJpeg (Results 1 - 5 of 5) sorted by relevance

/foundation/window/window_manager/snapshot/test/unittest/
H A Dsnapshot_utils_test.cpp196 ASSERT_EQ(true, SnapShotUtils::WriteToJpeg(defaultFile_, param)); in HWTEST_F()
216 ASSERT_EQ(false, SnapShotUtils::WriteToJpeg(defaultFile_, param)); in HWTEST_F()
251 ASSERT_FALSE(SnapShotUtils::WriteToJpeg("", param)); in HWTEST_F()
268 ASSERT_FALSE(SnapShotUtils::WriteToJpeg(defaultFile_, param)); in HWTEST_F()
285 ASSERT_FALSE(SnapShotUtils::WriteToJpeg(1, param)); in HWTEST_F()
302 ASSERT_FALSE(SnapShotUtils::WriteToJpeg("", param)); in HWTEST_F()
319 ASSERT_FALSE(SnapShotUtils::WriteToJpeg(defaultFile_, param)); in HWTEST_F()
336 ASSERT_FALSE(SnapShotUtils::WriteToJpeg(1, param)); in HWTEST_F()
/foundation/window/window_manager/snapshot/include/
H A Dsnapshot_utils.h59 static bool WriteToJpeg(const std::string& fileName, const WriteToJpegParam& param);
60 static bool WriteToJpeg(int fd, const WriteToJpegParam& param);
/foundation/window/window_manager/snapshot/src/
H A Dsnapshot_utils.cpp270 bool SnapShotUtils::WriteToJpeg(const std::string& fileName, const WriteToJpegParam& param) in WriteToJpeg() function in OHOS::SnapShotUtils
280 HITRACE_METER_FMT(HITRACE_TAG_WINDOW_MANAGER, "snapshot:WriteToJpeg(%s)", fileName.c_str()); in WriteToJpeg()
318 bool SnapShotUtils::WriteToJpeg(int fd, const WriteToJpegParam& param) in WriteToJpeg() function in OHOS::SnapShotUtils
397 return SnapShotUtils::WriteToJpeg(fileName, param); in WriteToJpegWithPixelMap()
408 return SnapShotUtils::WriteToJpeg(fd, param); in WriteToJpegWithPixelMap()
/foundation/ability/ability_runtime/services/abilitymgr/src/mission/
H A Dmission_data_storage.cpp250 WriteToJpeg(filePath, *imageSource); in SaveSnapshotFile()
254 WriteToJpeg(filePath, *snapshot); in SaveSnapshotFile()
410 void MissionDataStorage::WriteToJpeg(const std::string &filePath, T &snapshot) const in WriteToJpeg() function in OHOS::AAFwk::MissionDataStorage
/foundation/ability/ability_runtime/services/abilitymgr/include/mission/
H A Dmission_data_storage.h117 void WriteToJpeg(const std::string &filePath, T &snapshot) const;

Completed in 4 milliseconds