/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/ |
D | RouterTest.java | 41 private RecordingMessageReceiverWithResponder mReceiver; field in RouterTest 53 mReceiver = new RecordingMessageReceiverWithResponder(); in setUp() 54 mRouter.setIncomingMessageReceiver(mReceiver); in setUp() 74 mRouter.acceptWithResponder(encoder.getMessage(), mReceiver); in testSendingToRouterWithResponse() local 98 Assert.assertEquals(1, mReceiver.messages.size()); in testSendingToRouterWithResponse() 99 ServiceMessage receivedResponseMessage = mReceiver.messages.get(0).asServiceMessage(); in testSendingToRouterWithResponse() 123 Assert.assertEquals(messageIndex + 1, mReceiver.messagesWithReceivers.size()); in sendMessageToRouter() 125 mReceiver.messagesWithReceivers.get(messageIndex); in sendMessageToRouter() 138 mReceiver.messagesWithReceivers.get(messageIndex); in sendResponseFromRouter() 169 mReceiver.messagesWithReceivers) { in clearAllMessageReceivers() [all …]
|
D | ConnectorTest.java | 44 private RecordingMessageReceiver mReceiver; field in ConnectorTest 57 mReceiver = new RecordingMessageReceiver(); in setUp() 58 mConnector.setIncomingMessageReceiver(mReceiver); in setUp() 64 Assert.assertEquals(0, mReceiver.messages.size()); in setUp() 101 Assert.assertEquals(1, mReceiver.messages.size()); in testReceivingMessage() 102 Message received = mReceiver.messages.get(0); in testReceivingMessage()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | BatteryManagerFacade.java | 47 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/ims/rcs/presencepolling/tests/src/com/android/service/ims/presence/ |
D | PollingServiceTests.java | 44 @Mock BroadcastReceiver mReceiver; field in PollingServiceTests 66 mService.setBroadcastReceiver(mReceiver); in testRegisterCarrierConfigReceiver() 69 verify(mTestContext).registerReceiver(eq(mReceiver), captor.capture()); in testRegisterCarrierConfigReceiver() 77 mService.setBroadcastReceiver(mReceiver); in testUnregisterCarrierConfigReceiver() 79 verify(mTestContext).unregisterReceiver(eq(mReceiver)); in testUnregisterCarrierConfigReceiver()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
D | BluetoothBroadcastHelper.java | 30 private final BroadcastReceiver mReceiver; field in BluetoothBroadcastHelper 39 mReceiver = new BluetoothReceiver(); in BluetoothBroadcastHelper() 50 mContext.registerReceiver(mReceiver, mIntentFilter); in startReceiver() 67 mContext.unregisterReceiver(mReceiver); in stopReceiver()
|
D | BluetoothDiscoveryHelper.java | 58 private final BroadcastReceiver mReceiver; field in BluetoothDiscoveryHelper 64 mReceiver = new BluetoothReceiver(); in BluetoothDiscoveryHelper() 104 mContext.registerReceiver(mReceiver, filter); in startDiscovery() 117 mContext.unregisterReceiver(mReceiver); in cancel()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/ |
D | MediaScannerFacade.java | 44 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/presencepolling/src/com/android/service/ims/presence/ |
D | PollingService.java | 56 private BroadcastReceiver mReceiver = new BroadcastReceiver() { field in PollingService 97 unregisterReceiver(mReceiver); in onDestroy() 116 mReceiver = r; in setBroadcastReceiver() 121 registerReceiver(mReceiver, filter); in registerBroadcastReceiver()
|
D | CapabilityPolling.java | 96 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in CapabilityPolling 241 mContext.unregisterReceiver(mReceiver); in stop() 253 mContext.registerReceiver(mReceiver, intentFilter); in registerForBroadcasts()
|
D | EABService.java | 102 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/ |
D | RcsService.java | 73 private BroadcastReceiver mReceiver = null; field in RcsService 111 mReceiver = new BroadcastReceiver() { in onCreate() 134 registerReceiver(mReceiver, statusFilter); in onCreate() 174 if (mReceiver != null) { in onDestroy() 175 unregisterReceiver(mReceiver); in onDestroy() 176 mReceiver = null; in onDestroy()
|
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/ |
D | PresencePublication.java | 134 private BroadcastReceiver mReceiver = null; field in PresencePublication 189 mReceiver = new BroadcastReceiver() { in PresencePublication() 288 mContext.registerReceiver(mReceiver, statusFilter); in PresencePublication() 1097 if (mReceiver != null) { in finish() 1098 mContext.unregisterReceiver(mReceiver); in finish() 1099 mReceiver = null; in finish()
|