/hardware/libhardware/tests/nusensors/ |
nusensors.cpp | 63 struct sensors_poll_device_t* device; local 72 err = sensors_open(&module->common, &device); 104 err = device->activate(device, list[i].handle, 0); 113 err = device->activate(device, list[i].handle, 1); 119 device->setDelay(device, list[i].handle, ms2ns(10)); 123 int n = device->poll(device, buffer, numEvents) [all...] |
/hardware/libhardware_legacy/ |
qemu.h | 41 char device[32]; member in struct:__anon16248
|
/hardware/msm7k/libaudio-qdsp5v2/ |
AudioPolicyManager.cpp | 26 // Max volume for streams when playing over bluetooth SCO device while in call: -18dB 54 uint32_t device = 0; local 57 device = mDeviceForStrategy[strategy]; 58 LOGV("getDeviceForStrategy() from cache strategy %d, device %x", strategy, device); 59 return device; 66 device = getDeviceForStrategy(STRATEGY_MEDIA, false); 78 device = mAvailableOutputDevices & AudioSystem::DEVICE_OUT_BLUETOOTH_SCO_CARKIT; 79 if (device) break; 82 device = mAvailableOutputDevices & AudioSystem::DEVICE_OUT_BLUETOOTH_SCO_HEADSET [all...] |
/hardware/msm7k/libaudio-qsd8k/ |
AudioPolicyManager.cpp | 26 // Max volume for streams when playing over bluetooth SCO device while in call: -18dB 54 uint32_t device = 0; local 57 device = mDeviceForStrategy[strategy]; 58 LOGV("getDeviceForStrategy() from cache strategy %d, device %x", strategy, device); 59 return device; 66 device = getDeviceForStrategy(STRATEGY_MEDIA, false); 78 device = mAvailableOutputDevices & AudioSystem::DEVICE_OUT_BLUETOOTH_SCO_CARKIT; 79 if (device) break; 82 device = mAvailableOutputDevices & AudioSystem::DEVICE_OUT_BLUETOOTH_SCO_HEADSET [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/ |
LogCatReceiverFactory.java | 29 * constructed {@link LogCatReceiver}'s per device and hand them back when requested. 40 public void deviceDisconnected(IDevice device) { 41 removeReceiverFor(device); 44 public void deviceConnected(IDevice device) { 47 public void deviceChanged(IDevice device, int changeMask) { 52 private synchronized void removeReceiverFor(IDevice device) { 53 mReceiverCache.remove(device.getSerialNumber()); 56 public synchronized LogCatReceiver newReceiver(IDevice device, IPreferenceStore prefs) { 57 LogCatReceiver r = mReceiverCache.get(device.getSerialNumber()); 62 r = new LogCatReceiver(device, prefs) [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/ |
Window.java | 17 package com.android.hierarchyviewer.device;
|
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/device/ |
Window.java | 17 package com.android.hierarchyviewerlib.device; 22 * Used for storing a window from the window manager service on the device. 23 * These are the windows that the device selector shows. 33 public Window(IDevice device, String title, int hashCode) { 34 this.mDevice = device; 60 public static Window getFocusedWindow(IDevice device) { 61 return new Window(device, "<Focused Window>", -1); 65 * After each refresh of the windows in the device selector, the windows are 67 * work in the device selector unless the equals method is defined here.
|
WindowUpdater.java | 17 package com.android.hierarchyviewerlib.device; 26 * This class handles automatic updating of the list of windows in the device 27 * selector for device with protocol version 3 or above of the view server. It 38 public void windowsChanged(IDevice device); 40 public void focusChanged(IDevice device); 45 for (IDevice device : sListeningThreads.keySet()) { 46 sListeningThreads.get(device).interrupt(); 52 public static void startListenForWindowChanges(IWindowChangeListener listener, IDevice device) { 56 if (sWindowChangeListeners.containsKey(device)) { 57 sWindowChangeListeners.get(device).add(listener) 125 private IDevice device; field in class:WindowUpdater.WindowChangeMonitor [all...] |
/sdk/monkeyrunner/src/com/android/monkeyrunner/recorder/actions/ |
PressAction.java | 65 public void execute(IChimpDevice device) { 66 device.press(key, TouchPressType.fromIdentifier(downUpFlag));
|
TouchAction.java | 51 public void execute(IChimpDevice device) throws Exception { 52 device.touch(x, y, TouchPressType.fromIdentifier(direction));
|
/system/extras/tests/bionic/libc/ |
Android.mk | 23 # device executable. 28 define device-test 43 # same as 'device-test' but builds a host executable instead 91 $(call device-test, $(sources)) 127 $(call device-test, $(sources)) 135 $(call device-test, $(sources)) 148 $(call device-test, $(sources)) 165 $(call device-test, $(sources)) 253 #$(call device-test, $(sources))
|
/development/tools/hosttestlib/src/com/android/hosttest/ |
DeviceConnector.java | 29 * The maximum time to wait for a device to be connected. 34 * Initializes DDMS library, and connects to specified Android device 36 * @param deviceSerial the device serial to connect to. If <code>null</code> connect to first 37 * discovered device. 40 * @throws IllegalArgumentException if no device cannot be found. 46 for (IDevice device : adbBridge.getDevices()) { 48 return device; 49 } else if (deviceSerial.equals(device.getSerialNumber())) { 50 return device; 54 System.out.println("Waiting for device...") 57 IDevice device = listener.waitForDevice(MAX_WAIT_DEVICE_TIME); local [all...] |
/device/moto/stingray/sensors/ |
nusensors.cpp | 41 struct sensors_poll_device_t device; // must be first member in struct:sensors_poll_context_t 231 int init_nusensors(hw_module_t const* module, hw_device_t** device) 236 memset(&dev->device, 0, sizeof(sensors_poll_device_t)); 238 dev->device.common.tag = HARDWARE_DEVICE_TAG; 239 dev->device.common.version = 0; 240 dev->device.common.module = const_cast<hw_module_t*>(module); 241 dev->device.common.close = poll__close; 242 dev->device.activate = poll__activate; 243 dev->device.setDelay = poll__setDelay; 244 dev->device.poll = poll__poll [all...] |
/external/blktrace/ |
blkiomon.h | 37 __u32 device; member in struct:blkiomon_stat 82 bstat->device = cpu_to_be32(bstat->device); 105 fprintf(fp, "device: %d,%d\n", MAJOR(p->device), MINOR(p->device));
|
/external/bluetooth/bluez/test/ |
test-health-sink | 59 print "Select a device: ", 73 device = dbus.Interface(bus.get_object("org.bluez", select), variable 76 chan = device.CreateChannel(app_path, "Any")
|
/external/dhcpcd/ |
bpf.c | 66 char *device; local 69 device = xmalloc(sizeof(char) * PATH_MAX); 71 snprintf(device, PATH_MAX, "/dev/bpf%d", n++); 72 fd = open(device, O_RDWR | O_NONBLOCK); 74 free(device);
|
/external/e2fsprogs/misc/ |
ismounted.c | 86 char buf[1024], *device = 0, *mnt_dir = 0, *cp; local 103 device = mnt_dir = 0; 109 device = parse_word(&cp); 110 if (!device || *device == '#') 114 if (device[0] != '/') 117 if (strcmp(file, device) == 0) 119 if (stat(device, &st_buf) == 0) { 136 * Do an extra check to see if this is the root device. We 139 * check if the given device has the same major/minor numbe [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/dummy/ |
SDL_nullvideo.c | 79 static void DUMMY_DeleteDevice(SDL_VideoDevice *device) 81 SDL_free(device->hidden); 82 SDL_free(device); 87 SDL_VideoDevice *device; local 90 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); 91 if ( device ) { 92 SDL_memset(device, 0, (sizeof *device)); 93 device->hidden = (struct SDL_PrivateVideoData *) 94 SDL_malloc((sizeof *device->hidden)) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/ |
SDL_riscosvideo.c | 28 Implements RISC OS display device management. 88 static void RISCOS_DeleteDevice(SDL_VideoDevice *device) 90 SDL_free(device->hidden); 91 SDL_free(device); 96 SDL_VideoDevice *device; local 99 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); 100 if ( device ) { 101 SDL_memset(device, 0, (sizeof *device)); 102 device->hidden = (struct SDL_PrivateVideoData * [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/ |
GaneshRenderer.cpp | 102 SkDevice* device = NULL; local 105 device = ganesh->getDeviceForBaseTile(renderInfo); 118 // set the GPU device to the canvas 119 canvas->setDevice(device); 120 canvas->setDeviceFactory(device->getDeviceFactory());
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
DeviceDisconnectedReceiver.java | 45 UsbDevice device = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); local 46 String deviceName = device.getDeviceName(); 49 // close our activity if the device it is displaying is disconnected
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
UsbDisconnectedReceiver.java | 29 // if their device/accessory is disconnected while the dialog is still open 35 public UsbDisconnectedReceiver(Activity activity, UsbDevice device) { 37 mDevice = device; 55 UsbDevice device = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); local 56 if (device != null && device.equals(mDevice)) {
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
WifiP2pPeer.java | 35 public WifiP2pDevice device; field in class:WifiP2pPeer 44 device = dev; 51 if (TextUtils.isEmpty(device.deviceName)) { 52 setTitle(device.deviceAddress); 54 setTitle(device.deviceName); 75 if (device.status != other.device.status) { 76 return device.status < other.device.status ? -1 : 1; 80 if (device.deviceName != null) [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
netrom.h | 25 char device[16]; member in struct:nr_route_struct
|
/system/core/toolbox/ |
umount.c | 32 char device[256]; local 45 count = fscanf(f, "%255s %255s %255s\n", device, mount_path, rest); 47 if (is_loop(device) && strcmp(path, mount_path) == 0) { 48 strlcpy(loopdev, device, LOOPDEV_MAXLEN); 76 // free the loop device 79 fprintf(stderr, "open loop device failed: %s\n", strerror(errno));
|