/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothSocket.java | 95 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 D | BluetoothAdapter.java | 677 /* 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 D | BluetoothDevice.java | 637 * 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 D | android_bluetooth_BluetoothAudioGateway.cpp | 88 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 D | android_server_BluetoothService.cpp | 822 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 D | android_server_BluetoothEventLoop.cpp | 1184 jint channel = -2; local 1190 DBUS_TYPE_INT32, &channel, 1200 channel);
|
/frameworks/base/libs/ui/ |
H A D | Overlay.cpp | 154 OverlayRef::OverlayRef(overlay_handle_t handle, const sp<IOverlay>& channel, argument 156 : mOverlayHandle(handle), mOverlayChannel(channel),
|
/frameworks/base/libs/surfaceflinger/ |
H A D | LayerBuffer.cpp | 650 sp<OverlayChannel> channel = new OverlayChannel( &layer ); local 652 *overlayRef = new OverlayRef(mOverlayHandle, channel,
|
/frameworks/base/media/java/android/media/ |
H A D | JetPlayer.java | 80 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 D | SoundPool.cpp | 96 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 D | AudioSystem.cpp | 742 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 D | android_tts_SynthProxy.cpp | 208 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 D | KeyInputQueue.java | 1281 private InputDevice.AbsoluteInfo loadAbsoluteInfo(int id, int channel, argument 1284 if (getAbsoluteInfo(id, channel, info)
|
/frameworks/base/core/java/android/server/ |
H A D | BluetoothService.java | 109 /** 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...] |