Searched defs:channel (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothSocket.java95 private int mPort; /* RFCOMM channel or L2CAP psm */
122 throw new IOException("Invalid RFCOMM channel: " + port);
346 private int channel; field in class:BluetoothSocket.SdpHelper
355 * Returns the RFCOMM channel for the UUID, or throws IOException
360 channel = -1;
377 if (channel < 1) throw new IOException("Service discovery failed");
379 return channel;
385 channel = -1;
389 public synchronized void onRfcommChannelFound(int channel) { argument
391 this.channel
[all...]
H A DBluetoothAdapter.java677 /* Returns next random channel, or -1 if we're out */
694 * @param channel RFCOMM channel to listen on
697 * insufficient permissions, or channel in use.
700 public BluetoothServerSocket listenUsingRfcommOn(int channel) throws IOException { argument
702 BluetoothSocket.TYPE_RFCOMM, true, true, channel);
719 * <p>The system will assign an unused RFCOMM channel to listen on.
722 * UUID, service name, and auto-assigned channel. Remote Bluetooth devices
723 * can use the same UUID to query our SDP server and discover which channel
733 * insufficient permissions, or channel i
[all...]
H A DBluetoothDevice.java637 * outgoing connection to this remote device on given channel.
645 * @param channel RFCOMM channel to connect to
651 public BluetoothSocket createRfcommSocket(int channel) throws IOException { argument
652 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, channel,
664 * determine which channel to connect to.
673 * @param uuid service record uuid to lookup RFCOMM channel
/frameworks/base/core/jni/
H A Dandroid_bluetooth_BluetoothAudioGateway.cpp88 static int setup_listening_socket(int dev, int channel);
140 LOGV("HF RFCOMM channel = %d.", nat->hf_ag_rfcomm_channel);
141 LOGV("HS RFCOMM channel = %d.", nat->hs_ag_rfcomm_channel);
217 LOGI("Successful accept() on AG socket %d: new socket %d, address %s, RFCOMM channel %d",
471 static int setup_listening_socket(int dev, int channel) { argument
495 laddr.rc_channel = channel;
H A Dandroid_server_BluetoothService.cpp822 jstring name, jlong uuidMsb, jlong uuidLsb, jshort channel) {
831 LOGV("... channel = %d", channel);
838 DBUS_TYPE_UINT16, &channel,
821 addRfcommServiceRecordNative(JNIEnv *env, jobject object, jstring name, jlong uuidMsb, jlong uuidLsb, jshort channel) argument
H A Dandroid_server_BluetoothEventLoop.cpp1184 jint channel = -2; local
1190 DBUS_TYPE_INT32, &channel,
1200 channel);
/frameworks/base/libs/ui/
H A DOverlay.cpp154 OverlayRef::OverlayRef(overlay_handle_t handle, const sp<IOverlay>& channel, argument
156 : mOverlayHandle(handle), mOverlayChannel(channel),
/frameworks/base/libs/surfaceflinger/
H A DLayerBuffer.cpp650 sp<OverlayChannel> channel = new OverlayChannel( &layer ); local
652 *overlayRef = new OverlayRef(mOverlayHandle, channel,
/frameworks/base/media/java/android/media/
H A DJetPlayer.java80 private static final int JET_EVENT_CHAN_MASK = 0x0003c000; // mask for channel
84 private static final int JET_EVENT_CHAN_SHIFT = 14; // shift to get MIDI channel to bit 0
415 // JETCreator channel numbers start at 1, but the index starts at 0
497 * @param channel 4 bit unsigned value
502 short segment, byte track, byte channel, byte controller, byte value);
501 onJetEvent(JetPlayer player, short segment, byte track, byte channel, byte controller, byte value) argument
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp96 void SoundPool::addToRestartList(SoundChannel* channel) argument
99 mRestart.push_back(channel);
118 SoundChannel* channel; local
119 LOGV("Getting channel from list");
121 channel = *iter;
123 if (channel) channel->nextEvent();
214 SoundChannel* channel; local
230 // allocate a channel
231 channel
250 SoundChannel* channel = NULL; local
276 moveToFront(SoundChannel* channel) argument
291 SoundChannel* channel = findChannel(channelID); local
302 SoundChannel* channel = &mChannelPool[i]; local
311 SoundChannel* channel = findChannel(channelID); local
322 SoundChannel* channel = &mChannelPool[i]; local
331 SoundChannel* channel = findChannel(channelID); local
344 SoundChannel* channel = findChannel(channelID); local
354 SoundChannel* channel = findChannel(channelID); local
364 SoundChannel* channel = findChannel(channelID); local
374 SoundChannel* channel = findChannel(channelID); local
381 done(SoundChannel* channel) argument
643 SoundChannel* channel = static_cast<SoundChannel*>((void *)((unsigned long)user & ~1)); local
[all...]
/frameworks/base/media/libmedia/
H A DAudioSystem.cpp742 bool AudioSystem::isInputChannel(uint32_t channel) argument
744 if ((channel & ~AudioSystem::CHANNEL_IN_ALL) == 0) {
751 bool AudioSystem::isOutputChannel(uint32_t channel) argument
753 if ((channel & ~AudioSystem::CHANNEL_OUT_ALL) == 0) {
/frameworks/base/packages/TtsService/jni/
H A Dandroid_tts_SynthProxy.cpp208 AudioSystem::audio_format format, int channel) {
211 mNbChannels = channel;
234 (channel == 2) ? AudioSystem::CHANNEL_OUT_STEREO : AudioSystem::CHANNEL_OUT_MONO,
254 uint32_t rate, AudioSystem::audio_format format, int channel) {
260 (channel == pJniData->mNbChannels) &&
267 pJniData->createAudioOut(streamType, rate, format, channel);
277 uint32_t format, int channel,
297 prepAudioTrack(pJniData, pForAfter->streamType, rate, (AudioSystem::audio_format)format, channel);
207 createAudioOut(AudioSystem::stream_type streamType, uint32_t rate, AudioSystem::audio_format format, int channel) argument
253 prepAudioTrack(SynthProxyJniStorage* pJniData, AudioSystem::stream_type streamType, uint32_t rate, AudioSystem::audio_format format, int channel) argument
276 ttsSynthDoneCB(void *& userdata, uint32_t rate, uint32_t format, int channel, int8_t *&wav, size_t &bufferSize, tts_synth_status status) argument
/frameworks/base/services/java/com/android/server/
H A DKeyInputQueue.java1281 private InputDevice.AbsoluteInfo loadAbsoluteInfo(int id, int channel, argument
1284 if (getAbsoluteInfo(id, channel, info)
/frameworks/base/core/java/android/server/
H A DBluetoothService.java109 /** Always retrieve RFCOMM channel for these SDP UUIDs */
1377 * Optionally takes a uuid and callback to fetch the RFCOMM channel for the
1433 * Gets the rfcomm channel associated with the UUID.
1439 * @return rfcomm channel associated with the service attribute
1547 // We are storing the rfcomm channel numbers only for the uuids
1549 int channel;
1564 // Retrieve RFCOMM channel for default uuids
1567 channel = getDeviceServiceChannelNative(getObjectPathFromAddress(address),
1569 if (DBG) log("\tuuid(system): " + uuid + " " + channel);
1570 value.put(uuid, channel);
1618 addRfcommServiceRecord(String serviceName, ParcelUuid uuid, int channel, IBinder b) argument
1962 addRfcommServiceRecordNative(String name, long uuidMsb, long uuidLsb, short channel) argument
[all...]

Completed in 500 milliseconds