Home
last modified time | relevance | path

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

12

/system/bt/service/common/bluetooth/binder/
Dparcel_helpers.cpp180 const ScanFilter& filter, in WriteScanFilterToParcel() argument
182 bool has_name = !filter.device_name().empty(); in WriteScanFilterToParcel()
185 parcel->writeCString(filter.device_name().c_str()); in WriteScanFilterToParcel()
187 bool has_address = !filter.device_address().empty(); in WriteScanFilterToParcel()
190 parcel->writeCString(filter.device_address().c_str()); in WriteScanFilterToParcel()
192 parcel->writeInt32(filter.service_uuid() ? 1 : 0); in WriteScanFilterToParcel()
193 if (filter.service_uuid()) { in WriteScanFilterToParcel()
194 WriteUUIDToParcel(*filter.service_uuid(), parcel); in WriteScanFilterToParcel()
195 parcel->writeInt32(filter.service_uuid_mask() ? 1 : 0); in WriteScanFilterToParcel()
196 if (filter.service_uuid_mask()) in WriteScanFilterToParcel()
[all …]
DIBluetoothLowEnergy.cpp109 auto filter = CreateScanFilterFromParcel(data); in onTransact() local
110 CHECK(filter); in onTransact()
111 filters.push_back(*filter); in onTransact()
249 for (const auto& filter : filters) in StartScan() local
250 WriteScanFilterToParcel(filter, &data); in StartScan()
Dparcel_helpers.h74 const bluetooth::ScanFilter& filter,
/system/core/logd/
DLogWhiteBlackList.cpp89 std::string filter; in init() local
92 filter = str; in init()
96 filter = property; in init()
97 property_get("persist.logd.filter", property, filter.c_str()); in init()
100 filter = property; in init()
105 if (filter == _default) { in init()
107 filter = "~! ~1000/!"; in init()
109 if (filter == _disable) { in init()
110 filter = ""; in init()
116 for(str = filter.c_str(); *str; ++str) { in init()
DREADME.property28 persist.logd.filter string Pruning filter to optimize content.
30 ro.logd.filter string "~! ~1000/!" default for persist.logd.filter.
59 - Pruning filter is of form of a space-separated list of [~][UID][/PID]
/system/bt/service/test/
Dparcel_helpers_unittest.cpp180 ScanFilter filter; in TEST() local
182 filter.set_device_name("Test Device Name"); in TEST()
183 ASSERT_TRUE(filter.SetDeviceAddress("01:02:04:AB:CD:EF")); in TEST()
184 EXPECT_TRUE(TestScanFilter(filter)); in TEST()
187 filter.SetServiceUuid(uuid); in TEST()
188 EXPECT_TRUE(TestScanFilter(filter)); in TEST()
191 filter.SetServiceUuidWithMask(uuid, mask); in TEST()
192 EXPECT_TRUE(TestScanFilter(filter)); in TEST()
/system/core/crash_reporter/
Dwarn_collector.l89 int filter; /* 1 when using as filter (for development) */ variable
143 if (filter) in WarnStart()
147 if (!(testing || fifo || filter)) { in WarnStart()
165 if (filter) in WarnEnd()
208 if (*result > 0 || fifo || filter) in WarnInput()
260 filter = 1; in main()
292 if (!filter) { in main()
298 if (!testing && !fifo && !filter) { in main()
/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/core/init/
Dproperty_service.cpp330 static void load_properties(char *data, const char *filter) in load_properties() argument
335 if (filter) { in load_properties()
336 flen = strlen(filter); in load_properties()
374 if (filter[flen - 1] == '*') { in load_properties()
375 if (strncmp(key, filter, flen - 1)) continue; in load_properties()
377 if (strcmp(key, filter)) continue; in load_properties()
390 static void load_properties_from_file(const char* filename, const char* filter) { in load_properties_from_file() argument
395 load_properties(&data[0], filter); in load_properties_from_file()
/system/netd/server/
DBandwidthController.cpp1096 int BandwidthController::parseForwardChainStats(SocketClient *cli, const TetherStats filter, in parseForwardChainStats() argument
1109 bool filterPair = filter.intIface[0] && filter.extIface[0]; in parseForwardChainStats()
1111 char *filterMsg = filter.getStatsLine(); in parseForwardChainStats()
1115 stats = filter; in parseForwardChainStats()
1134 if (filter.intIface[0] && filter.extIface[0]) { in parseForwardChainStats()
1135 if (filter.intIface == iface0 && filter.extIface == iface1) { in parseForwardChainStats()
1139 } else if (filter.intIface == iface1 && filter.extIface == iface0) { in parseForwardChainStats()
1144 } else if (filter.intIface[0] || filter.extIface[0]) { in parseForwardChainStats()
1145 if (filter.intIface == iface0 || filter.extIface == iface1) { in parseForwardChainStats()
1151 } else if (filter.intIface == iface1 || filter.extIface == iface0) { in parseForwardChainStats()
[all …]
/system/bt/test/
Drun_unit_tests.sh92 filter="${spec#*.}"
93 test_command+=( "--gtest_filter=${filter}" )
/system/tpm/trunks/
DMakefile29 TEST_OBJS := $(filter %_test.o trunks_testrunner.o mock_%.o, $(CXX_OBJECTS))
30 SHARED_OBJS := $(filter-out $(TEST_OBJS), $(CXX_OBJECTS))
/system/connectivity/shill/cellular/
Dmobile_operator_info_impl.cc623 for (const auto& filter : candidate_mvno.mvno_filter()) { in UpdateMVNO() local
624 if (!FilterMatches(filter)) { in UpdateMVNO()
664 bool MobileOperatorInfoImpl::FilterMatches(const Filter& filter) { in FilterMatches() argument
665 DCHECK(filter.has_regex()); in FilterMatches()
667 switch (filter.type()) { in FilterMatches()
684 SLOG(this, 1) << "Unknown filter type [" << filter.type() << "]"; in FilterMatches()
691 << filter.regex() << ")."; in FilterMatches()
698 string filter_regex_str = filter.regex(); in FilterMatches()
714 LOG(WARNING) << "Could not compile regex '" << filter.regex() << "'. " in FilterMatches()
730 << "against regexp " << filter.regex() << ". " in FilterMatches()
/system/core/adb/
DCPPLINT.cfg2 filter=-build/header_guard,-build/include,-readability/function,-whitespace/indent
/system/core/base/
DCPPLINT.cfg2 filter=-build/header_guard,-build/include,-build/c++11,-whitespace/operators
/system/core/rootdir/
DAndroid.mk28 ifneq ($(filter address,$(SANITIZE_TARGET)),)
48 ifneq ($(filter address,$(SANITIZE_TARGET)),)
/system/extras/ANRdaemon/
DAndroid.mk1 ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
/system/bt/bta/dm/
Dbta_dm_sco.c60 PCONVERT_TO_BT_FILTERED filter; /* the action function to do the member
618 p_cb->filter = (PCONVERT_TO_BT_FILTERED) Convert_8M_ToBT_Filtered; in BTA_DmPcmInitSamples()
624 p_cb->filter = (PCONVERT_TO_BT_FILTERED) Convert_16M_ToBT_Filtered; in BTA_DmPcmInitSamples()
633 p_cb->filter = (PCONVERT_TO_BT_FILTERED) Convert_8S_ToBT_Filtered; in BTA_DmPcmInitSamples()
638 p_cb->filter = (PCONVERT_TO_BT_FILTERED) Convert_16S_ToBT_Filtered; in BTA_DmPcmInitSamples()
680 out_sample = (*bta_dm_pcm_cb.filter) (p_src, p_dst, (in_bytes / bta_dm_pcm_cb.divisor), in BTA_DmPcmResample()
/system/extras/tests/memtest/
DAndroid.mk2 ifneq ($(filter $(TARGET_ARCH),arm arm64),)
/system/connectivity/shill/mobile_operator_db/
Dmobile_operator_db.proto23 // A filter can be one of the following types.
33 // filter. The field to be tested is chosen by the |type|.
68 // Use this filter to restrict when the OnlinePortal is valid.
69 // The OnlinePortal is assumed to be valid if the filter is not provided.
/system/tpm/attestation/server/
Dattestationd-seccomp-x86.policy15 # TODO(namnguyen): filter socket system calls.
/system/media/camera/src/
DAndroid.mk26 ifneq ($(filter userdebug eng,$(TARGET_BUILD_VARIANT)),)
/system/core/logcat/
DAndroid.mk25 LOCAL_POST_INSTALL_CMD := $(hide) $(foreach t,$(filter-out $(LOCAL_MODULE),$(ALL_TOOLS)),ln -sf $(L…
/system/core/fs_mgr/
DAndroid.mk34 ifneq (,$(filter userdebug,$(TARGET_BUILD_VARIANT)))
/system/core/libbacktrace/
DAndroid.build.mk23 ifneq ($(build_target),$(filter $(build_target),SHARED_LIBRARY STATIC_LIBRARY))

12