Home
last modified time | relevance | path

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

1234567891011

/frameworks/base/media/java/android/media/tv/tuner/
DTunerUtils.java25 import android.media.tv.tuner.filter.Filter;
40 public static int getFilterSubtype(@Filter.Type int mainType, @Filter.Subtype int subtype) { in getFilterSubtype()
41 if (mainType == Filter.TYPE_TS) { in getFilterSubtype()
43 case Filter.SUBTYPE_UNDEFINED: in getFilterSubtype()
45 case Filter.SUBTYPE_SECTION: in getFilterSubtype()
47 case Filter.SUBTYPE_PES: in getFilterSubtype()
49 case Filter.SUBTYPE_TS: in getFilterSubtype()
51 case Filter.SUBTYPE_AUDIO: in getFilterSubtype()
53 case Filter.SUBTYPE_VIDEO: in getFilterSubtype()
55 case Filter.SUBTYPE_PCR: in getFilterSubtype()
[all …]
DDemuxCapabilities.java24 import android.media.tv.tuner.filter.Filter;
40 Filter.TYPE_UNDEFINED,
41 Filter.TYPE_TS,
42 Filter.TYPE_MMTP,
43 Filter.TYPE_IP,
44 Filter.TYPE_TLV,
45 Filter.TYPE_ALP,
DDescrambler.java24 import android.media.tv.tuner.filter.Filter;
63 private native int nativeAddPid(int pidType, int pid, Filter filter); in nativeAddPid()
64 private native int nativeRemovePid(int pidType, int pid, Filter filter); in nativeRemovePid()
87 public int addPid(@PidType int pidType, int pid, @Nullable Filter filter) { in addPid()
105 public int removePid(@PidType int pidType, int pid, @Nullable Filter filter) { in removePid()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterGraph.java38 private HashSet<Filter> mFilters = new HashSet<Filter>();
39 private HashMap<String, Filter> mNameMap = new HashMap<String, Filter>();
63 public boolean addFilter(Filter filter) { in addFilter()
72 public boolean containsFilter(Filter filter) { in containsFilter()
77 public Filter getFilter(String name) { in getFilter()
81 public void connect(Filter source, in connect()
83 Filter target, in connect()
108 Filter source = getFilter(sourceName); in connect()
109 Filter target = getFilter(targetName); in connect()
120 public Set<Filter> getFilters() { in getFilters()
[all …]
DRandomScheduler.java23 import android.filterfw.core.Filter;
42 public Filter scheduleNextNode() { in scheduleNextNode()
43 Vector<Filter> candidates = new Vector<Filter>(); in scheduleNextNode()
44 for (Filter filter : getGraph().getFilters()) { in scheduleNextNode()
DRoundRobinScheduler.java22 import android.filterfw.core.Filter;
42 public Filter scheduleNextNode() { in scheduleNextNode()
43 Set<Filter> all_filters = getGraph().getFilters(); in scheduleNextNode()
46 Filter first = null; in scheduleNextNode()
48 for (Filter filter : all_filters) { in scheduleNextNode()
DSyncRunner.java162 protected void processFilterNode(Filter filter) { in processFilterNode()
165 if (filter.getStatus() == Filter.STATUS_ERROR) { in processFilterNode()
167 } else if (filter.getStatus() == Filter.STATUS_SLEEPING) { in processFilterNode()
173 protected void scheduleFilterWake(Filter filter, int delay) { in scheduleFilterWake()
178 final Filter filterToSchedule = filter; in scheduleFilterWake()
184 filterToSchedule.unsetStatus(Filter.STATUS_SLEEPING); in scheduleFilterWake()
192 for (Filter filter : mScheduler.getGraph().getFilters()) { in determinePostRunState()
194 if (filter.getStatus() == Filter.STATUS_SLEEPING) { in determinePostRunState()
209 Filter filter = mScheduler.scheduleNextNode(); in performStep()
DFilterFactory.java20 import android.filterfw.core.Filter;
88 public Filter createFilterByClassName(String className, String filterName) { in createFilterByClassName()
113 public Filter createFilterByClass(Class filterClass, String filterName) { in createFilterByClass()
115 if (!Filter.class.isAssignableFrom(filterClass)) { in createFilterByClass()
130 Filter filter = null; in createFilterByClass()
132 filter = (Filter)filterConstructor.newInstance(filterName); in createFilterByClass()
DOneShotScheduler.java20 import android.filterfw.core.Filter;
52 public Filter scheduleNextNode() { in scheduleNextNode()
53 Filter first = null; in scheduleNextNode()
56 Filter filter = super.scheduleNextNode(); in scheduleNextNode()
DSimpleScheduler.java20 import android.filterfw.core.Filter;
37 public Filter scheduleNextNode() { in scheduleNextNode()
38 for (Filter filter : getGraph().getFilters()) { in scheduleNextNode()
DFilterPort.java20 import android.filterfw.core.Filter;
29 protected Filter mFilter;
38 public FilterPort(Filter filter, String name) { in FilterPort()
56 public Filter getFilter() { in getFilter()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFilterGraph.java54 private HashMap<String, Filter> mFilterMap = new HashMap<String, Filter>();
57 private Filter[] mAllFilters = null;
74 private HashMap<String, Filter> mFilterMap = new HashMap<String, Filter>();
94 public void addFilter(Filter filter) { in addFilter()
150 Filter sourceFilter = getFilter(sourceFilterName); in connect()
151 Filter targetFilter = getFilter(targetFilterName); in connect()
169 public void connect(Filter sourceFilter, String sourcePort, in connect()
170 Filter targetFilter, String targetPort) { in connect()
179 public Filter getFilter(String name) { in getFilter()
209 Filter filter = getFilter(filterName); in assignValueToFilterInput()
[all …]
DFilterFactory.java87 public Filter createFilterByClassName(String className, String filterName, MffContext context) { in createFilterByClassName()
89 Class<? extends Filter> filterClass = getFilterClass(className); in createFilterByClassName()
96 public Filter createFilterByClass(Class<? extends Filter> filterClass, in createFilterByClass()
99 Constructor<? extends Filter> filterConstructor = null; in createFilterByClass()
108 Filter filter = null; in createFilterByClass()
122 private Class<? extends Filter> getFilterClass(String name) { in getFilterClass()
140 Class<? extends Filter> result = null; in getFilterClass()
143 result = filterClass.asSubclass(Filter.class); in getFilterClass()
DGraphRunner.java120 private Stack<Filter[]> mFilters = new Stack<Filter[]>();
348 Filter bestFilter = null; in onStep()
351 Filter[] filters = currentFilters(); in onStep()
353 Filter filter = filters[i]; in onStep()
387 for (Filter filter : graph.getAllFilters()) { in onTearDown()
394 Filter[] filters = graph.getAllFilters(); in loadFilters()
407 Filter[] filters = graph.getAllFilters(); in closeFilters()
417 private Filter[] currentFilters() { in currentFilters()
421 private void scheduleFilter(Filter filter) { in scheduleFilter()
439 public void prepare(Filter[] filters); in prepare()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothDeviceFilter.java38 public interface Filter { interface in BluetoothDeviceFilter
43 public static final Filter ALL_FILTER = new AllFilter();
46 public static final Filter BONDED_DEVICE_FILTER = new BondedDeviceFilter();
49 public static final Filter UNBONDED_DEVICE_FILTER = new UnbondedDeviceFilter();
52 private static final Filter[] FILTERS = {
71 public static Filter getFilter(int filterType) { in getFilter()
81 private static final class AllFilter implements Filter {
88 private static final class BondedDeviceFilter implements Filter {
95 private static final class UnbondedDeviceFilter implements Filter {
102 private abstract static class ClassUuidFilter implements Filter {
/frameworks/base/services/core/java/com/android/server/firewall/
DSenderFilter.java47 public Filter newFilter(XmlPullParser parser) throws IOException, XmlPullParserException {
67 private static final Filter SIGNATURE = new Filter() {
75 private static final Filter SYSTEM = new Filter() {
83 private static final Filter SYSTEM_OR_SIGNATURE = new Filter() {
92 private static final Filter USER_ID = new Filter() {
DNotFilter.java27 class NotFilter implements Filter {
28 private final Filter mChild;
30 private NotFilter(Filter child) { in NotFilter()
43 public Filter newFilter(XmlPullParser parser)
45 Filter child = null;
48 Filter filter = IntentFirewall.parseFilter(parser);
DFilterList.java26 abstract class FilterList implements Filter {
27 protected final ArrayList<Filter> children = new ArrayList<Filter>();
38 Filter filter = IntentFirewall.parseFilter(parser); in readChild()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DQosCallbackTrackerTest.java61 class Filter implements QosCallbackTracker.IFilter { class in QosCallbackTrackerTest
66 Filter(@NonNull final InetSocketAddress localAddress) { in Filter() method in QosCallbackTrackerTest.Filter
71 Filter(@NonNull final InetSocketAddress localAddress, in Filter() method in QosCallbackTrackerTest.Filter
184 Filter filter = new Filter(new InetSocketAddress( in testAddFilterBeforeUpdateSessions()
235 Filter filter = new Filter(new InetSocketAddress( in testAddFilterAfterUpdateSessions()
247 Filter filter = new Filter(new InetSocketAddress( in testRemoveFilter()
304 Filter filter = new Filter(new InetSocketAddress( in testSessionLost()
342 Filter filter = new Filter(new InetSocketAddress( in testModifiedQos()
384 Filter filter = new Filter(new InetSocketAddress( in testUnmodifiedQos()
408 Filter filter = new Filter(new InetSocketAddress( in testEmptyQosSessions()
[all …]
/frameworks/base/tests/utils/testutils/tests/src/com/android/test/filters/
DSelectTestTests.java35 import org.junit.runner.manipulation.Filter;
100 Filter build() { in build()
141 private static void acceptTests(Filter filter, Set<Description>... testSpecs) { in acceptTests()
193 final Filter filter = mBuilder.build(); in testFilterDisabled()
199 final Filter filter = mBuilder.withSelectTest(PACKAGE_A, PACKAGE_B).build(); in testSelectPackage()
205 final Filter filter = mBuilder.withSelectTest(CLASS_A1, CLASS_A2, CLASS_B3).build(); in testSelectClass()
211 final Filter filter = mBuilder in testSelectMethod()
218 final Filter filter = mBuilder.withSelectTest(CLASS_A1, PACKAGE_B, CLASS_C5).build(); in testSelectClassAndPackage()
224 final Filter filter = mBuilder.withSelectTest(METHOD_A1K, PACKAGE_B, METHOD_C5W).build(); in testSelectMethodAndPackage()
230 final Filter filter = mBuilder.withSelectTest(METHOD_A1K, CLASS_C5, METHOD_B3P).build(); in testSelectMethodAndClass()
[all …]
/frameworks/base/media/java/android/media/tv/tuner/filter/
DFilterCallback.java35 void onFilterEvent(@NonNull Filter filter, @NonNull FilterEvent[] events); in onFilterEvent()
42 void onFilterStatusChanged(@NonNull Filter filter, @Filter.Status int status); in onFilterStatusChanged()
/frameworks/base/media/mca/effect/java/android/media/effect/effects/
DBackDropperEffect.java19 import android.filterfw.core.Filter;
85 Filter replacer = mGraph.getFilter("replacer"); in BackDropperEffect()
92 Filter background = mGraph.getFilter("background"); in setParameter()
95 Filter background = mGraph.getFilter("background"); in setParameter()
/frameworks/base/media/java/android/media/tv/tuner/dvr/
DDvrSettings.java24 import android.media.tv.tuner.filter.Filter;
61 @Filter.Status
72 private DvrSettings(@Filter.Status int statusMask, @BytesLong long lowThreshold, in DvrSettings()
84 @Filter.Status
148 public Builder setStatusMask(@Filter.Status int statusMask) { in setStatusMask()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DStartProgramListUpdatesFanoutTest.java140 ProgramList.Filter aidlFilter = new ProgramList.Filter(new HashSet<Integer>(), in testFanout()
180 ProgramList.Filter idFilter = new ProgramList.Filter(new HashSet<Integer>(), in testFiltering()
182 ProgramList.Filter categoryFilter = new ProgramList.Filter(new HashSet<Integer>(), in testFiltering()
184 ProgramList.Filter typeFilterWithoutModifications = new ProgramList.Filter( in testFiltering()
187 ProgramList.Filter typeFilterWithModifications = new ProgramList.Filter( in testFiltering()
244 ProgramList.Filter idFilter = new ProgramList.Filter(new HashSet<Integer>(), in testClientClosing()
247 ProgramList.Filter typeFilter = new ProgramList.Filter( in testClientClosing()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioIODescriptorInterface.h41 template <class IoDescriptor, class Filter>
43 IoDescriptor& desc, Filter filter, bool& active, const DeviceVector& devices) in findPreferredDevice()
72 template <class IoCollection, class Filter>
74 IoCollection& ioCollection, Filter filter, const DeviceVector& devices) in findPreferredDevice()

1234567891011