Searched defs:channel (Results 1 - 19 of 19) 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/base/core/jni/
H A Dandroid_bluetooth_BluetoothAudioGateway.cpp89 static int setup_listening_socket(int dev, int channel);
141 ALOGV("HF RFCOMM channel = %d.", nat->hf_ag_rfcomm_channel);
142 ALOGV("HS RFCOMM channel = %d.", nat->hs_ag_rfcomm_channel);
218 ALOGI("Successful accept() on AG socket %d: new socket %d, address %s, RFCOMM channel %d",
472 static int setup_listening_socket(int dev, int channel) { argument
497 laddr.rc_channel = channel;
H A Dandroid_server_BluetoothEventLoop.cpp1435 jint channel = -2; local
1441 DBUS_TYPE_INT32, &channel,
1452 channel);
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
H A Dandroid_server_BluetoothService.cpp1045 jstring name, jlong uuidMsb, jlong uuidLsb, jshort channel) {
1054 ALOGV("... channel = %d", channel);
1061 DBUS_TYPE_UINT16, &channel,
1044 addRfcommServiceRecordNative(JNIEnv *env, jobject object, jstring name, jlong uuidMsb, jlong uuidLsb, jshort channel) argument
/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/bluetooth/
H A DBluetoothSocket.java101 private int mPort; /* RFCOMM channel or L2CAP psm */
134 throw new IOException("Invalid RFCOMM channel: " + port);
372 private int channel; field in class:BluetoothSocket.SdpHelper
381 * Returns the RFCOMM channel for the UUID, or throws IOException
386 channel = -1;
403 if (channel < 1) throw new IOException("Service discovery failed");
405 return channel;
411 channel = -1;
415 public synchronized void onRfcommChannelFound(int channel) { argument
417 this.channel
[all...]
H A DBluetoothAdapter.java867 /* Returns next random channel, or -1 if we're out */
884 * @param channel RFCOMM channel to listen on
887 * insufficient permissions, or channel in use.
890 public BluetoothServerSocket listenUsingRfcommOn(int channel) throws IOException { argument
892 BluetoothSocket.TYPE_RFCOMM, true, true, channel);
909 * <p>The system will assign an unused RFCOMM channel to listen on.
912 * UUID, service name, and auto-assigned channel. Remote Bluetooth devices
913 * can use the same UUID to query our SDP server and discover which channel
923 * insufficient permissions, or channel i
[all...]
H A DBluetoothDevice.java888 * outgoing connection to this remote device on given channel.
905 * @param channel RFCOMM channel to connect to
911 public BluetoothSocket createRfcommSocket(int channel) throws IOException { argument
912 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, channel,
924 * determine which channel to connect to.
942 * @param uuid service record uuid to lookup RFCOMM channel
955 * <p> The communication channel will not have an authenticated link key
960 * encrypted and authenticated communication channel is desired.
966 * determine which channel t
[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/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/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/wifi/java/android/net/wifi/
H A DWifiStateMachine.java717 public boolean syncPingSupplicant(AsyncChannel channel) { argument
718 Message resultMsg = channel.sendMessageSynchronously(CMD_PING_SUPPLICANT);
910 public int syncAddOrUpdateNetwork(AsyncChannel channel, WifiConfiguration config) { argument
911 Message resultMsg = channel.sendMessageSynchronously(CMD_ADD_OR_UPDATE_NETWORK, config);
917 public List<WifiConfiguration> syncGetConfiguredNetworks(AsyncChannel channel) { argument
918 Message resultMsg = channel.sendMessageSynchronously(CMD_GET_CONFIGURED_NETWORKS);
929 public boolean syncRemoveNetwork(AsyncChannel channel, int networkId) { argument
930 Message resultMsg = channel.sendMessageSynchronously(CMD_REMOVE_NETWORK, networkId);
943 public boolean syncEnableNetwork(AsyncChannel channel, int netId, boolean disableOthers) { argument
944 Message resultMsg = channel
957 syncDisableNetwork(AsyncChannel channel, int netId) argument
1090 syncSaveConfig(AsyncChannel channel) argument
[all...]
/frameworks/base/core/java/android/server/
H A DBluetoothService.java136 /** Always retrieve RFCOMM channel for these SDP UUIDs */
1300 * Optionally takes a uuid and callback to fetch the RFCOMM channel for the
1347 * Gets the rfcomm channel associated with the UUID.
1353 * @return rfcomm channel associated with the service attribute
1488 // We are storing the rfcomm channel numbers only for the uuids
1504 // Retrieve RFCOMM channel for default uuids
1507 int channel = getDeviceServiceChannelForUuid(address, uuid);
1508 uuidToChannelMap.put(uuid, channel);
1509 if (DBG) Log.d(TAG, "\tuuid(system): " + uuid + " " + channel);
1512 // Retrieve RFCOMM channel fo
1560 addRfcommServiceRecord(String serviceName, ParcelUuid uuid, int channel, IBinder b) argument
2894 addRfcommServiceRecordNative(String name, long uuidMsb, long uuidLsb, short channel) argument
[all...]
/frameworks/base/services/input/
H A DInputDispatcher.cpp894 ALOGD("Dropping event delivery to target with channel '%s' because it "
1728 ALOGD("channel '%s' ~ prepareDispatchCycle - flags=0x%08x, "
1740 ALOGD("channel '%s' ~ Dropping event because the channel status is %s",
1758 ALOGD("channel '%s' ~ Split motion event.",
1822 ALOGD("channel '%s' ~ enqueueDispatchEntryLocked: skipping inconsistent key event",
1850 ALOGD("channel '%s' ~ enqueueDispatchEntryLocked: filling in missing hover enter event",
1864 ALOGD("channel '%s' ~ enqueueDispatchEntryLocked: skipping inconsistent motion event",
1887 ALOGD("channel '%s' ~ startDispatchCycle",
1969 ALOGE("channel '
2129 synthesizeCancelationEventsForInputChannelLocked( const sp<InputChannel>& channel, const CancelationOptions& options) argument
3090 const sp<InputChannel>& channel = mMonitoringChannels[i]; local
[all...]

Completed in 387 milliseconds