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

12

/frameworks/base/core/java/com/android/internal/view/
H A DInputBindResult.java36 * The input channel used to send input events to this IME.
38 public final InputChannel channel; field in class:InputBindResult
54 channel = _channel;
62 channel = InputChannel.CREATOR.createFromParcel(source);
64 channel = null;
85 if (channel != null) {
87 channel.writeToParcel(dest, flags);
113 return channel != null ? channel.describeContents() : 0;
H A DIInputMethod.aidl45 void createSession(in InputChannel channel, IInputSessionCallback callback);
/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/net/
H A DMobileDataStateTracker.java476 final AsyncChannel channel = mDataConnectionTrackerAc;
477 if (channel != null) {
478 channel.sendMessage(DctConstants.CMD_SET_USER_DATA_ENABLE,
488 final AsyncChannel channel = mDataConnectionTrackerAc;
489 if (channel != null) {
490 channel.sendMessage(DctConstants.CMD_SET_POLICY_DATA_ENABLE,
503 final AsyncChannel channel = mDataConnectionTrackerAc;
504 if (channel != null) {
505 channel.sendMessage(DctConstants.CMD_SET_ENABLE_FAIL_FAST_MOBILE_DATA, enabled);
/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;
370 int channel = readInt(mSocketIS);
375 if (VDBG) Log.d(TAG, "channel: " + channel);
377 mPort = channel;
378 } // else ASSERT(mPort == channel)
[all...]
H A DBluetoothDevice.java1014 * outgoing connection to this remote device on given channel.
1031 * @param channel RFCOMM channel to connect to
1037 public BluetoothSocket createRfcommSocket(int channel) throws IOException { argument
1038 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, channel,
1050 * determine which channel to connect to.
1068 * @param uuid service record uuid to lookup RFCOMM channel
1081 * <p> The communication channel will not have an authenticated link key
1086 * encrypted and authenticated communication channel is desired.
1092 * determine which channel t
[all...]
H A DBluetoothAdapter.java914 * @param channel RFCOMM channel to listen on
917 * insufficient permissions, or channel in use.
920 public BluetoothServerSocket listenUsingRfcommOn(int channel) throws IOException { argument
922 BluetoothSocket.TYPE_RFCOMM, true, true, channel);
939 * <p>The system will assign an unused RFCOMM channel to listen on.
942 * UUID, service name, and auto-assigned channel. Remote Bluetooth devices
943 * can use the same UUID to query our SDP server and discover which channel
953 * insufficient permissions, or channel in use.
967 * encrypted and authenticated communication channel i
[all...]
/frameworks/av/include/media/
H A DSoundPool.h190 void done_l(SoundChannel* channel);
204 void moveToFront_l(SoundChannel* channel);
209 void addToRestartList(SoundChannel* channel);
210 void addToStopList(SoundChannel* channel);
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodSessionWrapper.java61 InputMethodSession inputMethodSession, InputChannel channel) {
65 mChannel = channel;
66 if (channel != null) {
67 mReceiver = new ImeInputEventReceiver(channel, context.getMainLooper());
60 IInputMethodSessionWrapper(Context context, InputMethodSession inputMethodSession, InputChannel channel) argument
H A DIInputMethodWrapper.java86 InputMethodSessionCallbackWrapper(Context context, InputChannel channel, argument
89 mChannel = channel;
272 public void createSession(InputChannel channel, IInputSessionCallback callback) { argument
274 channel, callback));
/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/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java381 if (res.channel != null && res.channel != mCurChannel) {
382 res.channel.dispose();
387 setInputChannelLocked(res.channel);
723 void setInputChannelLocked(InputChannel channel) { argument
724 if (mCurChannel != channel) {
733 mCurChannel = channel;
1178 setInputChannelLocked(res.channel);
1183 if (res.channel != null && res.channel !
[all...]
/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/wifi/java/android/net/wifi/
H A DWifiStateMachine.java716 public boolean syncPingSupplicant(AsyncChannel channel) { argument
717 Message resultMsg = channel.sendMessageSynchronously(CMD_PING_SUPPLICANT);
921 public int syncAddOrUpdateNetwork(AsyncChannel channel, WifiConfiguration config) { argument
922 Message resultMsg = channel.sendMessageSynchronously(CMD_ADD_OR_UPDATE_NETWORK, config);
928 public List<WifiConfiguration> syncGetConfiguredNetworks(AsyncChannel channel) { argument
929 Message resultMsg = channel.sendMessageSynchronously(CMD_GET_CONFIGURED_NETWORKS);
940 public boolean syncRemoveNetwork(AsyncChannel channel, int networkId) { argument
941 Message resultMsg = channel.sendMessageSynchronously(CMD_REMOVE_NETWORK, networkId);
954 public boolean syncEnableNetwork(AsyncChannel channel, int netId, boolean disableOthers) { argument
955 Message resultMsg = channel
968 syncDisableNetwork(AsyncChannel channel, int netId) argument
1102 syncSaveConfig(AsyncChannel channel) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DInputMethodManagerService.java208 InputChannel channel; field in class:InputMethodManagerService.SessionState
217 + " channel " + channel
226 channel = _channel;
569 InputChannel channel) {
572 mChannel = channel;
1081 session.channel != null ? session.channel.dup() : null, mCurId, mCurSeq);
1270 InputChannel channel) {
1277 method, session, channel);
568 MethodCallback(InputMethodManagerService imms, IInputMethod method, InputChannel channel) argument
1269 onSessionCreated(IInputMethod method, IInputMethodSession session, InputChannel channel) argument
[all...]
/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 '
230 InputPublisher(const sp<InputChannel>& channel) argument
368 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/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp437 int32_t channel; local
438 CHECK(msg->findInt32("channel", &channel));
443 CHECK_LE(channel, 0xffu);
451 header[1] = channel;
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp172 // GRBG Bayer mosaic; only check the matching channel
244 inline uint8_t chooseColorRgba8888(int blockX, int blockY, uint8_t channel) { argument
247 % (colorVariations) == channel ? 191: 63;
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h2083 SLuint8 channel,
2088 SLuint8 channel,
2093 SLuint8 channel,
2098 SLuint8 channel,

Completed in 580 milliseconds

12