Searched refs:registerReceiver (Results 1 - 25 of 50) sorted by relevance

12

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowMapActivity.java23 registerReceiver(connectivityBroadcastReceiver, new IntentFilter());
H A DShadowContextWrapper.java86 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { method in class:ShadowContextWrapper
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
H A DBluetoothBroadcastHelper.java47 mContext.registerReceiver(mReceiver, mIntentFilter);
H A DBluetoothConnectionFacade.java294 mService.registerReceiver(mPairingHelper, mPairingFilter);
306 mService.registerReceiver(receiver, mA2dpStateChangeFilter);
320 mService.registerReceiver(receiver, mA2dpSinkStateChangeFilter);
334 mService.registerReceiver(receiver, mHidStateChangeFilter);
346 mService.registerReceiver(receiver, mHspStateChangeFilter);
358 mService.registerReceiver(receiver, mHfpClientStateChangeFilter);
370 mService.registerReceiver(receiver, mPanStateChangeFilter);
394 mService.registerReceiver(mPairingHelper, mPairingFilter);
436 mService.registerReceiver(receiver, mDiscoverConnectFilter);
461 mService.registerReceiver(receive
[all...]
H A DBluetoothDiscoveryHelper.java83 mContext.registerReceiver(mReceiver, filter);
H A DBluetoothFacade.java296 mService.registerReceiver(mStateReceiver,
315 mService.registerReceiver(mDiscoveryReceiver, discoveryFilter);
377 mService.registerReceiver(mBleStateReceiver,
384 mService.registerReceiver(mBleStateReceiver,
397 mService.registerReceiver(mMultiStateReceiver,
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DLocalBroadcastManagerTest.java37 instance.registerReceiver(receiver, new IntentFilter("com.foo"));
57 instance.registerReceiver(receiver, new IntentFilter("com.foo"));
H A DServiceTest.java28 service.registerReceiver(new AppWidgetProvider(), new IntentFilter());
37 service2.registerReceiver(new AppWidgetProvider(), new IntentFilter());
H A DContextWrapperTest.java43 contextWrapper.registerReceiver(receiver, intentFilter("foo", "baz"));
58 contextWrapper.registerReceiver(larryReceiver, intentFilter("foo", "baz"));
61 contextWrapper.registerReceiver(bobReceiver, intentFilter("foo"));
77 contextWrapper.registerReceiver(receiver, intentFilter("foo", "baz"));
93 new ContextWrapper(Robolectric.application).registerReceiver(receiver, intentFilter("foo", "baz"));
H A DApplicationTest.java224 activity.registerReceiver(new TestBroadcastReceiver(), new IntentFilter("Foo"));
232 activity.registerReceiver(new TestBroadcastReceiver(), new IntentFilter("Foo"));
242 Robolectric.application.registerReceiver(expectedReceiver, new IntentFilter("Foo"));
252 Robolectric.application.registerReceiver(expectedReceiver, new IntentFilter("Foo"));
253 Robolectric.application.registerReceiver(expectedReceiver, new IntentFilter("Foo"));
H A DActivityTest.java42 activity.registerReceiver(new AppWidgetProvider(), new IntentFilter());
51 activity2.registerReceiver(new AppWidgetProvider(), new IntentFilter());
59 activity.registerReceiver(null, new IntentFilter());
/external/glide/library/src/main/java/com/bumptech/glide/manager/
H A DDefaultConnectivityMonitor.java39 context.registerReceiver(connectivityReceiver, new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION));
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
H A DNetworkMonitorAutoDetect.java241 final Intent intent = context.registerReceiver(null,
298 registerReceiver();
330 private void registerReceiver() { method in class:NetworkMonitorAutoDetect
333 context.registerReceiver(this, intentFilter);
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
H A DNfcManagerFacade.java84 mService.registerReceiver(mNfcStateReceiver, mStateChangeFilter);
H A DBatteryManagerFacade.java138 mService.registerReceiver(mReceiver, filter);
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/
H A DMediaScannerFacade.java71 mService.registerReceiver(mReceiver,
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
H A DInactivityTimer.java70 activity.registerReceiver(powerStatusReceiver, new IntentFilter(Intent.ACTION_BATTERY_CHANGED));
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
H A DApplicationResolver.java48 shadowApplication.registerReceiver((BroadcastReceiver) Robolectric.newInstanceOf(receiverClassName), filter);
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
H A DMockContext.java299 public Intent registerReceiver(BroadcastReceiver broadcastReceiver, IntentFilter intentFilter) { method in class:MockContext.MockContext2
304 public Intent registerReceiver(BroadcastReceiver broadcastReceiver, IntentFilter intentFilter, String s, Handler handler) { method in class:MockContext.MockContext2
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
H A DSmsFacade.java178 mService.registerReceiver(mSmsSendListener, smsFilter);
179 mService.registerReceiver(mMmsSendListener, mmsFilter);
240 mService.registerReceiver(mSmsIncomingListener,
269 mService.registerReceiver(mMmsIncomingListener, mmsReceived);
415 mService.registerReceiver(mGsmEmergencyCBMessageListener,
443 mService.registerReceiver(mCdmaEmergencyCBMessageListener,
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
H A DAppRTCAudioManager.java260 apprtcContext.registerReceiver(wiredHeadsetReceiver, filter);
/external/ims/rcs/rcsservice/src/com/android/service/ims/
H A DRcsService.java137 registerReceiver(mReceiver, statusFilter);
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/
H A DInterpreterConfiguration.java226 mContext.registerReceiver(mListener, filter);
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
H A DWifiManagerFacade.java830 mService.registerReceiver(mScanResultsAvailableReceiver, mScanFilter);
846 mService.registerReceiver(mStateChangeReceiver, mStateChangeFilter);
860 mService.registerReceiver(mTetherStateReceiver, mTetherFilter);
/external/apache-http/android/src/android/net/http/
H A DRequestQueue.java231 mContext.registerReceiver(mProxyChangeReceiver,

Completed in 563 milliseconds

12