/base/hiviewdfx/hiappevent/test/unittest/common/native/ |
D | hiappevent_watcher_test.cpp | 55 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/ |
D | napi_hiappevent_watch.cpp | 111 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 …]
|
D | napi_app_event_watcher.cpp | 54 …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/ |
D | app_event_watcher.cpp | 26 …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/ |
D | napi_app_event_watcher.h | 36 NapiAppEventWatcher(const std::string& name, const std::map<std::string, unsigned int>& filters,
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/watcher/include/ |
D | app_event_watcher.h | 32 AppEventWatcher(const std::string& name, const std::map<std::string, unsigned int>& filters,
|
/base/print/print_fwk/services/ |
D | BUILD.gn | 56 "//third_party/cups-filters:third_party_cupsfilters",
|
/base/hiviewdfx/hilog/ |
D | README.md | 32 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/ |
D | napi_hiappevent.test.js | 1148 function appEventFiltersTest(filters, expectErr) { argument 1152 appEventFilters: filters
|