Searched refs:devices (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/services/jni/
H A Dcom_android_server_LightsService.cpp67 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/core/java/android/bluetooth/
H A DBluetoothManager.java106 * Get connected devices for the specified profile.
108 * <p> Return the set of devices which are in state {@link BluetoothProfile#STATE_CONNECTED}
118 * @return List of devices. The list will be empty on error.
144 * Get a list of devices that match any of the given connection
147 * <p> If none of the devices match any of the given states,
162 * @return List of devices. The list will be empty on error.
171 List<BluetoothDevice> devices = new ArrayList<BluetoothDevice>();
176 if (iGatt == null) return devices;
177 devices = iGatt.getDevicesMatchingConnectionStates(states);
182 return devices;
[all...]
H A DBluetoothAdapter.java47 * device discovery, query a list of bonded (paired) devices,
50 * devices, and start a scan for Bluetooth LE devices.
60 * {@link BluetoothDevice} objects representing all paired devices with
65 * Bluetooth LE devices with {@link #startLeScan(LeScanCallback callback)}.
154 * #SCAN_MODE_CONNECTABLE_DISCOVERABLE}. It allows remote devices to see
237 * nor connectable from remote Bluetooth devices.
243 * remote Bluetooth devices, but is connectable from remote devices that
250 * connectable from remote Bluetooth devices
1346 toDeviceSet(BluetoothDevice[] devices) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBluetoothController.java92 // Fall through and update bonded devices and refresh view
103 Set<BluetoothDevice> devices = adapter.getBondedDevices();
104 if (devices != null) {
105 for (BluetoothDevice device : devices) {
/frameworks/base/core/java/android/hardware/usb/
H A DIUsbManager.aidl28 /* Returns a list of all currently attached USB devices */
29 void getDeviceList(out Bundle devices);
/frameworks/base/services/java/com/android/server/usb/
H A DUsbHostManager.java42 // contains all connected USB devices
87 // blacklist HID boot devices (mouse and keyboard)
96 /* Called from JNI in monitorUsbHostBus() to report new USB devices */
183 /* Returns a list of all currently attached USB devices */
184 public void getDeviceList(Bundle devices) { argument
187 devices.putParcelable(name, mDevices.get(name));
H A DUsbService.java124 /* Returns a list of all currently attached USB devices (host mdoe) */
126 public void getDeviceList(Bundle devices) { argument
128 mHostManager.getDeviceList(devices);
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pDeviceList.java53 public WifiP2pDeviceList(ArrayList<WifiP2pDevice> devices) { argument
54 for (WifiP2pDevice device : devices) {
164 /** Get the list of 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/av/media/libmedia/
H A DIAudioFlinger.cpp367 audio_devices_t devices = pDevices ? *pDevices : (audio_devices_t)0; local
375 data.writeInt32(devices);
384 devices = (audio_devices_t)reply.readInt32();
385 if (pDevices) *pDevices = devices;
442 audio_devices_t devices = pDevices ? *pDevices : (audio_devices_t)0; local
449 data.writeInt32(devices);
455 devices = (audio_devices_t)reply.readInt32();
456 if (pDevices) *pDevices = devices;
865 audio_devices_t devices = (audio_devices_t)data.readInt32(); local
872 &devices,
912 audio_devices_t devices = (audio_devices_t)data.readInt32(); local
[all...]
/frameworks/base/services/java/com/android/server/display/
H A DLogicalDisplay.java36 * A logical display may be mirrored onto multiple display devices in addition to its
48 * display devices are orthogonal concepts. Some mapping will exist between
49 * logical displays and display devices but it can be many-to-many and
163 * display devices are gone or if it is otherwise no longer needed.
172 * Updates the state of the logical display based on the available display devices.
176 * @param devices The list of all connected display devices.
178 public void updateLocked(List<DisplayDevice> devices) { argument
185 if (!devices.contains(mPrimaryDisplayDevice)) {
/frameworks/base/services/input/
H A DEventHub.h150 * devices on the system, including devices that may be emulated by the simulator
152 * when devices are added or removed.
155 * It also supports querying the current actual state of input devices such as identifying
157 * individual input devices, such as their class and the set of key codes that they support.
165 // Synthetic raw event type codes produced when devices are added or removed.
171 // Sent when all added/removed devices from the most recent scan have been reported.
197 // Sets devices that are excluded from opening.
198 // This can be used to ignore input devices for sensors.
199 virtual void setExcludedDevices(const Vector<String8>& devices)
[all...]
H A DEventHub.cpp127 // Touch devices get dibs on touch-related axes.
154 // Joystick devices get the rest.
485 void EventHub::setExcludedDevices(const Vector<String8>& devices) {
488 mExcludedDevices = devices;
653 // Reopen input devices if needed.
657 ALOGI("Reopening all input devices due to a configuration change.");
664 // Report any devices that had last been added/removed.
776 // Some input devices may have a better concept of the time
878 // readNotify() will modify the list of devices so this must be done after
880 // before closing the devices
[all...]
/frameworks/base/docs/html/training/
H A Dtraining_toc.cs70 <a href="<?cs var:toroot ?>training/basics/supporting-devices/index.html"
77 <li><a href="<?cs var:toroot ?>training/basics/supporting-devices/languages.html">
81 <li><a href="<?cs var:toroot ?>training/basics/supporting-devices/screens.html">
85 <li><a href="<?cs var:toroot ?>training/basics/supporting-devices/platforms.html">
380 <a href="<?cs var:toroot ?>training/connect-devices-wirelessly/index.html"
382 "How to find and connect to local devices using Network Service
387 <li><a href="<?cs var:toroot ?>training/connect-devices-wirelessly/nsd.html">
391 <li><a href="<?cs var:toroot ?>training/connect-devices-wirelessly/wifi-direct.html">
395 <li><a href="<?cs var:toroot ?>training/connect-devices-wirelessly/nsd-wifi-direct.html">
458 cloud and how to restore the data back to multiple devices
[all...]
/frameworks/base/data/fonts/
H A DAndroid.mk42 # On space-constrained devices, we include a subset of fonts:
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
H A DScoAudioTest.java656 List<BluetoothDevice> devices = mBluetoothHeadset.getConnectedDevices();
657 if (devices.size() == 0) {
/frameworks/wilhelm/src/
H A DAndroid.mk75 devices.c \
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h292 audio_devices_t devices);
H A DAudioFlinger.cpp219 audio_devices_t devices)
233 (dev->get_supported_devices(dev) & devices) == devices)
217 findSuitableHwDev_l( audio_module_handle_t module, audio_devices_t devices) argument
/frameworks/base/media/java/android/media/
H A DAudioService.java719 // devices (tablets) include media stream in silent mode whereas phones don't.
865 // Always toggle between max safe volume and 0 for fixed volume devices where safe
995 // volume is either 0 or max allowed for fixed volume devices
1369 // on voice capable devices
2796 // ignore settings for fixed volume devices: volume should always be at max or 0
2818 // devices volumes in audio policy manager to the supplied value
3802 // sent if none of these devices is connected.
3813 int devices = 0;
3816 devices |= dev;
3819 if (devices
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DWindowManagerService.java272 // Maximum number of milliseconds to wait for input devices to be enumerated before
5849 * theme attribute) on devices that feature a physical options menu key attempt to position
5859 * devices and along the right edge of natural-landscape devices. If these assumptions
5869 // TODO(multidisplay): Assume that such devices physical keys are on the main screen.
5872 // On devices with a natural orientation of portrait
5886 // On devices with a natural orientation of landscape
6471 // Update the configuration based on available input devices, lid switch,
6479 final InputDevice[] devices = mInputManager.getInputDevices();
6480 final int len = devices
[all...]
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp547 virtual void setExcludedDevices(const Vector<String8>& devices) { argument
548 mExcludedDevices = devices;
1019 // Should also have received a notification describing the new input devices.
1053 << "Should return value provided by mapper when device id is < 0 and one of the devices supports some of the sources.";
1080 << "Should return value provided by mapper when device id is < 0 and one of the devices supports some of the sources.";
1107 << "Should return value provided by mapper when device id is < 0 and one of the devices supports some of the sources.";
1141 << "Should return value provided by mapper when device id is < 0 and one of the devices supports some of the sources.";

Completed in 731 milliseconds