Home
last modified time | relevance | path

Searched refs:Filter (Results 1 – 25 of 55) sorted by relevance

123

/packages/modules/Bluetooth/system/gd/dumpsys/
Dfilter.cc26 class Filter { class
28Filter(const dumpsys::ReflectionSchema& reflection_schema) : reflection_schema_(reflection_schema)… in Filter() function in Filter
30 virtual ~Filter() = default;
34 static std::unique_ptr<Filter> Factory(const dumpsys::ReflectionSchema& reflection_schema);
79 class DeveloperPrivacyFilter : public Filter {
81 …DeveloperPrivacyFilter(const dumpsys::ReflectionSchema& reflection_schema) : Filter(reflection_sch… in DeveloperPrivacyFilter()
86 std::unique_ptr<Filter> Filter::Factory(const dumpsys::ReflectionSchema& reflection_schema) { in Factory()
92 auto filter = Filter::Factory(reflection_schema); in FilterSchema()
/packages/apps/TV/tuner/sampletunertvinput/src/com/android/tv/samples/sampletunertvinput/
DSampleTunerTvInputUtils.java24 import android.media.tv.tuner.filter.Filter;
119 public static Filter createSectionFilter(Tuner tuner, Handler handler, in createSectionFilter()
121 Filter sectionFilter = tuner.openFilter(Filter.TYPE_TS, Filter.SUBTYPE_SECTION, in createSectionFilter()
125 .builder(Filter.TYPE_TS).build(); in createSectionFilter()
134 public static Filter createAvFilter(Tuner tuner, Handler handler, in createAvFilter()
136 Filter avFilter = tuner.openFilter(Filter.TYPE_TS, in createAvFilter()
137 isAudio ? Filter.SUBTYPE_AUDIO : Filter.SUBTYPE_VIDEO, in createAvFilter()
143 AvSettings.builder(Filter.TYPE_TS, isAudio).setPassthrough(false).build(); in createAvFilter()
154 public void onFilterEvent(Filter filter, FilterEvent[] events) { in createDefaultLoggingFilterCallback()
167 public void onFilterStatusChanged(Filter filter, int status) { in createDefaultLoggingFilterCallback()
DSampleTunerTvInputService.java15 import android.media.tv.tuner.filter.Filter;
92 private Filter mAudioFilter;
93 private Filter mVideoFilter;
94 private Filter mSectionFilter;
194 public void onFilterEvent(Filter filter, FilterEvent[] events) { in videoFilterCallback()
219 public void onFilterStatusChanged(Filter filter, int status) { in videoFilterCallback()
223 if (status == Filter.STATUS_DATA_READY) { in videoFilterCallback()
233 public void onFilterEvent(Filter filter, FilterEvent[] events) {
258 public void onFilterStatusChanged(Filter filter, int status) {
DSampleTunerTvInputSetupActivity.java10 import android.media.tv.tuner.filter.Filter;
39 private Filter mSectionFilter;
106 public void onFilterEvent(Filter filter, FilterEvent[] events) { in sectionFilterCallback()
131 public void onFilterStatusChanged(Filter filter, int status) { in sectionFilterCallback()
/packages/apps/Car/SystemUI/src/com/android/systemui/wm/
DBarControlPolicy.java64 static Filter sImmersiveStatusFilter;
65 private static Filter sImmersiveNavigationFilter;
155 Filter f = Filter.parse(v); in setFilters()
158 Filter f = Filter.parse(v); in setFilters()
161 Filter f = Filter.parse(v); in setFilters()
172 private static class Filter { class in BarControlPolicy
178 private Filter(ArraySet<String> toInclude, ArraySet<String> toExclude) { in Filter() method in BarControlPolicy.Filter
222 static Filter parse(String value) { in parse()
235 return new Filter(toInclude, toExclude); in parse()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/util/
DFilterTest.java78 new Filter(mFlags) in testIsFilterMatch_filterSet_nonEmptyValues_returnTrue()
101 assertTrue(new Filter(mFlags).isFilterMatch(sourceFilter, List.of(triggerFilter), true)); in testIsFilterMatch_nonEmptyValues_returnsTrue()
123 assertTrue(new Filter(mFlags).isFilterMatch(sourceFilter, List.of(triggerFilter), true)); in testIsFilterMatchV2_insideLookbackWindow_returnsTrue()
141 assertTrue(new Filter(mFlags).isFilterMatch(sourceFilter, List.of(triggerFilter), true)); in testIsFilterMatchV2_emptySource_returnsTrue()
163 assertFalse(new Filter(mFlags).isFilterMatch(sourceFilter, List.of(triggerFilter), true)); in testIsFilterMatchV2_outsideLookbackWindow_returnsFalse()
195 new Filter(mFlags) in testIsFilterMatch_filterSet_nonEmptyValues_returnFalse()
219 assertFalse(new Filter(mFlags).isFilterMatch(sourceFilter, List.of(triggerFilter), true)); in testIsFilterMatch_nonEmptyValues_returnFalse()
250 new Filter(mFlags) in testIsFilterMatch_filterSet_withEmptyValues_returnTrue()
273 assertTrue(new Filter(mFlags).isFilterMatch(sourceFilter, List.of(triggerFilter), true)); in testIsFilterMatch_withEmptyValues_returnTrue()
305 new Filter(mFlags) in testIsFilterMatch_filterSet_withEmptyValues_returnFalse()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothUnbondedDevicesPreferenceController.java30 import com.android.settingslib.bluetooth.BluetoothDeviceFilter.Filter;
45 private final Filter mUnbondedDeviceTypeFilter = new UnbondedDeviceTypeFilter();
56 protected BluetoothDeviceFilter.Filter getDeviceFilter() { in getDeviceFilter()
86 private class UnbondedDeviceTypeFilter implements Filter {
DBluetoothDevicePickerPreferenceController.java58 private BluetoothDeviceFilter.Filter mFilter;
99 protected BluetoothDeviceFilter.Filter getDeviceFilter() { in getDeviceFilter()
DBluetoothBondedDevicesPreferenceController.java86 private final BluetoothDeviceFilter.Filter mBondedDeviceTypeFilter =
105 protected BluetoothDeviceFilter.Filter getDeviceFilter() { in getDeviceFilter()
335 private class BondedDeviceTypeFilter implements BluetoothDeviceFilter.Filter {
/packages/apps/LegacyCamera/src/com/android/camera/
DEffectsRecorder.java22 import android.filterfw.core.Filter;
129 … return Filter.isAvailable("com.google.android.filterpacks.facedetect.GoofyRenderFilter"); in isEffectSupported()
131 return Filter.isAvailable("android.filterpacks.videoproc.BackDropperFilter"); in isEffectSupported()
309 Filter rotateFilter = mRunner.getGraph().getFilter("rotate"); in setFaceDetectOrientation()
310 Filter metaRotateFilter = mRunner.getGraph().getFilter("metarotate"); in setFaceDetectOrientation()
338 Filter recorder = mRunner.getGraph().getFilter("recorder"); in setRecordingOrientation()
485 Filter goofyFilter = mRunner.getGraph().getFilter("goofyrenderer"); in initializeEffect()
491 Filter backgroundSrc = mRunner.getGraph().getFilter("background"); in initializeEffect()
497 Filter replacer = mRunner.getGraph().getFilter("replacer"); in initializeEffect()
662 Filter recorder = mRunner.getGraph().getFilter("recorder"); in startRecording()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DAttributionConfig.java37 import com.android.adservices.service.measurement.util.Filter;
195 Filter filter = new Filter(flags); in serializeAsJson()
264 Filter filter = new Filter(flags); in Builder()
275 Filter.maybeWrapFilters(attributionConfigsJson, SOURCE_FILTERS); in Builder()
280 Filter.maybeWrapFilters(attributionConfigsJson, SOURCE_NOT_FILTERS); in Builder()
DTrigger.java30 import com.android.adservices.service.measurement.util.Filter;
406 Filter filter = new Filter(flags); in parseAggregateTrigger()
514 new Filter(flags) in parseEventTriggers()
522 new Filter(flags) in parseEventTriggers()
/packages/modules/Connectivity/nearby/service/proto/src/presence/
Dblefilter.proto21 // a Filter.
23 // Each Filter is defined by its id (required) with optional fields of rssi,
25 // convenient to assign id incrementally when adding a Filter such that its id
29 // host when the event matches a Filter. The Field's id will be sent back to
101 // FilterResult is returned to host when a BLE event matches a Filter.
109 optional uint32 id = 1; // id of the matched Filter.
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/
DEnrichedCallManager.java159 Session getSession(@NonNull String uniqueCallId, @NonNull String number, @Nullable Filter filter); in getSession()
176 Filter createIncomingCallComposerFilter(); in createIncomingCallComposerFilter()
179 Filter createOutgoingCallComposerFilter(); in createOutgoingCallComposerFilter()
355 interface Filter { interface
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/
DAggregatableAttributionTrigger.java21 import com.android.adservices.service.measurement.util.Filter;
88 Filter filter = new Filter(flags); in maybeExtractDedupKey()
DAggregatePayloadGenerator.java24 import com.android.adservices.service.measurement.util.Filter;
72 Filter filter = new Filter(mFlags); in generateAttributionReport()
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/stub/
DEnrichedCallManagerStub.java81 @NonNull String uniqueCallId, @NonNull String number, @Nullable Filter filter) { in getSession()
101 public Filter createIncomingCallComposerFilter() { in createIncomingCallComposerFilter()
107 public Filter createOutgoingCallComposerFilter() { in createOutgoingCallComposerFilter()
/packages/modules/Bluetooth/tools/rootcanal/model/controller/vendor_commands/
Dle_apcf.h25 struct Filter { struct
66 std::vector<Filter> filters{};
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncTriggerFetcher.java48 import com.android.adservices.service.measurement.util.Filter;
220 JSONArray filters = Filter.maybeWrapFilters(json, TriggerHeaderContract.FILTERS); in parseTrigger()
232 Filter.maybeWrapFilters(json, TriggerHeaderContract.NOT_FILTERS); in parseTrigger()
626 JSONArray filters = Filter.maybeWrapFilters(eventTriggerDatum, "filters"); in getValidEventTriggerData()
640 Filter.maybeWrapFilters(eventTriggerDatum, "not_filters"); in getValidEventTriggerData()
708 JSONArray filters = Filter.maybeWrapFilters(aggregateTriggerData, "filters"); in getValidAggregateTriggerData()
721 JSONArray notFilters = Filter.maybeWrapFilters(aggregateTriggerData, "not_filters"); in getValidAggregateTriggerData()
800 JSONArray filters = Filter.maybeWrapFilters(deduplicationKeyObj, "filters"); in getValidAggregateDuplicationKeysString()
813 JSONArray notFilters = Filter.maybeWrapFilters(deduplicationKeyObj, "not_filters"); in getValidAggregateDuplicationKeysString()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothDevicesGroupPreferenceControllerTest.java66 private BluetoothDeviceFilter.Filter mFilter;
293 private BluetoothDeviceFilter.Filter mFilter;
302 protected BluetoothDeviceFilter.Filter getDeviceFilter() { in getDeviceFilter()
306 void setDeviceFilter(BluetoothDeviceFilter.Filter filter) { in setDeviceFilter()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiAvailableChannel.java118 public @interface Filter {} annotation in WifiAvailableChannel
179 public static @Filter int getUsableFilter() { in getUsableFilter()
/packages/modules/Bluetooth/system/audio/asrc/
Dasrc_resampler.cc249 inline int32_t Filter(const int32_t* in, const int32_t* h, int16_t mu,
270 *out = Filter(w, h_[phy], mu, d_[phy]); in Upsample()
307 *out = Filter(w, h_[phy], mu, d_[phy]); in Downsample()
373 inline int32_t SourceAudioHalAsrc::Resampler::Filter(const int32_t* x, in Filter() function in bluetooth::audio::asrc::SourceAudioHalAsrc::Resampler
417 inline int32_t SourceAudioHalAsrc::Resampler::Filter(const int32_t* in, in Filter() function in bluetooth::audio::asrc::SourceAudioHalAsrc::Resampler
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DDevSdkIgnoreRunner.kt26 import org.junit.runner.manipulation.Filter
169 override fun filter(filter: Filter?) { in filter()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DRegionSearchPickerTest.java25 import android.widget.Filter;
105 private static class FilterWrapper extends Filter {
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/util/
DFilter.java35 public final class Filter { class
38 public Filter(@NonNull Flags flags) { in Filter() method in Filter

123