Home
last modified time | relevance | path

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

1234567891011

/frameworks/base/media/java/android/media/tv/tuner/
DTunerUtils.java21 import android.media.tv.tuner.filter.Filter;
36 public static int getFilterSubtype(@Filter.Type int mainType, @Filter.Subtype int subtype) { in getFilterSubtype()
37 if (mainType == Filter.TYPE_TS) { in getFilterSubtype()
39 case Filter.SUBTYPE_UNDEFINED: in getFilterSubtype()
41 case Filter.SUBTYPE_SECTION: in getFilterSubtype()
43 case Filter.SUBTYPE_PES: in getFilterSubtype()
45 case Filter.SUBTYPE_TS: in getFilterSubtype()
47 case Filter.SUBTYPE_AUDIO: in getFilterSubtype()
49 case Filter.SUBTYPE_VIDEO: in getFilterSubtype()
51 case Filter.SUBTYPE_PCR: in getFilterSubtype()
[all …]
DDemuxCapabilities.java24 import android.media.tv.tuner.filter.Filter;
40 Filter.TYPE_TS,
41 Filter.TYPE_MMTP,
42 Filter.TYPE_IP,
43 Filter.TYPE_TLV,
44 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()
116 filterClass.asSubclass(Filter.class); in createFilterByClass()
132 Filter filter = null; in createFilterByClass()
134 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()
/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.java37 public interface Filter { interface in BluetoothDeviceFilter
42 public static final Filter ALL_FILTER = new AllFilter();
45 public static final Filter BONDED_DEVICE_FILTER = new BondedDeviceFilter();
48 public static final Filter UNBONDED_DEVICE_FILTER = new UnbondedDeviceFilter();
51 private static final Filter[] FILTERS = {
70 public static Filter getFilter(int filterType) { in getFilter()
80 private static final class AllFilter implements Filter {
87 private static final class BondedDeviceFilter implements Filter {
94 private static final class UnbondedDeviceFilter implements Filter {
101 private abstract static class ClassUuidFilter implements Filter {
/frameworks/base/services/core/java/com/android/server/firewall/
DSenderFilter.java60 public Filter newFilter(XmlPullParser parser) throws IOException, XmlPullParserException {
80 private static final Filter SIGNATURE = new Filter() {
88 private static final Filter SYSTEM = new Filter() {
96 private static final Filter SYSTEM_OR_SIGNATURE = new Filter() {
105 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/dataconnection/
DQosCallbackTrackerTest.java65 class Filter implements QosCallbackTracker.IFilter { class in QosCallbackTrackerTest
69 Filter(@NonNull final InetSocketAddress localAddress) { in Filter() method in QosCallbackTrackerTest.Filter
74 Filter(@NonNull final InetSocketAddress localAddress, in Filter() method in QosCallbackTrackerTest.Filter
154 Filter filter = new Filter(new InetSocketAddress( in testAddFilterBeforeUpdateSessions()
205 Filter filter = new Filter(new InetSocketAddress( in testAddFilterAfterUpdateSessions()
218 Filter filter = new Filter(new InetSocketAddress( in testRemoveFilter()
274 Filter filter = new Filter(new InetSocketAddress( in testSessionLost()
311 Filter filter = new Filter(new InetSocketAddress( in testModifiedQos()
352 Filter filter = new Filter(new InetSocketAddress( in testUnmodifiedQos()
375 Filter filter = new Filter(new InetSocketAddress( in testEmptyQosSessions()
[all …]
/frameworks/base/tests/utils/testutils/java/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/core/java/android/hardware/radio/
DProgramList.java236 public static final class Filter implements Parcelable { class in ProgramList
253 public Filter(@NonNull Set<Integer> identifierTypes, in Filter() method in ProgramList.Filter
266 public Filter() { in Filter() method in ProgramList.Filter
277 public Filter(@Nullable Map<String, String> vendorFilter) { in Filter() method in ProgramList.Filter
285 private Filter(@NonNull Parcel in) { in Filter() method in ProgramList.Filter
307 …final @android.annotation.NonNull Parcelable.Creator<Filter> CREATOR = new Parcelable.Creator<Filt…
308 public Filter createFromParcel(Parcel in) {
309 return new Filter(in);
312 public Filter[] newArray(int size) {
313 return new Filter[size];
[all …]
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DStartProgramListUpdatesFanoutTest.java116 ProgramList.Filter aidlFilter = new ProgramList.Filter(new HashSet<Integer>(), in testFanout()
156 ProgramList.Filter idFilter = new ProgramList.Filter(new HashSet<Integer>(), in testFiltering()
158 ProgramList.Filter categoryFilter = new ProgramList.Filter(new HashSet<Integer>(), in testFiltering()
160 ProgramList.Filter typeFilterWithoutModifications = new ProgramList.Filter( in testFiltering()
163 ProgramList.Filter typeFilterWithModifications = new ProgramList.Filter( in testFiltering()
217 ProgramList.Filter idFilter = new ProgramList.Filter(new HashSet<Integer>(), in testClientClosing()
220 ProgramList.Filter typeFilter = new ProgramList.Filter( in testClientClosing()
/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/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()
68 template <class IoCollection, class Filter>
70 IoCollection& ioCollection, Filter filter, const DeviceVector& devices) in findPreferredDevice()

1234567891011