/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
D | WiFiDirectBroadcastReceiver.java | 35 private Channel channel; field in WiFiDirectBroadcastReceiver 43 public WiFiDirectBroadcastReceiver(WifiP2pManager manager, Channel channel, in WiFiDirectBroadcastReceiver() argument 47 this.channel = channel; in WiFiDirectBroadcastReceiver() 78 manager.requestPeers(channel, (PeerListListener) activity.getFragmentManager() in onReceive() 98 manager.requestConnectionInfo(channel, fragment); in onReceive()
|
D | WiFiDirectActivity.java | 63 private Channel channel; field in WiFiDirectActivity 111 channel = manager.initialize(this, getMainLooper(), null); in initP2p() 112 if (channel == null) { in initP2p() 150 receiver = new WiFiDirectBroadcastReceiver(manager, channel, this); in onResume() 192 if (manager != null && channel != null) { in onOptionsItemSelected() 213 manager.discoverPeers(channel, new WifiP2pManager.ActionListener() { in onOptionsItemSelected() 243 manager.connect(channel, config, new ActionListener() { in connect() 263 manager.removeGroup(channel, new ActionListener() { in disconnect() 311 manager.cancelConnect(channel, new ActionListener() { in cancelDisconnect()
|
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
D | WiFiDirectBroadcastReceiver.java | 37 private Channel channel; field in WiFiDirectBroadcastReceiver 45 public WiFiDirectBroadcastReceiver(WifiP2pManager manager, Channel channel, in WiFiDirectBroadcastReceiver() argument 49 this.channel = channel; in WiFiDirectBroadcastReceiver() 77 manager.requestConnectionInfo(channel, in onReceive()
|
D | WiFiServiceDiscoveryActivity.java | 72 private Channel channel; field in WiFiServiceDiscoveryActivity 130 channel = manager.initialize(this, getMainLooper(), null); in initP2p() 131 if (channel == null) { in initP2p() 185 if (manager != null && channel != null) { in onStop() 186 manager.removeGroup(channel, new ActionListener() { in onStop() 211 manager.addLocalService(channel, service, new ActionListener() { in startRegistrationAndDiscovery() 235 manager.setDnsSdResponseListeners(channel, in discoverService() 284 manager.addServiceRequest(channel, serviceRequest, in discoverService() 297 manager.discoverServices(channel, new ActionListener() { in discoverService() 318 manager.removeServiceRequest(channel, serviceRequest, in connectP2p() [all …]
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/ |
D | SynthEngine.java | 85 int channel = (byte) (data[0] & MidiConstants.STATUS_CHANNEL_MASK); in onSend() local 88 noteOff(channel, data[1], data[2]); in onSend() 91 noteOn(channel, data[1], data[2]); in onSend() 95 pitchBend(channel, bend); in onSend() 197 public void noteOff(int channel, int noteIndex, int velocity) { in noteOff() argument 230 public void noteOn(int channel, int noteIndex, int velocity) { in noteOn() argument 232 noteOff(channel, noteIndex, velocity); in noteOn() 247 public void pitchBend(int channel, int bend) { in pitchBend() argument
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/ |
D | SynthEngine.java | 85 int channel = (byte) (data[0] & MidiConstants.STATUS_CHANNEL_MASK); in onSend() local 88 noteOff(channel, data[1], data[2]); in onSend() 91 noteOn(channel, data[1], data[2]); in onSend() 95 pitchBend(channel, bend); in onSend() 197 public void noteOff(int channel, int noteIndex, int velocity) { in noteOff() argument 230 public void noteOn(int channel, int noteIndex, int velocity) { in noteOn() argument 232 noteOff(channel, noteIndex, velocity); in noteOn() 247 public void pitchBend(int channel, int bend) { in pitchBend() argument
|
/development/samples/browseable/MidiScope/src/com.example.android.midiscope/ |
D | MidiPrinter.java | 77 int channel = status & 0x0F; in formatMessage() local 79 sb.append((channel + 1)).append(", "); in formatMessage()
|
/development/samples/browseable/BeamLargeFiles/ |
D | _index.jd | 10 communication channel such as Bluetooth or WiFi Direct.
|
/development/samples/JetBoy/src/com/example/android/jetboy/ |
D | JetBoyView.java | 105 public JetGameEvent(JetPlayer player, short segment, byte track, byte channel, in JetGameEvent() argument 110 this.channel = channel; in JetGameEvent() 118 public byte channel; field in JetBoyView.JetGameEvent 734 jetEvent.channel, jetEvent.controller, jetEvent.value); in updateGameState() 901 protected void processJetEvent(JetPlayer player, short segment, byte track, byte channel, in processJetEvent() argument 1265 public void onJetEvent(JetPlayer player, short segment, byte track, byte channel, in onJetEvent() argument 1272 mEventQueue.add(new JetGameEvent(player, segment, track, channel, controller, value)); in onJetEvent()
|