Home
last modified time | relevance | path

Searched refs:sendBroadcast (Results 1 – 23 of 23) sorted by relevance

/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/
DShadowLocalBroadcastManagerTest.java47 instance.sendBroadcast(new Intent("com.bar")); in shouldSendBroadcasts()
49 instance.sendBroadcast(new Intent("com.foo")); in shouldSendBroadcasts()
67 instance.sendBroadcast(new Intent("com.foo", Uri.parse("ftp://robolectric.org"))); in shouldSendBroadcastsWithDataScheme()
69 instance.sendBroadcast(new Intent("com.foo", Uri.parse("http://robolectric.org"))); in shouldSendBroadcastsWithDataScheme()
85 instance.sendBroadcast(new Intent("com.foo")); in shouldUnregisterReceiver()
99 broadcastManager.sendBroadcast(intent1); in testGetBroadcastIntents()
101 broadcastManager.sendBroadcast(intent2); in testGetBroadcastIntents()
136 broadcastManager.sendBroadcast(broadcastIntent); in testGetSentBroadcastIntents()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextWrapperTest.java61 contextWrapper.sendBroadcast(new Intent("foo")); in registerReceiver_shouldRegisterForAllIntentFilterActions()
65 contextWrapper.sendBroadcast(new Intent("womp")); in registerReceiver_shouldRegisterForAllIntentFilterActions()
68 contextWrapper.sendBroadcast(new Intent("baz")); in registerReceiver_shouldRegisterForAllIntentFilterActions()
80 contextWrapper.sendBroadcast(new Intent("foo")); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver()
84 contextWrapper.sendBroadcast(new Intent("womp")); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver()
87 contextWrapper.sendBroadcast(new Intent("baz")); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver()
96 contextWrapper.sendBroadcast(new Intent("foo")); in sendBroadcast_shouldOnlySendIntentWithMatchingReceiverPermission()
99 contextWrapper.sendBroadcast(new Intent("foo"), null); in sendBroadcast_shouldOnlySendIntentWithMatchingReceiverPermission()
102 contextWrapper.sendBroadcast(new Intent("foo"), "wrongPermission"); in sendBroadcast_shouldOnlySendIntentWithMatchingReceiverPermission()
105 contextWrapper.sendBroadcast(new Intent("foo"), "validPermission"); in sendBroadcast_shouldOnlySendIntentWithMatchingReceiverPermission()
[all …]
DShadowApplicationTest.java478 context.sendBroadcast(broadcastIntent); in broadcasts_shouldBeLogged()
/external/grpc-grpc-java/android/src/test/java/io/grpc/android/
DAndroidChannelBuilderTest.java132 RuntimeEnvironment.application.sendBroadcast( in nullContextDoesNotThrow_api23()
166 RuntimeEnvironment.application.sendBroadcast( in resetConnectBackoff_api23()
171 RuntimeEnvironment.application.sendBroadcast( in resetConnectBackoff_api23()
177 RuntimeEnvironment.application.sendBroadcast( in resetConnectBackoff_api23()
183 RuntimeEnvironment.application.sendBroadcast( in resetConnectBackoff_api23()
189 RuntimeEnvironment.application.sendBroadcast( in resetConnectBackoff_api23()
196 RuntimeEnvironment.application.sendBroadcast( in resetConnectBackoff_api23()
200 RuntimeEnvironment.application.sendBroadcast( in resetConnectBackoff_api23()
280 RuntimeEnvironment.application.sendBroadcast( in shutdownNowUnregistersBroadcastReceiver_api23()
284 RuntimeEnvironment.application.sendBroadcast( in shutdownNowUnregistersBroadcastReceiver_api23()
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DPersistService.java144 sendBroadcast(intent); in handleMessage()
174 sendBroadcast(intent); in handlePublishState()
185 sendBroadcast(intent); in handlePublishState()
DEABProvider.java390 getContext().sendBroadcast(intent); in sendInsertBroadcast()
397 getContext().sendBroadcast(intent, "com.android.ims.permission.PRESENCE_ACCESS"); in sendEabResetBroadcast()
DDatabaseContentProvider.java423 context.sendBroadcast(fullStorageIntent); in sendStorageFullIntent()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/
DMediaScannerFacade.java69 mService.sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, in mediaScanForFiles()
77 mService.sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.parse(path))); in mediaScanForOneFile()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DSimpleLogger.java60 broadcastManager.sendBroadcast(intent); in log()
DBaseUsbConnection.java177 broadcastManager.sendBroadcast(new Intent(getConnectIntent()));
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
DMockContext.java264 public void sendBroadcast(Intent intent) { in sendBroadcast() method in MockContext.MockContext2
269 public void sendBroadcast(Intent intent, String s) { in sendBroadcast() method in MockContext.MockContext2
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContextImpl.java145 protected void sendBroadcast(Intent intent) { in sendBroadcast() method in ShadowContextImpl
150 protected void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() method in ShadowContextImpl
DShadowUsbManager.java205 application.sendBroadcast(new Intent(UsbManager.ACTION_USB_PORT_CHANGED)); in setPortRoles()
DShadowInstrumentation.java593 sendBroadcast(intent, context);
596 void sendBroadcast(Intent intent, Context context) {
DShadowPendingIntent.java180 context.sendBroadcast(intentToSend); in send()
DShadowLocationManager.java123 getContext().sendBroadcast(intent); in setProviderEnabled()
/external/robolectric-shadows/shadows/supportv4/src/main/java/org/robolectric/shadows/support/v4/
DShadowLocalBroadcastManager.java52 protected boolean sendBroadcast(Intent intent) {
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothPairingHelper.java138 c.sendBroadcast(newIntent, in onReceive()
/external/ims/rcs/rcsmanager/src/java/com/android/ims/
DRcsManager.java380 mContext.sendBroadcast(new Intent(intent)); in binderDied()
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
DStackListener.java351 mContext.sendBroadcast(intent,
381 mContext.sendBroadcast(intent,
DPresenceBase.java157 mContext.sendBroadcast(intent); in notifyDm()
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/activity/
DMain.java162 sendBroadcast(intent); in broadcastInstallationStateChange()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DAndroidFacade.java649 public void sendBroadcast( in sendBroadcast() method in AndroidFacade
667 mService.sendBroadcast(intent); in sendBroadcast()
738 mService.sendBroadcast(intent); in sendBroadcastIntent()