/frameworks/base/services/jni/ |
com_android_server_LightsService.cpp | 47 struct Devices { 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 98 Devices* devices = (Devices*)ptr; local 109 Devices* devices = (Devices*)ptr; local [all...] |
/device/asus/flo/ |
audio_policy.conf | 1 # Global configuration section: lists input and output devices always present on the device 3 # Devices are designated by a string that corresponds to the enum in audio.h 19 # The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding 29 devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL 36 devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL 43 devices AUDIO_DEVICE_OUT_AUX_DIGITAL 52 devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_WIRED_HEADSET|AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET|AUDIO_DEVICE_IN_VOICE_CALL|AUDIO_DEVICE_IN_BACK_MIC 62 devices AUDIO_DEVICE_OUT_ALL_A2DP 72 devices AUDIO_DEVICE_OUT_USB_ACCESSORY 78 devices AUDIO_DEVICE_OUT_USB_DEVIC [all...] |
init.flo.rc | 64 chown radio radio /sys/devices/virtual/hsicctl/hsicctl0/modem_wait 73 chmod 0444 /sys/devices/platform/msm_hsusb/gadget/usb_state 79 chmod 0664 /sys/devices/virtual/graphics/fb1/hpd 80 chmod 0664 /sys/devices/virtual/graphics/fb1/video_mode 81 chmod 0664 /sys/devices/virtual/graphics/fb1/format_3d 84 chown system system /sys/devices/virtual/graphics/fb1/format_3d 85 chown system system /sys/devices/virtual/graphics/fb1/hpd 157 chmod 0664 /sys/devices/platform/msm_sdcc.1/polling 158 chmod 0664 /sys/devices/platform/msm_sdcc.2/polling 159 chmod 0664 /sys/devices/platform/msm_sdcc.3/pollin [all...] |
/device/samsung/manta/ |
audio_policy.conf | 1 # Global configuration section: lists input and output devices always present on the device 3 # Devices are designated by a string that corresponds to the enum in audio.h 19 # The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding 29 devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET 36 # devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE 43 devices AUDIO_DEVICE_OUT_AUX_DIGITAL 52 devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET|AUDIO_DEVICE_IN_WIRED_HEADSET 62 devices AUDIO_DEVICE_OUT_ALL_A2DP 72 devices AUDIO_DEVICE_OUT_USB_ACCESSORY 78 devices AUDIO_DEVICE_OUT_USB_DEVIC [all...] |
/external/openssh/ |
auth2-chall.c | 64 KbdintDevice *devices[] = { variable 81 char *devices; member in struct:KbdintAuthctxt 93 for (i = 0; devices[i] != NULL; i++) 94 if (strcmp(devices[i]->name, devname) == 0) { 95 for (j = i; devices[j] != NULL; j++) 96 devices[j] = devices[j+1]; 117 for (i = 0; devices[i]; i++) { 120 buffer_append(&b, devices[i]->name, 121 strlen(devices[i]->name)) [all...] |
/system/core/rootdir/etc/ |
mountd.conf | 16 driver_store_path /sys/devices/platform/usb_mass_storage/lun0/file 18 ##driver_store_path /sys/devices/platform/msm_hsusb/gadget/lun0/file
|
/device/samsung/tuna/audio/ |
audio_policy.conf | 1 # Global configuration section: lists input and output devices always present on the device 3 # Devices are designated by a string that corresponds to the enum in audio.h 19 # The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding 29 devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET 36 devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE 43 devices AUDIO_DEVICE_OUT_AUX_DIGITAL 52 devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET|AUDIO_DEVICE_IN_WIRED_HEADSET|AUDIO_DEVICE_IN_BACK_MIC 62 devices AUDIO_DEVICE_OUT_ALL_A2DP 72 devices AUDIO_DEVICE_OUT_USB_ACCESSORY 78 devices AUDIO_DEVICE_OUT_USB_DEVIC [all...] |
/device/lge/mako/ |
audio_policy.conf | 1 # Global configuration section: lists input and output devices always present on the device 3 # Devices are designated by a string that corresponds to the enum in audio.h 19 # The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding 29 devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL 36 devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL 43 devices AUDIO_DEVICE_OUT_AUX_DIGITAL 52 devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_WIRED_HEADSET|AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET|AUDIO_DEVICE_IN_VOICE_CALL|AUDIO_DEVICE_IN_BACK_MIC 62 devices AUDIO_DEVICE_OUT_ALL_A2DP 72 devices AUDIO_DEVICE_OUT_USB_ACCESSORY 78 devices AUDIO_DEVICE_OUT_USB_DEVIC [all...] |
init.mako.rc | 70 chown radio radio /sys/devices/virtual/hsicctl/hsicctl0/modem_wait 83 chmod 0444 /sys/devices/platform/msm_hsusb/gadget/usb_state 89 chmod 0664 /sys/devices/virtual/graphics/fb1/hpd 90 chmod 0664 /sys/devices/virtual/graphics/fb1/video_mode 91 chmod 0664 /sys/devices/virtual/graphics/fb1/format_3d 94 chown system system /sys/devices/virtual/graphics/fb1/format_3d 95 chown system system /sys/devices/virtual/graphics/fb1/hpd 161 chmod 0664 /sys/devices/platform/msm_sdcc.1/polling 162 chmod 0664 /sys/devices/platform/msm_sdcc.2/polling 163 chmod 0664 /sys/devices/platform/msm_sdcc.3/pollin [all...] |
/hardware/libhardware_legacy/audio/ |
audio_policy.conf | 5 # Global configuration section: lists input and output devices always present on the device 7 # Devices are designated by a string that corresponds to the enum in audio.h 23 # The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding 33 devices AUDIO_DEVICE_OUT_SPEAKER 42 devices AUDIO_DEVICE_IN_BUILTIN_MIC
|
/device/ti/panda/audio/ |
audio_policy.conf | 1 # Global configuration section: lists input and output devices always present on the device 3 # Devices are designated by a string that corresponds to the enum in audio.h 19 # The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding 29 devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET 38 devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET|AUDIO_DEVICE_IN_WIRED_HEADSET 48 devices AUDIO_DEVICE_OUT_ALL_A2DP
|
/external/webkit/Source/WebKit/android/wds/client/ |
main.cpp | 106 const DeviceList& devices = conn.getDeviceList(); local 107 // host:devices closes the connection, reconnect 111 if (type == Device::NONE && devices.size() > 1) { 114 } else if (devices.size() == 0) { 115 ALOGE("No devices connected"); 122 device = devices[0]; // grab the only one 125 for (unsigned i = 0; i < devices.size(); i++) { 126 if (devices[i]->type() == type) { 127 device = devices[i];
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
EmptyLaunchAction.java | 28 public boolean doLaunchAction(DelayedLaunchInfo info, Collection<IDevice> devices) { 29 for (IDevice d : devices) {
|
IAndroidLaunchAction.java | 32 * @param devices Android devices on which the action will be performed 36 boolean doLaunchAction(DelayedLaunchInfo info, Collection<IDevice> devices);
|
/hardware/qcom/audio/legacy/alsa_sound/ |
alsa_default.cpp | 197 static void switchDevice(alsa_handle_t *handle, uint32_t devices, uint32_t mode); 198 static char *getUCMDevice(uint32_t devices, int input, char *rxDevice); 392 void switchDevice(alsa_handle_t *handle, uint32_t devices, uint32_t mode) 401 ALOGD("%s: device %d mode:%d", __FUNCTION__, devices, mode); 404 if ((devices & AudioSystem::DEVICE_OUT_WIRED_HEADSET) || 405 (devices & AudioSystem::DEVICE_IN_WIRED_HEADSET)) { 406 devices = devices | (AudioSystem::DEVICE_OUT_WIRED_HEADSET | 408 } else if (devices & AudioSystem::DEVICE_OUT_WIRED_HEADPHONE) { 409 devices = devices | (AudioSystem::DEVICE_OUT_WIRED_HEADPHONE [all...] |
AudioHardwareALSA.cpp | 721 AudioHardwareALSA::openOutputStream(uint32_t devices, 728 ALOGV("openOutputStream: devices 0x%x channels %d sampleRate %d", 729 devices, *channels, *sampleRate); 738 if (devices & (devices - 1)) { 740 ALOGE("openOutputStream called with bad devices"); 746 if((devices == AudioSystem::DEVICE_OUT_DIRECTOUTPUT) && 775 alsa_handle.devices = devices; 805 alsa_handle.devices = AudioSystem::DEVICE_OUT_PROXY [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
devicemanager.cc | 203 std::vector<Device> devices; local 205 if (GetAudioInputDevices(&devices) && !devices.empty()) { 208 if (GetAudioOutputDevices(&devices) && !devices.empty()) { 211 if (GetVideoCaptureDevices(&devices) && !devices.empty()) { 217 bool DeviceManager::GetAudioInputDevices(std::vector<Device>* devices) { 218 return GetAudioDevicesByPlatform(true, devices); 221 bool DeviceManager::GetAudioOutputDevices(std::vector<Device>* devices) { 259 std::vector<Device> devices; local 273 std::vector<Device> devices; local 289 std::vector<Device> devices; local 313 std::vector<Device> devices; local 481 CComPtr<IMMDeviceCollection> devices; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ConfigurationTest.java | 24 import com.android.sdklib.devices.Device; 25 import com.android.sdklib.devices.DeviceManager; 26 import com.android.sdklib.devices.Screen; 55 List<Device> devices = deviceManager.getDevices(DeviceManager.DEFAULT_DEVICES); local 56 assertNotNull(devices); 57 assertTrue(devices.size() > 0); 58 configuration.setDevice(devices.get(0), false); 115 List<Device> devices = deviceManager.getDevices(DeviceManager.DEFAULT_DEVICES); local 116 assertNotNull(devices); 117 assertTrue(devices.size() > 0) [all...] |
/device/asus/deb/ |
init.deb.rc | 64 chown radio radio /sys/devices/virtual/hsicctl/hsicctl0/modem_wait 73 chmod 0444 /sys/devices/platform/msm_hsusb/gadget/usb_state 79 chmod 0664 /sys/devices/virtual/graphics/fb1/hpd 80 chmod 0664 /sys/devices/virtual/graphics/fb1/video_mode 81 chmod 0664 /sys/devices/virtual/graphics/fb1/format_3d 84 chown system system /sys/devices/virtual/graphics/fb1/format_3d 85 chown system system /sys/devices/virtual/graphics/fb1/hpd 161 chmod 0664 /sys/devices/platform/msm_sdcc.1/polling 162 chmod 0664 /sys/devices/platform/msm_sdcc.2/polling 163 chmod 0664 /sys/devices/platform/msm_sdcc.3/pollin [all...] |
/external/bluetooth/bluedroid/stack/hid/ |
hidh_api.c | 338 /* Find an entry for this device in hh_cb.devices array */ 345 if((hh_cb.devices[i].in_use) && 346 (!memcmp(addr, hh_cb.devices[i].addr, BD_ADDR_LEN))) 354 if( !hh_cb.devices[i].in_use) 362 if (!hh_cb.devices[i].in_use) 364 hh_cb.devices[i].in_use = TRUE; 365 memcpy( hh_cb.devices[i].addr, addr, sizeof( BD_ADDR ) ) ; 366 hh_cb.devices[i].state = HID_DEV_NO_CONN; 367 hh_cb.devices[i].conn_tries = 0 ; 370 hh_cb.devices[i].attr_mask = attr_mask [all...] |
hidh_conn.c | 112 hh_cb.devices[xx].in_use = FALSE ; 113 hh_cb.devices[xx].conn.conn_state = HID_CONN_STATE_UNUSED; 130 tHID_CONN *p_hcon = &hh_cb.devices[dhandle].conn; 211 if( hh_cb.devices[i].in_use && (!memcmp(bd_addr, hh_cb.devices[i].addr, sizeof(BD_ADDR))) ) 221 p_hcon = &hh_cb.devices[i].conn; 222 p_dev = &hh_cb.devices[i]; 302 hh_cb.devices[p_tle->param].conn_tries++; 303 hh_cb.callback( (UINT8) p_tle->param, HID_HDEV_EVT_RETRYING, hh_cb.devices[p_tle->param].conn_tries, NULL ) ; 325 dhandle = ((UINT32)p_dev - (UINT32)&(hh_cb.devices[0]))/ sizeof(tHID_HOST_DEV_CTB) [all...] |
/external/libusb-compat/examples/ |
lsusb.c | 35 for (dev = bus->devices; dev; dev = dev->next) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
DeviceMenuListener.java | 30 import com.android.sdklib.devices.Device; 103 // Group the devices by manufacturer, then put them in the menu. 104 // If we don't have anything but Nexus devices, group them together rather than 111 List<Device> devices; local 118 devices = manufacturers.get(device.getManufacturer()); 120 devices = new ArrayList<Device>(); 121 manufacturers.put(device.getManufacturer(), devices); local 123 devices.add(device); 126 for (List<Device> devices : manufacturers.values()) { 130 item.setText(devices.get(0).getManufacturer()) [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothManager.java | 106 * 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>(); local 176 if (iGatt == null) return devices; 177 devices = iGatt.getDevicesMatchingConnectionStates(states); 182 return devices; [all...] |
/hardware/msm7k/libaudio-qdsp5v2/ |
AudioHardware.h | 71 uint32_t devices, 78 uint32_t devices, 102 uint32_t devices, 119 uint32_t devices() { return mDevices; } function in class:android::AudioHardware::AudioStreamOutQ5V2
|