Home
last modified time | relevance | path

Searched refs:IntentFilter (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/frameworks/support/v4/java/android/support/v4/content/
DLocalBroadcastManager.java26 import android.content.IntentFilter;
48 final IntentFilter filter;
52 ReceiverRecord(IntentFilter _filter, BroadcastReceiver _receiver) { in ReceiverRecord()
84 private final HashMap<BroadcastReceiver, ArrayList<IntentFilter>> mReceivers
85 = new HashMap<BroadcastReceiver, ArrayList<IntentFilter>>();
133 public void registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
136 ArrayList<IntentFilter> filters = mReceivers.get(receiver); in registerReceiver()
138 filters = new ArrayList<IntentFilter>(1); in registerReceiver()
165 ArrayList<IntentFilter> filters = mReceivers.remove(receiver); in unregisterReceiver()
170 IntentFilter filter = filters.get(i); in unregisterReceiver()
[all …]
/frameworks/base/core/java/android/content/pm/
DEphemeralResolveInfo.java21 import android.content.IntentFilter;
46 private final List<IntentFilter> mFilters = new ArrayList<IntentFilter>();
49 @NonNull List<IntentFilter> filters) { in EphemeralResolveInfo()
87 public List<IntentFilter> getFilters() { in getFilters()
126 public static final class EphemeralResolveIntentInfo extends IntentFilter {
129 public EphemeralResolveIntentInfo(@NonNull IntentFilter orig, in EphemeralResolveIntentInfo()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteDescriptor.java18 import android.content.IntentFilter;
61 private List<IntentFilter> mControlFilters;
63 private MediaRouteDescriptor(Bundle bundle, List<IntentFilter> controlFilters) { in MediaRouteDescriptor()
185 public List<IntentFilter> getControlFilters() { in getControlFilters()
192 mControlFilters = mBundle.<IntentFilter>getParcelableArrayList(KEY_CONTROL_FILTERS); in ensureControlFilters()
194 mControlFilters = Collections.<IntentFilter>emptyList(); in ensureControlFilters()
335 private ArrayList<IntentFilter> mControlFilters;
362 mControlFilters = new ArrayList<IntentFilter>(descriptor.mControlFilters); in Builder()
524 public Builder addControlFilter(IntentFilter filter) { in addControlFilter()
530 mControlFilters = new ArrayList<IntentFilter>(); in addControlFilter()
[all …]
DSystemMediaRouteProvider.java23 import android.content.IntentFilter;
108 private static final ArrayList<IntentFilter> CONTROL_FILTERS;
110 IntentFilter f = new IntentFilter();
114 CONTROL_FILTERS = new ArrayList<IntentFilter>();
128 new IntentFilter(VolumeChangeReceiver.VOLUME_CHANGED_ACTION)); in LegacyImpl()
209 private static final ArrayList<IntentFilter> LIVE_AUDIO_CONTROL_FILTERS;
211 IntentFilter f = new IntentFilter();
214 LIVE_AUDIO_CONTROL_FILTERS = new ArrayList<IntentFilter>();
218 private static final ArrayList<IntentFilter> LIVE_VIDEO_CONTROL_FILTERS;
220 IntentFilter f = new IntentFilter();
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDisconnectedReceiver.java23 import android.content.IntentFilter;
39 IntentFilter filter = new IntentFilter(UsbManager.ACTION_USB_DEVICE_DETACHED); in UsbDisconnectedReceiver()
47 IntentFilter filter = new IntentFilter(UsbManager.ACTION_USB_ACCESSORY_DETACHED); in UsbDisconnectedReceiver()
DUsbDebuggingSecondaryUserActivity.java24 import android.content.IntentFilter;
76 IntentFilter filter = new IntentFilter(UsbManager.ACTION_USB_STATE); in onStart()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DBroadcastInterceptingContext.java23 import android.content.IntentFilter;
49 private final IntentFilter mFilter;
51 public BroadcastInterceptor(BroadcastReceiver receiver, IntentFilter filter) { in BroadcastInterceptor()
86 return nextBroadcastIntent(new IntentFilter(action)); in nextBroadcastIntent()
89 public Future<Intent> nextBroadcastIntent(IntentFilter filter) { in nextBroadcastIntent()
98 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
106 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDocumentsApplication.java26 import android.content.IntentFilter;
76 final IntentFilter packageFilter = new IntentFilter(); in onCreate()
84 final IntentFilter localeFilter = new IntentFilter(); in onCreate()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DBroadcastTest.java24 import android.content.IntentFilter;
177 public void registerMyReceiver(IntentFilter filter, String permission) { in registerMyReceiver()
313 IntentFilter filter = new IntentFilter(LaunchpadActivity.BROADCAST_STICKY1); in testSetSticky()
329 IntentFilter filter = new IntentFilter(LaunchpadActivity.BROADCAST_STICKY1); in testClearSticky()
343 IntentFilter filter = new IntentFilter(LaunchpadActivity.BROADCAST_STICKY1); in testReplaceSticky()
374 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), PERMISSION_GRANTED); in testRegisteredReceivePermissionGranted()
382 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), PERMISSION_DENIED); in testRegisteredReceivePermissionDenied()
399 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), null); in testRegisteredBroadcastPermissionGranted()
409 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), null); in testRegisteredBroadcastPermissionDenied()
530 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), null); in testLocalUnregisterTwice()
DIntentSenderTest.java22 import android.content.IntentFilter;
31 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), PERMISSION_GRANTED); in testRegisteredReceivePermissionGranted()
44 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), PERMISSION_DENIED); in testRegisteredReceivePermissionDenied()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DCurrentUserTracker.java23 import android.content.IntentFilter;
51 IntentFilter filter = new IntentFilter(Intent.ACTION_USER_SWITCHED); in startTracking()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DDeviceDisconnectedReceiver.java23 import android.content.IntentFilter;
39 IntentFilter filter = new IntentFilter(UsbManager.ACTION_USB_DEVICE_DETACHED); in DeviceDisconnectedReceiver()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastFilter.java19 import android.content.IntentFilter;
25 final class BroadcastFilter extends IntentFilter {
33 BroadcastFilter(IntentFilter _filter, ReceiverList _receiverList, in BroadcastFilter()
/frameworks/base/core/java/android/service/chooser/
DChooserTargetService.java24 import android.content.IntentFilter;
121 IntentFilter matchedFilter); in onGetChooserTargets()
140 IntentFilter matchedFilter, IChooserTargetResult result) throws RemoteException { in getChooserTargets()
DIChooserTargetService.aidl20 import android.content.IntentFilter;
29 in IntentFilter matchedFilter, IChooserTargetResult result); in getChooserTargets()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTesterDeactivateAll.java22 import android.content.IntentFilter;
73 IntentFilter filter = new IntentFilter(); in DcTesterDeactivateAll()
DDcTesterFailBringUpAll.java22 import android.content.IntentFilter;
80 IntentFilter filter = new IntentFilter(); in DcTesterFailBringUpAll()
/frameworks/base/services/core/java/com/android/server/pm/
DPreferredActivity.java26 import android.content.IntentFilter;
31 class PreferredActivity extends IntentFilter implements PreferredComponent.Callbacks {
38 PreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, in PreferredActivity()
DPersistentPreferredActivity.java26 import android.content.IntentFilter;
31 class PersistentPreferredActivity extends IntentFilter {
41 PersistentPreferredActivity(IntentFilter filter, ComponentName activity) { in PersistentPreferredActivity()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DActionSendMultipleConsumerActivity.java27 import android.content.IntentFilter;
105 final IntentFilter filter = new IntentFilter(); in CustomActionSendMultipleListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNextAlarmController.java23 import android.content.IntentFilter;
39 IntentFilter filter = new IntentFilter(); in NextAlarmController()
DUserInfoController.java23 import android.content.IntentFilter;
58 IntentFilter filter = new IntentFilter(); in UserInfoController()
62 IntentFilter profileFilter = new IntentFilter(); in UserInfoController()
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateService.java22 import android.content.IntentFilter;
98 IntentFilter filter = new IntentFilter(); in onStart()
111 IntentFilter userAddedFilter = new IntentFilter(); in onStart()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIApplication.java23 import android.content.IntentFilter;
89 IntentFilter filter = new IntentFilter(Intent.ACTION_BOOT_COMPLETED); in onCreate()
90 filter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); in onCreate()
/frameworks/base/services/core/java/com/android/server/
DNetworkTimeUpdateService.java25 import android.content.IntentFilter;
139 IntentFilter intentFilter = new IntentFilter(); in registerForTelephonyIntents()
152 }, new IntentFilter(ACTION_POLL)); in registerForAlarms()
156 IntentFilter intentFilter = new IntentFilter(); in registerForConnectivityIntents()

12345678910>>...15