Home
last modified time | relevance | path

Searched refs:NativeNotifyMode (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/
H A Dmedia_asset_data_handler_capi.h83 typedef enum NativeNotifyMode : int32_t { enum
86 } NativeNotifyMode; typedef
138 void SetNotifyMode(NativeNotifyMode trigger);
139 NativeNotifyMode GetNotifyMode();
151 NativeNotifyMode notifyMode_ = NativeNotifyMode::FAST_NOTIFY;
/ohos5.0/foundation/multimedia/media_library/frameworks/native/media_library_asset_manager/src/
H A Dmedia_asset_data_handler_capi.cpp85 void CapiMediaAssetDataHandler::SetNotifyMode(NativeNotifyMode notifyMode) in SetNotifyMode()
90 NativeNotifyMode CapiMediaAssetDataHandler::GetNotifyMode() in GetNotifyMode()
H A Dmedia_asset_manager_impl.cpp185 static void DeleteDataHandler(NativeNotifyMode notifyMode, const std::string &requestUri, const std… in DeleteDataHandler()
188 if (notifyMode == NativeNotifyMode::WAIT_FOR_HIGH_QUALITY) { in DeleteDataHandler()
221 static AssetHandler* InsertDataHandler(NativeNotifyMode notifyMode, in InsertDataHandler()
248 case NativeNotifyMode::FAST_NOTIFY: { in InsertDataHandler()
252 case NativeNotifyMode::WAIT_FOR_HIGH_QUALITY: { in InsertDataHandler()
309 NativeNotifyMode notifyMode = dataHandler->GetNotifyMode(); in NotifyImageDataPrepared()
310 if (notifyMode == NativeNotifyMode::FAST_NOTIFY) { in NotifyImageDataPrepared()
687 AssetHandler *assetHandler = InsertDataHandler(NativeNotifyMode::FAST_NOTIFY, asyncContext); in NotifyDataPreparedWithoutRegister()
706 InsertDataHandler(NativeNotifyMode::WAIT_FOR_HIGH_QUALITY, asyncContext); in RegisterTaskObserver()