Searched refs:devices (Results 26 - 50 of 70) sorted by relevance

123

/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pDeviceList.java52 public WifiP2pDeviceList(ArrayList<WifiP2pDevice> devices) { argument
53 for (WifiP2pDevice device : devices) {
163 /** Get the list of devices */
/frameworks/rs/api/
H A Drs_core.spec21 RenderScript code is compiled on devices at runtime to allow platform-independence as well.
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpManager.java105 // Handle devices that fail to obtain storages just after opening a MTP session.
120 final ArrayList<MtpDeviceRecord> devices = new ArrayList<>();
125 devices.add(createDeviceRecord(device));
127 return devices.toArray(new MtpDeviceRecord[devices.size()]);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DCastControllerImpl.java134 final ArraySet<CastDevice> devices = new ArraySet<CastDevice>();
143 devices.add(device);
144 return devices;
159 devices.add(device);
162 return devices;
/frameworks/compile/libbcc/gdb_plugin/
H A Dandroid-commands.py25 # 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/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DBluetoothTile.java247 final Collection<CachedBluetoothDevice> devices = mController.getDevices();
248 if (devices != null) {
249 for (CachedBluetoothDevice device : devices) {
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DDeviceDescriptor.h73 void add(const DeviceVector &devices);
H A DHwModule.h50 void setDeclaredDevices(const DeviceVector &devices);
95 DeviceVector mDeclaredDevices; // devices declared in audio_policy configuration file.
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DHwModule.cpp137 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());
H A DAudioInputDescriptor.cpp253 audio_devices_t devices = inputDesc->mProfile->getSupportedDevicesType(); local
254 return devices;
/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DEngine.h118 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/audiopolicy/service/
H A DAudioPolicyClientImpl.cpp42 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/services/usb/java/com/android/server/usb/
H A DUsbHostManager.java44 // 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 DUsbAlsaManager.java50 * UsbAlsaManager manages USB audio and MIDI devices.
65 // this is needed to map USB devices to ALSA Audio Devices, especially to remove an
144 // add existing alsa devices
303 // Don't. AudioPolicyManager has logic for falling back to internal devices.
391 // look for MIDI devices
450 // if there any external devices left, select one of them
501 ArrayList<UsbAudioDevice> devices = new ArrayList<UsbAudioDevice>(mAudioDevices.size());
503 devices.add(entry.getValue());
505 return devices;
533 // This logs a more terse (and more readable) version of the devices lis
[all...]
/frameworks/base/docs/html/training/
H A Dtraining_toc.cs40 <a href="<?cs var:toroot ?>training/basics/supporting-devices/index.html"
47 <li><a href="<?cs var:toroot ?>training/basics/supporting-devices/languages.html">
51 <li><a href="<?cs var:toroot ?>training/basics/supporting-devices/screens.html">
55 <li><a href="<?cs var:toroot ?>training/basics/supporting-devices/platforms.html">
331 "How to transfer files between devices using the NFC Android Beam feature."
581 <a href="<?cs var:toroot ?>training/connect-devices-wirelessly/index.html"
583 "How to find and connect to local devices using Network Service
588 <li><a href="<?cs var:toroot ?>training/connect-devices-wirelessly/nsd.html">
592 <li><a href="<?cs var:toroot ?>training/connect-devices-wirelessly/wifi-direct.html">
596 <li><a href="<?cs var:toroot ?>training/connect-devices
[all...]
/frameworks/av/services/audiopolicy/enginedefault/src/
H A DEngine.cpp308 // 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/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
H A DSinkActivity.java129 Map<String, UsbDevice> devices = mUsbManager.getDeviceList();
130 if (devices != null) {
131 for (UsbDevice device : devices.values()) {
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h85 // Shared memory size multiplier for non low ram devices
169 audio_devices_t *devices,
340 audio_devices_t devices);
539 audio_devices_t devices,
768 String8 devicesToString(audio_devices_t devices);
H A DAudioFlinger.cpp290 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/base/packages/SystemUI/src/com/android/systemui/keyboard/
H A DKeyboardUI.java298 Set<BluetoothDevice> devices = mLocalBluetoothAdapter.getBondedDevices();
299 for (BluetoothDevice d : devices) {
308 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy();
309 for (CachedBluetoothDevice d : devices) {
/frameworks/base/services/core/java/com/android/server/display/
H A DLogicalDisplay.java37 * 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/media/java/android/media/
H A DAudioManager.java144 * @hide Broadcast intent when the devices for a particular stream type changes.
145 * Includes the stream, the new devices and previous devices.
214 * reflected by a change of the volume of its alias, {@link #STREAM_RING} on some devices,
233 * @hide The devices associated with the stream for the stream devices changed intent.
239 * @hide The previous devices associated with the stream for the stream devices changed intent.
773 * <p>Some devices may not have volume control and may operate at a fixed volume,
775 * This method will return true on such devices
3556 listAudioDevicePorts(ArrayList<AudioDevicePort> devices) argument
3573 listPreviousAudioDevicePorts(ArrayList<AudioDevicePort> devices) argument
3585 filterDevicePorts(ArrayList<AudioPort> ports, ArrayList<AudioDevicePort> devices) argument
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiControlService.java135 * Interface to get a list of available logical devices.
141 * @param ackedAddress a list of logical addresses of available devices
197 // Type of logical devices hosted in the system. Stored in the unmodifiable list.
460 * Called when the initialization of local devices is complete.
577 // It's now safe to flush existing local devices from mCecController since they were
606 // Set POWER_STATUS_ON to all local devices because they share lifetime
616 // Address allocation completed for all devices. Notify each device.
633 private void notifyAddressAllocated(ArrayList<HdmiCecLocalDevice> devices, int initiatedBy) { argument
635 for (HdmiCecLocalDevice device : devices) {
937 * Poll all remote devices
[all...]
/frameworks/native/services/inputflinger/
H A DEventHub.h160 * devices on the system, including devices that may be emulated by the simulator
162 * when devices are added or removed.
165 * It also supports querying the current actual state of input devices such as identifying
167 * individual input devices, such as their class and the set of key codes that they support.
175 // Synthetic raw event type codes produced when devices are added or removed.
181 // Sent when all added/removed devices from the most recent scan have been reported.
210 // Sets devices that are excluded from opening.
211 // This can be used to ignore input devices for sensors.
212 virtual void setExcludedDevices(const Vector<String8>& devices)
[all...]
/frameworks/opt/net/wifi/service/
H A DAndroid.mk71 # this is commented because none of the nexus devices

Completed in 561 milliseconds

123