Home
last modified time | relevance | path

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

12

/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.java66 contextWrapper.sendBroadcast(new Intent("foo")); in registerReceiver_shouldRegisterForAllIntentFilterActions()
70 contextWrapper.sendBroadcast(new Intent("womp")); in registerReceiver_shouldRegisterForAllIntentFilterActions()
73 contextWrapper.sendBroadcast(new Intent("baz")); in registerReceiver_shouldRegisterForAllIntentFilterActions()
85 contextWrapper.sendBroadcast(new Intent("foo")); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver()
89 contextWrapper.sendBroadcast(new Intent("womp")); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver()
92 contextWrapper.sendBroadcast(new Intent("baz")); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver()
101 contextWrapper.sendBroadcast(new Intent("foo")); in sendBroadcast_shouldOnlySendIntentWithMatchingReceiverPermission()
104 contextWrapper.sendBroadcast(new Intent("foo"), null); in sendBroadcast_shouldOnlySendIntentWithMatchingReceiverPermission()
107 contextWrapper.sendBroadcast(new Intent("foo"), "wrongPermission"); in sendBroadcast_shouldOnlySendIntentWithMatchingReceiverPermission()
110 contextWrapper.sendBroadcast(new Intent("foo"), "validPermission"); in sendBroadcast_shouldOnlySendIntentWithMatchingReceiverPermission()
[all …]
/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/dagger2/java/dagger/hilt/android/example/gradle/simple/app/src/sharedTest/java/dagger/hilt/android/example/gradle/simple/
DBroadcastReceiverTest.java57 context.sendBroadcast(intent); in verifyReceiverInjectedValue()
73 context.sendBroadcast(intent); in verifyBaseReceiverInjectedValue()
89 context.sendBroadcast(intent); in verifyBaseReceiverIsNotDoubleInjected()
106 context.sendBroadcast(intent); in verifyComplexReceiverInjectedValue()
/external/angle/src/tests/test_utils/runner/android/java/src/com/android/angle/test/
DTestStatusReporter.java40 mContext.sendBroadcast(i); in sendTestRunBroadcast()
49 mContext.sendBroadcast(i); in uncaughtException()
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DPersistService.java143 sendBroadcast(intent); in handleMessage()
173 sendBroadcast(intent); in handlePublishState()
184 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/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/
DRobolectricTestUtilities.java146 context.sendBroadcast(intent); in turnOnWorkProfileWithoutUnlocking()
155 context.sendBroadcast(intent); in turnOnWorkProfile()
158 context.sendBroadcast(intent); in turnOnWorkProfile()
168 context.sendBroadcast(intent); in turnOffWorkProfile()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DSimpleLogger.java62 broadcastManager.sendBroadcast(intent); in log()
DBaseUsbConnection.java178 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/supportv4/src/main/java/org/robolectric/shadows/support/v4/
DShadowLocalBroadcastManager.java52 protected boolean sendBroadcast(Intent intent) {
/external/ims/rcs/rcsmanager/src/java/com/android/ims/
DRcsManager.java246 mContext.sendBroadcast(new Intent(intent)); in binderDied()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContextImpl.java146 protected void sendBroadcast(Intent intent) { in sendBroadcast() method in ShadowContextImpl
151 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.java598 sendBroadcast(intent, context);
601 void sendBroadcast(Intent intent, Context context) {
DShadowPendingIntent.java180 context.sendBroadcast(intentToSend); in send()
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
DPresenceBase.java190 mContext.sendBroadcast(intent); in notifyDm()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothPairingHelper.java138 c.sendBroadcast(newIntent, in onReceive()
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/activity/
DMain.java162 sendBroadcast(intent); in broadcastInstallationStateChange()
/external/ims/rcs/rcsservice/src/com/android/service/ims/
DStackListener.java388 mContext.sendBroadcast(intent,
416 mContext.sendBroadcast(intent,
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DAndroidFacade.java661 public void sendBroadcast( in sendBroadcast() method in AndroidFacade
679 mService.sendBroadcast(intent); in sendBroadcast()
750 mService.sendBroadcast(intent); in sendBroadcastIntent()
/external/downloader/src/test/java/com/google/android/downloader/
DAndroidConnectivityHandlerTest.java295 application.sendBroadcast(new Intent(CONNECTIVITY_ACTION)); in checkConnectivity_networkChange()

12