/frameworks/base/core/java/android/content/ |
IntentFilter.aidl | 19 parcelable IntentFilter;
|
/cts/tests/tests/content/src/android/content/cts/ |
IntentFilter_MalformedMimeTypeExceptionTest.java | 19 import android.content.IntentFilter; 20 import android.content.IntentFilter.MalformedMimeTypeException; 35 mMalformedMimeTypeException = new IntentFilter.MalformedMimeTypeException(); 43 mMalformedMimeTypeException = new IntentFilter.MalformedMimeTypeException(
|
IntentFilterTest.java | 40 import android.content.IntentFilter; 41 import android.content.IntentFilter.AuthorityEntry; 42 import android.content.IntentFilter.MalformedMimeTypeException; 59 private IntentFilter mIntentFilter; 73 mIntentFilter = new IntentFilter(); 78 IntentFilter filter = new IntentFilter(); 81 filter = new IntentFilter(ACTION); 84 final IntentFilter actionTypeFilter = new IntentFilter(ACTION, DATA_TYPE) [all...] |
IntentFilter_AuthorityEntryTest.java | 19 import android.content.IntentFilter; 20 import android.content.IntentFilter.AuthorityEntry; 56 assertEquals(IntentFilter.NO_MATCH_DATA, mAuthorityEntry.match(uri)); 58 assertEquals(IntentFilter.NO_MATCH_DATA, mAuthorityEntry.match(uri)); 60 mAuthorityEntry = new IntentFilter.AuthorityEntry(mWildHost, String.valueOf(-1)); 61 assertEquals(IntentFilter.NO_MATCH_DATA, mAuthorityEntry.match(uri)); 63 mAuthorityEntry = new IntentFilter.AuthorityEntry(mHost, String.valueOf(-1)); 64 assertEquals(IntentFilter.MATCH_CATEGORY_HOST, mAuthorityEntry.match(uri)); 68 assertEquals(IntentFilter.MATCH_CATEGORY_HOST, mAuthorityEntry.match(uri)); 72 assertEquals(IntentFilter.MATCH_CATEGORY_PORT, mAuthorityEntry.match(uri)) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
IntentFilterAuthorityEntryTest.java | 3 import android.content.IntentFilter; 15 new IntentFilter.AuthorityEntry("", "not a number"); 20 IntentFilter.AuthorityEntry authorityEntry = new IntentFilter.AuthorityEntry("host", null);
|
IntentFilterTest.java | 3 import android.content.IntentFilter; 15 IntentFilter intentFilter = new IntentFilter(); 16 intentFilter.addDataScheme("http"); 17 intentFilter.addDataScheme("ftp"); 19 assertThat(intentFilter.getDataScheme(0), equalTo("http")); 20 assertThat(intentFilter.getDataScheme(1), equalTo("ftp")); 25 IntentFilter intentFilter = new IntentFilter() [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowIntentFilter.java | 3 import android.content.IntentFilter; 12 * Shadow of {@code IntentFilter} implemented with a {@link java.util.List} 15 @Implements(IntentFilter.class) 19 List<IntentFilter.AuthorityEntry> authoritites = new ArrayList<IntentFilter.AuthorityEntry>(); 52 authoritites.add(new IntentFilter.AuthorityEntry(host, port)); 56 public final IntentFilter.AuthorityEntry getDataAuthority(int index) {
|
ShadowIntentFilterAuthorityEntry.java | 3 import android.content.IntentFilter; 7 @Implements(IntentFilter.AuthorityEntry.class)
|
ShadowNfcAdapter.java | 6 import android.content.IntentFilter; 20 private IntentFilter[] filters; 42 public void enableForegroundDispatch(Activity activity, PendingIntent intent, IntentFilter[] filters, String[][] techLists) { 62 public IntentFilter[] getFilters() {
|
ShadowMapActivity.java | 6 import android.content.IntentFilter; 23 registerReceiver(connectivityBroadcastReceiver, new IntentFilter());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
UsbDisconnectedReceiver.java | 23 import android.content.IntentFilter; 39 IntentFilter filter = new IntentFilter(UsbManager.ACTION_USB_DEVICE_DETACHED); 47 IntentFilter filter = new IntentFilter(UsbManager.ACTION_USB_ACCESSORY_DETACHED);
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
DeviceDisconnectedReceiver.java | 23 import android.content.IntentFilter; 39 IntentFilter filter = new IntentFilter(UsbManager.ACTION_USB_DEVICE_DETACHED);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
CurrentUserTracker.java | 23 import android.content.IntentFilter; 32 IntentFilter filter = new IntentFilter(Intent.ACTION_USER_SWITCHED);
|
SettingsUI.java | 23 import android.content.IntentFilter; 68 IntentFilter filter = new IntentFilter();
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
StorageLowState.java | 20 import android.content.IntentFilter; 60 final IntentFilter filter = new IntentFilter(Intent.ACTION_DEVICE_STORAGE_LOW);
|
/development/samples/ApiDemos/src/com/example/android/apis/nfc/ |
ForegroundDispatch.java | 24 import android.content.IntentFilter; 25 import android.content.IntentFilter.MalformedMimeTypeException; 39 private IntentFilter[] mFilters; 61 IntentFilter ndef = new IntentFilter(NfcAdapter.ACTION_NDEF_DISCOVERED); 67 mFilters = new IntentFilter[] {
|
/frameworks/support/v4/java/android/support/v4/content/ |
LocalBroadcastManager.java | 26 import android.content.IntentFilter; 48 final IntentFilter filter; 52 ReceiverRecord(IntentFilter _filter, BroadcastReceiver _receiver) { 84 private final HashMap<BroadcastReceiver, ArrayList<IntentFilter>> mReceivers 85 = new HashMap<BroadcastReceiver, ArrayList<IntentFilter>>(); 126 * Register a receive for any local broadcasts that match the given IntentFilter. 133 public void registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { 136 ArrayList<IntentFilter> filters = mReceivers.get(receiver); 138 filters = new ArrayList<IntentFilter>(1); 165 ArrayList<IntentFilter> filters = mReceivers.remove(receiver) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherApplication.java | 24 import android.content.IntentFilter; 56 IntentFilter filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); 61 filter = new IntentFilter(); 67 filter = new IntentFilter(); 70 filter = new IntentFilter();
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastAlertDialog.java | 22 import android.content.IntentFilter; 51 new IntentFilter(Intent.ACTION_SCREEN_OFF));
|
/frameworks/base/core/java/android/nfc/ |
INfcAdapter.aidl | 20 import android.content.IntentFilter; 47 in IntentFilter[] filters, in TechListParcel techLists);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
GoNegRespTestCase.java | 21 import android.content.IntentFilter; 32 private final IntentFilter mIntentFilter = new IntentFilter();
|
/cts/tests/tests/permission/src/android/permission/cts/ |
PackageManagerRequiringPermissionsTest.java | 20 import android.content.IntentFilter; 66 IntentFilter filter = new IntentFilter(Intent.ACTION_MAIN);
|
/external/chromium_org/base/android/java/src/org/chromium/base/ |
PowerMonitor.java | 9 import android.content.IntentFilter; 51 IntentFilter ifilter = new IntentFilter(Intent.ACTION_BATTERY_CHANGED);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
BatteryController.java | 22 import android.content.IntentFilter; 39 IntentFilter filter = new IntentFilter();
|
/frameworks/base/services/java/com/android/server/am/ |
BroadcastFilter.java | 19 import android.content.IntentFilter; 25 final class BroadcastFilter extends IntentFilter { 33 BroadcastFilter(IntentFilter _filter, ReceiverList _receiverList,
|