Home
last modified time | relevance | path

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

12345678910>>...18

/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/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStateTrackerTest.java25 import android.content.IntentFilter;
99 IntentFilter mIntentFilter = new IntentFilter(); in testSupplicantStateChangeIntent()
124 IntentFilter mIntentFilter = new IntentFilter(); in testAuthPassInSupplicantStateChangeIntent()
150 IntentFilter mIntentFilter = new IntentFilter(); in testAuthFailedInSupplicantStateChangeIntent()
180 IntentFilter mIntentFilter = new IntentFilter(); in testReasonCodeInSupplicantStateChangeIntent()
/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/packages/SystemUI/tests/src/com/android/systemui/
DSliceBroadcastRelayHandlerTest.java30 import android.content.IntentFilter;
62 IntentFilter value = new IntentFilter(TEST_ACTION); in testRegister()
84 IntentFilter value = new IntentFilter(TEST_ACTION); in testUnregister()
128 IntentFilter value = new IntentFilter(TEST_ACTION); in testRelay()
/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/packages/SystemUI/src/com/android/systemui/
DSliceBroadcastRelayHandler.java22 import android.content.IntentFilter;
45 IntentFilter filter = new IntentFilter(SliceBroadcastRelay.ACTION_REGISTER); in start()
56 IntentFilter filter = intent.getParcelableExtra(SliceBroadcastRelay.EXTRA_FILTER); in handleIntent()
100 public void register(Context context, ComponentName receiver, IntentFilter filter) { in register()
DLatencyTester.java22 import android.content.IntentFilter;
50 IntentFilter filter = new IntentFilter(); in start()
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()
109 IntentFilter localeChangedFilter = new IntentFilter(Intent.ACTION_LOCALE_CHANGED); in onCreate()
/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/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/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/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DSystemUIDialogTest.java25 import android.content.IntentFilter;
55 final ArgumentCaptor<IntentFilter> intentFilterCaptor = in testRegisterReceiver()
56 ArgumentCaptor.forClass(IntentFilter.class); in testRegisterReceiver()
/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/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/packages/Shell/tests/src/com/android/shell/
DActionSendMultipleConsumerActivity.java27 import android.content.IntentFilter;
105 final IntentFilter filter = new IntentFilter(); in CustomActionSendMultipleListener()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/voicerecognition/car/
DConnectedDeviceVoiceRecognitionNotifier.java23 import android.content.IntentFilter;
85 IntentFilter filter = new IntentFilter(); in onBootCompleted()
/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()
/frameworks/base/packages/Tethering/src/android/net/util/
DVersionedBroadcastListener.java22 import android.content.IntentFilter;
45 private final IntentFilter mFilter;
51 IntentFilter filter, Consumer<Intent> callback) { in VersionedBroadcastListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNextAlarmControllerImpl.java23 import android.content.IntentFilter;
50 IntentFilter filter = new IntentFilter(); in NextAlarmControllerImpl()

12345678910>>...18