/system/core/gpttool/ |
gpttool.c | 261 const char *device; local 270 device = argv[2]; 285 if (!strcmp(device, "/dev/sda") || 286 !strcmp(device, "/dev/sdb")) { 291 fd = open(device, O_RDWR); 293 fprintf(stderr,"error: cannot open '%s'\n", device); 297 fprintf(stderr,"error: cannot query block device size\n");
|
/system/core/include/diskconfig/ |
diskconfig.h | 89 char *device; member in struct:disk_info
|
/system/vold/ |
Volume.cpp | 232 // Only initialize the MBR if we are formatting the entire device 263 char device[256]; local 276 sscanf(line, "%255s %255s %255s\n", device, mount_path, rest); 332 SLOGE("Failed to get device nodes (%s)\n", strerror(errno)); 337 * and vold is asking to mount the primaryStorage device, then we need to decrypt 339 * block device 351 /* We only expect one device node returned when mounting encryptable volumes */ 352 SLOGE("Too many device nodes returned when mounting %d\n", getMountpoint()); 362 /* We now have the new sysfs path for the decrypted block device, and the 363 * majore and minor numbers for it. So, create the device, update th [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
BluetoothTestUtils.java | 153 public PairReceiver(BluetoothDevice device, int passkey, byte[] pin, int expectedFlags) { 156 mDevice = device; 213 public ConnectProfileReceiver(BluetoothDevice device, int profile, int expectedFlags) { 216 mDevice = device; 267 public ConnectPanReceiver(BluetoothDevice device, int role, int expectedFlags) { 268 super(device, BluetoothProfile.PAN, expectedFlags); 538 * Puts the local device into discoverable mode and checks to make sure that the local device 581 * Puts the local device into connectable only mode and checks to make sure that the local 582 * device is in in connectable mode and that the correct actions were broadcast [all...] |
/frameworks/base/services/java/com/android/server/usb/ |
UsbSettingsManager.java | 71 // Temporary mapping USB device name to list of UIDs with permissions for the device 86 // This class is used to describe a USB device. 95 // USB device or interface class (or -1 for unspecified) 97 // USB device subclass (or -1 for unspecified) 99 // USB device protocol (or -1 for unspecified) 110 public DeviceFilter(UsbDevice device) { 111 mVendorId = device.getVendorId(); 112 mProductId = device.getProductId(); 113 mClass = device.getDeviceClass() 217 UsbDevice device = (UsbDevice)obj; local [all...] |
/bionic/libc/kernel/common/linux/ |
device.h | 30 struct device; 48 int (*match)(struct device * dev, struct device_driver * drv); 49 int (*uevent)(struct device *dev, char **envp, 51 int (*probe)(struct device * dev); 52 int (*remove)(struct device * dev); 53 void (*shutdown)(struct device * dev); 54 int (*suspend)(struct device * dev, pm_message_t state); 55 int (*resume)(struct device * dev); 58 struct device * bus_find_device(struct bus_type *bus, struct device *start 172 struct device { struct [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
MessageTestActivity.java | 51 "android.bluetooth.device.action.PAIRING_REQUEST"; 177 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(mDeviceAddress); local 178 mChatService.connect(device, mSecure);
|
/development/ndk/platforms/android-3/include/linux/ |
device.h | 30 struct device; 48 int (*match)(struct device * dev, struct device_driver * drv); 49 int (*uevent)(struct device *dev, char **envp, 51 int (*probe)(struct device * dev); 52 int (*remove)(struct device * dev); 53 void (*shutdown)(struct device * dev); 54 int (*suspend)(struct device * dev, pm_message_t state); 55 int (*resume)(struct device * dev); 58 struct device * bus_find_device(struct bus_type *bus, struct device *start 172 struct device { struct [all...] |
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
BluetoothChat.java | 72 // Name of the connected device 277 // save the connected device's name 294 // When DeviceListActivity returns with a device to connect 300 // When DeviceListActivity returns with a device to connect 320 // Get the device MAC address 324 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(address); local 325 // Attempt to connect to the device 326 mChatService.connect(device, secure); 351 // Ensure this device is discoverable by others
|
/development/tools/emulator/opengl/system/gralloc/ |
gralloc.cpp | 74 // Our gralloc device structure (alloc interface) 77 alloc_device_t device; member in struct:gralloc_device_t 84 // Our framebuffer device structure 87 framebuffer_device_t device; member in struct:fb_device_t 127 // gralloc device functions (alloc interface) 331 gralloc_free(&d->device, d->allocListHead->handle); 334 // free device 346 // Framebuffer device functions 655 hw_device_t** device) 663 return sFallback->common.methods->open(&sFallback->common, name, device); [all...] |
/development/tools/emulator/system/sensors/ |
sensors_qemu.c | 114 /** SENSORS POLL DEVICE 122 struct sensors_poll_device_t device; member in struct:SensorPoll 405 //LOGD("(device close) about to close fd=%d", data->events_fd); 413 /** SENSORS POLL DEVICE FUNCTIONS **/ 594 struct hw_device_t* *device) 605 dev->device.common.tag = HARDWARE_DEVICE_TAG; 606 dev->device.common.version = 0; 607 dev->device.common.module = (struct hw_module_t*) module; 608 dev->device.common.close = poll__close; 609 dev->device.poll = poll__poll [all...] |
/external/bluetooth/bluez/audio/ |
device.c | 47 #include "../src/device.h" 52 #include "device.h" 589 struct audio_device *device = data; local 607 state = state2str(device->priv->state); 630 struct btd_device *device, 641 dev->btd_dev = btd_device_ref(device); 705 void audio_device_unregister(struct audio_device *device) 707 unix_device_removed(device); 709 if (device->hs_preauth_id) { 710 g_source_remove(device->hs_preauth_id) [all...] |
gateway.c | 46 #include "device.h" 73 int gateway_close(struct audio_device *device); 355 static int get_records(struct audio_device *device) 360 return bt_search_service(&device->src, &device->dst, &uuid, 361 get_record_cb, device, NULL); 383 int gateway_close(struct audio_device *device) 385 struct gateway *gw = device->gateway; 405 change_state(device, GATEWAY_STATE_DISCONNECTED); 413 struct audio_device *device = data local 449 struct audio_device *device = data; local 480 struct audio_device *device = data; local 509 struct audio_device *device = data; local [all...] |
/external/bluetooth/bluez/cups/ |
main.c | 124 static char *device_get_ieee1284_id(const char *adapter, const char *device) 134 message = dbus_message_new_method_call("org.bluez", device, 135 "org.bluez.Device", 216 struct cups_device *device; local 219 /* Look for the device in the list */ 221 device = (struct cups_device *) l->data; 223 if (strcmp(device->bdaddr, bdaddr) == 0) { 224 if (device->name != name) { 225 g_free(device->name); 226 device->name = g_strdup(name) 410 struct cups_device *device = l->data; local 706 char *ptr, str[3], device[18], service[12]; local [all...] |
/external/bluetooth/bluez/lib/bluetooth/ |
bnep.h | 128 char device[16]; /* Name of the Ethernet device */ member in struct:bnep_connadd_req 141 char device[16]; member in struct:bnep_conninfo
|
/external/bluetooth/bluez/network/ |
connection.c | 45 #include "device.h" 63 struct btd_device *device; member in struct:network_peer 127 device_remove_disconnect_watch(nc->peer->device, nc->dc_id); 177 static void disconnect_cb(struct btd_device *device, gboolean removal, 274 nc->dc_id = device_add_disconnect_watch(nc->peer->device, disconnect_cb, 483 device_remove_disconnect_watch(nc->peer->device, nc->dc_id); 495 btd_device_unref(peer->device); 545 static struct network_peer *create_peer(struct btd_device *device, 552 peer->device = btd_device_ref(device); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/directfb/ |
SDL_DirectFB_video.c | 95 static void DirectFB_DeleteDevice(SDL_VideoDevice *device) 97 SDL_free(device->hidden); 98 SDL_free(device); 103 SDL_VideoDevice *device; local 106 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); 107 if (device) 109 SDL_memset (device, 0, (sizeof *device)); 110 device->hidden = (struct SDL_PrivateVideoData *) malloc (sizeof (*device->hidden)) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/epoc/ |
SDL_epocvideo.cpp | 126 static void EPOC_DeleteDevice(SDL_VideoDevice *device) 128 SDL_free(device->hidden); 129 SDL_free(device); 134 SDL_VideoDevice *device; local 137 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); 138 if ( device ) { 139 SDL_memset(device, 0, (sizeof *device)); 140 device->hidden = (struct SDL_PrivateVideoData *) 141 SDL_malloc((sizeof *device->hidden)) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/ |
SDL_dx5events.c | 45 /* The keyboard and mouse device input */ 105 error = "Device not registered"; 111 error = "Device not initialized"; 129 input device, in addition to DirectInput messages. 155 LPDIRECTINPUTDEVICE device; local 171 /* Create the DirectInput device */ 173 &device, NULL); 178 result = IDirectInputDevice_QueryInterface(device, 180 IDirectInputDevice_Release(device); 229 /* Acquire the device for input * [all...] |
/external/skia/bench/ |
benchmain.cpp | 166 SkDevice* device = NULL; local 174 device = new SkDevice(NULL, bitmap, true); 177 device = new SkGpuDevice(context, bitmap, SkGpuDevice::Current3DApiRenderTarget()); 178 // device->clear(0xFFFFFFFF); 184 return device; 410 SkDevice* device = make_device(outConfig, dim, backend, context); local 411 SkCanvas canvas(device); 412 device->unref(); 458 device->accessBitmap(false));
|
/external/skia/src/core/ |
SkBlitter_4444.cpp | 42 SkARGB4444_Blitter(const SkBitmap& device, const SkPaint& paint); 64 SkARGB4444_Blitter::SkARGB4444_Blitter(const SkBitmap& device, 65 const SkPaint& paint) : INHERITED(device) { 142 SkPMColor16* device = fDevice.getAddr16(x, y); local 151 sk_dither_memset16(device, color, other, width); 153 src_over_4444x(device, SkExpand_4444_Replicate(color), 164 SkPMColor16* device = fDevice.getAddr16(x, y); local 175 *device = color; 176 device = (SkPMColor16*)((char*)device + rb) 205 SkPMColor16* device = fDevice.getAddr16(x, y); local 238 SkPMColor16* device = fDevice.getAddr16(x, y); local 345 SkPMColor16* device = fDevice.getAddr16(x, y); local 402 SkPMColor16* device = fDevice.getAddr16(x, y); local 417 SkPMColor16* device = fDevice.getAddr16(x, y); local [all...] |
SkBlitter_ARGB32.cpp | 28 const SkIRect& clip, const SkBitmap& device, 95 static void blitmask_lcd16(const SkBitmap& device, const SkMask& mask, 102 SkPMColor* dstRow = device.getAddr32(x, y); 107 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes()); 114 static void SkARGB32_Blit32(const SkBitmap& device, const SkMask& mask, 128 SkPMColor* dstRow = device.getAddr32(x, y); 133 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes()); 140 SkARGB32_Blitter::SkARGB32_Blitter(const SkBitmap& device, const SkPaint& paint) 141 : INHERITED(device) { 174 uint32_t* device = fDevice.getAddr32(x, y) local 185 uint32_t* device = fDevice.getAddr32(x, y); local 305 uint32_t* device = adjustForSubpixelClip(mask, clip, fDevice, &widthAdjustment, &heightAdjustment, &alpha32); local 341 uint32_t* device = fDevice.getAddr32(x, y); local 371 uint32_t* device = fDevice.getAddr32(x, y); local 415 uint32_t* device = adjustForSubpixelClip(mask, clip, fDevice, &widthAdjustment, &heightAdjustment, &alpha32); local 438 uint32_t* device = fDevice.getAddr32(clip.fLeft, clip.fTop); local 457 uint32_t* device = fDevice.getAddr32(x, y); local 513 uint32_t* device = fDevice.getAddr32(x, y); local 533 uint32_t* device = fDevice.getAddr32(x, y); local [all...] |
/external/srec/srec/include/ |
sample.h | 40 /* The known device (op) types here 194 gen_device_info device; member in struct:__anon11359
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothSocket.java | 45 * <p>To create a {@link BluetoothSocket} for connecting to a known device, use 48 * Then call {@link #connect()} to attempt a connection to the remote device. 87 private final BluetoothDevice mDevice; /* remote device */ 116 * @param auth require the remote device to be authenticated 118 * @param device remote device that this socket can connect to 125 BluetoothDevice device, int port, ParcelUuid uuid) throws IOException { 135 mSdp = new SdpHelper(device, uuid); 141 mDevice = device; 142 if (device == null) 365 private final BluetoothDevice device; field in class:BluetoothSocket.SdpHelper [all...] |
/frameworks/base/core/java/android/view/ |
KeyCharacterMap.java | 28 * Describes the keys provided by a keyboard device and their associated labels. 32 * The id of the device's primary built in keyboard is always 0. 35 * guarantee that a device has a built-in keyboard that can be used for 40 * use the device id specified in the {@link KeyEvent} received. 43 * device id. 168 * Loads the key character maps for the keyboard with the specified device id. 170 * @param deviceId The device id of the keyboard. 182 InputDevice device = InputDevice.getDevice(deviceId); local 183 if (device != null) { 184 kcm = device.getKeyCharacterMapFile() [all...] |