Home
last modified time | relevance | path

Searched refs:notifyType (Results 1 - 25 of 33) sorted by relevance

12

/foundation/resourceschedule/ffrt/src/eu/
H A Dscpu_monitor.cpp30 void SCPUMonitor::Notify(const QoS& qos, TaskNotifyType notifyType) in Notify() argument
32 GetOps().HandleTaskNotity(qos, this, notifyType); in Notify()
H A Dcpu_monitor.h70 virtual void Notify(const QoS& qos, TaskNotifyType notifyType) = 0;
75 static void HandleTaskNotifyDefault(const QoS& qos, void* p, TaskNotifyType notifyType);
85 void Poke(const QoS& qos, uint32_t taskCount, TaskNotifyType notifyType);
H A Dscpu_monitor.h29 void Notify(const QoS& qos, TaskNotifyType notifyType) override;
H A Dcpu_monitor.cpp453 void CPUMonitor::Poke(const QoS& qos, uint32_t taskCount, TaskNotifyType notifyType) in Poke() argument
477 if (notifyType != TaskNotifyType::TASK_ADDED && tiggerSuppression) { in Poke()
530 void CPUMonitor::HandleTaskNotifyDefault(const QoS& qos, void* p, TaskNotifyType notifyType) in HandleTaskNotifyDefault() argument
534 switch (notifyType) { in HandleTaskNotifyDefault()
538 monitor->Poke(qos, taskCount, notifyType); in HandleTaskNotifyDefault()
542 monitor->Poke(qos, taskCount, notifyType); in HandleTaskNotifyDefault()
/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/include/
H A Dfile_access_observer_common.h44 NotifyMessage(const NotifyType notifyType, const std::vector<std::string> &uris) in NotifyMessage()
45 : notifyType_(notifyType), uris_(uris) {} in NotifyMessage()
68 HILOG_ERROR("NotifyMessage Unmarshalling error:write notifyType fail.");
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/
H A Dmedialibrary_notify.h38 NotifyTaskData(const std::string &uri, const NotifyType &notifyType, const int albumId, const bool hiddenOnly) in NotifyTaskData() argument
39 : uri_(std::move(uri)), notifyType_(notifyType), albumId_(albumId), hiddenOnly_(hiddenOnly) {} in NotifyTaskData()
53 const std::string &uri, const NotifyType notifyType, const int albumId = 0, bool hiddenOnly = false);
/foundation/filemanagement/user_file_service/services/native/file_access_service/src/
H A Dfile_access_service.cpp547 void FileAccessService::SendListNotify(string uriStr, NotifyType notifyType, const std::vector<uint32_t> &list) in SendListNotify() argument
563 NotifyMessage notifyMessage{notifyType, uris}; in SendListNotify()
570 if (context->notifyMap_.find(notifyType) != context->notifyMap_.end()) { in SendListNotify()
571 context->notifyMap_[notifyType].push_back(uriStr); in SendListNotify()
574 context->notifyMap_.emplace(notifyType, uris); in SendListNotify()
576 if (context->notifyMap_[notifyType].size() >= NOTIFY_MAX_NUM) { in SendListNotify()
578 notifyMessage.notifyType_ = notifyType; in SendListNotify()
579 notifyMessage.uris_ = context->notifyMap_[notifyType]; in SendListNotify()
583 context->notifyMap_.erase(notifyType); in SendListNotify()
588 int32_t FileAccessService::OnChange(Uri uri, NotifyType notifyType) in OnChange() argument
[all...]
H A Dfile_access_service_stub.cpp90 NotifyType notifyType = static_cast<NotifyType>(data.ReadInt32()); in CmdOnChange() local
91 int ret = OnChange(*uri, notifyType); in CmdOnChange()
H A Dfile_access_service_proxy.cpp121 int32_t FileAccessServiceProxy::OnChange(Uri uri, NotifyType notifyType) in OnChange() argument
136 if (!data.WriteInt32(static_cast<int32_t>(notifyType))) { in OnChange()
137 HILOG_ERROR("fail to WriteParcelable notifyType"); in OnChange()
/foundation/filemanagement/user_file_service/test/fuzztest/fileaccessservicestub_fuzzer/
H A Dfileaccessservicestub_fuzzer.cpp61 int32_t notifyType = TypeCast<int32_t>(data, &pos); in CmdOnChangeFuzzTest() local
67 msg.WriteInt32(notifyType); in CmdOnChangeFuzzTest()
H A Dfileaccessservicemock.h27 int32_t OnChange(Uri uri, NotifyType notifyType) override { return 0; }
/foundation/filemanagement/user_file_service/test/fuzztest/fileaccessserviceproxy_fuzzer/
H A Dfileaccessserviceproxy_fuzzer.cpp59 NotifyType notifyType = TypeCast<NotifyType>(data, &pos); in OnChangeFuzzTest() local
62 proxy->OnChange(uri, notifyType); in OnChangeFuzzTest()
H A Dfileaccessservicemock.h27 int32_t OnChange(Uri uri, NotifyType notifyType) override { return 0; }
/foundation/filemanagement/dfs_service/test/fuzztest/clouddisknotify_fuzzer/
H A Dclouddisknotify_fuzzer.cpp41 paramService.notifyType = static_cast<NotifyType>(fuzzData.GetData<uint32_t>()); in TryNotifyServiceFuzzTest()
54 notifyData.type = paramService.notifyType; in TryNotifyServiceFuzzTest()
/foundation/filemanagement/user_file_service/test/unittest/
H A Dfile_access_service_proxy_test.cpp174 NotifyType notifyType = NotifyType::NOTIFY_ADD; in HWTEST_F() local
176 auto result = proxy->OnChange(uri, notifyType); in HWTEST_F()
179 result = proxy->OnChange(uri, notifyType); in HWTEST_F()
182 result = proxy->OnChange(uri, notifyType); in HWTEST_F()
186 result = proxy->OnChange(uri, notifyType); in HWTEST_F()
192 result = proxy->OnChange(uri, notifyType); in HWTEST_F()
198 result = proxy->OnChange(uri, notifyType); in HWTEST_F()
/foundation/filemanagement/user_file_service/services/native/file_access_service/include/
H A Difile_access_service_base.h34 virtual int32_t OnChange(Uri uri, NotifyType notifyType) = 0;
H A Dfile_access_service_proxy.h31 int32_t OnChange(Uri uri, NotifyType notifyType) override;
H A Dfile_access_service.h239 int32_t OnChange(Uri uri, NotifyType notifyType) override;
270 void SendListNotify(std::string uri, NotifyType notifyType, const std::vector<uint32_t> &list);
/foundation/filemanagement/dfs_service/services/clouddisk_database/include/
H A Dclouddisk_notify.h31 NotifyType notifyType; member
H A Dclouddisk_notify_const.h67 NotifyType notifyType = NotifyType::NOTIFY_NONE; member
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/notify_test/src/
H A Dnotify_test.cpp84 void CheckFileNotify(NotifyType notifyType) in CheckFileNotify() argument
93 MediaLibraryNotify::GetInstance()->Notify(uriStr, notifyType); in CheckFileNotify()
97 EXPECT_EQ(obs->changeInfo_.changeType_, static_cast<DataShareObserver::ChangeType>(notifyType)); in CheckFileNotify()
135 void CheckAlbumNotify(NotifyType notifyType, DataShareObserver::ChangeType changeType) in CheckAlbumNotify() argument
145 MediaLibraryNotify::GetInstance()->Notify(assetStr, notifyType, OBS_TMP_ALBUM_ID); in CheckAlbumNotify()
/foundation/filemanagement/user_file_service/test/unittest/mock/
H A Dfile_access_service_mock.h26 MOCK_METHOD2(OnChange, int32_t(Uri uri, NotifyType notifyType));
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_notify.cpp171 "notifyType = %{private}d", keyUri.c_str(), uri.ToString().c_str(), taskData->notifyType_); in AddNotify()
272 int32_t MediaLibraryNotify::Notify(const string &uri, const NotifyType notifyType, const int albumId, in Notify() argument
283 auto *taskData = new (nothrow) NotifyTaskData(uri, notifyType, albumId, hiddenOnly); in Notify()
285 MEDIA_DEBUG_LOG("Notify ,uri = %{private}s, notifyType = %{private}d, albumId = %{private}d", in Notify()
286 uri.c_str(), notifyType, albumId); in Notify()
/foundation/multimedia/camera_framework/services/camera_service/include/
H A Dhcamera_host_manager.h95 void NotifyDeviceStateChangeInfo(int notifyType, int deviceState);
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudfilesync/
H A Dcloud_sync_napi.h35 NotifyType notifyType; member

Completed in 12 milliseconds

12