/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 161 * display devices are gone or if it is otherwise no longer needed. 170 * Updates the state of the logical display based on the available display devices. 174 * @param devices The list of all connected display devices. 176 public void updateLocked(List<DisplayDevice> devices) { argument 183 if (!devices.contains(mPrimaryDisplayDevice)) {
|
/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/ |
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
|
H A D | AudioPolicyManager.cpp | 27 // A device mask for all audio input devices that are considered "virtual" when evaluating 30 // A device mask for all audio output devices that are considered "remote" when evaluating 31 // active output devices in isStreamActiveRemotely() 33 // A device mask for all audio input and output devices where matching inputs/outputs on device 233 // handle output devices 299 // remove device from available output devices 355 // handle input devices 1183 // devices (the list was previously build by getOutputsForDevice()). 1635 // virtual input devices are compatible with other input devices 2536 audio_devices_t devices = outputDesc->mProfile->mSupportedDevices.types(); local 2544 audio_devices_t devices = AUDIO_DEVICE_NONE; local 2622 DeviceVector devices; local 4330 audio_devices_t devices; local 4705 audio_devices_t devices = desc->device() & local 7637 DeviceVector devices; local 7656 DeviceVector devices; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | CastTile.java | 97 final Set<CastDevice> devices = mController.getCastDevices(); 99 for (CastDevice device : devices) { 112 mDetailAdapter.updateItems(devices); 193 private void updateItems(Set<CastDevice> devices) { argument 196 if (devices != null && !devices.isEmpty()) { 198 for (CastDevice device : devices) { 210 // otherwise list all available devices, and don't move them around 212 for (CastDevice device : devices) { 215 items = new Item[devices [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbHostManager.java | 46 // contains all connected USB devices 102 // blacklist HID boot devices (mouse and keyboard) 111 /* Called from JNI in monitorUsbHostBus() to report new USB devices 260 /* Returns a list of all currently attached USB devices */ 261 public void getDeviceList(Bundle devices) { argument 264 devices.putParcelable(name, mDevices.get(name));
|
H A D | UsbService.java | 148 /* Returns a list of all currently attached USB devices (host mdoe) */ 150 public void getDeviceList(Bundle devices) { argument 152 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 | 54 * device discovery, query a list of bonded (paired) devices, 57 * devices, and start a scan for Bluetooth LE devices. 67 * {@link BluetoothDevice} objects representing all paired devices with 72 * Bluetooth LE devices with {@link #startLeScan(LeScanCallback callback)}. 161 * #SCAN_MODE_CONNECTABLE_DISCOVERABLE}. It allows remote devices to see 244 * nor connectable from remote Bluetooth devices. 250 * remote Bluetooth devices, but is connectable from remote devices that 257 * connectable from remote Bluetooth devices 1552 toDeviceSet(BluetoothDevice[] devices) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | IAudioFlinger.cpp | 441 audio_devices_t *devices, 446 if (output == NULL || config == NULL || devices == NULL || latencyMs == NULL) { 453 data.writeInt32(*devices); 469 *devices = (audio_devices_t)reply.readInt32(); 1093 audio_devices_t devices = (audio_devices_t)data.readInt32(); local 1099 &devices, address, &latencyMs, flags); 1105 reply->writeInt32(devices); 438 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. 134 // Joystick devices get the rest. 477 void EventHub::setExcludedDevices(const Vector<String8>& devices) { argument 480 mExcludedDevices = devices; 568 // TODO add handling for USB devices to not uniqueify kbs that show up twice 597 // of Android. In practice we sometimes get devices that cannot be uniquely 598 // identified. In this case we enforce uniqueness between connected devices. 713 // Reopen input devices if needed. 717 ALOGI("Reopening all input devices due to a configuration change."); 724 // Report any devices tha [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 276 audio_devices_t devices) 290 (dev->get_supported_devices(dev) & devices) == devices) 1693 audio_devices_t devices, 1697 AudioHwDevice *outHwDev = findSuitableHwDev_l(module, devices); 1734 devices, 1754 thread = new OffloadThread(this, outputStream, *output, devices); 1759 thread = new DirectOutputThread(this, outputStream, *output, devices); 1762 thread = new MixerThread(this, outputStream, *output, devices); 1775 audio_devices_t *devices, 274 findSuitableHwDev_l( audio_module_handle_t module, audio_devices_t devices) argument 1690 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 1772 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 [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiControlService.java | 127 * Interface to get a list of available logical devices. 133 * @param ackedAddress a list of logical addresses of available devices 184 // Type of logical devices hosted in the system. Stored in the unmodifiable list. 448 * Called when the initialization of local devices is complete. 562 // It's now safe to flush existing local devices from mCecController since they were 585 // Set POWER_STATUS_ON to all local devices because they share lifetime 595 // Address allocation completed for all devices. Notify each device. 612 private void notifyAddressAllocated(ArrayList<HdmiCecLocalDevice> devices, int initiatedBy) { argument 614 for (HdmiCecLocalDevice device : devices) { 903 * Poll all remote devices [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioManager.java | 788 * <p>Some devices may not have volume control and may operate at a fixed volume, 790 * This method will return true on such devices. 1856 * display). Note that BT audio sinks are not considered remote devices. 3189 * Return the enabled devices for the specified output stream type. 3200 * @return The bit-mask "or" of audio output device codes for all enabled devices on this 3494 * Specialized version of listAudioPorts() listing only audio devices (AudioDevicePort) 3498 public int listAudioDevicePorts(ArrayList<AudioPort> devices) { argument 3502 devices.clear(); 3505 devices.add(ports.get(i)); 3513 * Create a connection between two or more devices [all...] |
/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 561 virtual void setExcludedDevices(const Vector<String8>& devices) { argument 562 mExcludedDevices = devices; 1035 // Should also have received a notification describing the new input devices. 1069 << "Should return value provided by mapper when device id is < 0 and one of the devices supports some of the sources."; 1096 << "Should return value provided by mapper when device id is < 0 and one of the devices supports some of the sources."; 1123 << "Should return value provided by mapper when device id is < 0 and one of the devices supports some of the sources."; 1157 << "Should return value provided by mapper when device id is < 0 and one of the devices supports some of the sources.";
|