Searched refs:filter (Results 276 - 300 of 394) sorted by relevance

<<111213141516

/frameworks/base/core/java/android/app/
H A DUiAutomation.java170 * @return True if the event is accepted, false to filter it out.
552 * filter that keeps track of seen events of the expected sequence and
558 * @param filter Filter that recognizes the expected event.
564 AccessibilityEventFilter filter, long timeoutMillis) throws TimeoutException {
574 // can bite. We will correctly filter out events from other interactions,
595 if (filter.accept(event)) {
563 executeAndWaitForEvent(Runnable command, AccessibilityEventFilter filter, long timeoutMillis) argument
H A DApplicationPackageManager.java2012 public void addPreferredActivity(IntentFilter filter, argument
2015 mPM.addPreferredActivity(filter, match, set, activity, mContext.getUserId());
2022 public void addPreferredActivityAsUser(IntentFilter filter, int match, argument
2025 mPM.addPreferredActivity(filter, match, set, activity, userId);
2032 public void replacePreferredActivity(IntentFilter filter, argument
2035 mPM.replacePreferredActivity(filter, match, set, activity, mContext.getUserId());
2042 public void replacePreferredActivityAsUser(IntentFilter filter, argument
2046 mPM.replacePreferredActivity(filter, match, set, activity, userId);
2247 public void addCrossProfileIntentFilter(IntentFilter filter, int sourceUserId, int targetUserId, argument
2250 mPM.addCrossProfileIntentFilter(filter, mContex
[all...]
/frameworks/base/libs/hwui/
H A DDisplayListCanvas.h163 virtual void setDrawFilter(SkDrawFilter* filter) override;
273 // If there is a draw filter apply it here and store the modified paint
278 mDrawFilter->filter(filteredPaint.get(), SkDrawFilter::kPaint_Type);
H A DVectorDrawable.h633 void setColorFilter(SkColorFilter* filter) { argument
634 if (UPDATE_SKPROP(mNonAnimatableProperties.colorFilter, filter)) {
/frameworks/base/services/core/java/com/android/server/
H A DNetworkScoreService.java157 IntentFilter filter = new IntentFilter(Intent.ACTION_USER_UNLOCKED);
160 mUserIntentReceiver, UserHandle.SYSTEM, filter, null /* broadcastPermission*/,
H A DDeviceIdleController.java1408 IntentFilter filter = new IntentFilter();
1409 filter.addAction(Intent.ACTION_BATTERY_CHANGED);
1410 getContext().registerReceiver(mReceiver, filter);
1412 filter = new IntentFilter();
1413 filter.addAction(Intent.ACTION_PACKAGE_REMOVED);
1414 filter.addDataScheme("package");
1415 getContext().registerReceiver(mReceiver, filter);
1417 filter = new IntentFilter();
1418 filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION);
1419 getContext().registerReceiver(mReceiver, filter);
[all...]
H A DAlarmManagerService.java2454 // small adjustments it makes internally; we want to filter those out.
2651 IntentFilter filter = new IntentFilter();
2652 filter.addAction(Intent.ACTION_TIME_TICK);
2653 filter.addAction(Intent.ACTION_DATE_CHANGED);
2654 getContext().registerReceiver(this, filter);
2708 IntentFilter filter = new IntentFilter();
2709 filter.addAction(Intent.ACTION_SCREEN_OFF);
2710 filter.addAction(Intent.ACTION_SCREEN_ON);
2711 filter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY);
2712 getContext().registerReceiver(this, filter);
[all...]
H A DBluetoothManagerService.java154 private void registerForAirplaneMode(IntentFilter filter) { argument
163 filter.addAction(Intent.ACTION_AIRPLANE_MODE_CHANGED);
263 IntentFilter filter = new IntentFilter(BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED);
264 registerForAirplaneMode(filter);
265 filter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY);
266 mContext.registerReceiver(mReceiver, filter);
/frameworks/native/opengl/libs/
H A DAndroid.mk60 ifneq ($(filter address,$(SANITIZE_TARGET)),)
/frameworks/opt/net/wifi/service/
H A DAndroid.mk133 LOCAL_SRC_FILES := $(filter-out $(call all-java-files-under, \
/frameworks/support/
H A Dapicheck.mk68 $(filter-out current, \
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp93 // Max number of entries in the filter.
101 // Unmarshall a filter from a Parcel.
117 // @param p Parcel that should start with a filter.
118 // @param[out] filter On exit contains the list of metadata type to be
121 // @return true if the parcel starts with a valid filter.
123 Metadata::Filter *filter,
129 ALOGE("Failed to read filter's length");
136 ALOGE("Invalid filter len %d", val);
143 filter->clear();
144 filter
122 unmarshallFilter(const Parcel& p, Metadata::Filter *filter, status_t *status) argument
181 findMetadata(const Metadata::Filter& filter, const int32_t val) argument
902 setMetadataFilter(const Parcel& filter) argument
[all...]
/frameworks/av/include/media/
H A Dmediaplayer.h247 status_t setMetadataFilter(const Parcel& filter);
/frameworks/base/core/java/com/android/internal/app/
H A DLocalePickerWithRegion.java266 mAdapter.getFilter().filter(newText);
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java641 * @param filter true if the source should be filtered.
646 boolean filter) {
663 Bitmap b = Bitmap.createBitmap(src, 0, 0, width, height, m, filter);
720 * @param filter true if the source should be filtered.
729 Matrix m, boolean filter) {
794 paint.setFilterBitmap(filter);
645 createScaledBitmap(Bitmap src, int dstWidth, int dstHeight, boolean filter) argument
728 createBitmap(Bitmap source, int x, int y, int width, int height, Matrix m, boolean filter) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsActivity.java323 IntentFilter filter = new IntentFilter();
324 filter.addAction(Intent.ACTION_SCREEN_OFF);
325 filter.addAction(Intent.ACTION_TIME_CHANGED);
326 registerReceiver(mSystemBroadcastReceiver, filter);
/frameworks/base/services/core/java/com/android/server/am/
H A DServiceRecord.java369 Intent.FilterComparison filter = new Intent.FilterComparison(intent);
370 IntentBindRecord i = bindings.get(filter);
372 i = new IntentBindRecord(this, filter);
373 bindings.put(filter, i);
/frameworks/base/services/net/java/android/net/ip/
H A DIpManager.java117 // Install an APF program to filter incoming packets.
118 public void installPacketFilter(byte[] filter) {} argument
228 public void installPacketFilter(byte[] filter) { argument
229 mCallback.installPacketFilter(filter);
230 log("installPacketFilter(byte[" + filter.length + "])");
550 * Enable or disable the multicast filter. Attempts to use APF to accomplish the filtering,
/frameworks/base/services/tests/servicestests/src/android/net/apf/
H A DApfTest.java431 // Test filter age pre-filled memory.
521 * over packet traces and verify both programs filter out the same packets.
532 assertTrue("Failed to match for filter: " + tcpdump_filter,
542 public void installPacketFilter(byte[] filter) { argument
543 mLastApfProgram = filter;
751 // Verify initially disabled multicast filter is off
756 // Turn on multicast filter and verify it works
764 // Turn off multicast filter and verify it's off
810 // Verify initially ARP filter is off
851 // Verify other changes to RA make it not match filter
992 compileToBpf(String filter) argument
1000 compareBpfApf(String filter, String pcap_filename, byte[] apf_program) argument
[all...]
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZonePickerView.java178 mFilterAdapter.getFilter().filter(string);
/frameworks/base/core/java/android/content/pm/
H A DPackageManager.java254 * {@link ResolveInfo#filter}.
2292 * Extra field name for the ID of a intent filter pending verification.
2293 * Passed to an intent filter verifier and is used to call back to
2302 * Extra field name for the scheme used for an intent filter pending verification. Passed to
2303 * an intent filter verifier and is used to construct the URI to verify against.
2313 * Extra field name for the host names to be used for an intent filter pending verification.
2314 * Passed to an intent filter verifier and is used to construct the URI to verify the
2315 * intent filter.
2325 * Extra field name for the package name to be used for an intent filter pending verification.
2326 * Passed to an intent filter verifie
5264 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
5273 addPreferredActivityAsUser(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, @UserIdInt int userId) argument
5300 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
5307 replacePreferredActivityAsUser(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, @UserIdInt int userId) argument
5612 addCrossProfileIntentFilter(IntentFilter filter, int sourceUserId, int targetUserId, int flags) argument
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiControlService.java419 IntentFilter filter = new IntentFilter();
420 filter.addAction(Intent.ACTION_SCREEN_OFF);
421 filter.addAction(Intent.ACTION_SCREEN_ON);
422 filter.addAction(Intent.ACTION_SHUTDOWN);
423 filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED);
424 getContext().registerReceiver(mHdmiControlBroadcastReceiver, filter);
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DInteractionController.java150 * predicated on predefined filter.
153 * @param filter
158 AccessibilityEventFilter filter, long timeout) {
161 return mUiAutomatorBridge.executeCommandAndWaitForAccessibilityEvent(command, filter,
157 runAndWaitForEvents(Runnable command, AccessibilityEventFilter filter, long timeout) argument
/frameworks/base/core/java/android/os/
H A DFileUtils.java717 public static @NonNull File[] listFilesOrEmpty(@Nullable File dir, FilenameFilter filter) { argument
719 final File[] res = dir.listFiles(filter);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DNinePatchDrawable.java338 // Fast common case -- leave at no color filter.
386 public void setFilterBitmap(boolean filter) { argument
387 getPaint().setFilterBitmap(filter);

Completed in 911 milliseconds

<<111213141516