/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; 72 mIntentFilter = new IntentFilter(); 77 IntentFilter filter = new IntentFilter(); 80 filter = new IntentFilter(ACTION); 83 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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
CurrentUserTracker.java | 23 import android.content.IntentFilter; 30 IntentFilter filter = new IntentFilter(Intent.ACTION_USER_SWITCHED);
|
/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; 31 IntentFilter filter = new IntentFilter(Intent.ACTION_USER_SWITCHED);
|
SettingsUI.java | 26 import android.content.IntentFilter; 68 IntentFilter filter = new IntentFilter();
|
/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/base/core/java/android/nfc/ |
INfcAdapter.aidl | 20 import android.content.IntentFilter; 44 in IntentFilter[] filters, in TechListParcel techLists);
|
/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));
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
GoNegRespTestCase.java | 21 import android.content.IntentFilter; 32 private final IntentFilter mIntentFilter = new IntentFilter();
|
/frameworks/base/services/java/com/android/server/am/ |
BroadcastFilter.java | 19 import android.content.IntentFilter; 25 class BroadcastFilter extends IntentFilter { 33 BroadcastFilter(IntentFilter _filter, ReceiverList _receiverList,
|
/frameworks/base/services/java/com/android/server/pm/ |
PreferredActivity.java | 27 import android.content.IntentFilter; 32 class PreferredActivity extends IntentFilter implements PreferredComponent.Callbacks { 40 PreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
TelephonyTester.java | 22 import android.content.IntentFilter; 63 IntentFilter filter = new IntentFilter();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcTesterDeactivateAll.java | 22 import android.content.IntentFilter; 73 IntentFilter filter = new IntentFilter();
|