/sdk/monkeyrunner/src/com/android/monkeyrunner/recorder/ |
MonkeyRecorder.java | 46 * @param device 48 public static void start(final MonkeyDevice device) { 49 start(device.getImpl()); 52 /* package */static void start(final IChimpDevice device) { 53 MonkeyRecorderFrame frame = new MonkeyRecorderFrame(device); 59 device.dispose();
|
/sdk/monkeyrunner/src/com/android/monkeyrunner/recorder/actions/ |
DragAction.java | 21 * Action to drag the "finger" across the device. 80 public void execute(IChimpDevice device) { 81 device.drag(startx, starty, endx, endy, steps, timeMs);
|
/system/media/wilhelm/src/ |
data.c | 66 SLObjectItf device = pDataLocator->mIODevice.device; local 67 if (NULL != device) { 88 pDataLocator->mIODevice.device = NULL; 93 // check that device has the correct object ID and is realized, 95 result = AcquireStrongRef((IObject *) device, expectedObjectID); 97 SL_LOGE("%s: locatorType=IODEVICE, but device field %p has wrong " \ 98 "object ID or is not realized", name, device); 99 pDataLocator->mIODevice.device = NULL; 124 // no default device ID for radio; see Khronos bug XXX [all...] |
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
DeviceDetailFragment.java | 50 * A fragment that manages a particular peer and allows interaction with device 57 private WifiP2pDevice device; field in class:DeviceDetailFragment 75 config.deviceAddress = device.deviceAddress; 81 "Connecting to :" + device.deviceAddress, true, true 163 // The other device acts as the client. In this case, we enable the 175 * Updates the UI with device data 177 * @param device the device to be displayed 179 public void showDetails(WifiP2pDevice device) { 180 this.device = device [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
HeadsetProfile.java | 52 // Order of this profile in device profiles list 63 // headset device. 69 CachedBluetoothDevice device = mDeviceManager.findDevice(firstDevice); local 70 // we may add a new device here, but generally this should not happen 71 if (device == null) { 72 Log.w(TAG, "HeadsetProfile found new device: " + firstDevice); 73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, firstDevice); 75 device.onProfileStateChanged(HeadsetProfile.this, 110 public boolean connect(BluetoothDevice device) { 117 return mService.connect(device); [all...] |
/sdk/chimpchat/src/com/android/chimpchat/adb/ |
AdbChimpDevice.java | 67 private final IDevice device; field in class:AdbChimpDevice 70 public AdbChimpDevice(IDevice device) { 71 this.device = device; 96 return new HierarchyViewer(device); 105 device.executeShellCommand(command, logger); 126 device.createForward(port, port); 156 // We have a tough problem to solve here. "monkey" on the device gives us no indication 197 LOG.log(Level.FINE, "Unable to wake up device", e); 210 return new AdbChimpImage(device.getScreenshot()) [all...] |
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/device/ |
DeviceBridge.java | 17 package com.android.hierarchyviewerlib.device; 47 * A bridge to the device. 132 * Sets up a just-connected device to work with the view server. 135 * device. 137 * @param device 139 public static void setupDeviceForward(IDevice device) { 141 if (device.getState() == IDevice.DeviceState.ONLINE) { 144 device.createForward(localPort, DEFAULT_SERVER_PORT); 145 sDevicePortMap.put(device, localPort); 147 Log.e(TAG, "Timeout setting up port forwarding for " + device); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
ConnectionAccessClientActivity.java | 114 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(mDeviceAddress); local 115 mChatService.connect(device, false);
|
/device/samsung/crespo/libsensors/ |
sensors.cpp | 98 struct hw_device_t** device); 126 struct sensors_poll_device_t device; // must be first member in struct:sensors_poll_context_t 307 /** Open a new instance of a sensor device using name */ 309 struct hw_device_t** device) 314 memset(&dev->device, 0, sizeof(sensors_poll_device_t)); 316 dev->device.common.tag = HARDWARE_DEVICE_TAG; 317 dev->device.common.version = 0; 318 dev->device.common.module = const_cast<hw_module_t*>(module); 319 dev->device.common.close = poll__close; 320 dev->device.activate = poll__activate [all...] |
/external/bluetooth/bluez/input/ |
sixpair.c | 33 { "device", '\0', 0, G_OPTION_ARG_STRING, &option_device, "Only handle one device (default, all supported", NULL }, 74 g_warning ("Getting the device Bluetooth address failed"); 82 g_print ("Device Bluetooth address: %s\n", address); 155 g_warning ("Can't open device"); 177 g_warning ("Can't get bdaddr from default device"); 185 g_warning ("Can't get bdaddr from default device"); 193 char *device; local 196 device = get_bdaddr (devh, itfnum); 197 if (device == NULL) [all...] |
/external/bluetooth/bluez/tools/ |
hid2hci.c | 159 * device we already have. This should be fixed in libusb. 216 " --devpath= sys device path\n" 329 const char *device; local 331 device = udev_device_get_devnode(udev_dev); 332 if (device == NULL) { 333 fprintf(stderr, "error: could not find hiddev device node\n"); 336 err = hid_switch_logitech(device); 344 fprintf(stderr, "error: switching device '%s' failed.\n",
|
/external/e2fsprogs/misc/ |
fsck.h | 41 char *device; member in struct:fs_info 64 char * device; member in struct:fsck_instance 69 extern char *base_device(const char *device);
|
/external/ppp/pppd/include/ |
pcap-int.h | 64 char *device; member in struct:pcap_md
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/mint/ |
SDL_syscdrom.c | 52 unsigned char device[3]; /* Physical device letter + ':' + '\0' */ member in struct:__anon9620 96 metados_drives[SDL_numcds].device[0] = 0; 97 metados_drives[SDL_numcds].device[1] = ':'; 98 metados_drives[SDL_numcds].device[2] = 0; 106 metados_drives[SDL_numcds].device[0] = i; 138 return(metados_drives[drive].device); 145 handle = Metaopen(metados_drives[drive].device[0], &(metados_drives[drive].metaopen)); 155 Metaclose(metados_drives[cdrom->id].device[0]); 162 retval = Metaioctl(metados_drives[id].device[0], METADOS_IOCTL_MAGIC, command, arg) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/cdrom/win32/ |
SDL_syscdrom.c | 135 char device[3]; local 138 /* Open the requested device */ 140 device[0] = *SDL_cdlist[drive]; 141 device[1] = ':'; 142 device[2] = '\0'; 143 mci_open.lpstrElementName = device;
|
/external/qemu/distrib/sdl-1.2.12/src/video/aalib/ |
SDL_aavideo.c | 67 static void AA_DeleteDevice(SDL_VideoDevice *device) 69 SDL_free(device->hidden); 70 SDL_free(device); 75 SDL_VideoDevice *device; local 78 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); 79 if ( device ) { 80 SDL_memset(device, 0, (sizeof *device)); 81 device->hidden = (struct SDL_PrivateVideoData *) 82 SDL_malloc((sizeof *device->hidden)) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ggi/ |
SDL_ggivideo.c | 81 static void GGI_DeleteDevice(SDL_VideoDevice *device) 83 SDL_free(device->hidden); 84 SDL_free(device); 89 SDL_VideoDevice *device; local 92 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); 93 if ( device ) { 94 SDL_memset(device, 0, (sizeof *device)); 95 device->hidden = (struct SDL_PrivateVideoData *) 96 SDL_malloc((sizeof *device->hidden)) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/ |
SDL_nxvideo.c | 65 static void NX_DeleteDevice (SDL_VideoDevice * device) 69 if (device) { 70 if (device -> hidden) SDL_free (device -> hidden) ; 71 if (device -> gl_data) SDL_free (device -> gl_data) ; 72 SDL_free (device) ; 80 SDL_VideoDevice * device ; local 85 device = (SDL_VideoDevice *) SDL_malloc (sizeof (SDL_VideoDevice)) ; 86 if (device) { [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
SDL_ph_video.c | 49 static void ph_DeleteDevice(SDL_VideoDevice *device); 72 SDL_VideoDevice* device; local 75 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); 76 if (device) 78 SDL_memset(device, 0, (sizeof *device)); 79 device->hidden = (struct SDL_PrivateVideoData*)SDL_malloc((sizeof *device->hidden)); 80 device->gl_data = NULL; 82 if ((device == NULL) || (device->hidden == NULL) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/qtopia/ |
SDL_sysvideo.cc | 79 static void QT_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/xbios/ |
SDL_xbios_sb3.h | 58 unsigned short device; /* Device number to find planes = getRez() */ member in struct:__anon9847
|
/external/skia/samplecode/ |
SampleCircle.cpp | 67 SkDevice* device = canvas->getDevice(); local 68 const SkBitmap& bm = device->accessBitmap(false);
|
SampleEncode.cpp | 23 SkBitmap device; local 25 device.setConfig(SkBitmap::kARGB_8888_Config, width, height); 26 device.allocPixels(); 28 SkCanvas canvas(device); 40 bm->swap(device); 46 *bm->getAddr16(x, y) = SkPixel32ToPixel16(*device.getAddr32(x, y)); 66 *bm->getAddr8(x, y) = SkGetPackedR32(*device.getAddr32(x, y));
|
/external/skia/src/core/ |
SkBlitter_A8.cpp | 23 SkA8_Blitter::SkA8_Blitter(const SkBitmap& device, const SkPaint& paint) 24 : INHERITED(device) { 44 uint8_t* device = fDevice.getAddr8(x, y); local 47 memset(device, 0xFF, width); 53 device[i] = SkToU8(srcA + SkAlphaMul(device[i], scale)); 64 uint8_t* device = fDevice.getAddr8(x, y); local 76 memset(device, 0xFF, count); 82 device[i] = SkToU8(sa + SkAlphaMul(device[i], scale)) 150 uint8_t* device = fDevice.getAddr8(x, y); local 190 uint8_t* device = fDevice.getAddr8(x, y); local 217 uint8_t* device = fDevice.getAddr8(x, y); local 260 uint8_t* device = fDevice.getAddr8(x, y); local 297 uint8_t* device = fDevice.getAddr8(x, y); local 338 uint8_t* device = fDevice.getAddr8(x, y); local [all...] |
/external/tinyalsa/ |
tinycap.c | 60 unsigned int capture_sample(FILE *file, unsigned int device, 73 unsigned int device = 0; local 80 fprintf(stderr, "Usage: %s file.wav [-d device] [-c channels] " 96 device = atoi(*argv); 128 frames = capture_sample(file, device, header.num_channels, 142 unsigned int capture_sample(FILE *file, unsigned int device, 164 pcm = pcm_open(0, device, PCM_IN, &config); 166 fprintf(stderr, "Unable to open PCM device (%s)\n",
|