Home
last modified time | relevance | path

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

/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
DRouterTest.java33 private RecordingMessageReceiverWithResponder mReceiver; field in RouterTest
46 mReceiver = new RecordingMessageReceiverWithResponder(); in setUp()
47 mRouter.setIncomingMessageReceiver(mReceiver); in setUp()
66 mRouter.acceptWithResponder(encoder.getMessage(), mReceiver); in testSendingToRouterWithResponse() local
89 assertEquals(1, mReceiver.messages.size()); in testSendingToRouterWithResponse()
90 ServiceMessage receivedResponseMessage = mReceiver.messages.get(0).asServiceMessage(); in testSendingToRouterWithResponse()
114 assertEquals(messageIndex + 1, mReceiver.messagesWithReceivers.size()); in sendMessageToRouter()
116 mReceiver.messagesWithReceivers.get(messageIndex); in sendMessageToRouter()
129 mReceiver.messagesWithReceivers.get(messageIndex); in sendResponseFromRouter()
162 mReceiver.messagesWithReceivers) { in clearAllMessageReceivers()
[all …]
DConnectorTest.java33 private RecordingMessageReceiver mReceiver; field in ConnectorTest
47 mReceiver = new RecordingMessageReceiver(); in setUp()
48 mConnector.setIncomingMessageReceiver(mReceiver); in setUp()
54 assertEquals(0, mReceiver.messages.size()); in setUp()
91 assertEquals(1, mReceiver.messages.size()); in testReceivingMessage()
92 Message received = mReceiver.messages.get(0); in testReceivingMessage()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DBatteryManagerFacade.java47 private BatteryStateListener mReceiver; field in BatteryManagerFacade
66 mReceiver = null; in BatteryManagerFacade()
134 if (mReceiver == null) { in batteryStartMonitoring()
137 mReceiver = new BatteryStateListener(mEventFacade); in batteryStartMonitoring()
138 mService.registerReceiver(mReceiver, filter); in batteryStartMonitoring()
145 if (mReceiver != null) { in batteryStopMonitoring()
146 mService.unregisterReceiver(mReceiver); in batteryStopMonitoring()
147 mReceiver = null; in batteryStopMonitoring()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothBroadcastHelper.java30 private final BroadcastReceiver mReceiver; field in BluetoothBroadcastHelper
39 mReceiver = new BluetoothReceiver(); in BluetoothBroadcastHelper()
47 mContext.registerReceiver(mReceiver, mIntentFilter); in startReceiver()
58 mContext.unregisterReceiver(mReceiver); in stopReceiver()
DBluetoothDiscoveryHelper.java42 private final BroadcastReceiver mReceiver; field in BluetoothDiscoveryHelper
47 mReceiver = new BluetoothReceiver(); in BluetoothDiscoveryHelper()
83 mContext.registerReceiver(mReceiver, filter); in startDiscovery()
93 mContext.unregisterReceiver(mReceiver); in cancel()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/
DMediaScannerFacade.java44 private final MediaScannerReceiver mReceiver; field in MediaScannerFacade
51 mReceiver = new MediaScannerReceiver(); in MediaScannerFacade()
62 mService.unregisterReceiver(mReceiver); in onReceive()
71 mService.registerReceiver(mReceiver, in mediaScanForFiles()
/external/ims/rcs/rcsservice/src/com/android/service/ims/
DRcsService.java81 private BroadcastReceiver mReceiver = null; field in RcsService
120 mReceiver = new BroadcastReceiver() { in onCreate()
143 registerReceiver(mReceiver, statusFilter); in onCreate()
183 if (mReceiver != null) { in onDestroy()
184 unregisterReceiver(mReceiver); in onDestroy()
185 mReceiver = null; in onDestroy()
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DPollingService.java54 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in PollingService
112 registerReceiver(mReceiver, filter); in registerBroadcastReceiver()
DCapabilityPolling.java96 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in CapabilityPolling
241 mContext.unregisterReceiver(mReceiver); in stop()
253 mContext.registerReceiver(mReceiver, intentFilter); in registerForBroadcasts()
DEABService.java102 private BroadcastReceiver mReceiver = new BroadcastReceiver() { field in EABService
210 registerReceiver(mReceiver, filter); in onCreate()
222 if (null != mReceiver) { in onDestroy()
223 unregisterReceiver(mReceiver); in onDestroy()
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
DPresencePublication.java138 private BroadcastReceiver mReceiver = null; field in PresencePublication
193 mReceiver = new BroadcastReceiver() { in PresencePublication()
292 mContext.registerReceiver(mReceiver, statusFilter); in PresencePublication()
1100 if (mReceiver != null) { in finish()
1101 mContext.unregisterReceiver(mReceiver); in finish()
1102 mReceiver = null; in finish()