Searched refs:channel (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothCallback.aidl26 void onRfcommChannelFound(int channel);
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.java719 /* Returns next random channel, or -1 if we're out */
745 * @param channel RFCOMM channel to listen on
748 * insufficient permissions, or channel in use.
751 public BluetoothServerSocket listenUsingRfcommOn(int channel) throws IOException { argument
753 BluetoothSocket.TYPE_RFCOMM, true, true, channel);
779 * <p>The system will assign an unused RFCOMM channel to listen on.
782 * UUID, service name, and auto-assigned channel. Remote Bluetooth devices
783 * can use the same UUID to query our SDP server and discover which channel
793 * insufficient permissions, or channel i
[all...]
H A DIBluetooth.aidl73 int addRfcommServiceRecord(in String serviceName, in ParcelUuid uuid, int channel, IBinder b);
H A DBluetoothDevice.java720 * outgoing connection to this remote device on given channel.
737 * @param channel RFCOMM channel to connect to
743 public BluetoothSocket createRfcommSocket(int channel) throws IOException { argument
744 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, channel,
756 * determine which channel to connect to.
774 * @param uuid service record uuid to lookup RFCOMM channel
787 * <p> The communication channel will not have an authenticated link key
792 * encrypted and authenticated communication channel is desired.
798 * determine which channel t
[all...]
/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...]
H A DSoundPool.h188 void done(SoundChannel* channel);
202 void moveToFront(SoundChannel* channel);
207 void addToRestartList(SoundChannel* channel);
/frameworks/base/core/java/android/view/
H A DInputQueue.java59 public InputQueue(InputChannel channel) { argument
60 mChannel = channel;
69 * Registers an input channel and handler.
70 * @param inputChannel The input channel to register.
89 Slog.d(TAG, "Registering input channel '" + inputChannel + "'");
97 * Unregisters an input channel.
98 * Does nothing if the channel is not currently registered.
99 * @param inputChannel The input channel to unregister.
109 Slog.d(TAG, "Unregistering input channel '" + inputChannel + "'");
/frameworks/base/libs/gui/
H A DISensorEventConnection.cpp86 sp<SensorChannel> channel(getSensorChannel());
87 channel->writeToParcel(reply);
/frameworks/base/include/ui/
H A DInputTransport.h43 * An input channel consists of a shared memory buffer and a pair of pipes
45 * across processes. Each channel has a descriptive name for debugging purposes.
49 * The input channel is closed when all references to it are released.
75 * Returns DEAD_OBJECT if the channel's peer has been closed.
76 * Other errors probably indicate that the channel is broken.
85 * Returns DEAD_OBJECT if the channel's peer has been closed.
86 * Other errors probably indicate that the channel is broken.
171 /* Creates a publisher associated with an input channel. */
172 explicit InputPublisher(const sp<InputChannel>& channel);
174 /* Destroys the publisher and releases its input channel
[all...]
H A DInputDispatcher.h79 * including the window's input channel, control flags, a timeout, and an X / Y offset to
102 // The input channel to be targeted.
268 /* Notifies the system that an input channel is unrecoverably broken. */
391 * If monitor is true, the channel will receive a copy of all input events.
406 * input channel becoming unregistered while identifying input targets or processing timeouts.
775 /* Manages the dispatch state associated with a single input channel. */
786 // The input channel has been unregistered.
931 sp<InputChannel> channel; member in struct:android::InputDispatcher::TouchedWindow
1027 void synthesizeCancelationEventsForInputChannelLocked(const sp<InputChannel>& channel,
/frameworks/base/include/android_runtime/
H A Dandroid_app_NativeActivity.h70 /* Creates a consumer associated with an input channel. */
71 explicit AInputQueue(const android::sp<android::InputChannel>& channel, int workWrite);
73 /* Destroys the consumer and releases its input 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),
H A DInputTransport.cpp10 // Log debug messages about channel signalling (send signal, receive signal)
48 LOGD("Input channel constructed: name='%s', ashmemFd=%d, receivePipeFd=%d, sendPipeFd=%d",
53 LOG_ALWAYS_FATAL_IF(result != 0, "channel '%s' ~ Could not make receive pipe "
57 LOG_ALWAYS_FATAL_IF(result != 0, "channel '%s' ~ Could not make send pipe "
63 LOGD("Input channel destroyed: name='%s', ashmemFd=%d, receivePipeFd=%d, sendPipeFd=%d",
79 LOGE("channel '%s' ~ Could not create shared memory region. errno=%d",
84 LOGE("channel '%s' ~ Error %d trying to set protection of ashmem fd %d.",
87 // Dup the file descriptor because the server and client input channel objects that
93 LOGE("channel '%s' ~ Could not dup() shared memory region fd. errno=%d",
99 LOGE("channel '
188 InputPublisher(const sp<InputChannel>& channel) argument
521 InputConsumer(const sp<InputChannel>& channel) argument
[all...]
/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/core/java/android/server/
H A DBluetoothService.java120 /** Always retrieve RFCOMM channel for these SDP UUIDs */
1542 * Optionally takes a uuid and callback to fetch the RFCOMM channel for the
1598 * Gets the rfcomm channel associated with the UUID.
1604 * @return rfcomm channel associated with the service attribute
1738 // We are storing the rfcomm channel numbers only for the uuids
1740 int channel;
1755 // Retrieve RFCOMM channel for default uuids
1758 channel = getDeviceServiceChannelNative(getObjectPathFromAddress(address),
1760 if (DBG) log("\tuuid(system): " + uuid + " " + channel);
1761 value.put(uuid, channel);
1809 addRfcommServiceRecord(String serviceName, ParcelUuid uuid, int channel, IBinder b) argument
2390 addRfcommServiceRecordNative(String name, long uuidMsb, long uuidLsb, short channel) argument
[all...]
/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_app_NativeActivity.cpp109 AInputQueue::AInputQueue(const sp<InputChannel>& channel, int workWrite) : argument
110 mWorkWrite(workWrite), mConsumer(channel), mSeq(0) {
208 LOGE("channel '%s' ~ Failed to receive dispatch signal. status=%d",
216 LOGW("channel '%s' ~ Failed to consume input event. status=%d",
268 LOGW("Failed to send finished signal on channel '%s'. status=%d",
929 onInputChannelCreated_native(JNIEnv* env, jobject clazz, jint handle, jobject channel) argument
934 status_t err = code->setInputChannel(channel);
937 "Error setting input channel");
948 onInputChannelDestroyed_native(JNIEnv* env, jobject clazz, jint handle, jobject channel) argument
H A Dandroid_server_BluetoothService.cpp960 jstring name, jlong uuidMsb, jlong uuidLsb, jshort channel) {
969 LOGV("... channel = %d", channel);
976 DBUS_TYPE_UINT16, &channel,
959 addRfcommServiceRecordNative(JNIEnv *env, jobject object, jstring name, jlong uuidMsb, jlong uuidLsb, jshort channel) argument
H A Dandroid_server_BluetoothEventLoop.cpp1234 jint channel = -2; local
1240 DBUS_TYPE_INT32, &channel,
1251 channel);
/frameworks/base/core/java/android/app/
H A DNativeActivity.java104 private native void onInputChannelCreatedNative(int handle, InputChannel channel); argument
105 private native void onInputChannelDestroyedNative(int handle, InputChannel channel); argument
281 // Key events from the IME do not go through the input channel;
/frameworks/base/include/media/
H A DAudioSystem.h407 static bool isOutputChannel(uint32_t channel);
408 static bool isInputChannel(uint32_t channel);
459 // list of output descritor containing cached parameters (sampling rate, framecount, channel count...)
476 // keyChannels: to change audio channel configuration, value is an int in AudioSystem::audio_channels
/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/libmedia/
H A DAudioSystem.cpp785 bool AudioSystem::isInputChannel(uint32_t channel) argument
787 if ((channel & ~AudioSystem::CHANNEL_IN_ALL) == 0) {
794 bool AudioSystem::isOutputChannel(uint32_t channel) argument
796 if ((channel & ~AudioSystem::CHANNEL_OUT_ALL) == 0) {
/frameworks/base/services/surfaceflinger/
H A DLayerBuffer.cpp619 sp<OverlayChannel> channel = new OverlayChannel( &layer ); local
621 *overlayRef = new OverlayRef(mOverlayHandle, channel,

Completed in 1048 milliseconds

12