Home
last modified time | relevance | path

Searched refs:broadcastPermission (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/
DNoBroadcastContextWrapper.java60 @Nullable String broadcastPermission, @Nullable Handler scheduler) { in registerReceiver() argument
61 return registerReceiver(receiver, filter, broadcastPermission, scheduler, 0); in registerReceiver()
66 @Nullable String broadcastPermission, @Nullable Handler scheduler, int flags) { in registerReceiver() argument
67 return registerReceiverAsUser(receiver, getUser(), filter, broadcastPermission, scheduler, in registerReceiver()
74 @NonNull IntentFilter filter, @Nullable String broadcastPermission, in registerReceiverForAllUsers() argument
76 return registerReceiverForAllUsers(receiver, filter, broadcastPermission, scheduler, 0); in registerReceiverForAllUsers()
82 @NonNull IntentFilter filter, @Nullable String broadcastPermission, in registerReceiverForAllUsers() argument
84 return registerReceiverAsUser(receiver, UserHandle.ALL, filter, broadcastPermission, in registerReceiverForAllUsers()
90 IntentFilter filter, @Nullable String broadcastPermission, in registerReceiverAsUser() argument
92 return registerReceiverAsUser(receiver, user, filter, broadcastPermission, in registerReceiverAsUser()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DSysuiTestableContext.java108 String broadcastPermission, Handler scheduler) { in registerReceiver() argument
114 return super.registerReceiver(receiver, filter, broadcastPermission, scheduler); in registerReceiver()
119 String broadcastPermission, Handler scheduler, int flags) { in registerReceiver() argument
125 return super.registerReceiver(receiver, filter, broadcastPermission, scheduler, flags); in registerReceiver()
130 IntentFilter filter, String broadcastPermission, Handler scheduler) { in registerReceiverAsUser() argument
136 return super.registerReceiverAsUser(receiver, user, filter, broadcastPermission, scheduler); in registerReceiverAsUser()
141 IntentFilter filter, String broadcastPermission, Handler scheduler, int flags) { in registerReceiverAsUser() argument
147 return super.registerReceiverAsUser(receiver, user, filter, broadcastPermission, scheduler, in registerReceiverAsUser()
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBroadcastInterceptingContext.java168 String broadcastPermission, Handler scheduler) { in registerReceiver() argument
169 return registerReceiver(receiver, filter, broadcastPermission, scheduler, 0); in registerReceiver()
182 String broadcastPermission, Handler scheduler, int flags) { in registerReceiver() argument
/frameworks/base/core/java/android/content/
DContextWrapper.java768 @Nullable String broadcastPermission, @Nullable Handler scheduler) { in registerReceiver() argument
769 return mBase.registerReceiver(receiver, filter, broadcastPermission, in registerReceiver()
775 @Nullable String broadcastPermission, @Nullable Handler scheduler, int flags) { in registerReceiver() argument
776 return mBase.registerReceiver(receiver, filter, broadcastPermission, in registerReceiver()
784 @NonNull IntentFilter filter, @Nullable String broadcastPermission, in registerReceiverForAllUsers() argument
786 return mBase.registerReceiverForAllUsers(receiver, filter, broadcastPermission, in registerReceiverForAllUsers()
794 @NonNull IntentFilter filter, @Nullable String broadcastPermission, in registerReceiverForAllUsers() argument
796 return mBase.registerReceiverForAllUsers(receiver, filter, broadcastPermission, in registerReceiverForAllUsers()
804 IntentFilter filter, @Nullable String broadcastPermission, in registerReceiverAsUser() argument
806 return mBase.registerReceiverAsUser(receiver, user, filter, broadcastPermission, in registerReceiverAsUser()
[all …]
DContext.java3400 IntentFilter filter, @Nullable String broadcastPermission, in registerReceiver() argument
3453 IntentFilter filter, @Nullable String broadcastPermission, in registerReceiver() argument
3482 @NonNull IntentFilter filter, @Nullable String broadcastPermission, in registerReceiverForAllUsers() argument
3524 @NonNull IntentFilter filter, @Nullable String broadcastPermission, in registerReceiverForAllUsers() argument
3556 UserHandle user, IntentFilter filter, @Nullable String broadcastPermission, in registerReceiverAsUser() argument
3597 UserHandle user, IntentFilter filter, @Nullable String broadcastPermission, in registerReceiverAsUser() argument
/frameworks/opt/net/ims/tests/src/com/android/ims/
DContextFixture.java136 String broadcastPermission, Handler scheduler) { in registerReceiver() argument
142 String broadcastPermission, Handler scheduler, int flags) { in registerReceiver() argument
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java556 String broadcastPermission, Handler scheduler) { in registerReceiver() argument
562 String broadcastPermission, Handler scheduler, int flags) { in registerReceiver() argument
570 IntentFilter filter, String broadcastPermission, Handler scheduler) { in registerReceiverForAllUsers() argument
578 IntentFilter filter, String broadcastPermission, Handler scheduler, int flags) { in registerReceiverForAllUsers() argument
585 IntentFilter filter, String broadcastPermission, Handler scheduler) { in registerReceiverAsUser() argument
592 IntentFilter filter, String broadcastPermission, Handler scheduler, int flags) { in registerReceiverAsUser() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DWindowMagnificationPromptControllerTest.java205 String broadcastPermission, Handler scheduler) { in registerReceiver() argument
206 return mSpyContext.registerReceiver(receiver, filter, broadcastPermission, scheduler); in registerReceiver()
/frameworks/base/tests/testables/src/android/testing/
DTestableContext.java219 String broadcastPermission, Handler scheduler) { in registerReceiver() argument
221 return super.registerReceiver(receiver, filter, broadcastPermission, scheduler); in registerReceiver()
226 IntentFilter filter, String broadcastPermission, Handler scheduler) { in registerReceiverAsUser() argument
228 return super.registerReceiverAsUser(receiver, user, filter, broadcastPermission, in registerReceiverAsUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java471 String broadcastPermission, Handler scheduler) { in registerReceiver() argument
473 return spiedContext.registerReceiver(receiver, filter, broadcastPermission, scheduler); in registerReceiver()
478 IntentFilter filter, String broadcastPermission, Handler scheduler) { in registerReceiverAsUser() argument
480 return spiedContext.registerReceiverAsUser(receiver, user, filter, broadcastPermission, in registerReceiverAsUser()
/frameworks/base/ravenwood/junit-impl-src/android/platform/test/ravenwood/
DRavenwoodBaseContext.java502 String broadcastPermission, Handler scheduler) { in registerReceiver() argument
508 String broadcastPermission, Handler scheduler, int flags) { in registerReceiver() argument
514 IntentFilter filter, String broadcastPermission, Handler scheduler) { in registerReceiverAsUser() argument
520 IntentFilter filter, String broadcastPermission, Handler scheduler, int flags) { in registerReceiverAsUser() argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DApplicationContext.java800 String broadcastPermission, Handler scheduler) { in registerReceiver() argument
803 return context.registerReceiver(receiver, filter, broadcastPermission, scheduler); in registerReceiver()
810 String broadcastPermission, Handler scheduler, int flags) { in registerReceiver() argument
813 … return context.registerReceiver(receiver, filter, broadcastPermission, scheduler, flags); in registerReceiver()
820 IntentFilter filter, String broadcastPermission, Handler scheduler) { in registerReceiverAsUser() argument
823 … return context.registerReceiverAsUser(receiver, user, filter, broadcastPermission, scheduler); in registerReceiverAsUser()
830 IntentFilter filter, String broadcastPermission, Handler scheduler, int flags) { in registerReceiverAsUser() argument
833 …return context.registerReceiverAsUser(receiver, user, filter, broadcastPermission, scheduler, flag… in registerReceiverAsUser()
/frameworks/base/test-mock/api/
Dsystem-lint-baseline.txt13 Missing nullability on parameter `broadcastPermission` in method `registerReceiverForAllUsers`
/frameworks/base/core/java/android/app/
DContextImpl.java144 String broadcastPermission, Handler scheduler) { in registerReceiver() argument
148 return super.registerReceiver(null, filter, broadcastPermission, scheduler); in registerReceiver()
157 String broadcastPermission, Handler scheduler) { in registerReceiverForAllUsers() argument
159 receiver, UserHandle.ALL, filter, broadcastPermission, scheduler); in registerReceiverForAllUsers()
164 IntentFilter filter, String broadcastPermission, Handler scheduler) { in registerReceiverAsUser() argument
168 return super.registerReceiverAsUser(null, user, filter, broadcastPermission, scheduler); in registerReceiverAsUser()
1820 String broadcastPermission, Handler scheduler) { in registerReceiver() argument
1822 filter, broadcastPermission, scheduler, getOuterContext(), 0); in registerReceiver()
1827 String broadcastPermission, Handler scheduler, int flags) { in registerReceiver() argument
1829 filter, broadcastPermission, scheduler, getOuterContext(), flags); in registerReceiver()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockLockSettingsContext.java122 UserHandle user, IntentFilter filter, String broadcastPermission, in registerReceiverAsUser() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java427 String broadcastPermission, Handler scheduler) { in registerReceiver() argument
433 IntentFilter filter, String broadcastPermission, Handler scheduler) { in registerReceiverForAllUsers() argument
439 IntentFilter filter, String broadcastPermission, Handler scheduler) { in registerReceiverAsUser() argument
450 String broadcastPermission, Handler scheduler, int flags) { in registerReceiver() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileLifecycleManagerTest.java575 IntentFilter filter, @Nullable String broadcastPermission, in registerReceiverAsUser() argument
579 return super.registerReceiverAsUser(receiver, user, filter, broadcastPermission, in registerReceiverAsUser()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerNotificationWarningsTest.java108 IntentFilter filter, String broadcastPermission, Handler scheduler, int flags) { in setUp()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/startingsurface/
DStartingSurfaceDrawerTests.java122 IntentFilter filter, String broadcastPermission, Handler scheduler) { in registerReceiverAsUser() argument
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/trust/
DTrustManagerServiceTest.java889 UserHandle user, IntentFilter filter, @Nullable String broadcastPermission, in registerReceiverAsUser() argument
895 return super.registerReceiverAsUser(receiver, user, filter, broadcastPermission, in registerReceiverAsUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DAppWidgetServiceImplTest.java467 IntentFilter filter, String broadcastPermission, Handler scheduler) { in registerReceiverAsUser() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java524 IntentFilter filter, String broadcastPermission, Handler scheduler) { in callSystemReady()
529 return super.registerReceiver(receiver, filter, broadcastPermission, scheduler); in callSystemReady()
534 IntentFilter filter, String broadcastPermission, Handler scheduler) { in callSystemReady()
536 return super.registerReceiverForAllUsers(receiver, filter, broadcastPermission, in callSystemReady()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java3649 IntentFilter filter, String broadcastPermission, Handler scheduler) { in registerReceiverAsUser() argument
3651 receiver, user, filter, broadcastPermission, scheduler); in registerReceiverAsUser()
3691 IntentFilter filter, String broadcastPermission, Handler scheduler) { in registerReceiver() argument
3692 return mMockContext.registerReceiver(receiver, filter, broadcastPermission, scheduler); in registerReceiver()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/compat/overrides/
DAppCompatOverridesServiceTest.java143 @NonNull IntentFilter filter, @Nullable String broadcastPermission, in registerReceiverForAllUsers() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityManagerServiceTest.java1928 IntentFilter filter, String broadcastPermission, Handler scheduler) { in registerReceiverAsUser() argument
1940 receiver, user, filter, broadcastPermission, scheduler); in registerReceiverAsUser()

12