Home
last modified time | relevance | path

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

123456789

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterGraph.java40 private HashSet<Filter> mFilters = new HashSet<Filter>();
41 private HashMap<String, Filter> mNameMap = new HashMap<String, Filter>();
65 public boolean addFilter(Filter filter) { in addFilter()
74 public boolean containsFilter(Filter filter) { in containsFilter()
78 public Filter getFilter(String name) { in getFilter()
82 public void connect(Filter source, in connect()
84 Filter target, in connect()
109 Filter source = getFilter(sourceName); in connect()
110 Filter target = getFilter(targetName); in connect()
121 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()
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()
DFilterFunction.java27 private Filter mFilter;
38 public FilterFunction(FilterContext context, Filter filter) { in FilterFunction()
76 if (mFilter.getStatus() != Filter.STATUS_PROCESSING) { in execute()
108 public Filter getFilter() { in getFilter()
DScheduler.java20 import android.filterfw.core.Filter;
41 abstract Filter scheduleNextNode(); 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 …]
DGraphExporter.java53 Filter[] filters = graph.getAllFilters(); in exportAsDot()
66 for(Filter filter : filters) { in exportAsDot()
103 for(Filter filter : filters) { in exportAsDot()
165 static private Set<String> getInputPorts(Filter filter, boolean includeUnconnectedOptional) { in getInputPorts()
183 static private Set<String> getOutputPorts(Filter filter, boolean includeUnconnectedOptional) { in getOutputPorts()
DOutputPort.java35 private Filter mFilter;
136 public Filter getFilter() { in getFilter()
145 OutputPort(Filter filter, String name, Signature.PortInfo info) { in OutputPort()
/frameworks/base/services/core/java/com/android/server/firewall/
DSenderFilter.java59 public Filter newFilter(XmlPullParser parser) throws IOException, XmlPullParserException {
79 private static final Filter SIGNATURE = new Filter() {
87 private static final Filter SYSTEM = new Filter() {
95 private static final Filter SYSTEM_OR_SIGNATURE = new Filter() {
104 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/base/policy/src/com/android/internal/policy/impl/
DPolicyControl.java61 private static Filter sImmersivePreconfirmationsFilter;
62 private static Filter sImmersiveStatusFilter;
63 private static Filter sImmersiveNavigationFilter;
134 private static void dump(String name, Filter filter, String prefix, PrintWriter pw) { in dump()
156 Filter f = Filter.parse(v); in setFilters()
162 Filter f = Filter.parse(v); in setFilters()
165 Filter f = Filter.parse(v); in setFilters()
171 Filter f = Filter.parse(v); in setFilters()
183 private static class Filter { class in PolicyControl
190 private Filter(ArraySet<String> whitelist, ArraySet<String> blacklist) { in Filter() method in PolicyControl.Filter
[all …]
/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/mca/filterpacks/java/android/filterpacks/base/
DCallbackFilter.java20 import android.filterfw.core.Filter;
33 public class CallbackFilter extends Filter {
47 private Filter mFilter;
52 …public CallbackRunnable(FilterContext.OnFrameReceivedListener listener, Filter filter, Frame frame… in CallbackRunnable()
DNullFilter.java20 import android.filterfw.core.Filter;
26 public class NullFilter extends Filter {
DFrameStore.java20 import android.filterfw.core.Filter;
28 public class FrameStore extends Filter {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
DMffFilterTestCase.java58 protected abstract Filter createFilter(MffContext mffContext); in createFilter()
65 Filter filterUnderTest = createFilter(mffContext); in setUp()
137 MffContext mffContext, FilterGraph.Builder graphBuilder, Filter filter) { in connectInputPorts()
140 Filter inputFilter = new FrameSourceFilter(mffContext, "in_" + inputPortEntry.getKey()); in connectInputPorts()
147 MffContext mffContext, FilterGraph.Builder graphBuilder, Filter filter) { in connectOutputPorts()
/frameworks/base/media/mca/effect/java/android/media/effect/
DFilterGraphEffect.java19 import android.filterfw.core.Filter;
85 Filter src = mGraph.getFilter(mInputName); in apply()
93 Filter dest = mGraph.getFilter(mOutputName); in apply()

123456789