Home
last modified time | relevance | path

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

12345

/system/extras/simpleperf/
DRecordFilter_test.cpp31 RecordFilterTest() : filter(thread_tree) {} in RecordFilterTest()
48 RecordFilter filter; member in RecordFilterTest
53 ASSERT_TRUE(filter.Check(GetRecord(0, 0))); in TEST_F()
57 filter.AddPids({1}, true); in TEST_F()
58 ASSERT_FALSE(filter.Check(GetRecord(1, 1))); in TEST_F()
59 ASSERT_TRUE(filter.Check(GetRecord(2, 2))); in TEST_F()
63 filter.AddTids({1}, true); in TEST_F()
64 ASSERT_FALSE(filter.Check(GetRecord(1, 1))); in TEST_F()
65 ASSERT_TRUE(filter.Check(GetRecord(1, 2))); in TEST_F()
69 filter.AddProcessNameRegex("processA", true); in TEST_F()
[all …]
Dtracing_test.cpp25 static void CheckAdjustFilter(const std::string& filter, bool use_quote, in CheckAdjustFilter() argument
29 auto value = AdjustTracepointFilter(filter, use_quote, &used_fields); in CheckAdjustFilter()
36 std::string filter = "((sig >= 1 && sig < 20) || sig == 32) && comm != \"bash\""; in TEST() local
37 CheckAdjustFilter(filter, true, filter, "comm,sig"); in TEST()
38 CheckAdjustFilter(filter, false, "((sig >= 1 && sig < 20) || sig == 32) && comm != bash", in TEST()
41 filter = "pid != 3 && !(comm ~ *bash)"; in TEST()
42 CheckAdjustFilter(filter, true, "pid != 3 && !(comm ~ \"*bash\")", "comm,pid"); in TEST()
43 CheckAdjustFilter(filter, false, filter, "comm,pid"); in TEST()
45 filter = "mask & 3"; in TEST()
46 CheckAdjustFilter(filter, true, filter, "mask"); in TEST()
[all …]
Dcmd_record_test.cpp994 std::string filter = StringPrintf("start 0x%" PRIx64 "@%s", addr, sleep_exec_path.c_str()); in TEST() local
995 ASSERT_TRUE(RunRecordCmd({"-e", "cs-etm", "--addr-filter", filter})); in TEST()
997 filter = StringPrintf("stop 0x%" PRIx64 "@%s", addr, sleep_exec_path.c_str()); in TEST()
998 ASSERT_TRUE(RunRecordCmd({"-e", "cs-etm", "--addr-filter", filter})); in TEST()
1000 filter = StringPrintf("filter 0x%" PRIx64 "-0x%" PRIx64 "@%s", addr, addr + 4, in TEST()
1002 ASSERT_TRUE(RunRecordCmd({"-e", "cs-etm", "--addr-filter", filter})); in TEST()
1007 filter = StringPrintf("start 0x%" PRIx64, fake_kernel_addr); in TEST()
1008 ASSERT_TRUE(RunRecordCmd({"-e", "cs-etm", "--addr-filter", filter})); in TEST()
1010 filter = StringPrintf("stop 0x%" PRIx64, fake_kernel_addr); in TEST()
1011 ASSERT_TRUE(RunRecordCmd({"-e", "cs-etm", "--addr-filter", filter})); in TEST()
[all …]
/system/security/keystore/
DTEST_MAPPING10 "exclude-filter": "android.keystore.cts.SignatureTest"
13 "exclude-filter": "android.keystore.cts.RsaSignaturePerformanceTest"
16 "exclude-filter": "android.keystore.cts.RsaKeyGenPerformanceTest"
19 "exclude-filter": "android.keystore.cts.RsaCipherPerformanceTest"
22 "exclude-filter": "android.keystore.cts.MacTest#testLargeMsgKat"
25 "exclude-filter": "android.keystore.cts.KeyPairGeneratorTest"
28 "exclude-filter": "android.keystore.cts.KeyGeneratorTest#testHmacKeySupportedSizes"
31 "exclude-filter": "android.keystore.cts.HmacMacPerformanceTest"
34 "exclude-filter": "android.keystore.cts.EcdsaSignaturePerformanceTest"
37 "exclude-filter": "android.keystore.cts.EcKeyGenPerformanceTest"
[all …]
/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/logging/rust/
Dlogger.rs32 filter: Option<&'a str>, field
72 pub fn with_filter(mut self, filter: &'a str) -> Self { in with_filter()
73 self.filter = Some(filter); in with_filter()
99 if let Some(filter_str) = config.filter { in init()
127 if let Some(filter_str) = config.filter { in init()
128 let filter = env_logger::filter::Builder::new().parse(filter_str).build(); in init() localVariable
129 builder = builder.with_filter(filter); in init()
157 let filter = "debug,hello::crate=trace"; in test_with_filter() localVariable
158 let config = Config::default().with_filter(filter); in test_with_filter()
160 assert_eq!(config.filter.unwrap(), filter) in test_with_filter()
/system/logging/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.h109 filter) const;
115 const BpfMap<Key, Value>& map)>& filter) const;
120 filter);
126 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/memory/libmeminfo/libdmabufinfo/
DTEST_MAPPING7 "include-filter": "*DmaBufSysfsStatsParser.*"
10 "include-filter": "*DmaBufProcessStatsTest.*"
/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/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/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))
/system/extras/profcollectd/libprofcollectd/
Dsimpleperf_etm_trace_provider.rs53 .filter(|e| { in process()
57 .filter(|ext| ext == &ETM_TRACEFILE_EXTENSION) in process()
/system/media/audio_utils/tests/
Dbiquad_filter_tests.cpp119 BiquadFilter<T> filter(channelCount, COEFS); in testProcess() local
122 filter.process(outputBuffer, inputBuffer[i], FRAME_COUNT, stride); in testProcess()
129 filter.clear(); in testProcess()
130 filter.process(outputBuffer, inputBuffer[0], FRAME_COUNT, stride); in testProcess()
198 for (auto &filter : filters) { in testDifferentFiltersPerChannel() local
199 filter = randomFilter<D>(); in testDifferentFiltersPerChannel()
/system/timezone/distro/core/src/main/com/android/timezone/distro/
DTEST_MAPPING7 "include-filter": "com.android.timezone.distro"
/system/libbase/
DCPPLINT.cfg2 filter=-build/header_guard,-build/include,-build/c++11,-whitespace/operators
/system/timezone/distro/installer/src/main/com/android/timezone/distro/installer/
DTEST_MAPPING7 "include-filter": "com.android.timezone.distro.installer"
/system/update_engine/
DCPPLINT.cfg4 filter=-build/include_order,+build/include_alpha,-build/header_guard
/system/bt/gd/hci/
Dle_scanning_manager.cc690 for (auto filter : filters) { in scan_filter_add() local
692 …if (filter.data.size() != filter.data_mask.size() && filter.data.size() != 0 && filter.data_mask.s… in scan_filter_add()
697 switch (filter.filter_type) { in scan_filter_add()
699 … update_address_filter(apcf_action, filter_index, filter.address, filter.application_address_type); in scan_filter_add()
704 … update_uuid_filter(apcf_action, filter_index, filter.filter_type, filter.uuid, filter.uuid_mask); in scan_filter_add()
708 update_local_name_filter(apcf_action, filter_index, filter.name); in scan_filter_add()
713 … apcf_action, filter_index, filter.company, filter.company_mask, filter.data, filter.data_mask); in scan_filter_add()
717 update_service_data_filter(apcf_action, filter_index, filter.data, filter.data_mask); in scan_filter_add()
721 LOG_ERROR("Unknown filter type: %d", (uint16_t)filter.filter_type); in scan_filter_add()
/system/chre/chre_api/
Dchre_api_version.mk20 ifeq ($(filter clean, $(MAKECMDGOALS)),)

12345