/frameworks/base/core/java/android/widget/ |
H A D | AnalogClock.java | 108 IntentFilter filter = new IntentFilter(); 110 filter.addAction(Intent.ACTION_TIME_TICK); 111 filter.addAction(Intent.ACTION_TIME_CHANGED); 112 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); 122 android.os.Process.myUserHandle(), filter, null, getHandler());
|
H A D | Filter.java | 26 * <p>A filter constrains data with a filtering pattern.</p> 31 * <p>Filtering operations performed by calling {@link #filter(CharSequence)} or 32 * {@link #filter(CharSequence, android.widget.Filter.FilterListener)} are 54 * <p>Creates a new asynchronous filter.</p> 79 * @param constraint the constraint used to filter the data 81 * @see #filter(CharSequence, android.widget.Filter.FilterListener) 83 public final void filter(CharSequence constraint) { method in class:Filter 84 filter(constraint, null); 94 * @param constraint the constraint used to filter the data 97 * @see #filter(CharSequenc 101 public final void filter(CharSequence constraint, FilterListener listener) { method in class:Filter [all...] |
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
H A D | MtpClient.java | 157 IntentFilter filter = new IntentFilter(); 158 filter.addAction(UsbManager.ACTION_USB_DEVICE_ATTACHED); 159 filter.addAction(UsbManager.ACTION_USB_DEVICE_DETACHED); 160 filter.addAction(ACTION_USB_PERMISSION); 161 context.registerReceiver(mUsbReceiver, filter);
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
H A D | SourceActivity.java | 73 IntentFilter filter = new IntentFilter(); 74 filter.addAction(UsbManager.ACTION_USB_ACCESSORY_ATTACHED); 75 filter.addAction(UsbManager.ACTION_USB_ACCESSORY_DETACHED); 76 filter.addAction(ACTION_USB_ACCESSORY_PERMISSION); 78 registerReceiver(mReceiver, filter);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiNotificationController.java | 119 IntentFilter filter = new IntentFilter(); 120 filter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); 121 filter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); 122 filter.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); 171 }, filter);
|
H A D | WifiTrafficPoller.java | 80 IntentFilter filter = new IntentFilter(); 81 filter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); 82 filter.addAction(Intent.ACTION_SCREEN_OFF); 83 filter.addAction(Intent.ACTION_SCREEN_ON); 103 }, filter);
|
/frameworks/base/libs/hwui/ |
H A D | Texture.h | 71 inline void setFilter(GLenum filter, bool bindTexture = false, bool force = false) { argument 72 setFilterMinMag(filter, filter, bindTexture, force);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | AirplaneModeTile.java | 121 final IntentFilter filter = new IntentFilter(); 122 filter.addAction(Intent.ACTION_AIRPLANE_MODE_CHANGED); 123 mContext.registerReceiver(mReceiver, filter);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | HotspotControllerImpl.java | 157 final IntentFilter filter = new IntentFilter(); 158 filter.addAction(WifiManager.WIFI_AP_STATE_CHANGED_ACTION); 159 mContext.registerReceiver(this, filter);
|
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/ |
H A D | DozeTestDream.java | 82 IntentFilter filter = new IntentFilter(); 83 filter.addAction(intent.getAction()); 84 registerReceiver(mAlarmReceiver, filter);
|
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/ |
H A D | UsbAoapHostTestActivity.java | 56 IntentFilter filter = new IntentFilter(); 57 filter.addAction(UsbManager.ACTION_USB_DEVICE_DETACHED); 59 registerReceiver(mReceiver, filter);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouteSelector.java | 113 final IntentFilter filter = filters.get(i); 114 if (filter != null) { 116 if (filter.hasCategory(mControlCategories.get(j))) {
|
H A D | MediaRouteDescriptor.java | 551 * Adds a {@link MediaControlIntent media control intent} filter for the route. 553 public Builder addControlFilter(IntentFilter filter) { argument 554 if (filter == null) { 555 throw new IllegalArgumentException("filter must not be null"); 561 if (!mControlFilters.contains(filter)) { 562 mControlFilters.add(filter); 576 for (IntentFilter filter : filters) { 577 addControlFilter(filter);
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
H A D | StringFilter.java | 44 * Constructs a new StringFilter based on the string filter attribute on the current 47 * The current node should contain exactly 1 string filter attribute. E.g. equals, 51 * contain a string filter attribute 56 StringFilter filter = null; 61 if (filter != null) { 62 throw new XmlPullParserException("Multiple string filter attributes found"); 64 filter = newFilter; 68 if (filter == null) { 69 // if there are no string filter attributes, we default to isNull="false" so that an 70 // empty filter i [all...] |
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | CertificateMonitor.java | 68 // Broadcast filter for changes to the trusted certificate store. Listens on the background 70 IntentFilter filter = new IntentFilter(); 71 filter.addAction(Intent.ACTION_USER_STARTED); 72 filter.addAction(Intent.ACTION_USER_UNLOCKED); 73 filter.addAction(KeyChain.ACTION_TRUST_STORE_CHANGED); 74 filter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); 76 mRootCaReceiver, UserHandle.ALL, filter, null, mHandler);
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | MediaNotificationManager.java | 114 IntentFilter filter = new IntentFilter(); 115 filter.addAction(ACTION_NEXT); 116 filter.addAction(ACTION_PAUSE); 117 filter.addAction(ACTION_PLAY); 118 filter.addAction(ACTION_PREV); 119 mService.registerReceiver(this, filter);
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | MediaNotificationManager.java | 114 IntentFilter filter = new IntentFilter(); 115 filter.addAction(ACTION_NEXT); 116 filter.addAction(ACTION_PAUSE); 117 filter.addAction(ACTION_PLAY); 118 filter.addAction(ACTION_PREV); 119 mService.registerReceiver(this, filter);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | Android.mk | 32 ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiAutomatorBridge.java | 103 AccessibilityEventFilter filter, long timeoutMillis) throws TimeoutException { 105 filter, timeoutMillis); 102 executeCommandAndWaitForAccessibilityEvent(Runnable command, AccessibilityEventFilter filter, long timeoutMillis) argument
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
H A D | TestCaseCollector.java | 37 public TestCaseCollector(ClassLoader classLoader, TestCaseFilter filter) { argument 40 mFilter = filter;
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | BroadcastTest.java | 177 public void registerMyReceiver(IntentFilter filter, String permission) { argument 180 getContext().registerReceiver(mReceiver, filter, permission, null); 313 IntentFilter filter = new IntentFilter(LaunchpadActivity.BROADCAST_STICKY1); 314 Intent sticky = getContext().registerReceiver(null, filter); 329 IntentFilter filter = new IntentFilter(LaunchpadActivity.BROADCAST_STICKY1); 330 Intent sticky = getContext().registerReceiver(null, filter); 343 IntentFilter filter = new IntentFilter(LaunchpadActivity.BROADCAST_STICKY1); 344 Intent sticky = getContext().registerReceiver(null, filter);
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | SkiaBehaviorTests.cpp | 67 sk_sp<SkColorFilter> filter( 72 ASSERT_TRUE(filter->asColorMode(&observedColor, &observedMode));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | CurrentUserTracker.java | 98 IntentFilter filter = new IntentFilter(Intent.ACTION_USER_SWITCHED); 99 mAppContext.registerReceiver(this, filter);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | SafetyWarningDialog.java | 58 final IntentFilter filter = new IntentFilter(Intent.ACTION_CLOSE_SYSTEM_DIALOGS); 59 context.registerReceiver(mReceiver, filter);
|
/frameworks/native/services/surfaceflinger/tests/ |
H A D | Android.mk | 31 LOCAL_TEST_DATA = SurfaceFlinger_test.filter
|