Home
last modified time | relevance | path

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

/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/
DMidiFramer.java33 private MidiReceiver mReceiver; field in MidiFramer
41 mReceiver = receiver; in MidiFramer()
68 mReceiver.send(data, sysExStartOffset, in onSend()
82 mReceiver.send(data, sysExStartOffset, in onSend()
86 mReceiver.send(data, offset, 1, timestamp); in onSend()
95 mReceiver.send(mBuffer, 0, mCount, timestamp); in onSend()
106 mReceiver.send(data, sysExStartOffset, in onSend()
DMidiEventScheduler.java30 private MidiReceiver mReceiver = new SchedulingReceiver(); field in MidiEventScheduler
115 return mReceiver; in getReceiver()
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DRouterTest.java41 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 …]
DConnectorTest.java44 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/
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/ims/rcs/presencepolling/tests/src/com/android/service/ims/presence/
DPollingServiceTests.java44 @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/
DBluetoothBroadcastHelper.java30 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()
DBluetoothDiscoveryHelper.java58 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/
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/presencepolling/src/com/android/service/ims/presence/
DPollingService.java67 private BroadcastReceiver mReceiver = new BroadcastReceiver() { field in PollingService
140 unregisterReceiver(mReceiver); in onDestroy()
156 mReceiver = r; in setBroadcastReceiver()
162 registerReceiver(mReceiver, filter); in registerBroadcastReceiver()
DEABService.java96 private BroadcastReceiver mReceiver = new BroadcastReceiver() { field in EABService
204 registerReceiver(mReceiver, filter); in onCreate()
216 if (null != mReceiver) { in onDestroy()
217 unregisterReceiver(mReceiver); in onDestroy()
DCapabilityPolling.java98 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in CapabilityPolling
263 mContext.unregisterReceiver(mReceiver); in stop()
281 mContext.registerReceiver(mReceiver, intentFilter); in registerForBroadcasts()
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/synth/
DSynthEngine.java54 private MidiReceiver mReceiver = new MyReceiver(); field in SynthEngine
66 mReceiver = new MyReceiver(); in SynthEngine()
67 mFramer = new MidiFramer(mReceiver); in SynthEngine()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DAudioMidiTester.java51 private MyMidiReceiver mReceiver = new MyMidiReceiver(); field in AudioMidiTester
52 private MidiFramer mMidiFramer = new MidiFramer(mReceiver);
/external/ims/rcs/rcsservice/src/com/android/service/ims/
DRcsService.java98 private BroadcastReceiver mReceiver = new BroadcastReceiver() { field in RcsService
251 registerReceiver(mReceiver, filter); in registerBroadcastReceiver()
255 unregisterReceiver(mReceiver); in unregisterBroadcastReceiver()