Home
last modified time | relevance | path

Searched refs:channel (Results 1 – 10 of 10) 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.java63 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/
DWiFiServiceDiscoveryActivity.java72 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 …]
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()
/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/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.midiscope/
DMidiPrinter.java77 int channel = status & 0x0F; in formatMessage() local
79 sb.append((channel + 1)).append(", "); in formatMessage()
/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/browseable/BeamLargeFiles/
D_index.jd10 communication channel such as Bluetooth or WiFi Direct.
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv1045 …atform/cts,fake_mCvxaTzkTTaNfDI614yZrQ@fakeemail.com,audio codec max input channel must be positive
1150 …7744ae0105f37c,platform/cts,fake_UxpIGfoSSliuOStye0sOIg@fakeemail.com,Add channel name res id tests
1155 …f5,platform/cts,fake_7JEs3U0xSWOTSJPgGWC1Vg@fakeemail.com,Enlarge direct channel test buffer size …
1347 …orm/cts,fake_9uhqm5y3QDi9PUk97cuSsw@fakeemail.com,[P2P] Clean-up service channel when done with te…
1525 …cts,fake_kbEkXpsfS6KMXV-8N_Y9-g@fakeemail.com,Create proper notification channel for Virtual Displ…
1784 …f,platform/cts,fake_UxpIGfoSSliuOStye0sOIg@fakeemail.com,Tests for notification channel description
2597 …f0e73433e266e,platform/cts,fake_brt5UEqhTy-dysQKn44T9A@fakeemail.com,java.nio.channel.FileLock test
2650 …form/cts,fake_7JEs3U0xSWOTSJPgGWC1Vg@fakeemail.com,Two negative case test for sensor direct channel
3054 …ts,fake_vk_I5n6vTG2w7hgGh5cFuw@fakeemail.com,Test for blocking modifying channel ID of preview pro…
3180 …f95760a390a85,platform/cts,fake_iuOyhJsMS_O_hM0VvjDIXw@fakeemail.com,Set channel in bugreport noti…
[all …]