Home
last modified time | relevance | path

Searched refs:burstKey (Results 1 - 25 of 39) sorted by relevance

12

/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/operation/
H A Dphoto_burst_operation.cpp34 * @brief Find burstKey from the given albumId, only for BURST photo.
35 * @return burstKey, if found; empty string, otherwise.
56 * @brief Find burstKey from the given albumId, only for BURST photo.
57 * @return burstKey, if found; empty string, otherwise.
66 std::string burstKey = this->QueryBurstKeyFromDB(rdbStore, photoAssetInfo); in FindBurstKey() local
67 if (burstKey.empty()) { in FindBurstKey()
68 burstKey = this->GenerateUuid(); in FindBurstKey()
69 MEDIA_INFO_LOG("Media_Operation: burstKey is empty, create a new one [%{public}s]. Object: %{public}s", in FindBurstKey()
70 burstKey.c_str(), in FindBurstKey()
73 return burstKey; in FindBurstKey()
145 std::string burstKey = GetStringVal(PhotoColumn::PHOTO_BURST_KEY, resultSet); QueryBurstKeyFromDB() local
[all...]
/foundation/multimedia/media_library/frameworks/js/src/
H A Dmedia_library_comm_napi.cpp34 napi_env env, const string &uri, int32_t cameraShotType, const string &burstKey) in CreatePhotoAssetNapi()
57 fileAsset->SetBurstKey(burstKey); in CreatePhotoAssetNapi()
33 CreatePhotoAssetNapi( napi_env env, const string &uri, int32_t cameraShotType, const string &burstKey) CreatePhotoAssetNapi() argument
/foundation/multimedia/camera_framework/services/camera_service/binder/server/src/
H A Dhcapture_session_stub.cpp275 std::string burstKey; in HandleCreateMediaLibrary() local
276 int32_t ret = CreateMediaLibrary(photoProxy, uri, cameraShotType, burstKey, timestamp); in HandleCreateMediaLibrary()
277 CHECK_AND_RETURN_RET_LOG(reply.WriteString(uri) && reply.WriteInt32(cameraShotType) && reply.WriteString(burstKey), in HandleCreateMediaLibrary()
295 std::string burstKey; in HandleCreateMediaLibraryForPicture() local
296 int32_t ret = CreateMediaLibrary(std::move(picture), photoProxy, uri, cameraShotType, burstKey, timestamp); in HandleCreateMediaLibraryForPicture()
297 CHECK_AND_RETURN_RET_LOG(reply.WriteString(uri) && reply.WriteInt32(cameraShotType) && reply.WriteString(burstKey), in HandleCreateMediaLibraryForPicture()
/foundation/multimedia/camera_framework/services/camera_service/binder/client/include/
H A Dhcapture_session_proxy.h69 std::string &uri, int32_t &cameraShotType, std::string &burstKey, int64_t timestamp) override;
72 std::string &uri, int32_t &cameraShotType, std::string &burstKey, int64_t timestamp) override;
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_backup_clone_test/src/
H A Dmedialibrary_backup_clone_test.cpp564 string burstKey; in HWTEST_F() local
566 if (burstKey.empty()) { in HWTEST_F()
567 burstKey = burstKeyGenerator.FindBurstKey(fileInfos[i]); in HWTEST_F()
570 EXPECT_EQ(burstKey, burstKeyGenerator.FindBurstKey(fileInfos[i])); in HWTEST_F()
593 string burstKey; in HWTEST_F() local
595 if (burstKey.empty()) { in HWTEST_F()
596 burstKey = burstKeyGenerator.FindBurstKey(fileInfos[i]); in HWTEST_F()
599 EXPECT_NE(burstKey, burstKeyGenerator.FindBurstKey(fileInfos[i])); in HWTEST_F()
622 string burstKey; in HWTEST_F() local
624 if (burstKey in HWTEST_F()
[all...]
/foundation/multimedia/media_library/interfaces/kits/js/include/
H A Dmedia_library_comm_napi.h32 napi_env env, const std::string &uri, int32_t cameraShotType, const std::string &burstKey = "");
/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/
H A Dmedia_asset_helper.h28 virtual OH_MediaAsset* GetMediaAsset(std::string uri, int32_t cameraShotType, std::string burstKey) = 0;
H A Dmedia_asset_helper_impl.h31 OH_MediaAsset* GetMediaAsset(std::string uri, int32_t cameraShotType, std::string burstKey) override;
/foundation/multimedia/camera_framework/services/camera_service/binder/base/include/
H A Dicapture_session.h81 std::string &uri, int32_t &cameraShotType, std::string &burstKey, int64_t timestamp) = 0;
84 std::string &uri, int32_t &cameraShotType, std::string &burstKey, int64_t timestamp) = 0;
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/media_library_manager_test/include/
H A Dphoto_proxy_test.h184 void SetBurstKey(std::string burstKey) in SetBurstKey() argument
186 this->burstKey_ = burstKey; in SetBurstKey()
/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dphoto_listener_impl.cpp203 std::string burstKey = ""; in ExecutePhotoAsset() local
205 uri, cameraShotType, burstKey, timestamp); in ExecutePhotoAsset()
211 auto mediaAsset = mediaAssetHelper->GetMediaAsset(uri, cameraShotType, burstKey); in ExecutePhotoAsset()
243 int32_t &cameraShotType, std::string &burstKey, int64_t timestamp) in CreateMediaLibrary()
271 photoOutput->GetSession()->CreateMediaLibrary(photoProxy, uri, cameraShotType, burstKey, timestamp); in CreateMediaLibrary()
241 CreateMediaLibrary(sptr<SurfaceBuffer> surfaceBuffer, BufferHandle *bufferHandle, CameraBufferExtraData extraData, bool isHighQuality, std::string &uri, int32_t &cameraShotType, std::string &burstKey, int64_t timestamp) CreateMediaLibrary() argument
H A Dphoto_listener_impl.h63 int32_t &cameraShotType, std::string &burstKey, int64_t timestamp);
/foundation/multimedia/camera_framework/services/camera_service/src/avcodec/
H A Dcamera_server_photo_proxy.cpp229 void CameraServerPhotoProxy::SetBurstInfo(std::string burstKey, bool isCoverPhoto) in SetBurstInfo() argument
232 burstKey_ = burstKey; in SetBurstInfo()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/fuzztest/medialibrarymediaphotoassetproxy_fuzzer/
H A Dmedialibrarymediaphotoassetproxy_fuzzer.h182 void SetBurstKey(std::string burstKey) in SetBurstKey() argument
184 this->burstKey_ = burstKey; in SetBurstKey()
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/restore/
H A Dphotos_dao.h31 std::string burstKey; member
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/restore/
H A Dphotos_restore.cpp211 if (fileInfo.burstKey.size() > 0) { in FindBurstKey()
212 return fileInfo.burstKey; in FindBurstKey()
243 if (fileInfo.burstKey.size() > 0) { in FindSubtype()
H A Dphotos_clone.cpp200 info.burstKey = GetStringVal("burst_key", resultSet); in FindDuplicateBurstKey()
255 std::vector<NativeRdb::ValueObject> bindArgs = {burstKeyNew, info.ownerAlbumId, info.burstKey}; in FixDuplicateBurstKeyInDifferentAlbum()
/foundation/multimedia/camera_framework/services/camera_service/binder/client/src/
H A Dhcapture_session_proxy.cpp364 std::string &uri, int32_t &cameraShotType, std::string &burstKey, int64_t timestamp) in CreateMediaLibrary()
381 burstKey = reply.ReadString(); in CreateMediaLibrary()
387 std::string &burstKey, int64_t timestamp) in CreateMediaLibrary()
408 burstKey = reply.ReadString(); in CreateMediaLibrary()
363 CreateMediaLibrary(sptr<CameraPhotoProxy> &photoProxy, std::string &uri, int32_t &cameraShotType, std::string &burstKey, int64_t timestamp) CreateMediaLibrary() argument
385 CreateMediaLibrary(std::unique_ptr<Media::Picture> picture, sptr<CameraPhotoProxy> &photoProxy, std::string &uri, int32_t &cameraShotType, std::string &burstKey, int64_t timestamp) CreateMediaLibrary() argument
/foundation/multimedia/camera_framework/test/fuzztest/cloudenhancesession_fuzzer/
H A Dcloud_enhance_session_fuzzer.cpp148 string burstKey = data.ReadString(); in TestCreateMediaLibrary() local
151 burstKey, timestamp); in TestCreateMediaLibrary() local
/foundation/multimedia/media_library/frameworks/native/c_api/
H A Dmedia_asset_helper_impl.cpp41 OH_MediaAsset* MediaAssetHelperImpl::GetMediaAsset(std::string uri, int32_t cameraShotType, std::string burstKey) in GetMediaAsset() argument
61 fileAsset->SetBurstKey(burstKey); in GetMediaAsset()
/foundation/multimedia/camera_framework/services/camera_service/include/
H A Dhcapture_session.h248 std::string& uri, int32_t& cameraShotType, std::string& burstKey, int64_t timestamp) override;
250 std::string &uri, int32_t &cameraShotType, std::string& burstKey, int64_t timestamp) override;
252 bool &isBursting, std::string &burstKey);
/foundation/multimedia/camera_framework/services/camera_service/include/avcodec/
H A Dcamera_server_photo_proxy.h80 void SetBurstInfo(std::string burstKey, bool isCoverPhoto);
/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhstream_capture.cpp280 std::string burstKey = BURST_UUID_UNSET; in GetBurstKey() local
284 burstKey = iter->second; in GetBurstKey()
285 MEDIA_DEBUG_LOG("HStreamCapture::GetBurstKey %{public}s", burstKey.c_str()); in GetBurstKey()
289 return burstKey; in GetBurstKey()
/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/output/
H A Dphoto_output_napi.h149 void UpdatePictureJSCallback(const string uri, int32_t cameraShotType, const std::string burstKey) const;
156 std::string& uri, int32_t& cameraShotType, std::string &burstKey, int64_t timestamp) const;
271 std::string burstKey = ""; member
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/
H A Dphoto_output_napi.cpp564 void PhotoListener::UpdatePictureJSCallback(const string uri, int32_t cameraShotType, const std::string burstKey) const in UpdatePictureJSCallback()
581 callbackInfo->burstKey = burstKey; in UpdatePictureJSCallback()
594 callbackInfo->uri, callbackInfo->cameraShotType, callbackInfo->burstKey); in UpdatePictureJSCallback()
595 MEDIA_INFO_LOG("UpdatePictureJSCallback result %{public}s, type %{public}d, burstKey %{public}s", in UpdatePictureJSCallback()
596 callbackInfo->uri.c_str(), callbackInfo->cameraShotType, callbackInfo->burstKey.c_str()); in UpdatePictureJSCallback()
714 std::string burstKey = ""; in AssembleAuxiliaryPhoto() local
716 uri, cameraShotType, burstKey, timestamp); in AssembleAuxiliaryPhoto() local
718 UpdatePictureJSCallback(uri, cameraShotType, burstKey); in AssembleAuxiliaryPhoto()
850 std::string burstKey in ExecutePhotoAsset() local
861 CreateMediaLibrary(sptr<SurfaceBuffer> surfaceBuffer, BufferHandle *bufferHandle, bool isHighQuality, std::string &uri, int32_t &cameraShotType, std::string &burstKey, int64_t timestamp) const CreateMediaLibrary() argument
[all...]

Completed in 17 milliseconds

12