Searched defs:channel (Results 1 - 16 of 16) 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/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/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/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/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/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/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/java/android/bluetooth/
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...]
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...]
/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/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/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/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...]
/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...]

Completed in 255 milliseconds