Home
last modified time | relevance | path

Searched refs:filter (Results 1 – 25 of 172) sorted by relevance

1234567

/frameworks/base/services/java/com/android/server/
DIntentResolver.java107 F filter = a.get(i); in dumpMap() local
108 if (packageName != null && !packageName.equals(packageForFilter(filter))) { in dumpMap()
120 dumpFilter(out, fprefix, filter); in dumpMap()
125 filter.dump(printer, fprefix + " "); in dumpMap()
321 protected boolean allowFilterResult(F filter, List<R> dest) { in allowFilterResult() argument
325 protected String packageForFilter(F filter) { in packageForFilter() argument
329 protected R newResult(F filter, int match) { in newResult() argument
330 return (R)filter; in newResult()
337 protected void dumpFilter(PrintWriter out, String prefix, F filter) { in dumpFilter() argument
338 out.print(prefix); out.println(filter); in dumpFilter()
[all …]
/frameworks/base/core/jni/android/graphics/
DMaskFilter.cpp16 static void destructor(JNIEnv* env, jobject, SkMaskFilter* filter) { in destructor() argument
17 filter->safeUnref(); in destructor()
21 SkMaskFilter* filter = SkBlurMaskFilter::Create(SkFloatToScalar(radius), in createBlur() local
23 ThrowIAE_IfNull(env, filter); in createBlur()
24 return filter; in createBlur()
36 SkMaskFilter* filter = SkBlurMaskFilter::CreateEmboss(direction, in createEmboss() local
40 ThrowIAE_IfNull(env, filter); in createEmboss()
41 return filter; in createEmboss()
/frameworks/base/docs/html/guide/topics/manifest/
Daction-element.jd9 <dd><code><a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt…
13 <dd>Adds an action to an intent filter.
14 An <code><a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt;…
16 Intent objects will get through the filter. See
19 specifications within a filter.
48 <dd><code><a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt…
Ddata-element.jd16 <dd><code><a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt…
19 <dd>Adds a data specification to an intent filter. The specification can
30 intent filter, all the other URI attributes are ignored. If a
31 …oot}guide/topics/manifest/data-element.html#host">host</a></code> is not specified for the filter,
37 <code><a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt;</a…
38 the same filter. So, for example, the following filter specification,
41 <pre>&lt;intent-filter . . . &gt;
44 &lt;/intent-filter&gt;</pre>
48 <pre>&lt;intent-filter . . . &gt;
52 &lt;/intent-filter&gt;</pre>
[all …]
Dcategory-element.jd9 <dd><code><a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt…
12 <dd>Adds a category name to an intent filter. See
15 specifications within a filter.</dd>
Dintent-filter-element.jd1 page.title=&lt;intent-filter&gt;
6 <dd><pre class="stx">&lt;intent-filter android:<a href="#icon">icon</a>="<i>drawable resource</i>"
10 &lt;/intent-filter&gt;</pre></dd>
27 receiver can respond to. An intent filter declares the capabilities of its
34 Most of the contents of the filter are described by its
53 capability described by the filter.
64 For more on intent filter icons, see
72 to the user as having the capability described by the filter.
89 For more on intent filter labels, see
96 to handling intents of the type described by the filter. This attribute has
[all …]
/frameworks/base/core/java/com/android/internal/app/
DExternalMediaFormatActivity.java75 IntentFilter filter = new IntentFilter(); in onResume() local
76 filter.addAction(Intent.ACTION_MEDIA_REMOVED); in onResume()
77 filter.addAction(Intent.ACTION_MEDIA_CHECKING); in onResume()
78 filter.addAction(Intent.ACTION_MEDIA_MOUNTED); in onResume()
79 filter.addAction(Intent.ACTION_MEDIA_SHARED); in onResume()
80 registerReceiver(mStorageReceiver, filter); in onResume()
DResolverActivity.java124 IntentFilter filter = new IntentFilter(); in onIntentSelected() local
127 filter.addAction(intent.getAction()); in onIntentSelected()
132 filter.addCategory(cat); in onIntentSelected()
135 filter.addCategory(Intent.CATEGORY_DEFAULT); in onIntentSelected()
143 filter.addDataType(mimeType); in onIntentSelected()
146 filter = null; in onIntentSelected()
157 filter.addDataScheme(data.getScheme()); in onIntentSelected()
161 Iterator<IntentFilter.AuthorityEntry> aIt = ri.filter.authoritiesIterator(); in onIntentSelected()
167 filter.addDataAuthority(a.getHost(), in onIntentSelected()
173 Iterator<PatternMatcher> pIt = ri.filter.pathsIterator(); in onIntentSelected()
[all …]
/frameworks/base/services/java/com/android/server/usb/
DUsbDeviceSettingsManager.java158 AccessoryFilter filter = (AccessoryFilter)obj; in equals() local
159 return (mManufacturer.equals(filter.mManufacturer) && in equals()
160 mModel.equals(filter.mModel) && in equals()
161 mVersion.equals(filter.mVersion)); in equals()
224 AccessoryFilter filter = AccessoryFilter.read(parser); in readPreference() local
225 mAccessoryPreferenceMap.put(filter, packageName); in readPreference()
273 for (AccessoryFilter filter : mAccessoryPreferenceMap.keySet()) { in writeSettingsLocked()
275 serializer.attribute(null, "package", mAccessoryPreferenceMap.get(filter)); in writeSettingsLocked()
276 filter.write(serializer); in writeSettingsLocked()
309 AccessoryFilter filter = AccessoryFilter.read(parser); in packageMatchesLocked() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDateView.java78 IntentFilter filter = new IntentFilter(); in setUpdates() local
79 filter.addAction(Intent.ACTION_TIME_TICK); in setUpdates()
80 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in setUpdates()
81 mContext.registerReceiver(mIntentReceiver, filter, null, null); in setUpdates()
DClock.java80 IntentFilter filter = new IntentFilter(); in onAttachedToWindow() local
82 filter.addAction(Intent.ACTION_TIME_TICK); in onAttachedToWindow()
83 filter.addAction(Intent.ACTION_TIME_CHANGED); in onAttachedToWindow()
84 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onAttachedToWindow()
85 filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED); in onAttachedToWindow()
87 getContext().registerReceiver(mIntentReceiver, filter, null, getHandler()); in onAttachedToWindow()
DCarrierLabel.java61 IntentFilter filter = new IntentFilter(); in onAttachedToWindow() local
62 filter.addAction(Telephony.Intents.SPN_STRINGS_UPDATED_ACTION); in onAttachedToWindow()
63 getContext().registerReceiver(mIntentReceiver, filter, null, getHandler()); in onAttachedToWindow()
DStatusBarPolicy.java676 IntentFilter filter = new IntentFilter(); in StatusBarPolicy() local
679 filter.addAction(Intent.ACTION_BATTERY_CHANGED); in StatusBarPolicy()
680 filter.addAction(Intent.ACTION_BATTERY_LOW); in StatusBarPolicy()
681 filter.addAction(Intent.ACTION_BATTERY_OKAY); in StatusBarPolicy()
682 filter.addAction(Intent.ACTION_POWER_CONNECTED); in StatusBarPolicy()
683 filter.addAction(Intent.ACTION_ALARM_CHANGED); in StatusBarPolicy()
684 filter.addAction(Intent.ACTION_SYNC_STATE_CHANGED); in StatusBarPolicy()
685 filter.addAction(AudioManager.RINGER_MODE_CHANGED_ACTION); in StatusBarPolicy()
686 filter.addAction(AudioManager.VIBRATE_SETTING_CHANGED_ACTION); in StatusBarPolicy()
687 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in StatusBarPolicy()
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothProfileState.java88 IntentFilter filter = new IntentFilter(); in BluetoothProfileState() local
89 filter.addAction(BluetoothA2dp.ACTION_SINK_STATE_CHANGED); in BluetoothProfileState()
90 filter.addAction(BluetoothHeadset.ACTION_STATE_CHANGED); in BluetoothProfileState()
91 filter.addAction(BluetoothDevice.ACTION_ACL_DISCONNECTED); in BluetoothProfileState()
92 context.registerReceiver(mBroadcastReceiver, filter); in BluetoothProfileState()
/frameworks/base/core/java/android/text/
DInputFilter.java42 public CharSequence filter(CharSequence source, int start, int end, in filter() method
50 public CharSequence filter(CharSequence source, int start, int end, in filter() method in InputFilter.AllCaps
82 public CharSequence filter(CharSequence source, int start, int end, in filter() method in InputFilter.LengthFilter
/frameworks/base/docs/html/guide/topics/intents/
Dintents-filters.jd356 is tested against an intent filter:
374 Each filter describes a capability of the component, a set of intents that
379 no matter what it contains; the filter is not consulted. But an implicit
397 <p>An intent filter cannot be relied on for security. While it opens a
400 though a filter restricts the intents a component will be asked to handle
409 An intent filter is an instance of the {@link android.content.IntentFilter} class.
413 <code><a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt;</a…
421 A filter has fields that parallel the action, data, and category fields of an
422 Intent object. An implicit intent is tested against the filter in all three areas.
423 To be delivered to the component that owns the filter, it must pass all three tests.
[all …]
/frameworks/base/opengl/tests/filter/
DAndroid.mk5 filter.cpp
13 LOCAL_MODULE:= test-opengl-filter
/frameworks/base/core/java/android/widget/
DDateTimeView.java221 IntentFilter filter = new IntentFilter();
222 filter.addAction(Intent.ACTION_TIME_TICK);
223 filter.addAction(Intent.ACTION_TIME_CHANGED);
224 filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED);
225 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED);
226 context.registerReceiver(mBroadcastReceiver, filter);
DViewFlipper.java88 final IntentFilter filter = new IntentFilter(); in onAttachedToWindow() local
89 filter.addAction(Intent.ACTION_SCREEN_OFF); in onAttachedToWindow()
90 filter.addAction(Intent.ACTION_USER_PRESENT); in onAttachedToWindow()
91 getContext().registerReceiver(mReceiver, filter); in onAttachedToWindow()
/frameworks/base/core/java/android/text/style/
DMaskFilterSpan.java26 public MaskFilterSpan(MaskFilter filter) { in MaskFilterSpan() argument
27 mFilter = filter; in MaskFilterSpan()
/frameworks/base/core/java/android/content/pm/
DResolveInfo.java53 public IntentFilter filter; field in ResolveInfo
199 if (filter != null) { in dump()
201 filter.dump(pw, prefix + " "); in dump()
250 if (filter != null) { in writeToParcel()
252 filter.writeToParcel(dest, parcelableFlags); in writeToParcel()
292 filter = IntentFilter.CREATOR.createFromParcel(source); in ResolveInfo()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DKeyguardUpdateMonitor.java213 final IntentFilter filter = new IntentFilter(); in KeyguardUpdateMonitor() local
214 filter.addAction(Intent.ACTION_TIME_TICK); in KeyguardUpdateMonitor()
215 filter.addAction(Intent.ACTION_TIME_CHANGED); in KeyguardUpdateMonitor()
216 filter.addAction(Intent.ACTION_BATTERY_CHANGED); in KeyguardUpdateMonitor()
217 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in KeyguardUpdateMonitor()
218 filter.addAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in KeyguardUpdateMonitor()
219 filter.addAction(TelephonyManager.ACTION_PHONE_STATE_CHANGED); in KeyguardUpdateMonitor()
220 filter.addAction(SPN_STRINGS_UPDATED_ACTION); in KeyguardUpdateMonitor()
221 filter.addAction(AudioManager.RINGER_MODE_CHANGED_ACTION); in KeyguardUpdateMonitor()
257 }, filter); in KeyguardUpdateMonitor()
/frameworks/base/core/java/com/android/internal/widget/
DDigitalClock.java169 IntentFilter filter = new IntentFilter(); in onAttachedToWindow() local
170 filter.addAction(Intent.ACTION_TIME_TICK); in onAttachedToWindow()
171 filter.addAction(Intent.ACTION_TIME_CHANGED); in onAttachedToWindow()
172 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onAttachedToWindow()
173 mContext.registerReceiver(mIntentReceiver, filter); in onAttachedToWindow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDisconnectedReceiver.java37 IntentFilter filter = new IntentFilter(UsbManager.ACTION_USB_ACCESSORY_DETACHED); in UsbDisconnectedReceiver() local
38 activity.registerReceiver(this, filter); in UsbDisconnectedReceiver()
/frameworks/base/vpn/java/android/net/vpn/
DVpnManager.java182 IntentFilter filter = new IntentFilter(); in registerConnectivityReceiver() local
183 filter.addAction(VpnManager.ACTION_VPN_CONNECTIVITY); in registerConnectivityReceiver()
184 mContext.registerReceiver(r, filter); in registerConnectivityReceiver()

1234567