/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowContextWrapperTest.java | 59 contextWrapper.registerReceiver(receiver, intentFilter("foo", "baz")); in registerReceiver_shouldRegisterForAllIntentFilterActions() 75 contextWrapper.registerReceiver(larryReceiver, intentFilter("foo", "baz")); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver() 78 contextWrapper.registerReceiver(bobReceiver, intentFilter("foo")); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver() 94 contextWrapper.registerReceiver(receiver, intentFilter("foo", "baz"), "validPermission", null); in sendBroadcast_shouldOnlySendIntentWithMatchingReceiverPermission() 122 contextWrapper.registerReceiver(receiver, intentFilter("foo", "baz"), null, handler); in sendBroadcast_shouldSendIntentUsingHandlerIfOneIsProvided() 140 contextWrapper.registerReceiver(lowReceiver, lowFilter); in sendOrderedBroadcast_shouldReturnValues() 145 contextWrapper.registerReceiver(highReceiver, highFilter); in sendOrderedBroadcast_shouldReturnValues() 172 contextWrapper.registerReceiver(lowReceiver, lowFilter); in sendOrderedBroadcast_shouldExecuteSerially() 177 contextWrapper.registerReceiver(midReceiver, midFilter); in sendOrderedBroadcast_shouldExecuteSerially() 182 contextWrapper.registerReceiver(highReceiver, highFilter); in sendOrderedBroadcast_shouldExecuteSerially() [all …]
|
D | ShadowApplicationTest.java | 435 activity.registerReceiver(new TestBroadcastReceiver(), new IntentFilter("Foo")); in shouldThrowIfContainsRegisteredReceiverOfAction() 449 activity.registerReceiver(new TestBroadcastReceiver(), new IntentFilter("Foo")); in shouldNotThrowIfDoesNotContainsRegisteredReceiverOfAction() 459 context.registerReceiver(expectedReceiver, new IntentFilter("Foo")); in canAnswerIfReceiverIsRegisteredForIntent() 469 context.registerReceiver(expectedReceiver, new IntentFilter("Foo")); in canFindAllReceiversForAnIntent() 470 context.registerReceiver(expectedReceiver, new IntentFilter("Foo")); in canFindAllReceiversForAnIntent() 492 context.registerReceiver(receiver, new IntentFilter("Foo")); in sendStickyBroadcast()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
D | BluetoothConnectionFacade.java | 383 mService.registerReceiver(receiver, mA2dpStateChangeFilter); in bluetoothStartConnectionStateChangeMonitor() 384 mService.registerReceiver(receiver, mA2dpSinkStateChangeFilter); in bluetoothStartConnectionStateChangeMonitor() 385 mService.registerReceiver(receiver, mHidStateChangeFilter); in bluetoothStartConnectionStateChangeMonitor() 386 mService.registerReceiver(receiver, mHspStateChangeFilter); in bluetoothStartConnectionStateChangeMonitor() 387 mService.registerReceiver(receiver, mHfpClientStateChangeFilter); in bluetoothStartConnectionStateChangeMonitor() 388 mService.registerReceiver(receiver, mPbapClientStateChangeFilter); in bluetoothStartConnectionStateChangeMonitor() 389 mService.registerReceiver(receiver, mPanStateChangeFilter); in bluetoothStartConnectionStateChangeMonitor() 390 mService.registerReceiver(receiver, mMapClientStateChangeFilter); in bluetoothStartConnectionStateChangeMonitor() 391 mService.registerReceiver(receiver, mMapStateChangeFilter); in bluetoothStartConnectionStateChangeMonitor() 403 mService.registerReceiver(mPairingHelper, mPairingFilter); in connectProfile() [all …]
|
D | BluetoothFacade.java | 337 mService.registerReceiver(mStateReceiver, in bluetoothToggleState() 355 mService.registerReceiver(mDiscoveryReceiver, discoveryFilter); in bluetoothStartDiscovery() 460 mService.registerReceiver(mBleStateReceiver, in bluetoothEnableBLE() 467 mService.registerReceiver(mBleStateReceiver, in bluetoothDisableBLE() 474 mService.registerReceiver(mBleStateReceiver, in bluetoothListenForBleStateChange() 493 mService.registerReceiver(mMultiStateReceiver, in bluetoothStartListeningForAdapterStateChange()
|
D | BluetoothBroadcastHelper.java | 50 mContext.registerReceiver(mReceiver, mIntentFilter); in startReceiver()
|
D | BluetoothDiscoveryHelper.java | 104 mContext.registerReceiver(mReceiver, filter); in startDiscovery()
|
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/ |
D | ShadowLocalBroadcastManagerTest.java | 45 instance.registerReceiver(receiver, new IntentFilter("com.foo")); in shouldSendBroadcasts() 65 instance.registerReceiver(receiver, intentFilter); in shouldSendBroadcastsWithDataScheme() 83 instance.registerReceiver(receiver, new IntentFilter("com.foo")); in shouldUnregisterReceiver() 92 broadcastManager.registerReceiver(new BroadcastReceiver() { in testGetBroadcastIntents() 118 broadcastManager.registerReceiver(receiver, filter); in testGetRegisteredBroadcastReceivers()
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
D | NetworkMonitorAutoDetect.java | 241 final Intent intent = context.registerReceiver(null, in getWifiSSID() 298 registerReceiver(); in NetworkMonitorAutoDetect() 330 private void registerReceiver() { in registerReceiver() method in NetworkMonitorAutoDetect 333 context.registerReceiver(this, intentFilter); in registerReceiver()
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | SimpleLogger.java | 64 public void registerReceiver(BroadcastReceiver broadcastReceiver) { in registerReceiver() method in SimpleLogger 65 broadcastManager.registerReceiver(broadcastReceiver, new IntentFilter(LOG_INTENT)); in registerReceiver()
|
D | BaseUsbConnection.java | 103 broadcastManager.registerReceiver(currentConnectReceiver, in registerConnectCallback() 132 context.registerReceiver(respondToUsbPermission, in connect() 172 BaseUsbConnection.this.context.registerReceiver(disconnectReceiver,
|
D | LogFragment.java | 71 logger.registerReceiver(logReceiver); in onResume()
|
D | DiagnosticsFragment.java | 69 logger.registerReceiver(logReceiver); in onResume()
|
D | MidiFragment.java | 71 logger.registerReceiver(logReceiver); in onResume()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowContextImpl.java | 193 protected Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver() method in ShadowContextImpl 194 return getShadowInstrumentation().registerReceiver(receiver, filter, realContextImpl); in registerReceiver() 198 protected Intent registerReceiver( in registerReceiver() method in ShadowContextImpl 204 .registerReceiver(receiver, filter, broadcastPermission, scheduler, realContextImpl); in registerReceiver()
|
D | ShadowInstrumentation.java | 600 Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, Context context) { 601 return registerReceiver(receiver, filter, null, null, context); 604 Intent registerReceiver(
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
D | SmsFacade.java | 188 mService.registerReceiver(mSmsSendListener, smsFilter); in SmsFacade() 189 mService.registerReceiver(mMmsSendListener, mmsFilter); in SmsFacade() 278 mService.registerReceiver(mSmsIncomingListener, in smsStartTrackingIncomingSmsMessage() 307 mService.registerReceiver(mMmsIncomingListener, mmsReceived); in smsStartTrackingIncomingMmsMessage() 451 mService.registerReceiver(mGsmEmergencyCBMessageListener, in smsStartTrackingGsmEmergencyCBMessage() 479 mService.registerReceiver(mCdmaEmergencyCBMessageListener, in smsStartTrackingCdmaEmergencyCBMessage()
|
/external/glide/library/src/main/java/com/bumptech/glide/manager/ |
D | DefaultConnectivityMonitor.java | 39 …context.registerReceiver(connectivityReceiver, new IntentFilter(ConnectivityManager.CONNECTIVITY_A… in register()
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/ |
D | MockContext.java | 299 … public Intent registerReceiver(BroadcastReceiver broadcastReceiver, IntentFilter intentFilter) { in registerReceiver() method in MockContext.MockContext2 304 …public Intent registerReceiver(BroadcastReceiver broadcastReceiver, IntentFilter intentFilter, Str… in registerReceiver() method in MockContext.MockContext2
|
/external/ims/rcs/presencepolling/tests/src/com/android/service/ims/presence/ |
D | PollingServiceTests.java | 69 verify(mTestContext).registerReceiver(eq(mReceiver), captor.capture()); in testRegisterCarrierConfigReceiver()
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
D | InactivityTimer.java | 70 activity.registerReceiver(powerStatusReceiver, new IntentFilter(Intent.ACTION_BATTERY_CHANGED)); in onResume()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | NfcManagerFacade.java | 84 mService.registerReceiver(mNfcStateReceiver, mStateChangeFilter); in nfcStartTrackingStateChange()
|
D | BatteryManagerFacade.java | 138 mService.registerReceiver(mReceiver, filter); in batteryStartMonitoring()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/ |
D | MediaScannerFacade.java | 71 mService.registerReceiver(mReceiver, in mediaScanForFiles()
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | PollingService.java | 121 registerReceiver(mReceiver, filter); in registerBroadcastReceiver()
|
/external/robolectric-shadows/shadows/supportv4/src/main/java/org/robolectric/shadows/support/v4/ |
D | ShadowLocalBroadcastManager.java | 36 protected void registerReceiver(BroadcastReceiver receiver, IntentFilter filter) {
|