Home
last modified time | relevance | path

Searched refs:filter (Results 1 – 25 of 102) sorted by relevance

12345

/system/extras/simpleperf/
Dtracing_test.cpp23 static void CheckAdjustFilter(const std::string& filter, bool use_quote, in CheckAdjustFilter() argument
27 auto value = AdjustTracepointFilter(filter, use_quote, &used_fields); in CheckAdjustFilter()
34 std::string filter = "((sig >= 1 && sig < 20) || sig == 32) && comm != \"bash\""; in TEST() local
35 CheckAdjustFilter(filter, true, filter, "comm,sig"); in TEST()
36 CheckAdjustFilter(filter, false, "((sig >= 1 && sig < 20) || sig == 32) && comm != bash", in TEST()
39 filter = "pid != 3 && !(comm ~ *bash)"; in TEST()
40 CheckAdjustFilter(filter, true, "pid != 3 && !(comm ~ \"*bash\")", "comm,pid"); in TEST()
41 CheckAdjustFilter(filter, false, filter, "comm,pid"); in TEST()
43 filter = "mask & 3"; in TEST()
44 CheckAdjustFilter(filter, true, filter, "mask"); in TEST()
[all …]
Dcmd_record_test.cpp1027 std::string filter = StringPrintf("start 0x%" PRIx64 "@%s", addr, sleep_exec_path.c_str()); in TEST() local
1028 ASSERT_TRUE(RunRecordCmd({"-e", "cs-etm", "--addr-filter", filter})); in TEST()
1030 filter = StringPrintf("stop 0x%" PRIx64 "@%s", addr, sleep_exec_path.c_str()); in TEST()
1031 ASSERT_TRUE(RunRecordCmd({"-e", "cs-etm", "--addr-filter", filter})); in TEST()
1033 filter = StringPrintf("filter 0x%" PRIx64 "-0x%" PRIx64 "@%s", addr, addr + 4, in TEST()
1035 ASSERT_TRUE(RunRecordCmd({"-e", "cs-etm", "--addr-filter", filter})); in TEST()
1041 filter = StringPrintf("start 0x%" PRIx64, fake_kernel_addr); in TEST()
1042 ASSERT_TRUE(RunRecordCmd({"-e", "cs-etm", "--addr-filter", filter})); in TEST()
1044 filter = StringPrintf("stop 0x%" PRIx64, fake_kernel_addr); in TEST()
1045 ASSERT_TRUE(RunRecordCmd({"-e", "cs-etm", "--addr-filter", filter})); in TEST()
[all …]
Devent_selection_set.cpp487 bool EventSelectionSet::SetTracepointFilter(const std::string& filter) { in SetTracepointFilter() argument
499 LOG(ERROR) << "No tracepoint event before filter: " << filter; in SetTracepointFilter()
516 auto adjusted_filter = AdjustTracepointFilter(filter, use_quote, &used_fields); in SetTracepointFilter()
527 LOG(ERROR) << "field name " << field << " used in \"" << filter << "\" doesn't exist in " in SetTracepointFilter()
648 for (auto& filter : addr_filters_) { in ApplyAddrFilters() local
651 (filter.type == AddrFilter::FILE_RANGE || filter.type == AddrFilter::KERNEL_RANGE) ? 2 : 1; in ApplyAddrFilters()
661 for (auto& filter : addr_filters_) { in ApplyAddrFilters() local
665 filter_str += filter.ToString(); in ApplyAddrFilters()
/system/extras/tools/
Dgraph_lockdep_chains52 filter=
157 if [ -z "${filter}" ]; then
158 filter="${1}"
160 filter="${filter}|${1}"
163 if [ -z "${filter}" ]; then
164 filter=" ${1}"
166 filter="${filter}| ${1}"
175 if [ -z "${filter}" ]; then
178 if [ -n "${focus}" -a -z "${filter}" ]; then
181 if [ -n "${cluster}" -a -z "${filter}" ]; then
[all …]
/system/core/logd/
DPruneList.cpp61 std::string filter; in Init() local
64 filter = str; in Init()
66 filter = android::base::GetProperty("ro.logd.filter", "default"); in Init()
70 filter = persist_filter; in Init()
75 if (filter == "default") { in Init()
76 filter = "~! ~1000/!"; in Init()
78 if (filter == "disable") { in Init()
79 filter = ""; in Init()
85 for (str = filter.c_str(); *str; ++str) { in Init()
DREADME.property40 persist.logd.filter string Pruning filter to optimize content.
42 ro.logd.filter string "~! ~1000/!" default for persist.logd.filter.
68 - Pruning filter rules are specified as UID, UID/PID or /PID. A '~' prefix indicates that elements
/system/sepolicy/
DTEST_MAPPING7 … "include-filter": "android.security.cts.SELinuxHostTest#testPermissionControllerDomain"
10 "include-filter": "android.security.cts.SELinuxHostTest#testVzwOmaTriggerDomain"
13 "include-filter": "android.security.cts.SELinuxHostTest#testGMSCoreDomain"
/system/bpf/libbpf_android/include/bpf/
DBpfMap.h110 filter) const;
116 const BpfMap<Key, Value>& map)>& filter) const;
121 filter);
127 BpfMap<Key, Value>& map)>& filter);
192 filter) const { in iterate() argument
196 base::Result<void> status = filter(curKey.value(), *this); in iterate()
207 const BpfMap<Key, Value>& map)>& filter) const { in iterateWithValue() argument
213 base::Result<void> status = filter(curKey.value(), curValue.value(), *this); in iterateWithValue()
223 const std::function<base::Result<void>(const Key& key, BpfMap<Key, Value>& map)>& filter) { in iterate() argument
227 base::Result<void> status = filter(curKey.value(), *this); in iterate()
[all …]
/system/bt/service/test/
Dparcelable_unittest.cc110 ScanFilter filter; in TEST() local
112 filter.set_device_name("Test Device Name"); in TEST()
113 ASSERT_TRUE(filter.SetDeviceAddress("01:02:04:AB:CD:EF")); in TEST()
115 bool result = TestData<ScanFilter, android::bluetooth::ScanFilter>(filter); in TEST()
119 filter.SetServiceUuid(uuid); in TEST()
121 result = TestData<ScanFilter, android::bluetooth::ScanFilter>(filter); in TEST()
125 filter.SetServiceUuidWithMask(uuid, mask); in TEST()
126 result = TestData<ScanFilter, android::bluetooth::ScanFilter>(filter); in TEST()
/system/media/audio_utils/tests/
Dbiquad_filter_tests.cpp82 BiquadFilter filter(channelCount, COEFS); in TEST_P() local
85 filter.process(outputBuffer, inputBuffer[i], FRAME_COUNT); in TEST_P()
92 filter.clear(); in TEST_P()
93 filter.process(outputBuffer, inputBuffer[0], FRAME_COUNT); in TEST_P()
/system/chre/build/
Dbuild_template.mk51 $$(1)_CC_SRCS = $$(filter %.cc, $(COMMON_SRCS) $(8))
52 $$(1)_CPP_SRCS = $$(filter %.cpp, $(COMMON_SRCS) $(8))
53 $$(1)_C_SRCS = $$(filter %.c, $(COMMON_SRCS) $(8))
54 $$(1)_S_SRCS = $$(filter %.S, $(COMMON_SRCS) $(8))
/system/nfc/
Drun_unit_tests.sh97 filter="${spec#*.}"
98 test_command+=( "--gtest_filter=${filter}" )
/system/core/libpixelflinger/include/private/pixelflinger/
Dggl_context.h239 inline int match(const needs_filter_t& filter);
263 int needs_t::match(const needs_filter_t& filter) {
265 ((filter.value.n ^ n) & filter.mask.n) |
266 ((filter.value.p ^ p) & filter.mask.p) |
267 ((filter.value.t[0] ^ t[0]) & filter.mask.t[0]) |
268 ((filter.value.t[1] ^ t[1]) & filter.mask.t[1]);
/system/bt/test/
Drun_benchmarks.sh101 filter="${spec#*.}"
102 benchmark_command+=( "--benchmark_filter=${filter}" )
Drun_unit_tests.sh128 filter="${spec#*.}"
129 test_command+=( "--gtest_filter=${filter}" )
/system/chre/build/variant/
Dgoogle_hexagonv55_slpi-see.mk27 ifneq ($(filter $(TARGET_NAME)% all, $(MAKECMDGOALS)),)
36 TARGET_CFLAGS := $(filter-out -DCUST_H%, $(TARGET_CFLAGS))
Dgoogle_cm4_nanohub.mk15 ifneq ($(filter $(TARGET_NAME)% all, $(MAKECMDGOALS)),)
Dgoogle_hexagonv60_slpi.mk22 ifneq ($(filter $(TARGET_NAME)% all, $(MAKECMDGOALS)),)
/system/timezone/distro/core/src/main/com/android/timezone/distro/
DTEST_MAPPING7 "include-filter": "com.android.timezone.distro"
/system/timezone/distro/installer/src/main/com/android/timezone/distro/installer/
DTEST_MAPPING7 "include-filter": "com.android.timezone.distro.installer"
/system/libbase/
DCPPLINT.cfg2 filter=-build/header_guard,-build/include,-build/c++11,-whitespace/operators
/system/extras/libperfmgr/
DCPPLINT.cfg2 filter=-build/c++11,-build/include_order,-build/namespaces,-build/header_guard,-whitespace/indent,-…
/system/update_engine/
DCPPLINT.cfg4 filter=-build/include_order,+build/include_alpha,-build/header_guard
/system/core/init/
DAndroid.mk9 ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
27 ifneq (,$(filter eng,$(TARGET_BUILD_VARIANT)))
/system/chre/chre_api/
Dchre_api_version.mk20 ifeq ($(filter clean, $(MAKECMDGOALS)),)

12345