Home
last modified time | relevance | path

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

1234567

/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/services/tests/servicestests/src/com/android/server/
DBroadcastInterceptingContext.java23 import android.content.IntentFilter;
47 private final IntentFilter mFilter;
49 public BroadcastInterceptor(BroadcastReceiver receiver, IntentFilter filter) { in BroadcastInterceptor()
84 return nextBroadcastIntent(new IntentFilter(action)); in nextBroadcastIntent()
87 public Future<Intent> nextBroadcastIntent(IntentFilter filter) { in nextBroadcastIntent()
96 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
104 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
/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()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DBroadcastTest.java24 import android.content.IntentFilter;
176 public void registerMyReceiver(IntentFilter filter, String permission) { in registerMyReceiver()
311 IntentFilter filter = new IntentFilter(LaunchpadActivity.BROADCAST_STICKY1); in testSetSticky()
326 IntentFilter filter = new IntentFilter(LaunchpadActivity.BROADCAST_STICKY1); in testClearSticky()
340 IntentFilter filter = new IntentFilter(LaunchpadActivity.BROADCAST_STICKY1); in testReplaceSticky()
371 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), PERMISSION_GRANTED); in testRegisteredReceivePermissionGranted()
379 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), PERMISSION_DENIED); in testRegisteredReceivePermissionDenied()
396 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), null); in testRegisteredBroadcastPermissionGranted()
406 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), null); in testRegisteredBroadcastPermissionDenied()
527 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()
DLaunchpadActivity.java24 import android.content.IntentFilter;
251 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED)); in onResume()
263 registerMyReceiver(new IntentFilter(BROADCAST_ALL)); in onResume()
278 registerMyReceiver(new IntentFilter(BROADCAST_ALL)); in onResume()
294 registerMyReceiver(new IntentFilter(BROADCAST_ABORT)); in onResume()
300 registerMyReceiver(new IntentFilter(BROADCAST_STICKY1)); in onResume()
305 IntentFilter filter = new IntentFilter(BROADCAST_STICKY1); in onResume()
466 private void registerMyReceiver(IntentFilter filter) { in registerMyReceiver()
/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/core/java/com/android/internal/content/
DPackageMonitor.java22 import android.content.IntentFilter;
32 static final IntentFilter sPackageFilt = new IntentFilter();
33 static final IntentFilter sNonDataFilt = new IntentFilter();
34 static final IntentFilter sExternalFilt = new IntentFilter();
/frameworks/base/services/java/com/android/server/pm/
DPreferredActivity.java27 import android.content.IntentFilter;
32 class PreferredActivity extends IntentFilter implements PreferredComponent.Callbacks {
39 PreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) { in PreferredActivity()
/frameworks/base/services/java/com/android/server/am/
DBroadcastFilter.java19 import android.content.IntentFilter;
25 class BroadcastFilter extends IntentFilter {
31 BroadcastFilter(IntentFilter _filter, ReceiverList _receiverList, in BroadcastFilter()
/frameworks/base/services/java/com/android/server/
DNetworkTimeUpdateService.java25 import android.content.IntentFilter;
119 IntentFilter intentFilter = new IntentFilter(); in registerForTelephonyIntents()
132 }, new IntentFilter(ACTION_POLL)); in registerForAlarms()
136 IntentFilter intentFilter = new IntentFilter(); in registerForConnectivityIntents()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothController.java25 import android.content.IntentFilter;
43 IntentFilter filter = new IntentFilter(); in BluetoothController()
DAirplaneModeController.java23 import android.content.IntentFilter;
47 IntentFilter filter = new IntentFilter(); in AirplaneModeController()
DBatteryController.java24 import android.content.IntentFilter;
42 IntentFilter filter = new IntentFilter(); in BatteryController()
DDateView.java22 import android.content.IntentFilter;
118 IntentFilter filter = new IntentFilter(); in setUpdates()
DLocationController.java27 import android.content.IntentFilter;
52 IntentFilter filter = new IntentFilter(); in LocationController()
/frameworks/base/core/java/com/android/internal/app/
DExternalMediaFormatActivity.java26 import android.content.IntentFilter;
75 IntentFilter filter = new IntentFilter(); in onResume()
DResolverActivity.java24 import android.content.IntentFilter;
128 IntentFilter filter = new IntentFilter(); in onIntentSelected()
141 int cat = ri.match&IntentFilter.MATCH_CATEGORY_MASK; in onIntentSelected()
143 if (cat == IntentFilter.MATCH_CATEGORY_TYPE) { in onIntentSelected()
148 } catch (IntentFilter.MalformedMimeTypeException e) { in onIntentSelected()
158 if (cat != IntentFilter.MATCH_CATEGORY_TYPE in onIntentSelected()
165 Iterator<IntentFilter.AuthorityEntry> aIt = ri.filter.authoritiesIterator(); in onIntentSelected()
168 IntentFilter.AuthorityEntry a = aIt.next(); in onIntentSelected()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCarrierLabel.java22 import android.content.IntentFilter;
61 IntentFilter filter = new IntentFilter(); in onAttachedToWindow()
/frameworks/support/v13/java/android/support/v13/dreams/
DBasicDream.java7 import android.content.IntentFilter;
89 IntentFilter filter = new IntentFilter(); in onStart()
/frameworks/base/core/java/android/nfc/
DINfcAdapter.aidl21 import android.content.IntentFilter;
45 in IntentFilter[] filters, in TechListParcel techLists); in setForegroundDispatch()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsStorageMonitor.java22 import android.content.IntentFilter;
81 IntentFilter filter = new IntentFilter(); in SmsStorageMonitor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DHeightReceiver.java24 import android.content.IntentFilter;
68 final IntentFilter filter = new IntentFilter(); in registerReceiver()
/frameworks/base/core/java/android/content/
DIntentFilter.java129 public class IntentFilter implements Parcelable { class
327 public static IntentFilter create(String action, String dataType) { in create()
329 return new IntentFilter(action, dataType); in create()
338 public IntentFilter() { in IntentFilter() method in IntentFilter
350 public IntentFilter(String action) { in IntentFilter() method in IntentFilter
372 public IntentFilter(String action, String dataType) in IntentFilter() method in IntentFilter
385 public IntentFilter(IntentFilter o) { in IntentFilter() method in IntentFilter
1330 public static final Parcelable.Creator<IntentFilter> CREATOR
1331 = new Parcelable.Creator<IntentFilter>() {
1332 public IntentFilter createFromParcel(Parcel source) {
[all …]
/frameworks/ex/common/java/com/android/common/
DNetworkConnectivityListener.java22 import android.content.IntentFilter;
140 IntentFilter filter = new IntentFilter(); in startListening()

1234567