Home
last modified time | relevance | path

Searched refs:channel (Results 1 – 12 of 12) sorted by relevance

/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DWiFiDirectBroadcastReceiver.java35 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()
DWiFiDirectActivity.java62 private Channel channel; field in WiFiDirectActivity
98 channel = manager.initialize(this, getMainLooper(), null); in onCreate()
114 receiver = new WiFiDirectBroadcastReceiver(manager, channel, this); in onResume()
156 if (manager != null && channel != null) { in onOptionsItemSelected()
177 manager.discoverPeers(channel, new WifiP2pManager.ActionListener() { in onOptionsItemSelected()
207 manager.connect(channel, config, new ActionListener() { in connect()
227 manager.removeGroup(channel, new ActionListener() { in disconnect()
275 manager.cancelConnect(channel, new ActionListener() { in cancelDisconnect()
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DWiFiDirectBroadcastReceiver.java37 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()
DWiFiServiceDiscoveryActivity.java71 private Channel channel; field in WiFiServiceDiscoveryActivity
119 channel = manager.initialize(this, getMainLooper(), null); in onCreate()
149 if (manager != null && channel != null) { in onStop()
150 manager.removeGroup(channel, new ActionListener() { in onStop()
175 manager.addLocalService(channel, service, new ActionListener() { in startRegistrationAndDiscovery()
199 manager.setDnsSdResponseListeners(channel, in discoverService()
248 manager.addServiceRequest(channel, serviceRequest, in discoverService()
261 manager.discoverServices(channel, new ActionListener() { in discoverService()
282 manager.removeServiceRequest(channel, serviceRequest, in connectP2p()
294 manager.connect(channel, config, new ActionListener() { in connectP2p()
[all …]
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSynthEngine.java85 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.common.midi/synth/
DSynthEngine.java85 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/
DMidiPrinter.java77 int channel = status & 0x0F; in formatMessage() local
79 sb.append((channel + 1)).append(", "); in formatMessage()
/development/samples/browseable/BeamLargeFiles/
D_index.jd10 communication channel such as Bluetooth or WiFi Direct.
/development/samples/JetBoy/src/com/example/android/jetboy/
DJetBoyView.java105 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()
/development/samples/training/testingfun/gradle/wrapper/
Dgradle-wrapper.jar ... .RandomAccessFile randomAccessFile java.nio.channels.FileChannel channel private static void maybeCloseQuietly (java.io.Closeable ...
/development/samples/devbytes/telephony/SmsSampleProject/gradle/wrapper/
Dgradle-wrapper.jar ... .RandomAccessFile randomAccessFile java.nio.channels.FileChannel channel private static void maybeCloseQuietly (java.io.Closeable ...
/development/tools/checkcolor/gradle/wrapper/
Dgradle-wrapper.jar ... .RandomAccessFile randomAccessFile java.nio.channels.FileChannel channel private static void maybeCloseQuietly (java.io.Closeable ...