/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetoothCallback.aidl | 26 void onRfcommChannelFound(int channel);
|
H A D | BluetoothSocket.java | 101 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 D | BluetoothAdapter.java | 867 /* 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 D | BluetoothDevice.java | 888 * 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...] |
H A D | IBluetooth.aidl | 88 int addRfcommServiceRecord(in String serviceName, in ParcelUuid uuid, int channel, IBinder b);
|
/frameworks/base/core/java/android/view/ |
H A D | InputQueue.java | 45 public InputQueue(InputChannel channel) { argument 46 mChannel = channel;
|
/frameworks/wilhelm/src/itf/ |
H A D | IMIDIMuteSolo.c | 22 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 D | IOutputMixExt.c | 214 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 D | SoundPool.cpp | 97 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/server/ |
H A D | BluetoothHealthProfileHandler.java | 252 // will only allow one health channel object creation at a time. 353 // We had no record of the main channel but querying Bluez we got a 354 // main channel. We might not have received the PropertyChanged yet for 355 // the main channel creation so update our data structure here. 378 // This means that the main channel is being destroyed. 397 HealthChannel channel = findChannelById(chanCode); 398 if (channel == null) errorLog("No record of this channel:" + chanCode); 400 callHealthChannelCallback(channel.mConfig, channel [all...] |
H A D | BluetoothService.java | 136 /** 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/native/libs/gui/ |
H A D | IDisplayEventConnection.cpp | 79 sp<BitTube> channel(getDataChannel()); 80 channel->writeToParcel(reply);
|
H A D | ISensorEventConnection.cpp | 86 sp<BitTube> channel(getSensorChannel()); 87 channel->writeToParcel(reply);
|
/frameworks/av/include/media/ |
H A D | SoundPool.h | 188 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 D | AacAdtsExtractor.cpp | 106 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 D | MobileDataStateTracker.java | 471 final AsyncChannel channel = mDataConnectionTrackerAc; 472 if (channel != null) { 473 channel.sendMessage(CMD_SET_USER_DATA_ENABLE, enabled ? ENABLED : DISABLED); 482 final AsyncChannel channel = mDataConnectionTrackerAc; 483 if (channel != null) { 484 channel.sendMessage(CMD_SET_POLICY_DATA_ENABLE, enabled ? ENABLED : DISABLED);
|
/frameworks/base/include/android_runtime/ |
H A D | android_app_NativeActivity.h | 70 /* 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 D | AACExtractor.cpp | 155 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 D | InputTransport.h | 25 * 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/jni/ |
H A D | android_bluetooth_BluetoothAudioGateway.cpp | 89 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 D | android_app_NativeActivity.cpp | 110 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/core/java/android/app/ |
H A D | NativeActivity.java | 104 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/wifi/java/android/net/wifi/ |
H A D | WifiStateMachine.java | 717 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/libs/androidfw/ |
H A D | InputTransport.cpp | 10 // 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 D | JetPlayer.java | 85 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
|