/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/src/ |
H A D | enhancement_task_manager.cpp | 30 void EnhancementTaskManager::AddEnhancementTask(int32_t fileId, const string &photoId)
in AddEnhancementTask() argument 33 fileId2PhotoId_.emplace(fileId, photoId);
in AddEnhancementTask() 34 taskInProcess_.emplace(photoId, make_shared<EnhancementTaskInfo>(photoId, fileId, 0));
in AddEnhancementTask() 37 void EnhancementTaskManager::RemoveEnhancementTask(const std::string &photoId)
in RemoveEnhancementTask() argument 40 if (taskInProcess_.find(photoId) == taskInProcess_.end()) {
in RemoveEnhancementTask() 43 int32_t fileId = taskInProcess_[photoId]->fileId;
in RemoveEnhancementTask() 45 taskInProcess_.erase(photoId);
in RemoveEnhancementTask() 57 bool EnhancementTaskManager::InProcessingTask(const string &photoId)
in InProcessingTask() argument 60 if (photoId in InProcessingTask() 75 SetTaskRequestCount(const string &photoId, int32_t count) SetTaskRequestCount() argument 83 GetTaskRequestCount(const string &photoId) GetTaskRequestCount() argument [all...] |
H A D | enhancement_manager.cpp | 189 string photoId = GetStringVal(PhotoColumn::PHOTO_ID, resultSet);
in Init() local 193 MEDIA_INFO_LOG("restart and submit: fileId: %{public}d, photoId: %{public}s", fileId, photoId.c_str());
in Init() 209 if (enhancementService_->AddTask(photoId, mediaEnhanceBundle) != E_OK) {
in Init() 210 MEDIA_ERR_LOG("enhancment service error, photo_id: %{public}s", photoId.c_str());
in Init() 215 EnhancementTaskManager::AddEnhancementTask(fileId, photoId);
in Init() 229 string photoId = EnhancementTaskManager::QueryPhotoIdByFileId(fileId);
in CancelTasksInternal() local 230 if (photoId.empty()) {
in CancelTasksInternal() 234 if (!LoadService() || enhancementService_->CancelTask(photoId) != E_OK) {
in CancelTasksInternal() 235 MEDIA_ERR_LOG("enhancment service error, photo_id: %{public}s", photoId in CancelTasksInternal() 281 string photoId = GetStringVal(PhotoColumn::PHOTO_ID, resultSet); RemoveTasksInternal() local 388 AddServiceTask(MediaEnhanceBundleHandle* mediaEnhanceBundle, int32_t fileId, const string &photoId, const bool hasCloudWatermark) AddServiceTask() argument 446 string photoId = GetStringVal(PhotoColumn::PHOTO_ID, resultSet); HandleAddOperation() local 493 string photoId = GetStringVal(PhotoColumn::PHOTO_ID, resultSet); HandlePrioritizeOperation() local 537 string photoId = GetStringVal(PhotoColumn::PHOTO_ID, resultSet); HandleCancelOperation() local 597 string photoId = GetStringVal(PhotoColumn::PHOTO_ID, resultSet); HandleCancelAllOperation() local 682 string photoId = GetStringVal(PhotoColumn::PHOTO_ID, resultSet); HandleQueryOperation() local [all...] |
/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/src/utils/ |
H A D | multistages_capture_request_task_manager.cpp | 30 void MultiStagesCaptureRequestTaskManager::AddPhotoInProgress(int32_t fileId, const string &photoId, bool isTrashed) in AddPhotoInProgress() argument 33 fileId2PhotoId_.emplace(fileId, photoId); in AddPhotoInProgress() 38 photoIdInProcess_.emplace(photoId, make_shared<LowQualityPhotoInfo>(fileId, state, 0)); in AddPhotoInProgress() 43 void MultiStagesCaptureRequestTaskManager::UpdatePhotoInProgress(const string &photoId) in UpdatePhotoInProgress() argument 46 if (photoIdInProcess_.count(photoId) == 0) { in UpdatePhotoInProgress() 47 MEDIA_INFO_LOG("photo id (%{public}s) not in progress", photoId.c_str()); in UpdatePhotoInProgress() 50 shared_ptr<LowQualityPhotoInfo> photo = photoIdInProcess_.at(photoId); in UpdatePhotoInProgress() 52 photoIdInProcess_[photoId] = photo; in UpdatePhotoInProgress() 55 void MultiStagesCaptureRequestTaskManager::RemovePhotoInProgress(const string &photoId, bool isRestorable) in RemovePhotoInProgress() argument 59 if (photoIdInProcess_.count(photoId) in RemovePhotoInProgress() 72 UpdatePhotoInProcessRequestCount(const std::string &photoId, RequestType requestType) UpdatePhotoInProcessRequestCount() argument 87 IsPhotoInProcess(const string &photoId) IsPhotoInProcess() argument [all...] |
/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/src/dfx/ |
H A D | multistages_capture_dfx_total_time.cpp | 36 void MultiStagesCaptureDfxTotalTime::AddStartTime(const std::string &photoId)
in AddStartTime() argument 38 startTimes_.emplace(photoId, MediaFileUtils::UTCTimeMilliSeconds());
in AddStartTime() 41 void MultiStagesCaptureDfxTotalTime::RemoveStartTime(const std::string &photoId)
in RemoveStartTime() argument 43 if (startTimes_.empty() || startTimes_.find(photoId) == startTimes_.end()) {
in RemoveStartTime() 44 MEDIA_INFO_LOG("RemoveStartTime startTimes_ is empty or photoId is not in startTimes_");
in RemoveStartTime() 48 startTimes_.erase(photoId);
in RemoveStartTime() 51 void MultiStagesCaptureDfxTotalTime::Report(const std::string &photoId)
in Report() argument 53 if (startTimes_.empty() || startTimes_.find(photoId) == startTimes_.end()) {
in Report() 54 MEDIA_INFO_LOG("startTimes_ is empty or photoId is not in startTimes_");
in Report() 57 int64_t startTime = startTimes_[photoId];
in Report() [all...] |
H A D | multistages_capture_dfx_result.cpp | 29 void MultiStagesCaptureDfxResult::Report(const std::string &photoId, const int32_t result, const int32_t mediaType)
in Report() argument 31 MEDIA_INFO_LOG("Report photo: %{public}s, result: %{public}d", photoId.c_str(), result);
in Report() 32 if (photoId.empty()) {
in Report() 36 VariantMap map = {{KEY_PHOTO_ID, photoId}, {KEY_RESULT, result}, {KEY_MEDIA_TYPE, mediaType}};
in Report()
|
H A D | multistages_capture_dfx_first_visit.cpp | 69 void MultiStagesCaptureDfxFirstVisit::Report(const string &photoId)
in Report() argument 71 if (photoId.empty()) {
in Report() 72 MEDIA_INFO_LOG("Report photoId is empty");
in Report() 77 cmd.GetAbsRdbPredicates()->EqualTo(PhotoColumn::PHOTO_ID, photoId);
in Report() 101 FirstVisitAsyncTaskData *taskData = new (std::nothrow) FirstVisitAsyncTaskData(fileId, photoId, lastVisitTime,
in Report()
|
/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/src/ |
H A D | multistages_photo_capture_manager.cpp | 80 string photoId = MultiStagesCaptureRequestTaskManager::GetProcessingPhotoId(fileId);
in CancelRequestAndRemoveImage() local 81 MEDIA_INFO_LOG("fileId: %{public}d, photoId: %{public}s", fileId, photoId.c_str());
in CancelRequestAndRemoveImage() 82 CancelProcessRequest(photoId);
in CancelRequestAndRemoveImage() 83 RemoveImage(photoId, false);
in CancelRequestAndRemoveImage() 106 string photoId = columns[0]; // 0 indicates photo id
in HandleMultiStagesOperation() local 107 MEDIA_INFO_LOG("cancel request photoId: %{public}s", photoId.c_str());
in HandleMultiStagesOperation() 108 CancelProcessRequest(photoId);
in HandleMultiStagesOperation() 129 string photoId in SaveLowQualityImageInfo() local 282 AddImageInternal(int32_t fileId, const string &photoId, int32_t deferredProcType, bool discardable) AddImageInternal() argument 294 AddImage(int32_t fileId, const string &photoId, int32_t deferredProcType) AddImage() argument 318 string photoId = ""; AddImage() local 349 UpdatePictureQuality(const std::string &photoId) UpdatePictureQuality() argument 398 string photoId = GetStringVal(MEDIA_DATA_DB_PHOTO_ID, resultSet); SyncWithDeferredProcSessionInternal() local 437 CancelProcessRequest(const string &photoId) CancelProcessRequest() argument 457 RemoveImage(const string &photoId, bool isRestorable) RemoveImage() argument 468 RestoreImage(const string &photoId) RestoreImage() argument 480 string photoId = MultiStagesCaptureRequestTaskManager::GetProcessingPhotoId(fileId) ; ProcessImage() local 503 IsPhotoDeleted(const std::string &photoId) IsPhotoDeleted() argument [all...] |
H A D | multistages_capture_manager.cpp | 58 string photoId = GetStringVal(MEDIA_DATA_DB_PHOTO_ID, resultSet);
in RemovePhotos() local 60 if (photoId.empty() || photoQuality == static_cast<int32_t>(MultiStagesPhotoQuality::FULL)) {
in RemovePhotos() 61 MEDIA_DEBUG_LOG("photoId is empty or full quality ");
in RemovePhotos() 68 MultiStagesPhotoCaptureManager::GetInstance().RemoveImage(photoId, isRestorable);
in RemovePhotos() 71 MultiStagesVideoCaptureManager::GetInstance().RemoveVideo(photoId, isRestorable);
in RemovePhotos() 101 string photoId = GetStringVal(MEDIA_DATA_DB_PHOTO_ID, resultSet);
in RestorePhotos() local 103 if (photoId.empty() || photoQuality == static_cast<int32_t>(MultiStagesPhotoQuality::FULL)) {
in RestorePhotos() 104 MEDIA_DEBUG_LOG("photoId is empty or full quality ");
in RestorePhotos() 111 MultiStagesPhotoCaptureManager::GetInstance().RestoreImage(photoId);
in RestorePhotos() 114 MultiStagesVideoCaptureManager::GetInstance().RestoreVideo(photoId);
in RestorePhotos() [all...] |
/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/src/dfx/ |
H A D | cloud_enhancement_dfx_get_count.cpp | 40 void CloudEnhancementGetCount::AddStartTime(const std::string &photoId) in AddStartTime() argument 42 startTimes_.emplace(photoId, MediaFileUtils::UTCTimeMilliSeconds()); in AddStartTime() 45 void CloudEnhancementGetCount::RemoveStartTime(const std::string &photoId) in RemoveStartTime() argument 47 if (startTimes_.empty() || startTimes_.find(photoId) == startTimes_.end()) { in RemoveStartTime() 48 MEDIA_INFO_LOG("RemoveStartTime startTimes_ is empty or photoId is not in startTimes_"); in RemoveStartTime() 52 startTimes_.erase(photoId); in RemoveStartTime() 55 void CloudEnhancementGetCount::Report(const std::string &completedType, const std::string &photoId) in Report() argument 57 if (startTimes_.empty() || startTimes_.find(photoId) == startTimes_.end()) { in Report() 58 MEDIA_INFO_LOG("startTimes_ is empty or photoId is not in startTimes_"); in Report() 61 int64_t startTime = startTimes_[photoId]; in Report() [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_app_uri_sensitive_operations_test/src/ |
H A D | medialibrary_app_uri_sensitive_operations_test.cpp | 261 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F() local 262 if (photoId < E_OK) { in HWTEST_F() 263 MEDIA_ERR_LOG("create photo failed,photoId=%{public}d", photoId); in HWTEST_F() 270 dataShareValue.Put(AppUriSensitiveColumn::FILE_ID, photoId); in HWTEST_F() 280 dataShareValue02.Put(AppUriSensitiveColumn::FILE_ID, photoId); in HWTEST_F() 297 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F() local 298 if (photoId < E_OK) { in HWTEST_F() 299 MEDIA_ERR_LOG("create photo failed,photoId=%{public}d", photoId); in HWTEST_F() 320 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); HWTEST_F() local 344 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); HWTEST_F() local 369 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); HWTEST_F() local 394 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); HWTEST_F() local 418 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); HWTEST_F() local 454 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); HWTEST_F() local [all...] |
/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/include/ |
H A D | multistages_photo_capture_manager.h | 45 EXPORT bool CancelProcessRequest(const std::string &photoId);
46 void RemoveImage(const std::string &photoId, bool isRestorable = true);
47 void RestoreImage(const std::string &photoId);
48 EXPORT void AddImage(int32_t fileId, const std::string &photoId, int32_t deferredProcType);
51 void AddImageInternal(int32_t fileId, const std::string &photoId, int32_t deferredProcType,
61 EXPORT bool IsPhotoDeleted(const std::string &photoId);
74 int32_t UpdatePictureQuality(const std::string &photoId);
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/fuzztest/medialibraryenhancement_fuzzer/ |
H A D | medialibraryenhancement_fuzzer.cpp | 172 static int32_t InsertAsset(const uint8_t *data, size_t size, string photoId) in InsertAsset() argument 178 values.PutString(Media::PhotoColumn::PHOTO_ID, photoId); in InsertAsset() 200 static MediaEnhance::MediaEnhanceBundleHandle* FuzzMediaEnhanceBundle(const uint8_t* data, size_t size, string photoId) in FuzzMediaEnhanceBundle() argument 275 string photoId = FuzzString(data, size); in EnhancementTaskManagerTest() local 276 Media::EnhancementTaskManager::AddEnhancementTask(fileId, photoId); in EnhancementTaskManagerTest() 277 Media::EnhancementTaskManager::RemoveEnhancementTask(photoId); in EnhancementTaskManagerTest() 278 Media::EnhancementTaskManager::RemoveEnhancementTask(photoId); in EnhancementTaskManagerTest() 284 photoId = FuzzString(data, size); in EnhancementTaskManagerTest() 285 Media::EnhancementTaskManager::AddEnhancementTask(fileId, photoId); in EnhancementTaskManagerTest() 286 Media::EnhancementTaskManager::InProcessingTask(photoId); in EnhancementTaskManagerTest() 298 string photoId = FuzzString(data, size); CloudEnhancementGetCountTest() local 300 cloudEnhancementGetCount.Report(FuzzString(data, size), photoId); CloudEnhancementGetCountTest() local 312 string photoId = FuzzString(data, size); EnhancementServiceAdpterTest() local 326 string photoId = FuzzString(data, size); EnhancementServiceCallbackTest() local [all...] |
/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/include/utils/ |
H A D | multistages_capture_request_task_manager.h | 49 EXPORT static void AddPhotoInProgress(int32_t fileId, const std::string &photoId, bool isTrashed); 50 EXPORT static void RemovePhotoInProgress(const std::string &photoId, bool isRestorable); 51 static void UpdatePhotoInProgress(const std::string &photoId); 52 static bool IsPhotoInProcess(const std::string &photoId); 53 static int32_t UpdatePhotoInProcessRequestCount(const std::string &photoId, RequestType requestType);
|
/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/include/ |
H A D | enhancement_task_manager.h | 38 EXPORT static void AddEnhancementTask(int32_t fileId, const std::string &photoId);
39 EXPORT static void RemoveEnhancementTask(const std::string &photoId);
41 EXPORT static bool InProcessingTask(const std::string &photoId);
43 EXPORT static void SetTaskRequestCount(const std::string &photoId, int32_t count);
44 EXPORT static int32_t GetTaskRequestCount(const std::string &photoId);
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_app_uri_permission_operations_test/src/ |
H A D | medialibrary_app_uri_permission_operations_test.cpp | 261 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F() local 262 if (photoId < E_OK) { in HWTEST_F() 263 MEDIA_ERR_LOG("create photo failed,photoId=%{public}d", photoId); in HWTEST_F() 270 dataShareValue.Put(AppUriPermissionColumn::FILE_ID, photoId); in HWTEST_F() 284 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F() local 285 if (photoId < E_OK) { in HWTEST_F() 286 MEDIA_ERR_LOG("create photo failed,photoId=%{public}d", photoId); in HWTEST_F() 294 dataShareValue.Put(AppUriPermissionColumn::FILE_ID, photoId); in HWTEST_F() 308 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); HWTEST_F() local 340 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); HWTEST_F() local 373 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); HWTEST_F() local 434 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); HWTEST_F() local [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/fuzztest/medialibraryappurisensitiveoperations_fuzzer/ |
H A D | medialibraryappurisensitiveoperations_fuzzer.cpp | 92 static void HandleInsertOperationFuzzer(string appId, int32_t photoId, int32_t sensitiveType, int32_t permissionType, in HandleInsertOperationFuzzer() argument 97 values.Put(Media::AppUriSensitiveColumn::FILE_ID, photoId); in HandleInsertOperationFuzzer() 109 static void DeleteOperationFuzzer(string appId, int32_t photoId) in DeleteOperationFuzzer() argument 113 predicates.And()->EqualTo(Media::AppUriSensitiveColumn::FILE_ID, photoId); in DeleteOperationFuzzer() 124 int32_t photoId = FuzzInt32(data, size); in BatchInsertFuzzer() local 126 value.Put(Media::AppUriSensitiveColumn::FILE_ID, photoId); in BatchInsertFuzzer() 139 int32_t photoId = FuzzInt32(data, size); in AppUriSensitiveOperationsFuzzer() local 145 HandleInsertOperationFuzzer(appId, photoId, sensitiveType, permissionType, uriType); in AppUriSensitiveOperationsFuzzer() 147 HandleInsertOperationFuzzer(appId, photoId, sensitiveType, permissionType, uriType); in AppUriSensitiveOperationsFuzzer() 148 DeleteOperationFuzzer(appId, photoId); in AppUriSensitiveOperationsFuzzer() [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/fuzztest/medialibraryuripermissionoperations_fuzzer/ |
H A D | medialibraryuripermissionoperations_fuzzer.cpp | 84 static void HandleInsertOperationFuzzer(string appId, int32_t photoId, int32_t permissionType, int32_t uriType) in HandleInsertOperationFuzzer() argument 88 values.Put(Media::AppUriPermissionColumn::FILE_ID, photoId); in HandleInsertOperationFuzzer() 98 static void DeleteOperationFuzzer(string appId, int32_t photoId) in DeleteOperationFuzzer() argument 102 dataSharePredicate.And()->EqualTo(Media::AppUriPermissionColumn::FILE_ID, photoId); in DeleteOperationFuzzer() 119 int32_t photoId = FuzzInt32(data, size); in BatchInsertFuzzer() local 121 value.Put(Media::AppUriPermissionColumn::FILE_ID, photoId); in BatchInsertFuzzer() 133 int32_t photoId = FuzzInt32(data, size); in AppUriPermissionOperationsFuzzer() local 138 HandleInsertOperationFuzzer(appId, photoId, permissionType, uriType); in AppUriPermissionOperationsFuzzer() 139 DeleteOperationFuzzer(appId, photoId); in AppUriPermissionOperationsFuzzer()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/fuzztest/medialibraryurisensitiveoperations_fuzzer/ |
H A D | medialibraryurisensitiveoperations_fuzzer.cpp | 93 static void InsertOperationFuzzer(string appId, int32_t photoId, int32_t sensitiveType, int32_t uriType) in InsertOperationFuzzer() argument 97 values.Put(Media::AppUriSensitiveColumn::FILE_ID, photoId); in InsertOperationFuzzer() 108 static void DeleteOperationFuzzer(string appId, int32_t photoId) in DeleteOperationFuzzer() argument 112 dataSharePredicate.And()->EqualTo(Media::AppUriSensitiveColumn::FILE_ID, photoId); in DeleteOperationFuzzer() 129 int32_t photoId = FuzzInt32(data, size); in BatchInsertFuzzer() local 131 value.Put(Media::AppUriSensitiveColumn::FILE_ID, photoId); in BatchInsertFuzzer() 144 int32_t photoId = FuzzInt32(data, size); in UriSensitiveOperationsFuzzer() local 149 InsertOperationFuzzer(appId, photoId, sensitiveType, uriType); in UriSensitiveOperationsFuzzer() 150 DeleteOperationFuzzer(appId, photoId); in UriSensitiveOperationsFuzzer()
|
/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/include/dfx/ |
H A D | cloud_enhancement_dfx_get_count.h | 38 EXPORT void AddStartTime(const std::string &photoId);
39 EXPORT void RemoveStartTime(const std::string &photoId);
40 EXPORT void Report(const std::string &completedType, const std::string &photoId);
|
/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/include/dfx/ |
H A D | multistages_capture_dfx_total_time.h | 30 EXPORT void AddStartTime(const std::string &photoId); 31 EXPORT void RemoveStartTime(const std::string &photoId); 32 EXPORT void Report(const std::string &photoId);
|
H A D | multistages_capture_dfx_first_visit.h | 29 FirstVisitAsyncTaskData(int32_t fileId, const std::string &photoId, int64_t startTime, int64_t visitTime)
in FirstVisitAsyncTaskData() argument 30 : fileId_(fileId), photoId_(photoId), startTime_(startTime), visitTime_(visitTime) {}
in FirstVisitAsyncTaskData() 42 EXPORT void Report(const std::string &photoId);
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/fuzztest/medialibraryappuripermissionoperations_fuzzer/ |
H A D | medialibraryappuripermissionoperations_fuzzer.cpp | 95 static int32_t InsertPhotoAsset(const uint8_t *data, size_t size, int32_t photoId) in InsertPhotoAsset() argument 101 values.PutInt(Media::PhotoColumn::PHOTO_ID, photoId); in InsertPhotoAsset() 115 static void HandleInsertOperationFuzzer(string appId, int32_t photoId, int32_t permissionType, int32_t uriType) in HandleInsertOperationFuzzer() argument 119 values.Put(Media::AppUriPermissionColumn::FILE_ID, photoId); in HandleInsertOperationFuzzer() 129 static void DeleteOperationFuzzer(string appId, int32_t photoId, int32_t permissionType) in DeleteOperationFuzzer() argument 133 predicates.And()->EqualTo(Media::AppUriPermissionColumn::FILE_ID, photoId); in DeleteOperationFuzzer() 145 int32_t photoId = FuzzInt32(data, size); in BatchInsertFuzzer() local 146 int32_t fileId = InsertPhotoAsset(data, size, photoId); in BatchInsertFuzzer() 163 int32_t photoId = FuzzInt32(data, size); in AppUriPermissionOperationsFuzzer() local 164 int32_t fileId = InsertPhotoAsset(data, size, photoId); in AppUriPermissionOperationsFuzzer() [all...] |
/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/ |
H A D | media_asset_manager.h | 40 std::string photoId; member 56 std::string photoId; member 63 AssetHandler(const std::string &photoId, const std::string &requestId, const std::string &uri, in AssetHandler() 65 : photoId(photoId), requestId(requestId), requestUri(uri), destUri(destUri), dataHandler(handler) {} in AssetHandler()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_multistages_capture_test/src/ |
H A D | medialibrary_multistages_photo_capture_test.cpp | 334 string photoId = "1234566";
in HWTEST_F() local 335 MultiStagesCaptureDfxTotalTime::GetInstance().AddStartTime(photoId);
in HWTEST_F() 340 MultiStagesCaptureDfxTotalTime::GetInstance().Report(photoId);
in HWTEST_F() 349 string photoId = "1234566";
in HWTEST_F() local 352 MultiStagesCaptureDfxTotalTime::GetInstance().Report(photoId);
in HWTEST_F() 361 MultiStagesCaptureDfxTotalTime::GetInstance().Report(photoId);
in HWTEST_F() 374 string photoId = "1234566";
in HWTEST_F() local 375 MultiStagesCaptureDfxTotalTime::GetInstance().RemoveStartTime(photoId);
in HWTEST_F() 378 MultiStagesCaptureDfxTotalTime::GetInstance().AddStartTime(photoId);
in HWTEST_F() 381 MultiStagesCaptureDfxTotalTime::GetInstance().RemoveStartTime(photoId);
in HWTEST_F() 390 string photoId = ""; HWTEST_F() local 544 string photoId = "202312251533001"; HWTEST_F() local 843 std::string photoId; HWTEST_F() local 851 std::string photoId = "abc"; HWTEST_F() local [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_uri_sensitive_operations_test/src/ |
H A D | medialibrary_uri_sensitive_operations_test.cpp | 262 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F() local 263 if (photoId < E_OK) { in HWTEST_F() 264 MEDIA_ERR_LOG("create photo failed,photoId=%{public}d", photoId); in HWTEST_F() 271 dataShareValue.Put(AppUriSensitiveColumn::FILE_ID, photoId); in HWTEST_F() 286 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); in HWTEST_F() local 287 if (photoId < E_OK) { in HWTEST_F() 288 MEDIA_ERR_LOG("create photo failed,photoId=%{public}d", photoId); in HWTEST_F() 295 dataShareValue.Put(AppUriSensitiveColumn::FILE_ID, photoId); in HWTEST_F() 325 int32_t photoId = CreatePhotoApi10(MediaType::MEDIA_TYPE_IMAGE, "photo.jpg"); HWTEST_F() local [all...] |