Home
last modified time | relevance | path

Searched refs:receiverPermission (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/broadcast/
DBroadcastSender.kt43 fun sendBroadcast(intent: Intent, receiverPermission: String?) { in sendBroadcast()
45 context.sendBroadcast(intent, receiverPermission) in sendBroadcast()
65 fun sendBroadcastAsUser(intent: Intent, userHandle: UserHandle, receiverPermission: String?) { in sendBroadcastAsUser()
67 context.sendBroadcastAsUser(intent, userHandle, receiverPermission) in sendBroadcastAsUser()
79 receiverPermission: String?, in sendBroadcastAsUser()
83 context.sendBroadcastAsUser(intent, userHandle, receiverPermission, options) in sendBroadcastAsUser()
95 receiverPermission: String?, in sendBroadcastAsUser()
99 context.sendBroadcastAsUser(intent, userHandle, receiverPermission, appOp) in sendBroadcastAsUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java303 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() argument
304 spiedContext.sendBroadcast(intent, receiverPermission); in sendBroadcast()
325 public void sendBroadcast(Intent intent, String receiverPermission, Bundle options) { in sendBroadcast() argument
326 spiedContext.sendBroadcast(intent, receiverPermission, options); in sendBroadcast()
330 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument
331 spiedContext.sendBroadcast(intent, receiverPermission, appOp); in sendBroadcast()
335 public void sendOrderedBroadcast(Intent intent, String receiverPermission) { in sendOrderedBroadcast() argument
336 spiedContext.sendOrderedBroadcast(intent, receiverPermission); in sendOrderedBroadcast()
340 public void sendOrderedBroadcast(Intent intent, String receiverPermission, in sendOrderedBroadcast() argument
343 spiedContext.sendOrderedBroadcast(intent, receiverPermission, resultReceiver, scheduler, in sendOrderedBroadcast()
[all …]
/frameworks/base/core/java/android/content/
DContextWrapper.java510 public void sendBroadcast(Intent intent, @Nullable String receiverPermission) { in sendBroadcast() argument
511 mBase.sendBroadcast(intent, receiverPermission); in sendBroadcast()
545 public void sendBroadcast(@NonNull Intent intent, @Nullable String receiverPermission, in sendBroadcast() argument
547 mBase.sendBroadcast(intent, receiverPermission, options); in sendBroadcast()
552 public void sendBroadcast(Intent intent, @Nullable String receiverPermission, int appOp) { in sendBroadcast() argument
553 mBase.sendBroadcast(intent, receiverPermission, appOp); in sendBroadcast()
558 @Nullable String receiverPermission) { in sendOrderedBroadcast() argument
559 mBase.sendOrderedBroadcast(intent, receiverPermission); in sendOrderedBroadcast()
565 @Nullable String receiverPermission, in sendOrderedBroadcast() argument
567 mBase.sendOrderedBroadcast(intent, receiverPermission, options); in sendOrderedBroadcast()
[all …]
DContext.java2417 @Nullable String receiverPermission); in sendBroadcast() argument
2608 @Nullable String receiverPermission, in sendBroadcast() argument
2621 String receiverPermission, int appOp); in sendBroadcast() argument
2644 @Nullable String receiverPermission); in sendOrderedBroadcast() argument
2667 public void sendOrderedBroadcast(@NonNull Intent intent, @Nullable String receiverPermission, in sendOrderedBroadcast() argument
2713 @Nullable String receiverPermission, @Nullable BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
2760 @Nullable String receiverPermission, @Nullable Bundle options, in sendOrderedBroadcast() argument
2775 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
2807 UserHandle user, @Nullable String receiverPermission); in sendBroadcastAsUser() argument
2830 UserHandle user, @Nullable String receiverPermission, @Nullable Bundle options); in sendBroadcastAsUser() argument
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DApplicationContext.java587 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() argument
590 context.sendBroadcast(intent, receiverPermission); in sendBroadcast()
604 public void sendBroadcast(Intent intent, String receiverPermission, Bundle options) { in sendBroadcast() argument
607 context.sendBroadcast(intent, receiverPermission, options); in sendBroadcast()
612 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument
615 context.sendBroadcast(intent, receiverPermission, appOp); in sendBroadcast()
620 public void sendOrderedBroadcast(Intent intent, String receiverPermission) { in sendOrderedBroadcast() argument
623 context.sendOrderedBroadcast(intent, receiverPermission); in sendOrderedBroadcast()
628 public void sendOrderedBroadcast(Intent intent, String receiverPermission, in sendOrderedBroadcast() argument
633 …context.sendOrderedBroadcast(intent, receiverPermission, resultReceiver, scheduler, initialCode, i… in sendOrderedBroadcast()
[all …]
DBridgeContext.java1827 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument
1854 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast() argument
1867 String receiverPermission) { in sendBroadcastAsUser() argument
1873 String receiverPermission, Bundle options) { in sendBroadcastAsUser() argument
1878 String receiverPermission, int appOp) { in sendBroadcastAsUser() argument
1884 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument
1891 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
1899 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java366 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() argument
393 public void sendBroadcast(Intent intent, String receiverPermission, Bundle options) { in sendBroadcast() argument
399 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument
405 String receiverPermission) { in sendOrderedBroadcast() argument
410 public void sendOrderedBroadcast(Intent intent, String receiverPermission, in sendOrderedBroadcast() argument
419 public void sendOrderedBroadcast(Intent intent, String receiverPermission, in sendOrderedBroadcast() argument
427 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast() argument
440 String receiverPermission) { in sendBroadcastAsUser() argument
448 String receiverPermission, Bundle options) { in sendBroadcastAsUser() argument
455 String receiverPermission, int appOp) { in sendBroadcastAsUser() argument
[all …]
/frameworks/base/ravenwood/junit-impl-src/android/platform/test/ravenwood/
DRavenwoodBaseContext.java371 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() argument
382 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument
387 public void sendOrderedBroadcast(Intent intent, String receiverPermission) { in sendOrderedBroadcast() argument
392 public void sendOrderedBroadcast(Intent intent, String receiverPermission, in sendOrderedBroadcast() argument
399 public void sendOrderedBroadcast(Intent intent, String receiverPermission, in sendOrderedBroadcast() argument
411 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission) { in sendBroadcastAsUser() argument
416 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission, in sendBroadcastAsUser() argument
422 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission, in sendBroadcastAsUser() argument
429 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument
436 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
[all …]
/frameworks/base/core/java/android/telephony/
DCellBroadcastIntents.java91 String receiverPermission = Manifest.permission.RECEIVE_SMS; in sendSmsCbReceivedBroadcast() local
95 receiverPermission, receiverAppOp, resultReceiver, scheduler, initialCode, in sendSmsCbReceivedBroadcast()
98 context.sendOrderedBroadcast(backgroundIntent, receiverPermission, in sendSmsCbReceivedBroadcast()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java480 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() argument
486 public void sendBroadcast(Intent intent, String receiverPermission, Bundle initialExtras) { in sendBroadcast() argument
492 public void sendOrderedBroadcast(Intent intent, String receiverPermission) { in sendOrderedBroadcast() argument
498 public void sendOrderedBroadcast(Intent intent, String receiverPermission, in sendOrderedBroadcast() argument
501 sendOrderedBroadcast(intent, receiverPermission); in sendOrderedBroadcast()
510 public void sendOrderedBroadcast(Intent intent, String receiverPermission, Bundle options, in sendOrderedBroadcast() argument
514 sendOrderedBroadcast(intent, receiverPermission, resultReceiver, scheduler, in sendOrderedBroadcast()
519 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast() argument
522 sendOrderedBroadcast(intent, receiverPermission, resultReceiver, scheduler, in sendOrderedBroadcast()
533 String receiverPermission) { in sendBroadcastAsUser() argument
[all …]
/frameworks/base/core/java/android/app/
DContextImpl.java1263 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() argument
1266 String[] receiverPermissions = receiverPermission == null ? null in sendBroadcast()
1267 : new String[] {receiverPermission}; in sendBroadcast()
1347 public void sendBroadcast(Intent intent, String receiverPermission, Bundle options) { in sendBroadcast() argument
1350 String[] receiverPermissions = receiverPermission == null ? null in sendBroadcast()
1351 : new String[] {receiverPermission}; in sendBroadcast()
1375 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument
1378 String[] receiverPermissions = receiverPermission == null ? null in sendBroadcast()
1379 : new String[] {receiverPermission}; in sendBroadcast()
1393 public void sendOrderedBroadcast(Intent intent, String receiverPermission) { in sendOrderedBroadcast() argument
[all …]
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBroadcastInterceptingContext.java216 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() argument
244 String receiverPermission) { in sendBroadcastAsUser() argument
250 String receiverPermission, Bundle options) { in sendBroadcastAsUser() argument
/frameworks/base/errorprone/tests/res/android/content/
DContext.java32 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() argument
/frameworks/base/test-runner/src/android/test/
DIsolatedContext.java117 public void sendOrderedBroadcast(Intent intent, String receiverPermission) { in sendOrderedBroadcast() argument
/frameworks/base/services/core/java/com/android/server/pm/
DVerifyingSession.java571 final String receiverPermission; in sendPackageVerificationRequest() local
582 receiverPermission = android.Manifest.permission.PACKAGE_VERIFICATION_AGENT; in sendPackageVerificationRequest()
602 receiverPermission = null; in sendPackageVerificationRequest()
618 receiverPermission, AppOpsManager.OP_NONE, options.toBundle(), in sendPackageVerificationRequest()
/frameworks/base/test-mock/api/
Dlint-baseline.txt47 Missing nullability on parameter `receiverPermission` in method `sendOrderedBroadcast`
/frameworks/base/test-runner/api/
Dlint-baseline.txt93 Missing nullability on parameter `receiverPermission` in method `sendOrderedBroadcast`
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/trust/
DTrustManagerServiceTest.java901 @Nullable String receiverPermission, @Nullable Bundle options) { in sendBroadcastAsUser() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java70 UserHandle user, String receiverPermission, Bundle options) { in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java3684 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission, in sendBroadcastAsUser() argument
3686 mMockContext.sendBroadcastAsUser(intent, user, receiverPermission, options); in sendBroadcastAsUser()