/frameworks/av/include/media/ |
H A D | IAudioFlinger.h | 162 audio_devices_t *devices,
|
/frameworks/base/media/java/android/media/ |
H A D | AudioRecord.java | 256 * rate that is guaranteed to work on all devices, but other rates such as 22050, 257 * 16000, and 11025 may work on some devices. 264 * to work on all devices. 1383 AudioDeviceInfo[] devices = 1385 for (int i = 0; i < devices.length; i++) { 1386 if (devices[i].getId() == deviceId) { 1387 return devices[i];
|
H A D | AudioTrack.java | 2453 AudioDeviceInfo[] devices = 2455 for (int i = 0; i < devices.length; i++) { 2456 if (devices[i].getId() == deviceId) { 2457 return devices[i];
|
/frameworks/av/media/libmedia/ |
H A D | IAudioFlinger.cpp | 455 audio_devices_t *devices, 460 if (output == NULL || config == NULL || devices == NULL || latencyMs == NULL) { 467 data.writeInt32(*devices); 483 *devices = (audio_devices_t)reply.readInt32(); 1137 audio_devices_t devices = (audio_devices_t)data.readInt32(); local 1143 &devices, address, &latencyMs, flags); 1149 reply->writeInt32(devices); 452 openOutput(audio_module_handle_t module, audio_io_handle_t *output, audio_config_t *config, audio_devices_t *devices, const String8& address, uint32_t *latencyMs, audio_output_flags_t flags) argument
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioOutputDescriptor.cpp | 28 // A device mask for all audio output devices that are considered "remote" when evaluating 29 // active output devices in isStreamActiveRemotely() 530 audio_devices_t devices = outputDesc->mProfile->getSupportedDevicesType(); local 531 return devices;
|
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyService.h | 448 audio_devices_t *devices, 471 audio_devices_t *devices,
|
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/ |
H A D | ScoAudioTest.java | 670 List<BluetoothDevice> devices = mBluetoothHeadset.getConnectedDevices(); 671 if (devices.size() == 0) {
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbService.java | 182 /* Returns a list of all currently attached USB devices (host mdoe) */ 184 public void getDeviceList(Bundle devices) { argument 186 mHostManager.getDeviceList(devices);
|
/frameworks/wilhelm/src/ |
H A D | Android.mk | 73 devices.c \
|
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyInterface.h | 162 // setting volume for all devices 177 // return the enabled output devices for the given stream type 261 audio_devices_t *devices,
|
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioService.java | 156 /** debug calls to devices APIs */ 298 * STREAM_VOLUME_ALIAS_DEFAULT for other devices (e.g. tablets).*/ 571 // Defines the format for the connection "address" for ALSA devices 1264 // Always toggle between max safe volume and 0 for fixed volume devices where safe 1584 // volume is either 0 or max allowed for fixed volume devices 3247 // Disconnect ALL DEVICE_OUT_BLUETOOTH_A2DP devices 3270 // Disconnect ALL DEVICE_IN_BLUETOOTH_A2DP devices 3866 final int devices = AudioSystem.getDevicesForStream(mStreamType); 3867 if (devices == mObservedDevices) { 3868 return devices; [all...] |
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 78 // handle output devices 145 // remove device from available output devices 207 // handle input devices 1001 // devices (the list was previously build by getOutputsForDevice()). 1606 // virtual input devices are compatible with other input devices 1856 // - The device (or devices) selected by the strategy corresponding to this stream includes 1859 // requested device or one of the devices selected by the strategy 2345 // do not report devices with type AUDIO_DEVICE_IN_STUB or AUDIO_DEVICE_OUT_STUB 2469 DeviceVector devices; local 4369 audio_devices_t devices = AUDIO_DEVICE_NONE; local [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothAdapter.java | 65 * device discovery, query a list of bonded (paired) devices, 68 * devices, and start a scan for Bluetooth LE devices. 76 * {@link BluetoothDevice} objects representing all paired devices with 81 * Bluetooth LE devices with {@link #startLeScan(LeScanCallback callback)}. 204 * #SCAN_MODE_CONNECTABLE_DISCOVERABLE}. It allows remote devices to see 309 * nor connectable from remote Bluetooth devices. 315 * remote Bluetooth devices, but is connectable from remote devices that 322 * connectable from remote Bluetooth devices 2150 toDeviceSet(BluetoothDevice[] devices) argument [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
H A D | BluetoothTestUtils.java | 626 * Starts a scan for remote devices and checks to make sure that the local device is scanning 664 * Stops a scan for remote devices and checks to make sure that the local device is not scanning 738 * Initiates a pairing with a remote device and checks to make sure that the devices are paired 751 * Accepts a pairing with a remote device and checks to make sure that the devices are paired 837 * Deletes a pairing with a remote device and checks to make sure that the devices are unpaired 898 * Deletes all pairings of remote devices 902 Set<BluetoothDevice> devices = adapter.getBondedDevices(); 903 for (BluetoothDevice device : devices) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialogController.java | 778 final int devices = intent 783 + stream + " devices=" + devices + " oldDevices=" + oldDevices);
|
/frameworks/native/services/inputflinger/ |
H A D | EventHub.cpp | 107 // Touch devices get dibs on touch-related axes. 141 // Joystick devices get the rest. 498 void EventHub::setExcludedDevices(const Vector<String8>& devices) { argument 501 mExcludedDevices = devices; 589 // TODO add handling for USB devices to not uniqueify kbs that show up twice 618 // of Android. In practice we sometimes get devices that cannot be uniquely 619 // identified. In this case we enforce uniqueness between connected devices. 734 // Reopen input devices if needed. 738 ALOGI("Reopening all input devices due to a configuration change."); 745 // Report any devices tha [all...] |
H A D | InputReader.cpp | 321 // Send out a message that the describes the changed input devices. 438 // External devices. 448 // Switch-like devices. 453 // Scroll wheel-like devices. 458 // Vibrator-like devices. 463 // Keyboard-like devices. 483 // Cursor-like devices. 488 // Touchscreens and touchpad devices. 495 // Joystick-like devices. 500 // External stylus-like devices 3088 Vector<InputDeviceInfo> devices; local [all...] |
/frameworks/av/services/audioflinger/ |
H A D | Threads.cpp | 445 String8 devicesToString(audio_devices_t devices) argument 505 if (devices & AUDIO_DEVICE_BIT_IN) { 506 devices &= ~AUDIO_DEVICE_BIT_IN; 513 if (devices & entry->mDevices) { 520 if (devices & ~allDevices) { 524 result.appendFormat("0x%X", devices & ~allDevices); 3669 // FIXME workaround for first HAL write being CPU bound on some devices
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowManagerService.java | 305 // Maximum number of milliseconds to wait for input devices to be enumerated before 6784 * theme attribute) on devices that feature a physical options menu key attempt to position 6794 * devices and along the right edge of natural-landscape devices. If these assumptions 6804 // TODO(multidisplay): Assume that such devices physical keys are on the main screen. 6807 // On devices with a natural orientation of portrait 6821 // On devices with a natural orientation of landscape 7421 // Update the configuration based on available input devices, lid switch, 7429 final InputDevice[] devices = mInputManager.getInputDevices(); 7430 final int len = devices [all...] |
/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 563 virtual void setExcludedDevices(const Vector<String8>& devices) { argument 564 mExcludedDevices = devices; 1043 // Should also have received a notification describing the new input devices. 1077 << "Should return value provided by mapper when device id is < 0 and one of the devices supports some of the sources."; 1104 << "Should return value provided by mapper when device id is < 0 and one of the devices supports some of the sources."; 1131 << "Should return value provided by mapper when device id is < 0 and one of the devices supports some of the sources."; 1165 << "Should return value provided by mapper when device id is < 0 and one of the devices supports some of the sources.";
|