/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/av/services/audiopolicy/ |
H A D | audio_policy.conf | 7 # lists input and output devices always present on the device 24 # other attributes (attached devices, default device) have to be included in the 36 # The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding 42 # - Optionally a "devices" section: 43 # This section contains descriptors for audio devices with attributes like an address or a 44 # gain controller. The syntax for the devices section and device descriptor is as follows: 45 # devices { 71 # its name in their "devices" section instead of specifying a device type. e.g. : 77 # devices <device name> 91 devices { [all...] |
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
H A D | InputSource.cpp | 42 * @param[in] devices selected for the given input source. 48 status_t Element<audio_source_t>::set(audio_devices_t devices) argument 50 if (!audio_is_input_device(devices) && devices != AUDIO_DEVICE_BIT_IN) { 52 __FUNCTION__, devices, getName().c_str()); 55 ALOGD("%s: 0x%X for input source %s", __FUNCTION__, devices, getName().c_str()); 56 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 | 133 virtual bool setDeviceForStrategy(const routing_strategy &strategy, audio_devices_t devices) argument 135 return mPolicyEngine->setPropertyForKey<audio_devices_t, routing_strategy>(devices, 183 status_t setDeviceConnectionState(audio_devices_t devices, audio_policy_dev_state_t state,
|
/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 | AudioHwDevice.h | 65 * The "address" parameter qualifies the "devices" audio device type if needed. 67 * - Bluetooth devices use the MAC address of the device in the form "00:11:22:AA:BB:CC" 68 * - USB devices use the ALSA card and device numbers in the form "card=X;device=Y" 69 * - Other devices may use a number or any other string. 74 audio_devices_t devices,
|
H A D | AudioStreamOut.h | 50 audio_devices_t devices,
|
H A D | SpdifStreamOut.h | 48 audio_devices_t devices,
|
H A D | AudioStreamOut.cpp | 114 audio_devices_t devices, 122 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 | 279 audio_devices_t devices) 293 (dev->get_supported_devices(dev) & devices) == devices) 1763 audio_devices_t devices, 1767 AudioHwDevice *outHwDev = findSuitableHwDev_l(module, devices); 1804 devices, 1815 thread = new OffloadThread(this, outputStream, *output, devices, mSystemReady); 1820 thread = new DirectOutputThread(this, outputStream, *output, devices, mSystemReady); 1823 thread = new MixerThread(this, outputStream, *output, devices, mSystemReady); 1836 audio_devices_t *devices, 277 findSuitableHwDev_l( audio_module_handle_t module, audio_devices_t devices) argument 1760 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 1833 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 2007 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 2031 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/qs/tiles/ |
H A D | CastTile.java | 100 final Set<CastDevice> devices = mController.getCastDevices(); 102 for (CastDevice device : devices) { 115 mDetailAdapter.updateItems(devices); 206 private void updateItems(Set<CastDevice> devices) { argument 209 if (devices != null && !devices.isEmpty()) { 211 for (CastDevice device : devices) { 223 // otherwise list all available devices, and don't move them around 225 for (CastDevice device : devices) { 228 items = new Item[devices [all...] |
H A D | BluetoothTile.java | 219 final Collection<CachedBluetoothDevice> devices = mController.getDevices(); 220 if (devices != null) { 221 items = new Item[getBondedCount(devices)]; 223 for (CachedBluetoothDevice device : devices) { 244 private int getBondedCount(Collection<CachedBluetoothDevice> devices) { argument 246 for (CachedBluetoothDevice device : devices) {
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothManager.java | 109 * Get connected devices for the specified profile. 111 * <p> Return the set of devices which are in state {@link BluetoothProfile#STATE_CONNECTED} 121 * @return List of devices. The list will be empty on error. 148 * Get a list of devices that match any of the given connection 151 * <p> If none of the devices match any of the given states, 166 * @return List of devices. The list will be empty on error. 176 List<BluetoothDevice> devices = new ArrayList<BluetoothDevice>(); 181 if (iGatt == null) return devices; 182 devices = iGatt.getDevicesMatchingConnectionStates(states); 187 return devices; [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | DeviceDescriptor.cpp | 123 audio_devices_t devices = AUDIO_DEVICE_NONE; local 126 devices |= itemAt(i)->type(); 129 return devices; 207 DeviceVector devices; local 214 devices.add(itemAt(i)); 220 return devices; 226 DeviceVector devices; local 230 devices.add(itemAt(i)); 234 return devices; 255 snprintf(buffer, SIZE, "\n Available %s devices [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
H A D | BluetoothInstrumentation.java | 110 Set<BluetoothDevice> devices = getBluetoothAdapter().getBondedDevices(); 112 for (BluetoothDevice device : devices) {
|
/frameworks/av/services/audiopolicy/engineconfigurable/interface/ |
H A D | AudioPolicyPluginInterface.h | 32 * - keep up to date the attributes of these policy members ( i.e. devices to be used for a 94 * @param[in] devices; mask of devices to be used for the given strategy. 96 * @return true if the devices were set correclty for this strategy, false otherwise. 98 virtual bool setDeviceForStrategy(const routing_strategy &strategy, audio_devices_t devices) = 0; 136 * @param[in] devices; mask of devices to be used for the given input source. 138 * @return true if the devices were set correclty for this input source, false otherwise.
|
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/ |
H A D | ParameterManagerWrapper.cpp | 390 status_t ParameterManagerWrapper::setDeviceConnectionState(audio_devices_t devices, argument 396 if (audio_is_output_devices(devices)) { 398 } else if (devices & AUDIO_DEVICE_BIT_IN) { 404 ALOGE("%s: no criterion found for devices", __FUNCTION__); 412 criterion->setCriterionState(previousDevices |= devices); 416 if (devices & AUDIO_DEVICE_BIT_IN) { 417 devices &= ~AUDIO_DEVICE_BIT_IN; 419 criterion->setCriterionState(previousDevices &= ~devices);
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | IUsbManager.aidl | 30 /* Returns a list of all currently attached USB devices */ 31 void getDeviceList(out Bundle devices);
|
/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/rs/api/ |
H A D | rs_core.spec | 21 RenderScript code is compiled on devices at runtime to allow platform-independence as well.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | CastControllerImpl.java | 134 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 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/av/services/audiopolicy/engineconfigurable/wrapper/include/ |
H A D | ParameterManagerWrapper.h | 109 * @param[in] devices mask of devices for which the state has changed. 114 * @return NO_ERROR if devices criterion updated correctly, error code otherwise. 116 status_t setDeviceConnectionState(audio_devices_t devices, audio_policy_dev_state_t state,
|