Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java451 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() argument
452 spiedContext.sendBroadcast(intent, receiverPermission); in sendBroadcast()
461 public void sendBroadcast(Intent intent, String receiverPermission, Bundle options) { in sendBroadcast() argument
462 spiedContext.sendBroadcast(intent, receiverPermission, options); in sendBroadcast()
466 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument
467 spiedContext.sendBroadcast(intent, receiverPermission, appOp); in sendBroadcast()
471 public void sendOrderedBroadcast(Intent intent, String receiverPermission) { in sendOrderedBroadcast() argument
472 spiedContext.sendOrderedBroadcast(intent, receiverPermission); in sendOrderedBroadcast()
476 public void sendOrderedBroadcast(Intent intent, String receiverPermission, in sendOrderedBroadcast() argument
479 spiedContext.sendOrderedBroadcast(intent, receiverPermission, resultReceiver, scheduler, in sendOrderedBroadcast()
[all …]
/frameworks/base/core/java/android/content/
DContextWrapper.java425 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() argument
426 mBase.sendBroadcast(intent, receiverPermission); in sendBroadcast()
438 public void sendBroadcast(Intent intent, String receiverPermission, Bundle options) { in sendBroadcast() argument
439 mBase.sendBroadcast(intent, receiverPermission, options); in sendBroadcast()
444 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument
445 mBase.sendBroadcast(intent, receiverPermission, appOp); in sendBroadcast()
450 String receiverPermission) { in sendOrderedBroadcast() argument
451 mBase.sendOrderedBroadcast(intent, receiverPermission); in sendOrderedBroadcast()
456 Intent intent, String receiverPermission, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
459 mBase.sendOrderedBroadcast(intent, receiverPermission, in sendOrderedBroadcast()
[all …]
DContext.java1804 @Nullable String receiverPermission); in sendBroadcast() argument
1862 @Nullable String receiverPermission, in sendBroadcast() argument
1871 String receiverPermission, int appOp); in sendBroadcast() argument
1894 @Nullable String receiverPermission); in sendOrderedBroadcast() argument
1937 @Nullable String receiverPermission, @Nullable BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
1986 @Nullable String receiverPermission, @Nullable Bundle options, in sendOrderedBroadcast() argument
1997 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
2029 UserHandle user, @Nullable String receiverPermission); in sendBroadcastAsUser() argument
2051 UserHandle user, @Nullable String receiverPermission, int appOp); in sendBroadcastAsUser() argument
2084 UserHandle user, @Nullable String receiverPermission, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellBroadcastHandler.java78 String receiverPermission; in handleBroadcastSms() local
85 receiverPermission = Manifest.permission.RECEIVE_EMERGENCY_BROADCAST; in handleBroadcastSms()
90 receiverPermission = Manifest.permission.RECEIVE_SMS; in handleBroadcastSms()
95 mContext.sendOrderedBroadcastAsUser(intent, UserHandle.ALL, receiverPermission, appOp, in handleBroadcastSms()
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java342 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() argument
355 public void sendBroadcast(Intent intent, String receiverPermission, Bundle options) { in sendBroadcast() argument
361 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument
367 String receiverPermission) { in sendOrderedBroadcast() argument
372 public void sendOrderedBroadcast(Intent intent, String receiverPermission, in sendOrderedBroadcast() argument
381 public void sendOrderedBroadcast(Intent intent, String receiverPermission, in sendOrderedBroadcast() argument
389 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast() argument
402 String receiverPermission) { in sendBroadcastAsUser() argument
409 String receiverPermission, int appOp) { in sendBroadcastAsUser() argument
415 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument
[all …]
/frameworks/base/core/java/android/app/
DContextImpl.java919 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() argument
922 String[] receiverPermissions = receiverPermission == null ? null in sendBroadcast()
923 : new String[] {receiverPermission}; in sendBroadcast()
951 public void sendBroadcast(Intent intent, String receiverPermission, Bundle options) { in sendBroadcast() argument
954 String[] receiverPermissions = receiverPermission == null ? null in sendBroadcast()
955 : new String[] {receiverPermission}; in sendBroadcast()
968 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument
971 String[] receiverPermissions = receiverPermission == null ? null in sendBroadcast()
972 : new String[] {receiverPermission}; in sendBroadcast()
985 public void sendOrderedBroadcast(Intent intent, String receiverPermission) { in sendOrderedBroadcast() argument
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java300 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() argument
312 String receiverPermission) { in sendBroadcastAsUser() argument
318 String receiverPermission, int appOp) { in sendBroadcastAsUser() argument
324 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument
337 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
350 String receiverPermission, int appOp, Bundle options, in sendOrderedBroadcastAsUser() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/
DBroadcastInterceptingContext.java138 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() argument
154 String receiverPermission) { in sendBroadcastAsUser() argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1574 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument
1601 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast() argument
1614 String receiverPermission) { in sendBroadcastAsUser() argument
1619 String receiverPermission, int appOp) { in sendBroadcastAsUser() argument
1625 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument
1632 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
1640 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
/frameworks/base/test-runner/src/android/test/
DIsolatedContext.java102 public void sendOrderedBroadcast(Intent intent, String receiverPermission) { in sendOrderedBroadcast() argument