Home
last modified time | relevance | path

Searched refs:receiver (Results 1 – 25 of 26) sorted by relevance

12

/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiDispatcher.java44 public void onConnect(MidiReceiver receiver) {
45 mReceivers.add(receiver);
54 public void onDisconnect(MidiReceiver receiver) {
55 mReceivers.remove(receiver);
79 for (MidiReceiver receiver : mReceivers) { in onSend()
81 receiver.send(msg, offset, count, timestamp); in onSend()
84 mReceivers.remove(receiver); in onSend()
91 for (MidiReceiver receiver : mReceivers) { in flush()
92 receiver.flush(); in flush()
DMidiFramer.java41 public MidiFramer(MidiReceiver receiver) { in MidiFramer() argument
42 mReceiver = receiver; in MidiFramer()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiDispatcher.java44 public void onConnect(MidiReceiver receiver) {
45 mReceivers.add(receiver);
54 public void onDisconnect(MidiReceiver receiver) {
55 mReceivers.remove(receiver);
79 for (MidiReceiver receiver : mReceivers) { in onSend()
81 receiver.send(msg, offset, count, timestamp); in onSend()
84 mReceivers.remove(receiver); in onSend()
91 for (MidiReceiver receiver : mReceivers) { in flush()
92 receiver.flush(); in flush()
DMidiFramer.java41 public MidiFramer(MidiReceiver receiver) { in MidiFramer() argument
42 mReceiver = receiver; in MidiFramer()
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/receiver/
DMmsReceiver.java17 package com.example.android.smssample.receiver;
DMmsReceiverLegacy.java17 package com.example.android.smssample.receiver;
DSmsReceiver.java17 package com.example.android.smssample.receiver;
DSmsReceiverLegacy.java17 package com.example.android.smssample.receiver;
DMessagingReceiver.java17 package com.example.android.smssample.receiver;
/development/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java81 private NetworkReceiver receiver = new NetworkReceiver(); field in NetworkActivity
89 receiver = new NetworkReceiver(); in onCreate()
90 this.registerReceiver(receiver, filter); in onCreate()
121 if (receiver != null) { in onDestroy()
122 this.unregisterReceiver(receiver); in onDestroy()
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DWiFiDirectActivity.java63 private BroadcastReceiver receiver = null; field in WiFiDirectActivity
114 receiver = new WiFiDirectBroadcastReceiver(manager, channel, this); in onResume()
115 registerReceiver(receiver, intentFilter); in onResume()
121 unregisterReceiver(receiver); in onPause()
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/service/
DMessagingService.java22 import com.example.android.smssample.receiver.MessagingReceiver;
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DWiFiServiceDiscoveryActivity.java72 private BroadcastReceiver receiver = null; field in WiFiServiceDiscoveryActivity
330 receiver = new WiFiDirectBroadcastReceiver(manager, channel, this); in onResume()
331 registerReceiver(receiver, intentFilter); in onResume()
337 unregisterReceiver(receiver); in onPause()
/development/apps/Development/src/com/android/development/
DBadBehaviorActivity.java274 ExponentialReceiver receiver = new ExponentialReceiver(); in onCreate()
275 receiver.name = "ExponentialReceiver " + i; in onCreate()
276 registerReceiver(receiver, filter); in onCreate()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DSessionManager.java110 public PlaylistItem add(Uri uri, String mime, PendingIntent receiver) { in add() argument
112 log("add: uri=" + uri + ", receiver=" + receiver); in add()
120 Integer.toString(mSessionId), Integer.toString(mItemId), uri, mime, receiver); in add()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/provider/
DSampleMediaRouteProvider.java370 PendingIntent receiver = (PendingIntent)intent.getParcelableExtra( in handleEnqueue() local
380 + ", receiver=" + receiver); in handleEnqueue()
381 PlaylistItem item = mSessionManager.add(uri, mime, receiver); in handleEnqueue()
570 PendingIntent receiver = item.getUpdateReceiver(); in handleStatusChange() local
571 if (receiver != null) { in handleStatusChange()
578 receiver.send(getContext(), 0, intent); in handleStatusChange()
/development/samples/training/multiscreen/newsreader/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/FragmentBasics/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/location-aware/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/AnimationsDemo/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/EffectiveNavigation/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/ContactsList/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...

12