/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | ZenModeControllerImpl.java | 145 final IntentFilter filter = new IntentFilter(AlarmManager.ACTION_NEXT_ALARM_CLOCK_CHANGED); 146 filter.addAction(NotificationManager.ACTION_EFFECTS_SUPPRESSOR_CHANGED); 147 mContext.registerReceiverAsUser(mReceiver, new UserHandle(mUserId), filter, null, null);
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkPolicyManagerShellCommand.java | 284 final Boolean filter = arg == null ? null : Boolean.valueOf(arg); 286 if (filter != null && filter.booleanValue() != policy.metered) {
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | PolicyControl.java | 134 private static void dump(String name, Filter filter, String prefix, PrintWriter pw) { argument 136 if (filter == null) { 139 filter.dump(pw); pw.println();
|
/frameworks/av/include/media/ |
H A D | IMediaPlayer.h | 91 // Set a new metadata filter. 92 // @param filter A set of allow and drop rules serialized in a Parcel. 94 virtual status_t setMetadataFilter(const Parcel& filter) = 0; 104 // on the value update_only, the current filter is
|
/frameworks/av/services/camera/libcameraservice/gui/ |
H A D | RingBufferConsumer.h | 147 // Find a buffer using the filter, then pin it before returning it. 149 // The filter will be invoked on each buffer item in the ring buffer, 155 sp<PinnedBufferItem> pinSelectedBuffer(const RingBufferComparator& filter,
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ResolverActivity.java | 669 // Build a reasonable intent filter, based on what matched. 670 IntentFilter filter = new IntentFilter(); 681 filter.addAction(action); 686 filter.addCategory(cat); 689 filter.addCategory(Intent.CATEGORY_DEFAULT); 697 filter.addDataType(mimeType); 700 filter = null; 711 filter.addDataScheme(data.getScheme()); 713 // Look through the resolved filter to determine which part 715 Iterator<PatternMatcher> pIt = ri.filter [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | TextViewBindingAdapterTest.java | 214 for (InputFilter filter : filters) { 215 if (filter instanceof InputFilter.LengthFilter) { 216 InputFilter.LengthFilter lengthFilter = (InputFilter.LengthFilter) filter; 282 return digitsKeyListener.filter(input, 0, input.length(), spannable, 0, input.length())
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialogController.java | 747 final IntentFilter filter = new IntentFilter(); 748 filter.addAction(AudioManager.VOLUME_CHANGED_ACTION); 749 filter.addAction(AudioManager.STREAM_DEVICES_CHANGED_ACTION); 750 filter.addAction(AudioManager.RINGER_MODE_CHANGED_ACTION); 751 filter.addAction(AudioManager.INTERNAL_RINGER_MODE_CHANGED_ACTION); 752 filter.addAction(AudioManager.STREAM_MUTE_CHANGED_ACTION); 753 filter.addAction(NotificationManager.ACTION_EFFECTS_SUPPRESSOR_CHANGED); 754 filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED); 755 filter.addAction(Intent.ACTION_SCREEN_OFF); 756 filter [all...] |
/frameworks/av/media/img_utils/src/ |
H A D | Android.mk | 53 ifneq ($(filter userdebug eng,$(TARGET_BUILD_VARIANT)),)
|
/frameworks/base/core/java/android/content/pm/ |
H A D | IPackageManager.aidl | 251 in IntentFilter filter, int match, in ComponentName activity); 253 void addPreferredActivity(in IntentFilter filter, int match, 256 void replacePreferredActivity(in IntentFilter filter, int match, 264 void addPersistentPreferredActivity(in IntentFilter filter, in ComponentName activity, int userId); 331 * it not visible to implicit intents that filter out stopped packages. 471 * manager will map the reason to a compiler filter according to the current system 477 * Ask the package manager to perform a dex-opt with the given compiler filter.
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkFactory.java | 42 * If any requests pass the filter some overrideable functions will be called. 91 * Internally used to set our current filter for coarse bandwidth changes with 93 * msg.obj = new filter 110 NetworkCapabilities filter) { 114 mCapabilityFilter = filter; 183 if (VDBG) log(" my score=" + mScore + ", my filter=" + mCapabilityFilter); 212 * acceptRequest can be overriden to provide complex filter behavior 222 * your score filter to a very high number and watch {@link #needNetworkFor}. 109 NetworkFactory(Looper looper, Context context, String logTag, NetworkCapabilities filter) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | RemoteViewsAdapter.java | 753 final Intent.FilterComparison filter; field in class:RemoteViewsAdapter.RemoteViewsCacheKey 756 RemoteViewsCacheKey(Intent.FilterComparison filter, int widgetId) { argument 757 this.filter = filter; 767 return other.filter.equals(filter) && other.widgetId == widgetId; 772 return (filter == null ? 0 : filter.hashCode()) ^ (widgetId << 2);
|
/frameworks/base/libs/hwui/ |
H A D | GlopBuilder.cpp | 294 mOutGlop->fill.filter.color = { 303 float* colorMatrix = mOutGlop->fill.filter.matrix.matrix; 311 float* colorVector = mOutGlop->fill.filter.matrix.vector; 329 GLenum filter = (textureFillFlags & TextureFillFlags::ForceFilter) local 332 GL_TEXTURE_2D, filter, GL_CLAMP_TO_EDGE, nullptr }; 395 //specify invalid filter/clamp, since these are always static for PathTextures 412 //specify invalid filter/clamp, since these are always static for ShadowTextures 538 mOutGlop->fill.texture.filter = GL_NEAREST; 572 mOutGlop->fill.texture.filter = GL_NEAREST; 700 ALOGD(" texture %p, target %d, filter [all...] |
H A D | Layer.cpp | 177 void Layer::setColorFilter(SkColorFilter* filter) { argument 178 SkRefCnt_SafeAssign(colorFilter, filter);
|
/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/ |
H A D | AccessoryChat.java | 87 IntentFilter filter = new IntentFilter(ACTION_USB_PERMISSION); 88 registerReceiver(mUsbReceiver, filter);
|
/frameworks/base/packages/DocumentsUI/ |
H A D | Android.mk | 38 ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
H A D | NetworkActivity.java | 88 IntentFilter filter = new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION); 90 this.registerReceiver(receiver, filter);
|
/frameworks/base/tools/aapt2/ |
H A D | Android.mk | 30 filter/ConfigFilter.cpp \ 81 filter/ConfigFilter_test.cpp \
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | LocationStatsAggregator.java | 94 IntentFilter filter = new IntentFilter(LocationUpdater.LOCATION_UPDATE); 96 context.registerReceiver(mLocationUpdater, filter);
|
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
H A D | DrawableWrapperDonut.java | 116 public void setFilterBitmap(boolean filter) { argument 117 mDrawable.setFilterBitmap(filter);
|
H A D | RoundedBitmapDrawable.java | 205 public void setFilterBitmap(boolean filter) { argument 206 mPaint.setFilterBitmap(filter);
|
/frameworks/volley/src/main/java/com/android/volley/ |
H A D | RequestQueue.java | 185 * A simple predicate or filter interface for Requests, for use by 193 * Cancels all requests in this queue for which the given filter applies. 194 * @param filter The filtering function to use 196 public void cancelAll(RequestFilter filter) { argument 199 if (filter.apply(request)) {
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | LaunchpadActivity.java | 305 IntentFilter filter = new IntentFilter(BROADCAST_STICKY1); 306 filter.addAction(BROADCAST_STICKY2); 307 registerMyReceiver(filter); 466 private void registerMyReceiver(IntentFilter filter) { argument 469 registerReceiver(mReceiver, filter);
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
H A D | IntentFirewall.java | 151 // For the first pass, find all the rules that have at least one intent-filter or 152 // component-filter that matches this intent 390 throw new XmlPullParserException("Unknown element in filter list: " + elementName); 403 * component filters, only a single filter must match for the rule to be passed on to the 414 private static final String TAG_INTENT_FILTER = "intent-filter"; 415 private static final String TAG_COMPONENT_FILTER = "component-filter"; 497 protected boolean allowFilterResult(FirewallIntentFilter filter, List<Rule> dest) { argument 498 return !dest.contains(filter.rule); 502 protected boolean isPackageForFilter(String packageName, FirewallIntentFilter filter) { argument 512 protected Rule newResult(FirewallIntentFilter filter, in argument [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | Tethering.java | 187 IntentFilter filter = new IntentFilter(); 188 filter.addAction(UsbManager.ACTION_USB_STATE); 189 filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); 190 filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED); 191 mContext.registerReceiver(mStateReceiver, filter); 193 filter = new IntentFilter(); 194 filter.addAction(Intent.ACTION_MEDIA_SHARED); 195 filter.addAction(Intent.ACTION_MEDIA_UNSHARED); 196 filter.addDataScheme("file"); 197 mContext.registerReceiver(mStateReceiver, filter); [all...] |