/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothSocket.java | 53 * <p>To create a {@link BluetoothSocket} for connecting to a known device, use 56 * Then call {@link #connect()} to attempt a connection to the remote device. 106 private BluetoothDevice mDevice; /* remote device */ 141 * @param auth require the remote device to be authenticated 143 * @param device remote device that this socket can connect to 150 BluetoothDevice device, int port, ParcelUuid uuid) throws IOException { 162 mDevice = device; 168 if (device == null) { 173 mAddress = device 149 BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, BluetoothDevice device, int port, ParcelUuid uuid) argument [all...] |
H A D | BluetoothTetheringDataTracker.java | 131 for (BluetoothDevice device: mBluetoothPan.getConnectedDevices()) { 132 mBluetoothPan.disconnect(device); 161 * @return true - If are we currently tethered with another device.
|
/frameworks/av/media/libmedia/ |
H A D | AudioSystem.cpp | 539 status_t AudioSystem::setDeviceConnectionState(audio_devices_t device, argument 552 return aps->setDeviceConnectionState(device, state, address); 555 audio_policy_dev_state_t AudioSystem::getDeviceConnectionState(audio_devices_t device, argument 561 return aps->getDeviceConnectionState(device, device_address); 667 audio_devices_t device) 671 return aps->setStreamVolumeIndex(stream, index, device); 676 audio_devices_t device) 680 return aps->getStreamVolumeIndex(stream, index, device); 665 setStreamVolumeIndex(audio_stream_type_t stream, int index, audio_devices_t device) argument 674 getStreamVolumeIndex(audio_stream_type_t stream, int *index, audio_devices_t device) argument
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
H A D | WifiP2pServiceResponse.java | 58 * Source device. 115 * @param device source device. 119 WifiP2pDevice device, byte[] data) { 123 mDevice = device; 169 * Returns the source device of service discovery response. 173 * @return the source device of service discovery response. 118 WifiP2pServiceResponse(int serviceType, int status, int transId, WifiP2pDevice device, byte[] data) argument
|
/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManager.java | 195 * Gets information about the input device with the specified id. 196 * @param id The device id. 197 * @return The input device or null if not found. 213 throw new RuntimeException("Could not get input device information.", ex); 222 * Gets information about the input device with the specified descriptor. 223 * @param descriptor The input device descriptor. 224 * @return The input device or null if not found. 258 * @return The input device ids. 274 * Registers an input device listener to receive notifications about when 297 * Unregisters an input device listene [all...] |
/frameworks/base/libs/androidfw/ |
H A D | Android.mk | 61 # For the device
|
/frameworks/av/services/audioflinger/ |
H A D | AudioPolicyService.cpp | 79 ALOGE_IF(rc, "couldn't open audio policy device (%s)", strerror(-rc)); 130 status_t AudioPolicyService::setDeviceConnectionState(audio_devices_t device, argument 140 if (!audio_is_output_device(device) && !audio_is_input_device(device)) { 150 return mpAudioPolicy->set_device_connection_state(mpAudioPolicy, device, 155 audio_devices_t device, 161 return mpAudioPolicy->get_device_connection_state(mpAudioPolicy, device, 379 audio_devices_t device) 395 device); 403 audio_devices_t device) 154 getDeviceConnectionState( audio_devices_t device, const char *device_address) argument 377 setStreamVolumeIndex(audio_stream_type_t stream, int index, audio_devices_t device) argument 401 getStreamVolumeIndex(audio_stream_type_t stream, int *index, audio_devices_t device) argument [all...] |
H A D | AudioFlinger.h | 735 audio_devices_t mOutDevice; // output device 736 audio_devices_t mInDevice; // input device 1029 audio_io_handle_t id, audio_devices_t device, type_t type); 1254 audio_devices_t device, 1309 audio_io_handle_t id, audio_devices_t device); 1396 // return thread associated with primary hardware device, or NULL 1479 audio_devices_t device); 1670 status_t setDevice(audio_devices_t device); 1834 void setDevice_l(audio_devices_t device);
|
H A D | AudioFlinger.cpp | 204 ALOGE_IF(rc, "%s couldn't open audio hw device in %s.%s (%s)", __func__, 210 ALOGE("%s wrong audio hw device version %04x", __func__, (*dev)->common.version); 294 // then try to find a module supporting the requested device. 880 // disable AEC and NS if the device is a BT SCO headset supporting those pre processings 888 audio_devices_t device = thread->inDevice(); local 889 bool suspend = audio_is_bluetooth_sco_device(device) && btNrecIsOff; 925 // indicate output device change to all input threads for pre processing 1546 audio_devices_t device, 1548 : ThreadBase(audioFlinger, id, device, AUDIO_DEVICE_NONE, type), 2256 audio_io_handle_t id, audio_devices_t device, type_ 1543 PlaybackThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output, audio_io_handle_t id, audio_devices_t device, type_t type) argument 2255 MixerThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output, audio_io_handle_t id, audio_devices_t device, type_t type) argument 3695 DirectOutputThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output, audio_io_handle_t id, audio_devices_t device) argument 5986 RecordThread(const sp<AudioFlinger>& audioFlinger, AudioStreamIn *input, uint32_t sampleRate, audio_channel_mask_t channelMask, audio_io_handle_t id, audio_devices_t device) argument 7192 audio_devices_t device = (*pDevices) | primaryOutputDevice_l(); local 8738 setDevice(audio_devices_t device) argument 9455 setDevice_l(audio_devices_t device) argument [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_location_GpsLocationProvider.cpp | 255 hw_device_t* device; local 256 err = module->methods->open(module, GPS_HARDWARE_MODULE_ID, &device); 258 gps_device_t* gps_device = (gps_device_t *)device;
|
/frameworks/base/services/java/com/android/server/ |
H A D | VibratorService.java | 376 InputDevice device = mIm.getInputDevice(ids[i]); 377 Vibrator vibrator = device.getVibrator(); 406 // when reporting whether the device has a vibrator. Applications often use this 409 // the device has a built-in vibrator.
|
/frameworks/native/opengl/libs/ |
H A D | Android.mk | 166 # Build the ETC1 device library
|
/frameworks/base/core/java/android/view/ |
H A D | KeyCharacterMap.java | 30 * Describes the keys provided by a keyboard device and their associated labels. 34 * The id of the device's primary built in keyboard is always 0. 37 * guarantee that a device has a built-in keyboard that can be used for 42 * use the device id specified in the {@link KeyEvent} received. 45 * device id. 322 * Loads the key character maps for the keyboard with the specified device id. 324 * @param deviceId The device id of the keyboard. 337 "Could not load key character map for device " + deviceId); 578 * map for the {@link #BUILT_IN_KEYBOARD built-in keyboard} device id may be empty. 580 * {@link #VIRTUAL_KEYBOARD virtual keyboard} device i [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioManager.java | 622 * Adjusts the master volume for the device's audio amplifier. 2310 // This section re-defines new output device constants from AudioSystem, because the AudioSystem 2314 /** {@hide} The audio output device code for the small speaker at the front of the device used 2320 /** {@hide} The audio output device code for the built-in speaker */ 2322 /** {@hide} The audio output device code for a wired headset with attached microphone */ 2324 /** {@hide} The audio output device code for a wired headphone without attached microphone */ 2326 /** {@hide} The audio output device code for generic Bluetooth SCO, for voice */ 2328 /** {@hide} The audio output device code for Bluetooth SCO Headset Profile (HSP) and 2333 /** {@hide} The audio output device cod 2426 setWiredDeviceConnectionState(int device, int state, String name) argument 2443 setBluetoothA2dpDeviceConnectionState(BluetoothDevice device, int state) argument [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpDataPacket.cpp | 428 int MtpDataPacket::readDataWait(struct usb_device *device) { 429 struct usb_request *req = usb_request_wait(device);
|
/frameworks/native/services/sensorservice/ |
H A D | SensorService.cpp | 248 SensorDevice& device(SensorDevice::getInstance()); 253 count = device.poll(buffer, numEventMax);
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestRecBuffQueue.cpp | 196 ioDevice.device = NULL;
|
H A D | slesTestFeedback.cpp | 18 // It will generate feedback (Larsen effect) if played through on-device speakers, 336 // Create an audio recorder with microphone device source and buffer queue sink. 344 locator_iodevice.device = NULL;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 715 InputDevice device = mIm.getInputDevice(deviceId); 716 if (device != null) { 717 Log.i(TAG, state + ": " + device);
|
/frameworks/av/media/libeffects/preprocessing/ |
H A D | PreProcessing.cpp | 81 int (* set_device)(preproc_effect_t *fx, uint32_t device); 514 int AecSetDevice(preproc_effect_t *effect, uint32_t device) argument 516 ALOGV("AecSetDevice %08x", device); 520 if (audio_is_input_device(device)) { 524 switch(device) { 1014 // "out" doesn't mean output device, so this is the correct API to convert channel count to mask
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
H A D | EffectBundle.cpp | 2499 // Bass boost or Virtualizer can be temporarily disabled if playing over device speaker due 3110 uint32_t device = *(uint32_t *)pCmdData; local 3113 if((device == AUDIO_DEVICE_OUT_SPEAKER) || 3114 (device == AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT) || 3115 (device == AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER)){ 3116 ALOGV("\tEFFECT_CMD_SET_DEVICE device is invalid for LVM_BASS_BOOST %d", 3120 // If a device doesnt support bassboost the effect must be temporarily disabled 3131 ALOGV("\tEFFECT_CMD_SET_DEVICE device is valid for LVM_BASS_BOOST %d", 3134 // If a device supports bassboost and the effect has been temporarily disabled 3146 if((device [all...] |
/frameworks/base/services/java/com/android/server/input/ |
H A D | InputManagerService.java | 326 Slog.d(TAG, "Reloading device names."); 357 * @param deviceId The input device id, or -1 to consult all devices. 359 * consider all input sources. An input device is consulted if at least one of its 370 * @param deviceId The input device id, or -1 to consult all devices. 372 * consider all input sources. An input device is consulted if at least one of its 383 * @param deviceId The input device id, or -1 to consult all devices. 385 * consider all input sources. An input device is consulted if at least one of its 395 * Determines whether the specified key codes are supported by a particular device. 396 * @param deviceId The input device id, or -1 to consult all devices. 398 * consider all input sources. An input device i [all...] |
/frameworks/base/services/java/com/android/server/usb/ |
H A D | UsbDeviceManager.java | 62 * UsbDeviceManager manages USB state in device mode. 460 // Do not update persystent.sys.usb.config if the device is booted up 579 int device = scanner.nextInt(); 581 intent.putExtra("device", device);
|
/frameworks/compile/libbcc/gdb_plugin/ |
H A D | android-commands.py | 25 # set-android-device to select a target (only if multiple devices are attached) 102 def __init__(self, device=None, verbose=False): 104 self.current_device = device 123 msg = "No devices detected. Please connect a device and " 128 print "Warning: " + msg + " use the set-android-device command." 219 # Pull lib from device and compute hash 258 print "Current device already is: " + str(serial) 269 # sitting on the device actually executing. Alert the user if 486 print "Unable to push gdbserver to device. Try re-installing app." 725 # TODO: Check status of app on device [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pManager.java | 53 * When a p2p connection is formed over wifi, the device continues to maintain the uplink 54 * connection over mobile or any other available network for internet connectivity on the device. 67 * discovery request from an application stays active until the device starts connecting to a peer 75 * {@link PeerListListener#onPeersAvailable} is called with the device list. 86 * if the current device is a p2p group owner. A p2p client can thus communicate with 97 * application on a peer device prior to a connection setup between the devices. 101 * prior to setting up a Wi-fi p2p connection with the device. 257 * Broadcast intent action indicating that this device details have changed. 485 * Indicates that the operation failed because p2p is unsupported on the device. 573 * @param srcDevice source device 666 onConnectionRequested(WifiP2pDevice device, WifiP2pConfig config) argument [all...] |