/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
MtpClient.java | 44 * and notifies the application when the MTP device list changes. 57 // so we can inform when the device has been detached. 114 * Called when a new device has been added 116 * @param device the new device that was added 118 public void deviceAdded(MtpDevice device); 121 * Called when a new device has been removed 123 * @param device the device that was removed 125 public void deviceRemoved(MtpDevice device); 274 MtpDevice device = getDevice(deviceName); local 306 MtpDevice device = getDevice(deviceName); local 321 MtpDevice device = getDevice(deviceName); local 342 MtpDevice device = getDevice(deviceName); local 378 MtpDevice device = getDevice(deviceName); local 393 MtpDevice device = getDevice(deviceName); local 411 MtpDevice device = getDevice(deviceName); local [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
VersionLoader.java | 21 import com.android.hierarchyviewer.device.DeviceBridge; 32 public static int loadServerVersion(IDevice device) { 33 return loadVersion(device, "SERVER"); 36 public static int loadProtocolVersion(IDevice device) { 37 return loadVersion(device, "PROTOCOL"); 40 private static int loadVersion(IDevice device, String command) { 48 DeviceBridge.getDeviceLocalPort(device)));
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
Sector.java | 31 private final BlockDevice device; field in class:Sector 41 protected Sector(BlockDevice device, long offset, int size) { 43 this.device = device; 50 * Reads the contents of this {@code Sector} from the device into the 59 device.read(offset, buffer); 74 * @return this {@code Sector}'s device 77 return this.device; 85 device.write(offset, buffer); 122 * Returns the device offset to this {@code Sector} [all...] |
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/ |
removable_storage_provider_linux.cc | 27 std::string device = file_path.BaseName().value(); local 30 .Append(device) 49 // We need to do some file i/o to get the device block size 83 // This is a partition of a device, not the device itself 89 // This is not a removable storage device. 93 /* Get the parent SCSI device that contains the model 95 udevadm info -a -n /dev/<device> */ 101 // this is not a usb device 105 linked_ptr<api::image_writer_private::RemovableStorageDevice> device( [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
PbapServerProfile.java | 44 // Order of this profile in device profiles list 79 public boolean connect(BluetoothDevice device) { 85 public boolean disconnect(BluetoothDevice device) { 90 public int getConnectionStatus(BluetoothDevice device) { 94 if (mService.isConnected(device)) 100 public boolean isPreferred(BluetoothDevice device) { 104 public int getPreferred(BluetoothDevice device) { 108 public void setPreferred(BluetoothDevice device, boolean preferred) { 120 public int getNameResource(BluetoothDevice device) { 124 public int getSummaryResourceForDevice(BluetoothDevice device) { [all...] |
HeadsetProfile.java | 55 // Order of this profile in device profiles list 69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); 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: " + nextDevice); 73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); 75 device.onProfileStateChanged(HeadsetProfile.this, 77 device.refresh(); 113 public boolean connect(BluetoothDevice device) { 121 return mService.connect(device); [all...] |
MapProfile.java | 56 // Order of this profile in device profiles list 69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); local 70 // we may add a new device here, but generally this should not happen 71 if (device == null) { 72 Log.w(TAG, "MapProfile found new device: " + nextDevice); 73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); 75 device.onProfileStateChanged(MapProfile.this, 77 device.refresh(); 114 public boolean connect(BluetoothDevice device) { 119 public boolean disconnect(BluetoothDevice device) { [all...] |
/build/target/board/generic_x86/ |
device.mk | 26 device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \ 27 device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml \ 28 device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml
|
/external/blktrace/btt/ |
trace_plug.c | 32 dip_unplug(u_iop->t.device, BIT_TIME(u_iop->t.time), get_nio_up(u_iop)); 38 dip_unplug_tm(ut_iop->t.device, BIT_TIME(ut_iop->t.time), 45 dip_plug(p_iop->t.device, BIT_TIME(p_iop->t.time));
|
/external/chromium_org/build/android/gyp/ |
apk_install.py | 27 def GetNewMetadata(device, apk_package): 28 """Gets the metadata on the device for the apk_package apk.""" 29 output = device.RunShellCommand('ls -l /data/app/') 37 def HasInstallMetadataChanged(device, apk_package, metadata_path): 38 """Checks if the metadata on the device for apk_package has changed.""" 43 return expected_file.read() != device.GetInstallMetadata(apk_package) 46 def RecordInstallMetadata(device, apk_package, metadata_path): 47 """Records the metadata from the device for apk_package.""" 48 metadata = GetNewMetadata(device, apk_package) 62 parser.add_option('--build-device-configuration' [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/ |
AcceleratedImageBufferSurface.cpp | 45 RefPtr<SkGpuDevice> device = adoptRef(new SkGpuDevice(grContext, SkBitmap::kARGB_8888_Config, size.width(), size.height(), msaaSampleCount)); 46 if (!device->accessRenderTarget()) 48 m_canvas = adoptPtr(new SkCanvas(device.get()));
|
/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/libmtp/examples/ |
detect.c | 3 * Example program to detect a device and list capabilities. 71 fprintf(stdout, "Listing raw device(s)\n"); 87 fprintf(stdout, " Found %d device(s):\n", numrawdevices); 115 fprintf(stdout, "Attempting to connect device(s)\n"); 117 LIBMTP_mtpdevice_t *device; local 129 device = LIBMTP_Open_Raw_Device(&rawdevices[i]); 130 if (device == NULL) { 131 fprintf(stderr, "Unable to open raw device %d\n", i); 135 LIBMTP_Dump_Errorstack(device); 136 LIBMTP_Clear_Errorstack(device); [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
seq_device.h | 5 * ALSA sequencer device management 25 * registered device information 35 /* device info */ 37 int device; /* device number */ member in struct:snd_seq_device 39 char name[80]; /* device name */ 44 void (*private_free)(struct snd_seq_device *device); 45 struct list_head list; /* link to next device */ 51 * Initialize the device with given parameters. 71 int snd_seq_device_new(struct snd_card *card, int device, char *id, int argsize, struct snd_seq_device **result) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
seq_device.h | 5 * ALSA sequencer device management 25 * registered device information 35 /* device info */ 37 int device; /* device number */ member in struct:snd_seq_device 39 char name[80]; /* device name */ 44 void (*private_free)(struct snd_seq_device *device); 45 struct list_head list; /* link to next device */ 51 * Initialize the device with given parameters. 71 int snd_seq_device_new(struct snd_card *card, int device, char *id, int argsize, struct snd_seq_device **result) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkBlitter_ARGB32.cpp | 17 static void SkARGB32_Blit32(const SkBitmap& device, const SkMask& mask, 31 SkPMColor* dstRow = device.getAddr32(x, y); 36 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes()); 43 SkARGB32_Blitter::SkARGB32_Blitter(const SkBitmap& device, const SkPaint& paint) 44 : INHERITED(device) { 75 uint32_t* device = fDevice.getAddr32(x, y); local 76 fColor32Proc(device, device, width, fPMColor); 86 uint32_t* device = fDevice.getAddr32(x, y); local 98 sk_memset32(device, color, count) 191 uint32_t* device = fDevice.getAddr32(x, y); local 213 uint32_t* device = fDevice.getAddr32(x, y); local 235 uint32_t* device = fDevice.getAddr32(x, y); local 319 uint32_t* device = fDevice.getAddr32(x, y); local 338 uint32_t* device = fDevice.getAddr32(x, y); local 413 uint32_t* device = fDevice.getAddr32(x, y); local 545 uint32_t* device = fDevice.getAddr32(x, y); local [all...] |
/external/skia/src/core/ |
SkBlitter_ARGB32.cpp | 17 static void SkARGB32_Blit32(const SkBitmap& device, const SkMask& mask, 31 SkPMColor* dstRow = device.getAddr32(x, y); 36 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes()); 43 SkARGB32_Blitter::SkARGB32_Blitter(const SkBitmap& device, const SkPaint& paint) 44 : INHERITED(device) { 75 uint32_t* device = fDevice.getAddr32(x, y); local 76 fColor32Proc(device, device, width, fPMColor); 86 uint32_t* device = fDevice.getAddr32(x, y); local 98 sk_memset32(device, color, count) 191 uint32_t* device = fDevice.getAddr32(x, y); local 213 uint32_t* device = fDevice.getAddr32(x, y); local 235 uint32_t* device = fDevice.getAddr32(x, y); local 319 uint32_t* device = fDevice.getAddr32(x, y); local 338 uint32_t* device = fDevice.getAddr32(x, y); local 413 uint32_t* device = fDevice.getAddr32(x, y); local 545 uint32_t* device = fDevice.getAddr32(x, y); local [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothInputDevice.java | 36 * Device Profile. 52 * Device profile. 58 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li> 277 * Initiate connection to a profile of the remote bluetooth device. 282 * device is already connected or Bluetooth is not turned on. 291 * @param device Remote Bluetooth Device 296 public boolean connect(BluetoothDevice device) { 297 if (DBG) log("connect(" + device + ")"); 298 if (mService != null && isEnabled() && isValidDevice(device)) { [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
RemoteDevices.java | 73 DeviceProperties getDeviceProperties(BluetoothDevice device) { 75 return mDevices.get(device); 91 BluetoothDevice device = local 94 mDevices.put(device, prop); 194 /* Clearing the Uuids local copy when the device is unpaired. If not cleared, 214 private void sendUuidIntent(BluetoothDevice device) { 215 DeviceProperties prop = getDeviceProperties(device); 217 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); 222 mSdpTracker.remove(device); 239 DeviceProperties device; local 309 BluetoothDevice device = getDevice(address); local 387 BluetoothDevice device = getDevice(address); local 403 BluetoothDevice device = getDevice(address); local [all...] |
/external/chromium_org/ui/surface/ |
accelerated_surface_transformer_win.cc | 53 ScopedRenderTargetRestorer(IDirect3DDevice9* device, 55 : device_(device), 128 bool AcceleratedSurfaceTransformer::Init(IDirect3DDevice9* device) { 129 bool result = DoInit(device); 136 bool AcceleratedSurfaceTransformer::DoInit(IDirect3DDevice9* device) { 137 device_ = device; 141 HRESULT hr = device->GetDeviceCaps(&caps); 279 device()->SetVertexShaderConstantF(1, texture_scale, 1); 281 ScopedRenderTargetRestorer render_target_restorer(device(), 0); 282 device()->SetRenderTarget(0, dst_surface) 718 IDirect3DDevice9* AcceleratedSurfaceTransformer::device() { function in class:AcceleratedSurfaceTransformer [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
presentation.c | 40 vlVdpPresentationQueueCreate(VdpDevice device, 50 vlVdpDevice *dev = vlGetDataHTAB(device); 58 if (dev != pqt->device) 65 pq->device = dev; 102 pipe_mutex_lock(pq->device->mutex); 104 pipe_mutex_unlock(pq->device->mutex); 134 pipe_mutex_lock(pq->device->mutex); 136 pipe_mutex_unlock(pq->device->mutex); 158 pipe_mutex_lock(pq->device->mutex); 160 pipe_mutex_unlock(pq->device->mutex) [all...] |
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
presentation.c | 40 vlVdpPresentationQueueCreate(VdpDevice device, 50 vlVdpDevice *dev = vlGetDataHTAB(device); 58 if (dev != pqt->device) 65 pq->device = dev; 102 pipe_mutex_lock(pq->device->mutex); 104 pipe_mutex_unlock(pq->device->mutex); 134 pipe_mutex_lock(pq->device->mutex); 136 pipe_mutex_unlock(pq->device->mutex); 158 pipe_mutex_lock(pq->device->mutex); 160 pipe_mutex_unlock(pq->device->mutex) [all...] |
/bionic/libc/kernel/common/linux/ |
device.h | 37 struct device; 55 int (*match)(struct device * dev, struct device_driver * drv); 56 int (*uevent)(struct device *dev, char **envp, 59 int (*probe)(struct device * dev); 60 int (*remove)(struct device * dev); 61 void (*shutdown)(struct device * dev); 62 int (*suspend)(struct device * dev, pm_message_t state); 64 int (*resume)(struct device * dev); 66 struct device * bus_find_device(struct bus_type *bus, struct device *start 176 struct device { struct [all...] |
transport_class.h | 21 #include <linux/device.h> 27 int (*setup)(struct transport_container *, struct device *, 30 int (*configure)(struct transport_container *, struct device *, 32 int (*remove)(struct transport_container *, struct device *,
|
/bootable/recovery/mtdutils/ |
mounts.h | 28 const MountedVolume *find_mounted_volume_by_device(const char *device);
|