Home
last modified time | relevance | path

Searched refs:mFilter (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/pm/
DWatchedIntentFilter.java76 protected IntentFilter mFilter; field in WatchedIntentFilter
83 mFilter = new IntentFilter(); in WatchedIntentFilter()
88 mFilter = new IntentFilter(f); in WatchedIntentFilter()
101 mFilter = new IntentFilter(action); in WatchedIntentFilter()
110 mFilter = new IntentFilter(action, dataType); in WatchedIntentFilter()
117 return new WatchedIntentFilter(mFilter); in cloneFilter()
124 return mFilter; in getIntentFilter()
131 mFilter.setPriority(priority); in setPriority()
139 return mFilter.getPriority(); in getPriority()
146 mFilter.setOrder(order); in setOrder()
[all …]
DDefaultCrossProfileIntentFilter.java78 private final WatchedIntentFilter mFilter = new WatchedIntentFilter(); field in DefaultCrossProfileIntentFilter.Builder
90 mFilter.addAction(action); in addAction()
95 mFilter.addCategory(category); in addCategory()
101 mFilter.addDataType(type); in addDataType()
109 mFilter.addDataScheme(scheme); in addDataScheme()
114 return new DefaultCrossProfileIntentFilter(mFilter, mFlags, mDirection, in build()
DPersistentPreferredActivity.java68 this(filter.mFilter, activity, isSetByDpm);
111 mFilter.readFromXml(parser);
125 mFilter.writeToXml(serializer);
130 return mFilter;
DPreferredActivity.java63 this(filter.mFilter, match, set, activity, always);
81 mFilter.writeToXml(serializer);
91 mFilter.readFromXml(parser);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterFunction.java27 private Filter mFilter; field in FilterFunction
40 mFilter = filter; in FilterFunction()
44 int filterOutCount = mFilter.getNumberOfOutputs(); in execute()
48 throw new RuntimeException("Calling execute on filter " + mFilter + " with multiple " in execute()
69 mFilter.pushInputFrame(entry.getKey(), (Frame)entry.getValue()); in execute()
71 mFilter.pushInputValue(entry.getKey(), entry.getValue()); in execute()
76 if (mFilter.getStatus() != Filter.STATUS_PROCESSING) { in execute()
77 mFilter.openOutputs(); in execute()
80 mFilter.performProcess(mFilterContext); in execute()
101 mFilter.performClose(mFilterContext); in close()
[all …]
DFilterPort.java29 protected Filter mFilter; field in FilterPort
40 mFilter = filter; in FilterPort()
45 return mFilter != null; in isAttached()
57 return mFilter; in getFilter()
109 return "port '" + mName + "' of " + mFilter; in toString()
DFieldPort.java55 return mField.get(mFilter); in getTarget()
65 mField.set(mFilter, mValue); in transfer()
72 mFilter.notifyFieldPortValueUpdated(mName, context); in transfer()
/frameworks/base/core/java/android/content/
DUriRelativeFilter.java73 private final String mFilter; field in UriRelativeFilter
100 mFilter = filter; in UriRelativeFilter()
102 NonNull.class, null, mFilter); in UriRelativeFilter()
123 return mFilter; in getFilter()
137 PatternMatcher pe = new PatternMatcher(mFilter, mPatternType); in matchData()
168 proto.write(UriRelativeFilterProto.FILTER, mFilter); in dumpDebug()
177 serializer.attribute(null, FILTER_STR, mFilter); in writeToXml()
216 + "filter = " + mFilter in toString()
225 parcel.filter = mFilter; in toParcel()
237 && java.util.Objects.equals(mFilter, that.mFilter); in equals()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DInputPort.java38 private Filter mFilter; field in InputPort
63 mField.set(mFilter, frameValues.getValues()); in onFrameReceived()
66 mField.set(mFilter, frameValue.getValue()); in onFrameReceived()
70 + mField + " of filter " + mFilter + " caused exception!", e); in onFrameReceived()
86 mFilter.openOutputPort(outputPort); in attachToOutputPort()
142 Field field = findFieldNamed(fieldName, mFilter.getClass()); in bindToFieldNamed()
187 mFilter.addAutoReleaseFrame(frame); in pullFrame()
190 mFilter.onPulledFrameWithTimestamp(frame.getTimestamp()); in pullFrame()
266 return mFilter; in getFilter()
271 return mFilter.getName() + ":" + mName; in toString()
[all …]
DOutputPort.java35 private Filter mFilter; field in OutputPort
74 mFilter.addAutoReleaseFrame(frame); in fetchAvailableFrame()
96 frame.setTimestamp(mFilter.getCurrentTimestamp()); in pushFrame()
137 return mFilter; in getFilter()
142 return mFilter.getName() + ":" + mName; in toString()
146 mFilter = filter; in OutputPort()
176 mFilter.onOutputPortOpen(this); in onOpen()
/frameworks/base/core/java/android/service/autofill/
DField.java50 private @Nullable Dataset.DatasetFieldFilter mFilter; field in Field
63 this.mFilter = filter; in Field()
87 return mFilter; in getDatasetFieldFilter()
97 return mFilter == null ? null : mFilter.pattern; in getFilter()
113 private @Nullable Dataset.DatasetFieldFilter mFilter = null; field in Field.Builder
139 mFilter = new Dataset.DatasetFieldFilter(value); in setFilter()
159 mFilter, in build()
/frameworks/base/core/java/android/app/admin/
DIntentFilterPolicyKey.java54 private final IntentFilter mFilter; field in IntentFilterPolicyKey
62 mFilter = Objects.requireNonNull(filter); in IntentFilterPolicyKey()
70 mFilter = null; in IntentFilterPolicyKey()
75 mFilter = source.readTypedObject(IntentFilter.CREATOR); in IntentFilterPolicyKey()
83 return mFilter; in getIntentFilter()
93 mFilter.writeToXml(serializer); in saveToXml()
132 extraPolicyParams.putParcelable(EXTRA_INTENT_FILTER, mFilter); in writeToBundle()
142 && IntentFilter.filterEquals(mFilter, other.mFilter); in equals()
152 return "IntentFilterPolicyKey{mKey= " + getIdentifier() + "; mFilter= " + mFilter + "}"; in toString()
163 dest.writeTypedObject(mFilter, flags); in writeToParcel()
/frameworks/base/media/java/android/media/tv/tuner/filter/
DSectionSettingsWithSectionBits.java29 private final byte[] mFilter; field in SectionSettingsWithSectionBits
36 mFilter = filter; in SectionSettingsWithSectionBits()
46 return mFilter; in getFilterBytes()
84 private byte[] mFilter = {}; field in SectionSettingsWithSectionBits.Builder
99 mFilter = filter; in setFilter()
129 mBitWidthOfLengthField, mFilter, mMask, mMode); in build()
/frameworks/av/services/tuner/
DTunerFilter.cpp41 : mFilter(filter), in TunerFilter()
56 mFilter = nullptr; in ~TunerFilter()
73 return mFilter->getQueueDesc(_aidl_return); in getQueueDesc()
84 auto status = mFilter->getId(&mId); in getId()
99 auto status = mFilter->getId64Bit(&mId64Bit); in getId64Bit()
114 return mFilter->configure(in_settings); in configure()
125 return mFilter->configureMonitorEvent(monitorEventType); in configureMonitorEvent()
136 return mFilter->configureIpCid(cid); in configureIpFilterContextId()
147 return mFilter->configureAvStreamType(in_avStreamType); in configureAvStreamType()
164 return mFilter->setDataSource(halFilter); in setDataSource()
[all …]
/frameworks/base/core/java/android/text/style/
DMaskFilterSpan.java35 private MaskFilter mFilter; field in MaskFilterSpan
43 mFilter = filter; in MaskFilterSpan()
52 return mFilter; in getMaskFilter()
57 ds.setMaskFilter(mFilter); in updateDrawState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DMediaCoordinatorTest.java74 private NotifFilter mFilter; field in MediaCoordinatorTest
98 final boolean shouldFilter = mFilter.shouldFilterOut(mOtherEntry, 0); in shouldFilterOtherNotificationWhenDisabled()
108 final boolean shouldFilter = mFilter.shouldFilterOut(mOtherEntry, 0); in shouldFilterOtherNotificationWhenEnabled()
118 final boolean shouldFilter = mFilter.shouldFilterOut(mMediaEntry, 0); in shouldFilterMediaNotificationWhenDisabled()
128 final boolean shouldFilter = mFilter.shouldFilterOut(mMediaEntry, 0); in shouldFilterMediaNotificationWhenEnabled()
138 mFilter.shouldFilterOut(mOtherEntry, 0); in inflateNotificationIconsMediaDisabled()
147 mFilter.shouldFilterOut(mOtherEntry, 0); in inflateNotificationIconsMediaEnabled()
156 mFilter.shouldFilterOut(mMediaEntry, 0); in inflateMediaNotificationIconsMediaDisabled()
170 mFilter.shouldFilterOut(mMediaEntry, 0); in inflateMediaNotificationIconsMediaEnabled_old()
174 mFilter.shouldFilterOut(mMediaEntry, 0); in inflateMediaNotificationIconsMediaEnabled_old()
[all …]
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DProgramInfoCache.java58 private final ProgramList.Filter mFilter; field in ProgramInfoCache
61 mFilter = filter; in ProgramInfoCache()
68 mFilter = filter; in ProgramInfoCache()
89 sb.append(mFilter); in toString()
108 return mFilter; in getFilter()
218 if (mFilter == null) { in passesFilter()
221 if (!mFilter.getIdentifierTypes().isEmpty() in passesFilter()
222 && !mFilter.getIdentifierTypes().contains(id.getType())) { in passesFilter()
225 if (!mFilter.getIdentifiers().isEmpty() && !mFilter.getIdentifiers().contains(id)) { in passesFilter()
228 if (!mFilter.areCategoriesIncluded() && id.isCategoryType()) { in passesFilter()
[all …]
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DProgramInfoCache.java74 @Nullable private final ProgramList.Filter mFilter; field in ProgramInfoCache
77 mFilter = filter; in ProgramInfoCache()
83 mFilter = filter; in ProgramInfoCache()
104 sb.append(mFilter); in toString()
123 return mFilter; in getFilter()
255 if (mFilter == null) { in passesFilter()
258 if (!mFilter.getIdentifierTypes().isEmpty() in passesFilter()
259 && !mFilter.getIdentifierTypes().contains(id.getType())) { in passesFilter()
262 if (!mFilter.getIdentifiers().isEmpty() && !mFilter.getIdentifiers().contains(id)) { in passesFilter()
265 return mFilter.areCategoriesIncluded() || !id.isCategoryType(); in passesFilter()
[all …]
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java41 IntentFilter mFilter; field in BatteryWaster
61 mFilter = new IntentFilter(); in onCreate()
62 mFilter.addAction(Intent.ACTION_BATTERY_CHANGED); in onCreate()
63 mFilter.addAction(Intent.ACTION_BATTERY_LOW); in onCreate()
64 mFilter.addAction(Intent.ACTION_BATTERY_OKAY); in onCreate()
65 mFilter.addAction(Intent.ACTION_POWER_CONNECTED); in onCreate()
120 registerReceiver(mReceiver, mFilter); in startRunning()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceFilterPair.java38 private final @Nullable DeviceFilter<T> mFilter; field in DeviceFilterPair
42 this.mFilter = filter; in DeviceFilterPair()
50 if (mFilter != null) return mFilter.getDeviceDisplayName(mDevice); in getDisplayName()
88 + ", filter=" + mFilter in toString()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DTestCaseCollector.java35 private TestCaseFilter mFilter; field in TestCaseCollector
40 mFilter = filter; in TestCaseCollector()
90 if (mFilter.accept(method)) { in addTestClass()
106 if (!(mFilter.accept(clazz))) { in addSingleTestMethod()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHideNotifsForOtherUsersCoordinator.java53 pipeline.addPreGroupFilter(mFilter); in attach()
57 private final NotifFilter mFilter = new NotifFilter("NotCurrentUserFilter") { field in HideNotifsForOtherUsersCoordinator
81 mFilter.invalidateList(sb.toString());
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DCallbackFilter.java47 private Filter mFilter; field in CallbackFilter.CallbackRunnable
54 mFilter = filter; in CallbackRunnable()
60 mListener.onFrameReceived(mFilter, mFrame, mUserData); in run()
/frameworks/base/tools/aapt/
DApkBuilder.h83 return mFilter->match(file->getGroupEntry().toParams()); in matches()
87 return mFilter; in getResourceFilter()
114 const sp<ResourceFilter> mFilter; variable
DResourceFilter.h110 : mFilter(filter) {} in InverseResourceFilter()
113 return !mFilter->match(config); in match()
117 const android::sp<ResourceFilter> mFilter;

12