/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...] |
/external/chromium_org/content/browser/renderer_host/media/ |
audio_input_device_manager.cc | 49 StreamDeviceList::iterator device = GetDevice(session_id); local 50 if (device == devices_.end()) 53 return &(*device); 81 int AudioInputDeviceManager::Open(const StreamDeviceInfo& device) { 83 // Generate a new id for this device. 88 this, session_id, device)); 96 StreamDeviceList::iterator device = GetDevice(session_id); local 97 if (device == devices_.end()) 99 const MediaStreamType stream_type = device->device.type [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...] |
/external/chromium_org/media/video/capture/ |
video_capture_device_unittest.cc | 154 VideoCaptureDevice* device = VideoCaptureDevice::Create(device_name); local 155 EXPECT_TRUE(device == NULL); 165 scoped_ptr<VideoCaptureDevice> device( 167 ASSERT_FALSE(device.get() == NULL); 178 device->AllocateAndStart(capture_params, client_.PassAs<Client>()); 183 device->StopAndDeAllocate(); 193 scoped_ptr<VideoCaptureDevice> device( 195 ASSERT_FALSE(device.get() == NULL); 205 device->AllocateAndStart(capture_params, client_.PassAs<Client>()); 208 device->StopAndDeAllocate() [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...] |
/external/chromium_org/third_party/skia/src/core/ |
SkCoreBlitters.h | 16 SkRasterBlitter(const SkBitmap& device) : fDevice(device) {} 27 SkShaderBlitter(const SkBitmap& device, const SkPaint& paint); 45 SkA8_Coverage_Blitter(const SkBitmap& device, const SkPaint& paint); 56 SkA8_Blitter(const SkBitmap& device, const SkPaint& paint); 75 SkA8_Shader_Blitter(const SkBitmap& device, const SkPaint& paint); 96 SkARGB32_Blitter(const SkBitmap& device, const SkPaint& paint); 121 SkARGB32_Opaque_Blitter(const SkBitmap& device, const SkPaint& paint) 122 : INHERITED(device, paint) { SkASSERT(paint.getAlpha() == 0xFF); } 131 SkARGB32_Black_Blitter(const SkBitmap& device, const SkPaint& 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.config()) { 84 blitter->setup(device, left, top, paint);
|
/external/skia/src/core/ |
SkCoreBlitters.h | 16 SkRasterBlitter(const SkBitmap& device) : fDevice(device) {} 27 SkShaderBlitter(const SkBitmap& device, const SkPaint& paint); 45 SkA8_Coverage_Blitter(const SkBitmap& device, const SkPaint& paint); 56 SkA8_Blitter(const SkBitmap& device, const SkPaint& paint); 75 SkA8_Shader_Blitter(const SkBitmap& device, const SkPaint& paint); 96 SkARGB32_Blitter(const SkBitmap& device, const SkPaint& paint); 121 SkARGB32_Opaque_Blitter(const SkBitmap& device, const SkPaint& paint) 122 : INHERITED(device, paint) { SkASSERT(paint.getAlpha() == 0xFF); } 131 SkARGB32_Black_Blitter(const SkBitmap& device, const SkPaint& 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.config()) { 84 blitter->setup(device, left, top, paint);
|
/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...] |
/external/chromium_org/chrome/browser/extensions/api/dial/ |
dial_device_data_unittest.cc | 28 DialDeviceData device; local 29 device.set_device_id("device"); 30 device.set_label("label"); 31 device.set_device_description_url(GURL("http://127.0.0.1/dd.xml")); 32 device.set_config_id(1); 34 device.FillDialDevice(&api_device); 35 EXPECT_EQ(api_device.device_label, device.label()); 37 device.device_description_url().spec()); 38 EXPECT_EQ(*(api_device.config_id), device.config_id()) [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 | 153 public void onProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) { 155 m.obj = device; 164 private void processProfileStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) { 168 connectOtherProfile(device, PROFILE_CONN_CONNECTED); 169 setProfileAutoConnectionPriority(device, profileId); 174 binder.sendConnectionStateChange(device, profileId, newState,prevState); 696 public boolean createBond(BluetoothDevice device) { 704 return service.createBond(device); 707 public boolean cancelBondProcess(BluetoothDevice device) { 715 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>] 49 DEVICES=$(for i in device/*/*/proprietary-blobs.txt ; do basename $(dirname $i) ; done) 85 MANUFACTURERNAME=$( find device -type d | grep ^[^/]\*/[^/]\*/$DEVICENAME\$ | cut -f 2 -d / ) 103 echo '# This file is generated by device/common/generate-blob-lists.sh - DO NOT EDIT' 110 cp $ARCHIVEDIR/$DEVICENAME-proprietary-blobs.txt device/$MANUFACTURERNAME/$DEVICENAME/proprietary-blobs.txt 113 cd device/$MANUFACTURERNAME/$DEVICENAME 119 git push $1/device/$MANUFACTURERNAME/$DEVICENAME.git HEAD:refs/for/$2/autoblobs 124 cd device/$MANUFACTURERNAME/$DEVICENAME 129 git push $1/device/$MANUFACTURERNAME/$DEVICENAME.git HEAD:refs/for/$2/autoblob [all...] |
/device/lge/mako/self-extractors/ |
files-by-owner.sh | 24 cat > $target_owner/staging/device-partial.mk << EOF 40 echo -n "# " >> $target_owner/staging/device-partial.mk 43 echo -n Broadcom >> $target_owner/staging/device-partial.mk 46 echo -n LGE >> $target_owner/staging/device-partial.mk 49 echo -n Qualcomm >> $target_owner/staging/device-partial.mk 52 echo " blob(s) necessary for Mako hardware" >> $target_owner/staging/device-partial.mk 53 echo "PRODUCT_COPY_FILES := \\" >> $target_owner/staging/device-partial.mk 81 echo " vendor/$target_owner/mako/proprietary/$(basename $file):$file:$target_owner \\" >> $target_owner/staging/device-partial.mk 87 echo >> $target_owner/staging/device-partial.mk 90 echo PRODUCT_PACKAGES := libacdbloader >> $target_owner/staging/device-partial.m [all...] |
/external/chromium_org/chrome/browser/resources/ntp_android/ |
mostvisited.css | 6 body[device='phone'] .main-section { 10 body[device='phone'] .main-section.selected { 32 body[device='phone'] .thumbnail-cell { 39 body[device='phone'] #most_visited_list .thumbnail-container { 43 body[device='phone'] #most_visited_list:active .thumbnail-container { 67 body[device='phone'] #most_visited_list .thumbnail { 75 body[device='phone'] #most_visited_list .inner-border { 88 body[device='phone'] #most_visited_list .title-spacer { 93 body[device='phone'] #most_visited_list .title { 101 body[device='phone'] .recently-closed-title-container [all...] |
/external/chromium_org/chrome/browser/storage_monitor/ |
media_transfer_protocol_device_observer_linux.h | 13 #include "device/media_transfer_protocol/media_transfer_protocol_manager.h" 19 // Gets the mtp device information given a |storage_name|. On success, 23 device::MediaTransferProtocolManager* mtp_manager, 31 : public device::MediaTransferProtocolManager::Observer { 35 device::MediaTransferProtocolManager* mtp_manager); 50 device::MediaTransferProtocolManager* mtp_manager, 53 // device::MediaTransferProtocolManager::Observer implementation. 72 device::MediaTransferProtocolManager* mtp_manager_;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/core/ |
device.hpp | 34 typedef struct _cl_device_id device; typedef in namespace:clover 84 typedef std::vector<device>::iterator iterator; 96 device &front() { 100 device &back() { 105 std::vector<device> devs;
|
/external/chromium_org/third_party/mesa/src/src/gbm/backends/dri/ |
driver_name.c | 42 struct udev_device *device, *parent; local 48 device = _gbm_udev_device_new_from_fd(udev, fd); 49 if (device == NULL) 52 parent = udev_device_get_parent(device); 54 fprintf(stderr, "gbm: could not get parent device"); 85 udev_device_unref(device);
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
device.hpp | 34 typedef struct _cl_device_id device; typedef in namespace:clover 84 typedef std::vector<device>::iterator iterator; 96 device &front() { 100 device &back() { 105 std::vector<device> devs;
|
/external/mesa3d/src/gbm/backends/dri/ |
driver_name.c | 42 struct udev_device *device, *parent; local 48 device = _gbm_udev_device_new_from_fd(udev, fd); 49 if (device == NULL) 52 parent = udev_device_get_parent(device); 54 fprintf(stderr, "gbm: could not get parent device"); 85 udev_device_unref(device);
|