Home
last modified time | relevance | path

Searched refs:filters (Results 1 – 9 of 9) sorted by relevance

/base/hiviewdfx/hiappevent/test/unittest/common/native/
Dhiappevent_watcher_test.cpp55 AppEventWatcherTest(const std::string& name, const std::map<std::string, unsigned int>& filters, in AppEventWatcherTest() argument
56 TriggerCondition cond) : AppEventWatcher(name, filters, cond) {} in AppEventWatcherTest()
73 void BuildSimpleFilters(std::map<std::string, unsigned int>& filters) in BuildSimpleFilters() argument
75 filters.insert(std::make_pair(TEST_DOMAIN, 0xff)); // 0xff means all types in BuildSimpleFilters()
90 std::map<std::string, unsigned int> filters; in BuildSimpleWatcher() local
92 return std::make_shared<AppEventWatcherTest>(TEST_WATCHER, filters, cond); in BuildSimpleWatcher()
97 std::map<std::string, unsigned int> filters; in BuildWatcherWithRow() local
98 BuildSimpleFilters(filters); in BuildWatcherWithRow()
100 return std::make_shared<AppEventWatcherTest>(TEST_WATCHER_ROW, filters, cond); in BuildWatcherWithRow()
105 std::map<std::string, unsigned int> filters; in BuildWatcherWithSize() local
[all …]
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_watch.cpp111 bool IsValidFilters(const napi_env env, const napi_value filters) in IsValidFilters() argument
113 if (filters == nullptr) { in IsValidFilters()
116 if (!NapiUtil::IsArrayType(env, filters, napi_object)) { in IsValidFilters()
121 size_t len = NapiUtil::GetArrayLength(env, filters); in IsValidFilters()
123 napi_value filter = NapiUtil::GetElement(env, filters, i); in IsValidFilters()
203 …Filters(const napi_env env, const napi_value watcher, std::map<std::string, unsigned int>& filters) in GetFilters() argument
215 filters[domain] = BIT_ALL_TYPES; in GetFilters()
229 filters[domain] = filterType > 0 ? filterType : BIT_ALL_TYPES; in GetFilters()
266 std::map<std::string, unsigned int> filters; in AddWatcher() local
267 GetFilters(env, watcher, filters); in AddWatcher()
[all …]
Dnapi_app_event_watcher.cpp54 …r::NapiAppEventWatcher(const std::string& name, const std::map<std::string, unsigned int>& filters, in NapiAppEventWatcher() argument
55 TriggerCondition cond) : AppEventWatcher(name, filters, cond), context_(nullptr) in NapiAppEventWatcher()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/watcher/
Dapp_event_watcher.cpp26 …tcher::AppEventWatcher(const std::string& name, const std::map<std::string, unsigned int>& filters, in AppEventWatcher() argument
27 TriggerCondition cond) : name_(name), filters_(filters), cond_(cond), status_({ 0 }) in AppEventWatcher()
/base/hiviewdfx/hiappevent/frameworks/js/napi/include/
Dnapi_app_event_watcher.h36 NapiAppEventWatcher(const std::string& name, const std::map<std::string, unsigned int>& filters,
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/watcher/include/
Dapp_event_watcher.h32 AppEventWatcher(const std::string& name, const std::map<std::string, unsigned int>& filters,
/base/print/print_fwk/services/
DBUILD.gn56 "//third_party/cups-filters:third_party_cupsfilters",
/base/hiviewdfx/hilog/
DREADME.md32 1. hilog reads the log content from the ring buffer of hilogd, filters the content if required, an…
/base/hiviewdfx/hiappevent/test/unittest/common/napi/
Dnapi_hiappevent.test.js1148 function appEventFiltersTest(filters, expectErr) { argument
1152 appEventFilters: filters