Home
last modified time | relevance | path

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

12345678910>>...20

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/broadcast/
DUserBroadcastDispatcherTest.kt21 import android.content.IntentFilter
71 private lateinit var intentFilter: IntentFilter in capture()
72 private lateinit var intentFilterOther: IntentFilter in capture()
93 intentFilter = IntentFilter(ACTION_1) in testSingleReceiverRegistered()
106 intentFilter = IntentFilter(ACTION_1) in testSingleReceiverRegistered_logging()
117 intentFilter = IntentFilter(ACTION_1) in testSingleReceiverUnregistered()
133 intentFilter = IntentFilter(ACTION_1) in testSingleReceiverUnregistered_logger()
147 intentFilter = IntentFilter(ACTION_1) in testRemoveReceiverReferences()
151 intentFilterOther = IntentFilter(ACTION_1) in testRemoveReceiverReferences()
DBroadcastDispatcherTest.kt22 import android.content.IntentFilter
76 private lateinit var intentFilter: IntentFilter in capture()
78 private lateinit var intentFilterOther: IntentFilter in capture()
198 val testFilter = IntentFilter() in testFilterMustContainActions()
204 val testFilter = IntentFilter(TEST_ACTION).apply { in testFilterMustNotContainDataScheme()
212 val testFilter = IntentFilter(TEST_ACTION).apply { in testFilterMustNotContainDataAuthority()
213 addDataAuthority(mock(IntentFilter.AuthorityEntry::class.java)) in testFilterMustNotContainDataAuthority()
220 val testFilter = IntentFilter(TEST_ACTION).apply { in testFilterMustNotContainDataPath()
228 val testFilter = IntentFilter(TEST_ACTION).apply { in testFilterMustNotContainDataType()
236 val testFilter = IntentFilter(TEST_ACTION).apply { in testFilterMustNotSetPriority()
[all …]
DFakeBroadcastDispatcher.kt20 import android.content.IntentFilter
43 filter: IntentFilter, in registerReceiverWithHandler()
52 filter: IntentFilter, in registerReceiver()
/frameworks/base/test-mock/api/
Dsystem-lint-baseline.txt2 …eceiverForAllUsers(android.content.BroadcastReceiver, android.content.IntentFilter, String, androi…
6 …eceiverForAllUsers(android.content.BroadcastReceiver, android.content.IntentFilter, String, androi…
8 …eceiverForAllUsers(android.content.BroadcastReceiver, android.content.IntentFilter, String, androi…
10 …eceiverForAllUsers(android.content.BroadcastReceiver, android.content.IntentFilter, String, androi…
12 …eceiverForAllUsers(android.content.BroadcastReceiver, android.content.IntentFilter, String, androi…
14 …eceiverForAllUsers(android.content.BroadcastReceiver, android.content.IntentFilter, String, androi…
/frameworks/base/core/java/android/content/pm/
DInstantAppIntentFilter.java22 import android.content.IntentFilter;
37 private final List<IntentFilter> mFilters = new ArrayList<IntentFilter>();
39 public InstantAppIntentFilter(@Nullable String splitName, @NonNull List<IntentFilter> filters) { in InstantAppIntentFilter()
56 public List<IntentFilter> getFilters() { in getFilters()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStateTrackerTest.java25 import android.content.IntentFilter;
91 IntentFilter mIntentFilter = new IntentFilter(); in testSupplicantStateChangeIntent()
116 IntentFilter mIntentFilter = new IntentFilter(); in testAuthPassInSupplicantStateChangeIntent()
142 IntentFilter mIntentFilter = new IntentFilter(); in testAuthFailedInSupplicantStateChangeIntent()
172 IntentFilter mIntentFilter = new IntentFilter(); in testReasonCodeInSupplicantStateChangeIntent()
/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/packages/SystemUI/tests/src/com/android/systemui/
DSliceBroadcastRelayHandlerTest.java31 import android.content.IntentFilter;
77 IntentFilter value = new IntentFilter(TEST_ACTION); in testRegister()
97 IntentFilter value = new IntentFilter(TEST_ACTION); in testUnregister()
136 IntentFilter value = new IntentFilter(TEST_ACTION); in testRelay()
152 .registerReceiver(any(BroadcastReceiver.class), any(IntentFilter.class)); in testRegisteredWithDispatcher()
154 .registerReceiver(any(BroadcastReceiver.class), any(IntentFilter.class)); in testRegisteredWithDispatcher()
DSysuiTestableContext.java20 import android.content.IntentFilter;
69 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
77 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
87 IntentFilter filter, String broadcastPermission, Handler scheduler) { in registerReceiverAsUser()
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBroadcastInterceptingContext.java23 import android.content.IntentFilter;
64 private final IntentFilter mFilter;
66 public BroadcastInterceptor(BroadcastReceiver receiver, IntentFilter filter) { in BroadcastInterceptor()
116 return nextBroadcastIntent(new IntentFilter(action)); in nextBroadcastIntent()
119 public FutureIntent nextBroadcastIntent(IntentFilter filter) { in nextBroadcastIntent()
128 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
136 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
/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()
/frameworks/base/services/core/java/com/android/server/
DCachedDeviceStateService.java22 import android.content.IntentFilter;
72 final IntentFilter filter = new IntentFilter(); in onBootPhase()
76 filter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); in onBootPhase()
/frameworks/base/tests/ActivityManagerPerfTests/test-app/src/com/android/frameworks/perftests/amteststestapp/
DTestApplication.java23 import android.content.IntentFilter;
48 IntentFilter intentFilter = new IntentFilter(Constants.ACTION_BROADCAST_REGISTERED_RECEIVE); in createRegisteredReceiver()
/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/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DConnectivityPreferenceControllerTest.java30 import android.content.IntentFilter;
63 final ArgumentCaptor<IntentFilter> filterArgumentCaptor = in testBroadcastReceiver()
64 ArgumentCaptor.forClass(IntentFilter.class); in testBroadcastReceiver()
77 final IntentFilter filter = filterArgumentCaptor.getValue(); in testBroadcastReceiver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/broadcast/
DBroadcastDispatcher.kt23 import android.content.IntentFilter
42 val filter: IntentFilter,
80 registerReceiver(this, IntentFilter(Intent.ACTION_USER_SWITCHED), null, UserHandle.ALL) in initialize()
108 filter: IntentFilter, in registerReceiverWithHandler()
132 filter: IntentFilter, in registerReceiver()
143 private fun checkFilter(filter: IntentFilter) { in checkFilter()
DActionReceiver.kt22 import android.content.IntentFilter
47 private val registerAction: BroadcastReceiver.(IntentFilter) -> Unit,
84 private fun createFilter(): IntentFilter { in createFilter()
85 val filter = IntentFilter(action) in createFilter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIApplication.java24 import android.content.IntentFilter;
88 IntentFilter bootCompletedFilter = new IntentFilter(Intent.ACTION_BOOT_COMPLETED); in onCreate()
89 bootCompletedFilter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); in onCreate()
107 IntentFilter localeChangedFilter = new IntentFilter(Intent.ACTION_LOCALE_CHANGED); in onCreate()
/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()
/frameworks/base/core/java/android/service/chooser/
DChooserTargetService.java24 import android.content.IntentFilter;
127 IntentFilter matchedFilter); in onGetChooserTargets()
146 IntentFilter matchedFilter, IChooserTargetResult result) throws RemoteException { in getChooserTargets()
DIChooserTargetService.aidl20 import android.content.IntentFilter;
29 in IntentFilter matchedFilter, IChooserTargetResult result); in getChooserTargets()
/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/tests/src/com/android/systemui/statusbar/phone/
DSystemUIDialogTest.java25 import android.content.IntentFilter;
63 final ArgumentCaptor<IntentFilter> intentFilterCaptor = in testRegisterReceiver()
64 ArgumentCaptor.forClass(IntentFilter.class); in testRegisterReceiver()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTesterDeactivateAll.java22 import android.content.IntentFilter;
73 IntentFilter filter = new IntentFilter(); in DcTesterDeactivateAll()
/frameworks/base/services/core/java/com/android/server/timezone/
DPackageTrackerIntentHelperImpl.java25 import android.content.IntentFilter;
53 IntentFilter packageIntentFilter = new IntentFilter(); in initialize()

12345678910>>...20