/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
DeviceListFragment.java | 48 private WifiP2pDevice device; field in class:DeviceListFragment 64 * @return this device 67 return device; 94 WifiP2pDevice device = (WifiP2pDevice) getListAdapter().getItem(position); local 95 ((DeviceActionListener) getActivity()).showDetails(device); 125 WifiP2pDevice device = items.get(position); local 126 if (device != null) { 130 top.setText(device.deviceName); 133 bottom.setText(getDeviceStatus(device.status)); 143 * Update UI for this device [all...] |
/device/ti/panda/ |
device.mk | 18 LOCAL_KERNEL := device/ti/panda/kernel 25 device/ti/panda/init.omap4pandaboard.rc:root/init.omap4pandaboard.rc \ 26 device/ti/panda/init.omap4pandaboard.usb.rc:root/init.omap4pandaboard.usb.rc \ 27 device/ti/panda/fstab.omap4pandaboard:root/fstab.omap4pandaboard \ 28 device/ti/panda/ueventd.omap4pandaboard.rc:root/ueventd.omap4pandaboard.rc \ 29 device/ti/panda/media_profiles.xml:system/etc/media_profiles.xml \ 30 device/ti/panda/media_codecs.xml:system/etc/media_codecs.xml \ 31 device/ti/panda/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \ 32 device/ti/panda/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \ 47 device/ti/panda/overla [all...] |
/external/kernel-headers/original/linux/ |
rtc.h | 110 #include <linux/device.h> 119 int (*open)(struct device *); 120 void (*release)(struct device *); 121 int (*ioctl)(struct device *, unsigned int, unsigned long); 122 int (*read_time)(struct device *, struct rtc_time *); 123 int (*set_time)(struct device *, struct rtc_time *); 124 int (*read_alarm)(struct device *, struct rtc_wkalrm *); 125 int (*set_alarm)(struct device *, struct rtc_wkalrm *); 126 int (*proc)(struct device *, struct seq_file *); 127 int (*set_mmss)(struct device *, unsigned long secs) [all...] |
/external/skia/legacy/src/core/ |
SkCoreBlitters.h | 16 SkRasterBlitter(const SkBitmap& device) : fDevice(device) {} 27 SkShaderBlitter(const SkBitmap& device, const SkPaint& paint); 45 SkA8_Blitter(const SkBitmap& device, const SkPaint& paint); 64 SkA8_Shader_Blitter(const SkBitmap& device, const SkPaint& paint); 85 SkARGB32_Blitter(const SkBitmap& device, const SkPaint& paint); 109 SkARGB32_Opaque_Blitter(const SkBitmap& device, const SkPaint& paint) 110 : INHERITED(device, paint) { SkASSERT(paint.getAlpha() == 0xFF); } 119 SkARGB32_Black_Blitter(const SkBitmap& device, const SkPaint& paint) 120 : INHERITED(device, paint) { [all...] |
SkBlitter_Sprite.cpp | 21 void SkSpriteBlitter::setup(const SkBitmap& device, int left, int top, 23 fDevice = &device; 52 SkBlitter* SkBlitter::ChooseSprite( const SkBitmap& device, 61 and respect that by blending the edges of the bitmap against the device. To support 69 switch (device.getConfig()) { 84 blitter->setup(device, left, top, paint);
|
SkBlitter_4444.cpp | 34 SkARGB4444_Blitter(const SkBitmap& device, const SkPaint& paint); 56 SkARGB4444_Blitter::SkARGB4444_Blitter(const SkBitmap& device, 57 const SkPaint& paint) : INHERITED(device) { 134 SkPMColor16* device = fDevice.getAddr16(x, y); local 143 sk_dither_memset16(device, color, other, width); 145 src_over_4444x(device, SkExpand_4444_Replicate(color), 156 SkPMColor16* device = fDevice.getAddr16(x, y); local 167 *device = color; 168 device = (SkPMColor16*)((char*)device + rb) 197 SkPMColor16* device = fDevice.getAddr16(x, y); local 230 SkPMColor16* device = fDevice.getAddr16(x, y); local 337 SkPMColor16* device = fDevice.getAddr16(x, y); local 394 SkPMColor16* device = fDevice.getAddr16(x, y); local 409 SkPMColor16* device = fDevice.getAddr16(x, y); local [all...] |
/external/skia/src/core/ |
SkCoreBlitters.h | 16 SkRasterBlitter(const SkBitmap& device) : fDevice(device) {} 27 SkShaderBlitter(const SkBitmap& device, const SkPaint& paint); 45 SkA8_Blitter(const SkBitmap& device, const SkPaint& paint); 64 SkA8_Shader_Blitter(const SkBitmap& device, const SkPaint& paint); 85 SkARGB32_Blitter(const SkBitmap& device, const SkPaint& paint); 110 SkARGB32_Opaque_Blitter(const SkBitmap& device, const SkPaint& paint) 111 : INHERITED(device, paint) { SkASSERT(paint.getAlpha() == 0xFF); } 120 SkARGB32_Black_Blitter(const SkBitmap& device, const SkPaint& paint) 121 : INHERITED(device, paint) { [all...] |
SkBlitter_Sprite.cpp | 21 void SkSpriteBlitter::setup(const SkBitmap& device, int left, int top, 23 fDevice = &device; 52 SkBlitter* SkBlitter::ChooseSprite( const SkBitmap& device, 61 and respect that by blending the edges of the bitmap against the device. To support 69 switch (device.getConfig()) { 84 blitter->setup(device, left, top, paint);
|
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
SDL_sysvideo.cc | 77 static void BE_DeleteDevice(SDL_VideoDevice *device) 79 SDL_free(device->hidden); 80 SDL_free(device); 85 SDL_VideoDevice *device; local 88 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); 89 if ( device ) { 90 SDL_memset(device, 0, (sizeof *device)); 91 device->hidden = (struct SDL_PrivateVideoData *) 92 SDL_malloc((sizeof *device->hidden)) [all...] |
/external/libmtp/examples/ |
thumb.c | 4 * on a device. 46 LIBMTP_mtpdevice_t *device = NULL; local 101 device = LIBMTP_Get_First_Device(); 102 if (device == NULL) { 118 ret = LIBMTP_Send_Representative_Sample(device,id,thumb); 121 LIBMTP_Dump_Errorstack(device); 122 LIBMTP_Clear_Errorstack(device); 128 LIBMTP_Release_Device(device);
|
/hardware/libhardware/modules/audio/ |
audio_hw.c | 32 struct audio_hw_device device; member in struct:stub_audio_device 371 static int adev_dump(const audio_hw_device_t *device, int fd) 376 static int adev_close(hw_device_t *device) 378 free(device); 383 hw_device_t** device) 395 adev->device.common.tag = HARDWARE_DEVICE_TAG; 396 adev->device.common.version = AUDIO_DEVICE_API_VERSION_2_0; 397 adev->device.common.module = (struct hw_module_t *) module; 398 adev->device.common.close = adev_close; 400 adev->device.init_check = adev_init_check [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
MtpClient.java | 44 * and notifies the application when the MTP device list changes. 58 // so we can inform when the device has been detached. 66 // unable to open the device. 128 * Called when a new device has been added 130 * @param device the new device that was added 132 public void deviceAdded(MtpDevice device); 135 * Called when a new device has been removed 137 * @param device the device that was remove 300 MtpDevice device = getDevice(deviceName); local 332 MtpDevice device = getDevice(deviceName); local 347 MtpDevice device = getDevice(deviceName); local 368 MtpDevice device = getDevice(deviceName); local 404 MtpDevice device = getDevice(deviceName); local 419 MtpDevice device = getDevice(deviceName); local 437 MtpDevice device = getDevice(deviceName); local [all...] |
/development/samples/USB/AdbTest/src/com/android/adb/ |
AdbTestActivity.java | 60 for (UsbDevice device : mManager.getDeviceList().values()) { 61 UsbInterface intf = findAdbInterface(device); 62 if (setAdbInterface(device, intf)) { 108 public void deviceOnline(AdbDevice device) { 110 m.obj = device; 114 private void handleDeviceOnline(AdbDevice device) { 115 log("device online: " + device.getSerial()); 116 device.openSocket("shell:exec logcat"); 119 // Sets the current USB device and interfac [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
SuperFloppyFormatter.java | 28 * "super floppy" standard. This means that the device will be formatted so 29 * that it does not contain a partition table. Instead, the entire device holds 85 private final BlockDevice device; field in class:SuperFloppyFormatter 98 * @param device 99 * @throws IOException on error accessing the specified {@code device} 101 private SuperFloppyFormatter(BlockDevice device) throws IOException { 102 this.device = device; 110 * the specified device. 112 * @param dev the device that should be formatte [all...] |
/external/libmtp/src/ |
libmtp.c | 42 #include "device-flags.h" 64 * otherwise the libmtp.h device has to be dependent on ptp.h 78 * otherwise the libmtp.h device has to be dependent on ptp.h 104 static void add_error_to_errorstack(LIBMTP_mtpdevice_t *device, 107 static void add_ptp_error_to_errorstack(LIBMTP_mtpdevice_t *device, 110 static void flush_handles(LIBMTP_mtpdevice_t *device); 111 static void get_handles_recursively(LIBMTP_mtpdevice_t *device, 115 static void free_storage_list(LIBMTP_mtpdevice_t *device); 116 static int sort_storage_by(LIBMTP_mtpdevice_t *device, int const sortby); 117 static uint32_t get_writeable_storageid(LIBMTP_mtpdevice_t *device, uint64_t fitsize) [all...] |
/bootable/recovery/mtdutils/ |
mounts.c | 27 const char *device; member in struct:MountedVolume 48 free((char *)volume->device); 116 char device[64]; local 125 device, mount_point, filesystem, flags); 128 device[sizeof(device)-1] = '\0'; 135 v->device = strdup(device); 164 find_mounted_volume_by_device(const char *device) 172 if (v->device != NULL) [all...] |
/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...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothDeviceFilter.java | 36 boolean matches(BluetoothDevice device); 72 Log.w(TAG, "Invalid filter type " + filterType + " for device picker"); 79 public boolean matches(BluetoothDevice device) { 86 public boolean matches(BluetoothDevice device) { 87 return device.getBondState() == BluetoothDevice.BOND_BONDED; 93 public boolean matches(BluetoothDevice device) { 94 return device.getBondState() != BluetoothDevice.BOND_BONDED; 102 public boolean matches(BluetoothDevice device) { 103 return matches(device.getUuids(), device.getBluetoothClass()) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
AdapterService.java | 151 public void onProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) { 153 m.obj = device; 162 private void processProfileStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) { 166 connectOtherProfile(device, PROFILE_CONN_CONNECTED); 167 setProfileAutoConnectionPriority(device, profileId); 172 binder.sendConnectionStateChange(device, profileId, newState,prevState); 694 public boolean createBond(BluetoothDevice device) { 702 return service.createBond(device); 705 public boolean cancelBondProcess(BluetoothDevice device) { 713 return service.cancelBondProcess(device); [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/device/ |
DeviceInfoCollector.java | 16 package com.android.cts.tradefed.device; 19 import com.android.tradefed.device.DeviceNotAvailableException; 20 import com.android.tradefed.device.ITestDevice; 27 * Collects info from device under test. 29 * This class simply serves as a conduit for grabbing info from device using the device info 41 * Installs and runs the device info collector instrumentation, and forwards results 44 * @param device 48 public static void collectDeviceInfo(ITestDevice device, File testApkDir, 57 instrTest.setDevice(device); [all...] |
/device/common/ |
generate-blob-lists.sh | 28 # Caveat: this script does many full builds (2 per device). It takes a while 32 # Syntax: device/common/generate-blob-lists.sh -f|--force [<server> <branch>] 45 DEVICES=$(for i in device/*/*/proprietary-blobs.txt ; do basename $(dirname $i) ; done) 86 MANUFACTURERNAME=$( find device -type d | grep ^[^/]\*/[^/]\*/$DEVICENAME\$ | cut -f 2 -d / ) 104 echo '# This file is generated by device/common/generate-blob-lists.sh - DO NOT EDIT' 111 cp $ARCHIVEDIR/$DEVICENAME-proprietary-blobs.txt device/$MANUFACTURERNAME/$DEVICENAME/proprietary-blobs.txt 114 cd device/$MANUFACTURERNAME/$DEVICENAME 120 git push $1/device/$MANUFACTURERNAME/$DEVICENAME.git HEAD:refs/for/$2/autoblobs 125 cd device/$MANUFACTURERNAME/$DEVICENAME 130 git push $1/device/$MANUFACTURERNAME/$DEVICENAME.git HEAD:refs/for/$2/autoblob [all...] |
/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)) {
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pProvDiscEvent.java | 41 public WifiP2pDevice device; field in class:WifiP2pProvDiscEvent 47 device = new WifiP2pDevice(); 75 device = new WifiP2pDevice(); 76 device.deviceAddress = tokens[1]; 85 sbuf.append(device);
|
/hardware/libhardware/include/hardware/ |
fb.h | 152 /** convenience API for opening and closing a supported device */ 155 struct framebuffer_device_t** device) { 157 GRALLOC_HARDWARE_FB0, (struct hw_device_t**)device); 160 static inline int framebuffer_close(struct framebuffer_device_t* device) { 161 return device->common.close(&device->common);
|
/external/qemu/distrib/sdl-1.2.15/src/video/macrom/ |
SDL_romvideo.c | 119 static void ROM_DeleteDevice(SDL_VideoDevice *device) 121 SDL_free(device->hidden); 122 SDL_free(device); 127 SDL_VideoDevice *device; local 130 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); 131 if ( device ) { 132 SDL_memset(device, 0, (sizeof *device)); 133 device->hidden = (struct SDL_PrivateVideoData *) 134 SDL_malloc((sizeof *device->hidden)) [all...] |