/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
H A D | InputSource.cpp | 41 * @param[in] devices selected for the given input source. 47 status_t Element<audio_source_t>::set(audio_devices_t devices) argument 49 if (devices != AUDIO_DEVICE_NONE) { 50 devices |= AUDIO_DEVICE_BIT_IN; 52 if (!audio_is_input_device(devices)) { 54 __FUNCTION__, devices, getName().c_str()); 57 ALOGD("%s: 0x%X for input source %s", __FUNCTION__, devices, getName().c_str()); 58 mApplicableDevices = devices;
|
H A D | Strategy.cpp | 42 * @param[in] devices selected for the given strategy. 47 status_t Element<routing_strategy>::set<audio_devices_t>(audio_devices_t devices) argument 49 if (!audio_is_output_devices(devices) || devices == AUDIO_DEVICE_NONE) { 51 __FUNCTION__, devices, getName().c_str()); 54 ALOGD("%s: 0x%X for strategy %s", __FUNCTION__, devices, getName().c_str()); 55 mApplicableDevices = devices;
|
H A D | Engine.h | 118 virtual bool setDeviceForStrategy(const routing_strategy &strategy, audio_devices_t devices) argument 120 return mPolicyEngine->setPropertyForKey<audio_devices_t, routing_strategy>(devices,
|
/frameworks/av/services/audioflinger/ |
H A D | AudioHwDevice.cpp | 37 audio_devices_t devices, 53 status_t status = outputStream->open(handle, devices, config, address); 78 status = outputStream->open(handle, devices, &originalConfig, address); 34 openOutputStream( AudioStreamOut **ppStreamOut, audio_io_handle_t handle, audio_devices_t devices, audio_output_flags_t flags, struct audio_config *config, const char *address) argument
|
H A D | SpdifStreamOut.cpp | 49 audio_devices_t devices, 96 devices, 47 open( audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, const char *address) argument
|
H A D | AudioStreamOut.cpp | 114 audio_devices_t devices, 127 devices, 150 devices, 112 open( audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, const char *address) argument
|
H A D | AudioFlinger.cpp | 290 audio_devices_t devices) 304 (dev->get_supported_devices(dev) & devices) == devices) 1418 // Increase heap size on non low ram devices to limit risk of reconnection failure for 1817 audio_devices_t devices, 1821 AudioHwDevice *outHwDev = findSuitableHwDev_l(module, devices); 1862 devices, 1873 thread = new OffloadThread(this, outputStream, *output, devices, mSystemReady); 1878 thread = new DirectOutputThread(this, outputStream, *output, devices, mSystemReady); 1881 thread = new MixerThread(this, outputStream, *output, devices, mSystemRead 288 findSuitableHwDev_l( audio_module_handle_t module, audio_devices_t devices) argument 1814 openOutput_l(audio_module_handle_t module, audio_io_handle_t *output, audio_config_t *config, audio_devices_t devices, const String8& address, audio_output_flags_t flags) argument 1891 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 2065 openInput(audio_module_handle_t module, audio_io_handle_t *input, audio_config_t *config, audio_devices_t *devices, const String8& address, audio_source_t source, audio_input_flags_t flags) argument 2089 openInput_l(audio_module_handle_t module, audio_io_handle_t *input, audio_config_t *config, audio_devices_t devices, const String8& address, audio_source_t source, audio_input_flags_t flags) argument [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | IOProfile.h | 94 void setSupportedDevices(const DeviceVector &devices) argument 96 mSupportedDevices = devices; 107 DeviceVector mSupportedDevices; // supported devices: this input/output can be routed from/to
|
/frameworks/av/services/audiopolicy/enginedefault/src/ |
H A D | Engine.cpp | 308 // Force use of only devices on primary output if: 328 // for phone strategy, we first consider the forced use and then the available devices by 430 audio_devices_t devices = desc->device() & local 433 devices != AUDIO_DEVICE_NONE) { 434 availableOutputDevicesType = availableOutputDevices.types() & ~devices; 583 // Allow only use of devices on primary input if in call and HAL does not support routing
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_lights_LightsService.cpp | 67 Devices* devices; local 69 devices = (Devices*)malloc(sizeof(Devices)); 73 devices->lights[LIGHT_INDEX_BACKLIGHT] 75 devices->lights[LIGHT_INDEX_KEYBOARD] 77 devices->lights[LIGHT_INDEX_BUTTONS] 79 devices->lights[LIGHT_INDEX_BATTERY] 81 devices->lights[LIGHT_INDEX_NOTIFICATIONS] 83 devices->lights[LIGHT_INDEX_ATTENTION] 85 devices->lights[LIGHT_INDEX_BLUETOOTH] 87 devices 98 Devices* devices = (Devices*)ptr; local 109 Devices* devices = (Devices*)ptr; local [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pDeviceList.java | 52 public WifiP2pDeviceList(ArrayList<WifiP2pDevice> devices) { argument 53 for (WifiP2pDevice device : devices) { 163 /** Get the list of devices */
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioInputDescriptor.cpp | 253 audio_devices_t devices = inputDesc->mProfile->getSupportedDevicesType(); local 254 return devices;
|
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;
|
H A D | ConfigParsingUtils.cpp | 101 status_t ConfigParsingUtils::loadHwModuleDevice(cnode *root, DeviceVector &devices) argument 145 devices.add(deviceDesc); 177 DeviceVector devices; local 178 loadDevicesFromTag(node->value, devices, module->getDeclaredDevices()); 179 profile->setSupportedDevices(devices); 209 ALOGW_IF(!profile->hasSupportedDevices(), "load%s() invalid supported devices", 228 DeviceVector devices; local 231 status_t tmpStatus = loadHwModuleDevice(node, devices); 237 module->setDeclaredDevices(devices); 288 void ConfigParsingUtils::loadDevicesFromTag(const char *tag, DeviceVector &devices, argument [all...] |
H A D | DeviceDescriptor.cpp | 79 void DeviceVector::add(const DeviceVector &devices) argument 81 for (size_t i = 0; i < devices.size(); i++) { 82 sp<DeviceDescriptor> device = devices.itemAt(i); 123 audio_devices_t devices = AUDIO_DEVICE_NONE; local 126 devices |= itemAt(i)->type(); 129 return devices; 164 DeviceVector devices; local 171 devices.add(itemAt(i)); 177 return devices; 183 DeviceVector devices; local [all...] |
H A D | HwModule.cpp | 137 void HwModule::setDeclaredDevices(const DeviceVector &devices) argument 139 mDeclaredDevices = devices; 140 for (size_t i = 0; i < devices.size(); i++) { 141 mPorts.add(devices[i]); 169 // Now updating the streams (aka IOProfile until now) supported devices 175 // Now updating the streams (aka IOProfile until now) supported devices 188 ALOGE("%s: invalid source devices for %s", __FUNCTION__, stream->getName().string()); 194 ALOGE("%s: invalid source devices for %s", __FUNCTION__, stream->getName().string());
|
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyClientImpl.cpp | 42 audio_devices_t *devices, 52 return af->openOutput(module, output, config, devices, address, latencyMs, flags); 39 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/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | CastTile.java | 122 final Set<CastDevice> devices = mController.getCastDevices(); 124 for (CastDevice device : devices) { 139 mDetailAdapter.updateItems(devices); 234 private void updateItems(Set<CastDevice> devices) { argument 237 if (devices != null && !devices.isEmpty()) { 239 for (CastDevice device : devices) { 251 // otherwise list all available devices, and don't move them around 253 for (CastDevice device : devices) { 256 items = new Item[devices [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | LogicalDisplay.java | 37 * A logical display may be mirrored onto multiple display devices in addition to its 49 * display devices are orthogonal concepts. Some mapping will exist between 50 * logical displays and display devices but it can be many-to-many and 175 * display devices are gone or if it is otherwise no longer needed. 184 * Updates the state of the logical display based on the available display devices. 188 * @param devices The list of all connected display devices. 190 public void updateLocked(List<DisplayDevice> devices) { argument 197 if (!devices.contains(mPrimaryDisplayDevice)) {
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbHostManager.java | 44 // contains all connected USB devices 100 // blacklist HID boot devices (mouse and keyboard) 109 /* Called from JNI in monitorUsbHostBus() to report new USB devices 263 /* Returns a list of all currently attached USB devices */ 264 public void getDeviceList(Bundle devices) { argument 267 devices.putParcelable(name, mDevices.get(name));
|
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/compile/libbcc/gdb_plugin/ |
H A D | android-commands.py | 25 # set-android-device to select a target (only if multiple devices are attached) 116 devices = self.devices() 117 if len(devices) == 1: 118 self.set_current_device(devices[0]) 122 if len(devices) == 0: 123 msg = "No devices detected. Please connect a device and " 125 msg = "Too many devices (" + ", ".join(devices) + ") detected. " \ 245 # Returns the list of serial numbers of connected devices 246 def devices(self): member in class:ADB [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/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/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...] |