Searched refs:notifyMode (Results 1 - 4 of 4) sorted by relevance
/foundation/multimedia/media_library/frameworks/native/media_library_asset_manager/src/ |
H A D | media_asset_data_handler_capi.cpp | 85 void CapiMediaAssetDataHandler::SetNotifyMode(NativeNotifyMode notifyMode) in SetNotifyMode() argument 87 notifyMode_ = notifyMode; in SetNotifyMode()
|
H A D | media_asset_manager_impl.cpp | 186 static void DeleteDataHandler(NativeNotifyMode notifyMode, const std::string &requestUri, const std::string &requestId) in DeleteDataHandler() argument 188 MEDIA_INFO_LOG("Rmv %{public}d, %{public}s, %{public}s", notifyMode, requestUri.c_str(), requestId.c_str()); in DeleteDataHandler() 189 if (notifyMode == NativeNotifyMode::WAIT_FOR_HIGH_QUALITY) { in DeleteDataHandler() 222 static AssetHandler* InsertDataHandler(NativeNotifyMode notifyMode, in InsertDataHandler() argument 242 mediaAssetDataHandler->SetNotifyMode(notifyMode); in InsertDataHandler() 245 MEDIA_INFO_LOG("Add %{public}d, %{private}s, %{private}s, %{public}p", notifyMode, in InsertDataHandler() 248 switch (notifyMode) { in InsertDataHandler() 310 NativeNotifyMode notifyMode = dataHandler->GetNotifyMode(); in NotifyImageDataPrepared() local 311 if (notifyMode == NativeNotifyMode::FAST_NOTIFY) { in NotifyImageDataPrepared() 360 DeleteDataHandler(notifyMode, assetHandle in NotifyImageDataPrepared() [all...] |
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | media_asset_data_handler.cpp | 72 void NapiMediaAssetDataHandler::SetNotifyMode(NotifyMode notifyMode) in SetNotifyMode() argument 74 notifyMode_ = notifyMode; in SetNotifyMode()
|
H A D | media_asset_manager_napi.cpp | 226 static AssetHandler* InsertDataHandler(NotifyMode notifyMode, napi_env env, in InsertDataHandler() argument 231 if (notifyMode == NotifyMode::FAST_NOTIFY) { in InsertDataHandler() 244 mediaAssetDataHandler->SetNotifyMode(notifyMode); in InsertDataHandler() 251 NAPI_INFO_LOG("Add %{public}d, %{public}s, %{public}s, %{public}p", notifyMode, asyncContext->photoUri.c_str(), in InsertDataHandler() 254 switch (notifyMode) { in InsertDataHandler() 284 static void DeleteDataHandler(NotifyMode notifyMode, const std::string &requestUri, const std::string &requestId) in DeleteDataHandler() argument 287 NAPI_INFO_LOG("Rmv %{public}d, %{public}s, %{public}s", notifyMode, requestUri.c_str(), requestId.c_str()); in DeleteDataHandler() 288 if (notifyMode == NotifyMode::WAIT_FOR_HIGH_QUALITY) { in DeleteDataHandler() 1182 NotifyMode notifyMode = dataHandler->GetNotifyMode(); in OnDataPrepared() local 1183 if (notifyMode in OnDataPrepared() 1243 NotifyMode notifyMode = dataHandler->GetNotifyMode(); CallPreparedCallbackAfterProgress() local [all...] |
Completed in 5 milliseconds