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

/frameworks/base/core/java/android/view/
H A DInputQueue.java45 public InputQueue(InputChannel channel) { argument
46 mChannel = channel;
/frameworks/wilhelm/src/itf/
H A DIMIDIMuteSolo.c22 static SLresult IMIDIMuteSolo_SetChannelMute(SLMIDIMuteSoloItf self, SLuint8 channel, argument
27 if (channel > 15) {
31 SLuint16 mask = 1 << channel;
45 static SLresult IMIDIMuteSolo_GetChannelMute(SLMIDIMuteSoloItf self, SLuint8 channel, argument
50 if (channel > 15 || (NULL == pMute)) {
57 *pMute = (mask >> channel) & 1;
65 static SLresult IMIDIMuteSolo_SetChannelSolo(SLMIDIMuteSoloItf self, SLuint8 channel, argument
70 if (channel > 15) {
74 SLuint16 mask = 1 << channel;
88 static SLresult IMIDIMuteSolo_GetChannelSolo(SLMIDIMuteSoloItf self, SLuint8 channel, argument
[all...]
H A DIOutputMixExt.c214 unsigned channel; local
215 for (channel = 0; channel < STEREO_CHANNELS; ++channel) {
216 float gain = track->mGains[channel];
217 gains[channel] = gain;
226 summaries[channel] = summary;
445 unsigned channel; local
446 for (channel = 0; channel < STEREO_CHANNEL
[all...]
/frameworks/av/media/libmedia/
H A DSoundPool.cpp97 void SoundPool::addToRestartList(SoundChannel* channel) argument
101 mRestart.push_back(channel);
106 void SoundPool::addToStopList(SoundChannel* channel) argument
110 mStop.push_back(channel);
130 SoundChannel* channel; local
131 ALOGV("Getting channel from stop list");
133 channel = *iter;
136 if (channel != 0) {
138 channel->stop();
145 SoundChannel* channel; local
247 SoundChannel* channel; local
283 SoundChannel* channel = NULL; local
309 moveToFront_l(SoundChannel* channel) argument
324 SoundChannel* channel = findChannel(channelID); local
335 SoundChannel* channel = &mChannelPool[i]; local
344 SoundChannel* channel = findChannel(channelID); local
355 SoundChannel* channel = &mChannelPool[i]; local
364 SoundChannel* channel = findChannel(channelID); local
377 SoundChannel* channel = findChannel(channelID); local
387 SoundChannel* channel = findChannel(channelID); local
397 SoundChannel* channel = findChannel(channelID); local
407 SoundChannel* channel = findChannel(channelID); local
414 done_l(SoundChannel* channel) argument
687 SoundChannel* channel = static_cast<SoundChannel*>((void *)((unsigned long)user & ~1)); local
[all...]
/frameworks/native/libs/gui/
H A DIDisplayEventConnection.cpp79 sp<BitTube> channel(getDataChannel());
80 channel->writeToParcel(reply);
H A DISensorEventConnection.cpp86 sp<BitTube> channel(getSensorChannel());
87 channel->writeToParcel(reply);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothSocket.java117 private int mPort; /* RFCOMM channel or L2CAP psm */
153 throw new IOException("Invalid RFCOMM channel: " + port);
319 int channel = readInt(mSocketIS);
320 if (channel <= 0)
322 mPort = channel;
371 int channel = readInt(mSocketIS);
376 if (VDBG) Log.d(TAG, "channel: " + channel);
378 mPort = channel;
379 } // else ASSERT(mPort == channel)
[all...]
H A DBluetoothDevice.java973 * outgoing connection to this remote device on given channel.
990 * @param channel RFCOMM channel to connect to
996 public BluetoothSocket createRfcommSocket(int channel) throws IOException { argument
997 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, channel,
1009 * determine which channel to connect to.
1027 * @param uuid service record uuid to lookup RFCOMM channel
1040 * <p> The communication channel will not have an authenticated link key
1045 * encrypted and authenticated communication channel is desired.
1051 * determine which channel t
[all...]
H A DBluetoothAdapter.java908 * @param channel RFCOMM channel to listen on
911 * insufficient permissions, or channel in use.
914 public BluetoothServerSocket listenUsingRfcommOn(int channel) throws IOException { argument
916 BluetoothSocket.TYPE_RFCOMM, true, true, channel);
933 * <p>The system will assign an unused RFCOMM channel to listen on.
936 * UUID, service name, and auto-assigned channel. Remote Bluetooth devices
937 * can use the same UUID to query our SDP server and discover which channel
947 * insufficient permissions, or channel in use.
961 * encrypted and authenticated communication channel i
[all...]
/frameworks/av/include/media/
H A DSoundPool.h188 void done_l(SoundChannel* channel);
202 void moveToFront_l(SoundChannel* channel);
207 void addToRestartList(SoundChannel* channel);
208 void addToStopList(SoundChannel* channel);
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp106 uint8_t profile, sf_index, channel, header[2]; local
121 channel = (header[0] & 0x1) << 2 | (header[1] >> 6);
123 SL_LOGV("AacAdtsExtractor has found sr=%d channel=%d", sr, channel);
126 mMeta = MakeAACCodecSpecificData(profile, sf_index, channel);
/frameworks/base/core/java/android/net/
H A DMobileDataStateTracker.java485 final AsyncChannel channel = mDataConnectionTrackerAc;
486 if (channel != null) {
487 channel.sendMessage(DctConstants.CMD_SET_USER_DATA_ENABLE,
497 final AsyncChannel channel = mDataConnectionTrackerAc;
498 if (channel != null) {
499 channel.sendMessage(DctConstants.CMD_SET_POLICY_DATA_ENABLE,
/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/av/media/libstagefright/
H A DAACExtractor.cpp155 uint8_t profile, sf_index, channel, header[2]; local
166 channel = (header[0] & 0x1) << 2 | (header[1] >> 6);
168 mMeta = MakeAACCodecSpecificData(profile, sf_index, channel);
/frameworks/base/include/androidfw/
H A DInputTransport.h25 * The InputPublisher and InputConsumer each handle one end-point of an input channel.
122 * An input channel consists of a local unix domain socket used to send and receive
123 * input messages across processes. Each channel has a descriptive name for debugging purposes.
127 * The input channel is closed when all references to it are released.
148 * If the channel is full then the message is guaranteed not to have been sent at all.
150 * consumed some of the pending messages from the channel.
153 * Returns WOULD_BLOCK if the channel is full.
154 * Returns DEAD_OBJECT if the channel's peer has been closed.
155 * Other errors probably indicate that the channel is broken.
166 * Returns DEAD_OBJECT if the channel'
[all...]
/frameworks/base/core/java/android/app/
H A DNativeActivity.java103 private native void onInputChannelCreatedNative(int handle, InputChannel channel); argument
104 private native void onInputChannelDestroyedNative(int handle, InputChannel channel); argument
275 // Key events from the IME do not go through the input channel;
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp110 AInputQueue::AInputQueue(const sp<InputChannel>& channel, int workWrite) : argument
111 mWorkWrite(workWrite), mConsumer(channel), mSeq(0) {
214 ALOGW("channel '%s' ~ Failed to consume input event. status=%d",
273 ALOGW("Failed to send finished signal on channel '%s'. status=%d",
906 onInputChannelCreated_native(JNIEnv* env, jobject clazz, jint handle, jobject channel) argument
911 status_t err = code->setInputChannel(channel);
914 "Error setting input channel");
925 onInputChannelDestroyed_native(JNIEnv* env, jobject clazz, jint handle, jobject channel) argument
/frameworks/av/media/libstagefright/wifi-display/sink/
H A DWifiDisplaySink.cpp208 int32_t channel; local
209 CHECK(msg->findInt32("channel", &channel));
214 mRTPSink->injectPacket(channel == 0 /* isRTP */, data);
/frameworks/base/libs/androidfw/
H A DInputTransport.cpp10 // Log debug messages about channel messages (send message, receive message)
100 ALOGD("Input channel constructed: name='%s', fd=%d",
105 LOG_ALWAYS_FATAL_IF(result != 0, "channel '%s' ~ Could not make socket "
111 ALOGD("Input channel destroyed: name='%s', fd=%d",
123 ALOGE("channel '%s' ~ Could not create socket pair. errno=%d",
156 ALOGD("channel '%s' ~ error sending message of type %d, errno=%d", mName.string(),
170 ALOGD("channel '%s' ~ error sending message type %d, send was incomplete",
177 ALOGD("channel '%s' ~ sent message of type %d", mName.string(), msg->header.type);
191 ALOGD("channel '%s' ~ receive message failed, errno=%d", mName.string(), errno);
204 ALOGD("channel '
225 InputPublisher(const sp<InputChannel>& channel) argument
363 InputConsumer(const sp<InputChannel>& channel) argument
[all...]
/frameworks/base/media/java/android/media/
H A DJetPlayer.java85 private static final int JET_EVENT_CHAN_MASK = 0x0003c000; // mask for channel
89 private static final int JET_EVENT_CHAN_SHIFT = 14; // shift to get MIDI channel to bit 0
420 // JETCreator channel numbers start at 1, but the index starts at 0
502 * @param channel 4 bit unsigned value
507 short segment, byte track, byte channel, byte controller, byte value);
506 onJetEvent(JetPlayer player, short segment, byte track, byte channel, byte controller, byte value) argument
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiStateMachine.java740 public boolean syncPingSupplicant(AsyncChannel channel) { argument
741 Message resultMsg = channel.sendMessageSynchronously(CMD_PING_SUPPLICANT);
943 public int syncAddOrUpdateNetwork(AsyncChannel channel, WifiConfiguration config) { argument
944 Message resultMsg = channel.sendMessageSynchronously(CMD_ADD_OR_UPDATE_NETWORK, config);
950 public List<WifiConfiguration> syncGetConfiguredNetworks(AsyncChannel channel) { argument
951 Message resultMsg = channel.sendMessageSynchronously(CMD_GET_CONFIGURED_NETWORKS);
962 public boolean syncRemoveNetwork(AsyncChannel channel, int networkId) { argument
963 Message resultMsg = channel.sendMessageSynchronously(CMD_REMOVE_NETWORK, networkId);
976 public boolean syncEnableNetwork(AsyncChannel channel, int netId, boolean disableOthers) { argument
977 Message resultMsg = channel
990 syncDisableNetwork(AsyncChannel channel, int netId) argument
1123 syncSaveConfig(AsyncChannel channel) argument
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp332 int32_t channel; local
333 CHECK(msg->findInt32("channel", &channel));
338 CHECK_LE(channel, 0xffu);
346 header[1] = channel;
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h2083 SLuint8 channel,
2088 SLuint8 channel,
2093 SLuint8 channel,
2098 SLuint8 channel,
/frameworks/base/services/input/
H A DInputDispatcher.cpp915 ALOGD("Dropping event delivery to target with channel '%s' because it "
1771 ALOGD("channel '%s' ~ prepareDispatchCycle - flags=0x%08x, "
1783 ALOGD("channel '%s' ~ Dropping event because the channel status is %s",
1801 ALOGD("channel '%s' ~ Split motion event.",
1865 ALOGD("channel '%s' ~ enqueueDispatchEntryLocked: skipping inconsistent key event",
1893 ALOGD("channel '%s' ~ enqueueDispatchEntryLocked: filling in missing hover enter event",
1907 ALOGD("channel '%s' ~ enqueueDispatchEntryLocked: skipping inconsistent motion event",
1930 ALOGD("channel '%s' ~ startDispatchCycle",
2012 ALOGE("channel '
2172 synthesizeCancelationEventsForInputChannelLocked( const sp<InputChannel>& channel, const CancelationOptions& options) argument
3153 const sp<InputChannel>& channel = mMonitoringChannels[i]; local
[all...]
H A DInputDispatcher.h83 * including the window's input channel, control flags, a timeout, and an X / Y offset to
144 // The input channel to be targeted.
205 /* Notifies the system that an input channel is unrecoverably broken. */
328 /* Transfers touch focus from the window associated with one channel to the
329 * window associated with the other channel.
337 * If monitor is true, the channel will receive a copy of all input events.
353 * input channel becoming unregistered while identifying input targets or processing timeouts.
783 /* Manages the dispatch state associated with a single input channel. */
794 // The input channel has been unregistered.
875 // All registered connections mapped by channel fil
[all...]

Completed in 2746 milliseconds