Home
last modified time | relevance | path

Searched refs:mReceiver (Results 1 – 8 of 8) sorted by relevance

/development/samples/browseable/ElizaChat/Application/src/com.example.android.wearable.elizachat/
DMainActivity.java43 private BroadcastReceiver mReceiver; field in MainActivity
51 mReceiver = new BroadcastReceiver() { in onCreate()
69 LocalBroadcastManager.getInstance(this).registerReceiver(mReceiver, in onResume()
79 LocalBroadcastManager.getInstance(this).unregisterReceiver(mReceiver); in onPause()
/development/samples/Support4Demos/src/com/example/android/supportv4/content/
DLocalServiceBroadcaster.java48 BroadcastReceiver mReceiver; field in LocalServiceBroadcaster
70 mReceiver = new BroadcastReceiver() { in onCreate()
82 mLocalBroadcastManager.registerReceiver(mReceiver, filter); in onCreate()
94 mLocalBroadcastManager.unregisterReceiver(mReceiver); in onDestroy()
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DDeviceListActivity.java105 this.registerReceiver(mReceiver, filter); in onCreate()
109 this.registerReceiver(mReceiver, filter); in onCreate()
139 this.unregisterReceiver(mReceiver); in onDestroy()
191 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in DeviceListActivity
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DDeviceListActivity.java96 this.registerReceiver(mReceiver, filter); in onCreate()
100 this.registerReceiver(mReceiver, filter); in onCreate()
130 this.unregisterReceiver(mReceiver); in onDestroy()
177 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in DeviceListActivity
/development/apps/Development/src/com/android/development/
DMediaScannerActivity.java70 registerReceiver(mReceiver, intentFilter); in onCreate()
105 unregisterReceiver(mReceiver); in onDestroy()
110 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in MediaScannerActivity
DConnectivity.java146 public BroadcastReceiver mReceiver = new BroadcastReceiver() { field in Connectivity
320 registerReceiver(mReceiver, new IntentFilter(CONNECTIVITY_TEST_ALARM)); in onCreate()
326 unregisterReceiver(mReceiver); in onDestroy()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DChangedContacts.java59 private BroadcastReceiver mReceiver = new BroadcastReceiver() { field in ChangedContacts
123 registerReceiver(mReceiver, filter); in onResume()
129 unregisterReceiver(mReceiver); in onPause()
/development/samples/BluetoothHDP/src/com/example/bluetooth/health/
DBluetoothHDPActivity.java198 registerReceiver(mReceiver, initIntentFilter()); in onCreate()
226 unregisterReceiver(mReceiver); in onDestroy()
290 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in BluetoothHDPActivity