/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_common_event_mgr.h | 29 enum class NotifyType : uint8_t { class 56 NotifyType type = NotifyType::INSTALL; 88 std::string GetCommonEventData(const NotifyType &type); 92 std::unordered_map<NotifyType, std::string> commonEventMap_;
|
/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/include/ |
H A D | file_access_observer_common.h | 29 enum NotifyType { enum 41 NotifyType notifyType_; 44 NotifyMessage(const NotifyType notifyType, const std::vector<std::string> &uris) in NotifyMessage() 49 notifyType_ = NotifyType(parcel.ReadInt32()); in ReadFromParcel()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_notify.cpp | 37 using NotifyDataMap = unordered_map<NotifyType, list<Uri>>; 84 static int SendAlbumSub(const Uri ¬ifyUri, NotifyType type, list<Uri> &uris) in SendAlbumSub() 104 if (type == NotifyType::NOTIFY_ALBUM_ADD_ASSET) { in SendAlbumSub() 109 MEDIA_DEBUG_LOG("obsMgrClient->NotifyChangeExt URI is %{public}s, NotifyType is %{public}d", in SendAlbumSub() 114 static int SolveAlbumUri(const Uri ¬ifyUri, NotifyType type, list<Uri> &uris) in SolveAlbumUri() 117 MEDIA_DEBUG_LOG("obsMgrClient->NotifyChangeExt URI is %{public}s, NotifyType is %{public}d", in SolveAlbumUri() 119 if ((type == NotifyType::NOTIFY_ALBUM_ADD_ASSET) || (type == NotifyType::NOTIFY_ALBUM_REMOVE_ASSET)) { in SolveAlbumUri() 233 NotifyType hiddenAlbumsNotifyType = taskData->notifyType_; in HandleAlbumNotify() 234 if (taskData->notifyType_ == NotifyType in HandleAlbumNotify() [all...] |
H A D | medialibrary_album_refresh.cpp | 44 std::to_string(albumId)), NotifyType::NOTIFY_ADD); in NotifyAnalysisAlbum() 46 watch->Notify(PhotoAlbumColumns::ANALYSIS_ALBUM_URI_PREFIX, NotifyType::NOTIFY_ADD); in NotifyAnalysisAlbum() 69 std::to_string(albumId)), NotifyType::NOTIFY_ADD); in NotifySystemAlbumFunc() 71 watch->Notify(PhotoAlbumColumns::ALBUM_URI_PREFIX, NotifyType::NOTIFY_ADD); in NotifySystemAlbumFunc() 83 watch->Notify(PhotoAlbumColumns::ALBUM_URI_PREFIX, NotifyType::NOTIFY_ADD); in RefreshCallbackFunc() 84 watch->Notify(PhotoAlbumColumns::ANALYSIS_ALBUM_URI_PREFIX, NotifyType::NOTIFY_ADD); in RefreshCallbackFunc()
|
H A D | photo_map_operations.cpp | 125 watch->Notify(MediaFileUtils::Encode(notifyUri), NotifyType::NOTIFY_ALBUM_ADD_ASSET, albumId); in AddPhotoAssets() 126 watch->Notify(MediaFileUtils::Encode(notifyUri), NotifyType::NOTIFY_ALBUM_ADD_ASSET, in AddPhotoAssets() 128 watch->Notify(MediaFileUtils::Encode(notifyUri), NotifyType::NOTIFY_ALBUM_ADD_ASSET, in AddPhotoAssets() 130 watch->Notify(MediaFileUtils::Encode(notifyUri), NotifyType::NOTIFY_ALBUM_ADD_ASSET, in AddPhotoAssets() 132 watch->Notify(MediaFileUtils::Encode(notifyUri), NotifyType::NOTIFY_ADD); in AddPhotoAssets() 277 watch->Notify(MediaFileUtils::Encode(whereArgsUri[i]), NotifyType::NOTIFY_ALBUM_DISMISS_ASSET, albumId); in DismissAssets() 311 watch->Notify(MediaFileUtils::Encode(whereArgs[i]), NotifyType::NOTIFY_ALBUM_REMOVE_ASSET, albumId); in RemovePhotoAssets()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_common_event_mgr.cpp | 57 { NotifyType::INSTALL, EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_ADDED }, in Init() 58 { NotifyType::UNINSTALL_BUNDLE, EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED }, in Init() 59 { NotifyType::UNINSTALL_MODULE, EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED }, in Init() 60 { NotifyType::UPDATE, EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_CHANGED }, in Init() 61 { NotifyType::ABILITY_ENABLE, EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_CHANGED }, in Init() 62 { NotifyType::APPLICATION_ENABLE, EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_CHANGED }, in Init() 63 { NotifyType::BUNDLE_DATA_CLEARED, EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_DATA_CLEARED }, in Init() 64 { NotifyType::BUNDLE_CACHE_CLEARED, EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_CACHE_CLEARED }, in Init() 65 { NotifyType::OVERLAY_INSTALL, OVERLAY_ADD_ACTION}, in Init() 66 { NotifyType in Init() [all...] |
/foundation/multimedia/media_library/frameworks/services/media_cloud_sync_notify_handle/src/ |
H A D | uri_convert_handler.cpp | 27 unordered_map<ChangeType, NotifyType> NotifyTypeChangeMap = { 28 {ChangeType::INSERT, NotifyType::NOTIFY_ADD}, 29 {ChangeType::UPDATE, NotifyType::NOTIFY_UPDATE}, 30 {ChangeType::DELETE, NotifyType::NOTIFY_REMOVE},
|
/foundation/filemanagement/dfs_service/services/clouddisk_database/src/ |
H A D | clouddisk_notify.cpp | 122 notifyData.type = NotifyType::NOTIFY_MODIFIED; in HandleSetAttr() 150 notifyData.type = NotifyType::NOTIFY_RENAMED; in HandleRecycleRestore() 173 notifyData.type = NotifyType::NOTIFY_ADDED; in HandleWrite() 176 notifyData.type = NotifyType::NOTIFY_FILE_CHANGED; in HandleWrite() 188 notifyData.type = NotifyType::NOTIFY_ADDED; in HandleMkdir() 200 notifyData.type = NotifyType::NOTIFY_DELETED; in HandleUnlink() 226 notifyData.type = NotifyType::NOTIFY_RENAMED; in HandleRename() 280 notifyData.type = NotifyType::NOTIFY_ADDED; in HandleInsert() 297 notifyData.type = NotifyType::NOTIFY_MODIFIED; in HandleUpdate() 299 if (paramService.notifyType == NotifyType in HandleUpdate() [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/ |
H A D | medialibrary_notify.h | 38 NotifyTaskData(const std::string &uri, const NotifyType ¬ifyType, const int albumId, const bool hiddenOnly) in NotifyTaskData() 42 NotifyType notifyType_; 53 const std::string &uri, const NotifyType notifyType, const int albumId = 0, bool hiddenOnly = false); 61 static std::unordered_map<std::string, std::unordered_map<NotifyType, std::list<Uri>>> nfListMap_;
|
/foundation/filemanagement/dfs_service/services/clouddisk_database/include/ |
H A D | clouddisk_db_const.h | 52 NotifyType type = NotifyType::NOTIFY_NONE;
|
H A D | clouddisk_notify_const.h | 67 NotifyType notifyType = NotifyType::NOTIFY_NONE;
|
H A D | clouddisk_notify.h | 31 NotifyType notifyType;
|
H A D | clouddisk_type_const.h | 61 enum class NotifyType : uint32_t {
class
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/notify_test/src/ |
H A D | notify_test.cpp | 84 void CheckFileNotify(NotifyType notifyType) in CheckFileNotify() 135 void CheckAlbumNotify(NotifyType notifyType, DataShareObserver::ChangeType changeType) in CheckAlbumNotify() 188 static_cast<DataShareObserver::ChangeType>(NotifyType::NOTIFY_ADD)); in CheckCloseAssetNotify() 191 static_cast<DataShareObserver::ChangeType>(NotifyType::NOTIFY_UPDATE)); in CheckCloseAssetNotify() 209 static_cast<DataShareObserver::ChangeType>(NotifyType::NOTIFY_REMOVE)); in CheckInfo() 212 static_cast<DataShareObserver::ChangeType>(NotifyType::NOTIFY_ADD)); in CheckInfo() 215 static_cast<DataShareObserver::ChangeType>(NotifyType::NOTIFY_UPDATE)); in CheckInfo() 218 static_cast<DataShareObserver::ChangeType>(NotifyType::NOTIFY_REMOVE)); in CheckInfo() 396 * 2. NotifyType::NOTIFY_ADD 403 CheckFileNotify(NotifyType in HWTEST_F() [all...] |
/foundation/filemanagement/user_file_service/test/fuzztest/fileaccessserviceproxy_fuzzer/ |
H A D | fileaccessserviceproxy_fuzzer.cpp | 54 if (data == nullptr || size < sizeof(NotifyType)) { in OnChangeFuzzTest() 59 NotifyType notifyType = TypeCast<NotifyType>(data, &pos); in OnChangeFuzzTest()
|
H A D | fileaccessservicemock.h | 27 int32_t OnChange(Uri uri, NotifyType notifyType) override { return 0; }
|
/foundation/filemanagement/dfs_service/test/fuzztest/clouddisknotify_fuzzer/ |
H A D | clouddisknotify_fuzzer.cpp | 41 paramService.notifyType = static_cast<NotifyType>(fuzzData.GetData<uint32_t>()); in TryNotifyServiceFuzzTest() 78 notifyData.type = static_cast<NotifyType>(fuzzData.GetData<uint32_t>()); in AddNotifyFuzzTest()
|
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudfilesync/ |
H A D | cloud_sync_n_exporter.cpp | 154 const char propertyName[] = "NotifyType"; in InitNotifyType() 156 DECLARE_NAPI_STATIC_PROPERTY("NOTIFY_ADDED", NVal::CreateInt32(env, NotifyType::NOTIFY_ADDED).val_), in InitNotifyType() 157 DECLARE_NAPI_STATIC_PROPERTY("NOTIFY_MODIFIED", NVal::CreateInt32(env, NotifyType::NOTIFY_MODIFIED).val_), in InitNotifyType() 158 DECLARE_NAPI_STATIC_PROPERTY("NOTIFY_DELETED", NVal::CreateInt32(env, NotifyType::NOTIFY_DELETED).val_), in InitNotifyType() 159 DECLARE_NAPI_STATIC_PROPERTY("NOTIFY_RENAMED", NVal::CreateInt32(env, NotifyType::NOTIFY_RENAMED).val_), in InitNotifyType()
|
/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloudsync_kit_inner/ |
H A D | cloud_sync_constants.h | 72 enum NotifyType { enum
|
/foundation/filemanagement/user_file_service/services/native/file_access_service/include/ |
H A D | ifile_access_service_base.h | 34 virtual int32_t OnChange(Uri uri, NotifyType notifyType) = 0;
|
H A D | file_access_service.h | 78 std::unordered_map<NotifyType, std::vector<std::string>> notifyMap_; 239 int32_t OnChange(Uri uri, NotifyType notifyType) override; 270 void SendListNotify(std::string uri, NotifyType notifyType, const std::vector<uint32_t> &list);
|
/foundation/filemanagement/user_file_service/test/fuzztest/fileaccessservicestub_fuzzer/ |
H A D | fileaccessservicemock.h | 27 int32_t OnChange(Uri uri, NotifyType notifyType) override { return 0; }
|
/foundation/multimedia/media_library/frameworks/services/media_analysis_extension/src/ |
H A D | media_analysis_callback_stub.cpp | 63 NotifyType::NOTIFY_UPDATE, std::stoi(albumId)); in PortraitCoverSelectionCompleted()
|
/foundation/filemanagement/user_file_service/test/unittest/mock/ |
H A D | file_access_service_mock.h | 26 MOCK_METHOD2(OnChange, int32_t(Uri uri, NotifyType notifyType));
|
/foundation/filemanagement/user_file_service/services/native/file_access_service/src/ |
H A D | file_access_service_stub.cpp | 90 NotifyType notifyType = static_cast<NotifyType>(data.ReadInt32()); in CmdOnChange()
|