/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/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;
|
/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/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 | 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,
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
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 | 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...] |
/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/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
H A D | RootScanner.java | 135 // Update devices. 136 final MtpDeviceRecord[] devices = mManager.getDevices(); 139 for (final MtpDeviceRecord device : devices) { 156 for (final MtpDeviceRecord device : devices) { 181 if (devices.length == 0) {
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | ConfigParsingUtils.h | 46 static status_t loadHwModuleDevice(cnode *root, DeviceVector &devices); 48 static void loadDevicesFromTag(const char *tag, DeviceVector &devices,
|
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/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/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
H A D | TestUtil.java | 88 final HashMap<String,UsbDevice> devices = usbManager.getDeviceList(); 89 if (devices.size() == 0) { 92 final UsbDevice device = devices.values().iterator().next();
|
/frameworks/base/media/java/android/media/ |
H A D | AudioRecordingConfiguration.java | 130 final AudioDeviceInfo[] devices = 132 for (int j = 0; j < devices.length; j++) { 133 if (devices[j].getId() == devId) { 134 return devices[j];
|
/frameworks/base/tools/preload2/src/com/android/preload/ |
H A D | Main.java | 184 IDevice devices[] = DeviceUtils.findDevices(DEFAULT_TIMEOUT_MILLIS); 185 if (devices == null || devices.length == 0) { 186 throw new RuntimeException("Could not find any devices..."); 191 DeviceWrapper deviceWrappers[] = new DeviceWrapper[devices.length]; 192 for (int i = 0; i < devices.length; i++) { 193 deviceWrappers[i] = new DeviceWrapper(devices[i]);
|
H A D | DeviceUtils.java | 90 * Get all devices ddms knows about. Wait at most for the given timeout. 267 IDevice[] devices = AndroidDebugBridge.getBridge().getDevices(); 269 for (IDevice d : devices) { 281 if (devices.length > 0) { 282 device = devices[0];
|
/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; 135 * @param[in] devices; mask of devices to be used for the given input source. 137 * @return true if the devices were set correclty for this input source, false otherwise.
|
/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/tools/preload2/ |
H A D | Android.mk | 8 # To connect to devices (and take hprof dumps).
|