Home
last modified time | relevance | path

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

12345678910

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterGraph.java41 private HashSet<Filter> mFilters = new HashSet<Filter>();
42 private HashMap<String, Filter> mNameMap = new HashMap<String, Filter>();
66 public boolean addFilter(Filter filter) { in addFilter()
75 public boolean containsFilter(Filter filter) { in containsFilter()
80 public Filter getFilter(String name) { in getFilter()
84 public void connect(Filter source, in connect()
86 Filter target, in connect()
111 Filter source = getFilter(sourceName); in connect()
112 Filter target = getFilter(targetName); in connect()
123 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()
/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/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothDeviceFilter.java35 public interface Filter { interface in BluetoothDeviceFilter
40 public static final Filter ALL_FILTER = new AllFilter();
43 public static final Filter BONDED_DEVICE_FILTER = new BondedDeviceFilter();
46 public static final Filter UNBONDED_DEVICE_FILTER = new UnbondedDeviceFilter();
49 private static final Filter[] FILTERS = {
68 public static Filter getFilter(int filterType) { in getFilter()
78 private static final class AllFilter implements Filter {
85 private static final class BondedDeviceFilter implements Filter {
92 private static final class UnbondedDeviceFilter implements Filter {
99 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/base/services/core/java/com/android/server/wm/
DPolicyControl.java60 private static Filter sImmersivePreconfirmationsFilter;
61 private static Filter sImmersiveStatusFilter;
62 private static Filter sImmersiveNavigationFilter;
138 private static void dump(String name, Filter filter, String prefix, PrintWriter pw) { in dump()
160 Filter f = Filter.parse(v); in setFilters()
166 Filter f = Filter.parse(v); in setFilters()
169 Filter f = Filter.parse(v); in setFilters()
175 Filter f = Filter.parse(v); in setFilters()
187 private static class Filter { class in PolicyControl
194 private Filter(ArraySet<String> whitelist, ArraySet<String> blacklist) { in Filter() method in PolicyControl.Filter
[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/av/services/audiopolicy/common/managerdefinitions/include/
DAudioIODescriptorInterface.h39 template <class IoDescriptor, class Filter>
41 IoDescriptor& desc, Filter filter, bool& active, const DeviceVector& devices) in findPreferredDevice()
53 template <class IoCollection, class Filter>
55 IoCollection& ioCollection, Filter filter, const DeviceVector& devices) in findPreferredDevice()
/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/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];
/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()
/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()

12345678910