/external/libmtp/src/ |
playlist-spl.h | 28 void spl_to_playlist_t(LIBMTP_mtpdevice_t* device, PTPObjectInfo *oi, 30 int playlist_t_to_spl(LIBMTP_mtpdevice_t *device, 32 int update_spl_playlist(LIBMTP_mtpdevice_t *device,
|
/device/common/ |
populate-new-device.sh | 19 echo "Need a manufacturer name and a device name" 23 mkdir -p device/$1/$2 24 mkdir -p device/$1/$2-kernel 27 cat > device/$1/$2/vendorsetup.sh << EOF 47 cat > device/$1/$2/AndroidProducts.mk << EOF 67 cat > device/$1/$2/full_$2.mk << EOF 84 \$(call inherit-product, device/$1/$2/device.mk) 93 cat > device/$1/$2/device.mk << EO [all...] |
/external/libmtp/examples/ |
trexist.c | 3 * Example program to check if a certain track exists on the device. 33 LIBMTP_mtpdevice_t *device; local 56 device = LIBMTP_Get_First_Device(); 57 if (device == NULL) { 58 printf("No devices. Connect/replug device and try again.\n"); 62 printf("%s\n", LIBMTP_Track_Exists(device, id) ? "Yes" : "No"); 64 LIBMTP_Release_Device(device);
|
getplaylist.c | 3 * Example program that lists the abstract playlists on the device. 26 static uint32_t dump_playlist(LIBMTP_mtpdevice_t *device, LIBMTP_playlist_t *pl) 35 track = LIBMTP_Get_Trackmetadata(device, pl->tracks[i]); 41 LIBMTP_Dump_Errorstack(device); 42 LIBMTP_Clear_Errorstack(device); 51 LIBMTP_mtpdevice_t *device; local 75 device = LIBMTP_Get_First_Device(); 76 if (device == NULL) { 77 printf("No devices. Connect/replug device and try again.\n"); 81 playlist = LIBMTP_Get_Playlist(device,id); [all...] |
playlists.c | 3 * Example program to list the playlists on a device. 25 static void dump_plinfo(LIBMTP_mtpdevice_t *device, LIBMTP_playlist_t *pl) 38 track = LIBMTP_Get_Trackmetadata(device, pl->tracks[i]); 44 LIBMTP_Dump_Errorstack(device); 45 LIBMTP_Clear_Errorstack(device); 52 LIBMTP_mtpdevice_t *device; local 58 device = LIBMTP_Get_First_Device(); 59 if (device == NULL) { 65 playlists = LIBMTP_Get_Playlist_List(device); 72 dump_plinfo(device, pl) [all...] |
/external/kernel-headers/original/linux/ |
transport_class.h | 12 #include <linux/device.h> 19 int (*setup)(struct transport_container *, struct device *, 21 int (*configure)(struct transport_container *, struct device *, 23 int (*remove)(struct transport_container *, struct device *, 64 void transport_remove_device(struct device *); 65 void transport_add_device(struct device *); 66 void transport_setup_device(struct device *); 67 void transport_configure_device(struct device *); 68 void transport_destroy_device(struct device *); 71 transport_register_device(struct device *dev [all...] |
/external/skia/src/pdf/ |
SkPDFFormXObject.cpp | 19 SkPDFFormXObject::SkPDFFormXObject(SkPDFDevice* device) { 20 // We don't want to keep around device because we'd have two copies 23 device->getResources(&fResources, false); 34 SkAutoTUnref<SkStream> content(device->content()); 39 SkSafeUnref(this->insert("BBox", device->copyMediaBox())); 40 insert("Resources", device->getResourceDict()); 45 if (!device->initialTransform().isIdentity()) { 47 if (!device->initialTransform().invert(&inverse)) {
|
/hardware/ti/omap4xxx/camera/ |
CameraHal_Module.cpp | 39 hw_device_t** device); 40 static int camera_device_close(hw_device_t* device); 75 int camera_set_preview_window(struct camera_device * device, 83 if(!device) 86 ti_dev = (ti_camera_device_t*) device; 93 void camera_set_callbacks(struct camera_device * device, 104 if(!device) 107 ti_dev = (ti_camera_device_t*) device; 112 void camera_enable_msg_type(struct camera_device * device, int32_t msg_type) 118 if(!device) [all...] |
/hardware/libhardware/modules/local_time/ |
local_time_hw.c | 31 struct local_time_hw_device device; member in struct:stub_local_time_device 60 static int ltdev_close(hw_device_t *device) 62 free(device); 67 hw_device_t** device) 80 ltdev->device.common.tag = HARDWARE_DEVICE_TAG; 81 ltdev->device.common.version = 0; 82 ltdev->device.common.module = (struct hw_module_t *) module; 83 ltdev->device.common.close = ltdev_close; 85 ltdev->device.get_local_time = ltdev_get_local_time; 86 ltdev->device.get_local_freq = ltdev_get_local_freq [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/caca/ |
SDL_cacavideo.c | 77 static void Caca_DeleteDevice(SDL_VideoDevice *device) 79 free(device->hidden); 80 free(device); 84 SDL_VideoDevice *device; local 87 device = (SDL_VideoDevice *)malloc(sizeof(SDL_VideoDevice)); 88 if ( device ) { 89 memset(device, 0, (sizeof *device)); 90 device->hidden = (struct SDL_PrivateVideoData *) 91 malloc((sizeof *device->hidden)) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
HidService.java | 151 BluetoothDevice device = (BluetoothDevice) msg.obj; 152 if (!connectHidNative(Utils.getByteAddress(device)) ) { 153 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTING); 154 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED); 157 mTargetDevice = device; 162 BluetoothDevice device = (BluetoothDevice) msg.obj; 163 if (!disconnectHidNative(Utils.getByteAddress(device)) ) { 164 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTING); 165 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED); 172 BluetoothDevice device = getDevice((byte[]) msg.obj) [all...] |
/system/core/include/usbhost/ |
usbhost.h | 64 /* Callback indicating that initial device discovery is done. 91 * added_cb will be called immediately for each existing USB device, 92 * and subsequently each time a new device is added. 103 /* Creates a usb_device object for a USB device */ 106 /* Releases all resources associated with the USB device */ 107 void usb_device_close(struct usb_device *device); 109 /* Creates a usb_device object for already open USB device */ 113 int usb_device_get_fd(struct usb_device *device); 115 /* Returns the name for the USB device, which is the same as 118 const char* usb_device_get_name(struct usb_device *device); [all...] |
/frameworks/base/services/input/ |
EventHub.cpp | 97 // Compute a device descriptor that uniquely identifies the device. 107 // If we don't know the vendor and product id, then the device is probably 109 // the input device. Usually we try to avoid relying on the device name or 110 // location but for built-in input device, they are unlikely to ever change. 158 // --- EventHub::Device --- 160 EventHub::Device::Device(int fd, int32_t id, const String8& path, 176 EventHub::Device::~Device() [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
SDL_riscosvideo.c | 28 Implements RISC OS display device management. 88 static void RISCOS_DeleteDevice(SDL_VideoDevice *device) 90 SDL_free(device->hidden); 91 SDL_free(device); 96 SDL_VideoDevice *device; local 99 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); 100 if ( device ) { 101 SDL_memset(device, 0, (sizeof *device)); 102 device->hidden = (struct SDL_PrivateVideoData * [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
ViewManager.java | 20 import com.android.hierarchyviewer.device.Window; 21 import com.android.hierarchyviewer.device.DeviceBridge; 30 public static void invalidate(IDevice device, Window window, String params) { 31 sendCommand("INVALIDATE", device, window, params); 34 public static void requestLayout(IDevice device, Window window, String params) { 35 sendCommand("REQUEST_LAYOUT", device, window, params); 38 public static void outputDisplayList(IDevice device, Window window, String params) { 39 sendCommand("OUTPUT_DISPLAYLIST", device, window, params); 42 private static void sendCommand(String command, IDevice device, Window window, String params) { 49 DeviceBridge.getDeviceLocalPort(device))); [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/baudio/ |
SDL_beaudio.cc | 53 static void Audio_DeleteDevice(SDL_AudioDevice *device) 55 SDL_free(device->hidden); 56 SDL_free(device); 61 SDL_AudioDevice *device; local 64 device = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice)); 65 if ( device ) { 66 SDL_memset(device, 0, (sizeof *device)); 67 device->hidden = (struct SDL_PrivateAudioData *) 68 SDL_malloc((sizeof *device->hidden)) [all...] |
/development/tools/labpretest/ |
labpretest.sh | 7 # session. It puts a device into bootloader mode, reboots into bootloader mode, 8 # determines device type, erases user cache, flashes a generic userdata image, 24 device='' 31 d) device="$OPTARG";; 35 h) echo "options: [-d <device ID>, -i <loop count>, -m <monkey events> -x (skips monkey)]"; exit;; 66 # device 80 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'` 86 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'` 99 # Blocks until device is in fastboot mode or 103 # device [all...] |
/device/asus/deb/ |
device.mk | 23 device/asus/deb/fstab.deb:root/fstab.flo \ 24 device/asus/deb/init.deb.rc:root/init.flo.rc 44 # the actual meat of the device-specific product definition 45 $(call inherit-product, device/asus/flo/device-common.mk) 48 $(call inherit-product-if-exists, vendor/asus/deb/device-vendor.mk) 50 DEVICE_PACKAGE_OVERLAYS := device/asus/deb/overlay
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothGattServerCallback.java | 29 * Callback indicating when a remote device has been connected or disconnected. 31 * @param device Remote device that has been connected or disconnected. 37 public void onConnectionStateChange(BluetoothDevice device, int status, 57 * @param device The remote device that has requested the read operation 62 public void onCharacteristicReadRequest(BluetoothDevice device, int requestId, 72 * @param device The remote device that has requested the write operation 77 * @param responseNeeded true, if the remote device requires a respons [all...] |
IBluetoothPan.aidl | 30 boolean connect(in BluetoothDevice device); 31 boolean disconnect(in BluetoothDevice device); 34 int getConnectionState(in BluetoothDevice device);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
A2dpProfile.java | 52 // Order of this profile in device profiles list 66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); local 67 // we may add a new device here, but generally this should not happen 68 if (device == null) { 69 Log.w(TAG, "A2dpProfile found new device: " + nextDevice); 70 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); 72 device.onProfileStateChanged(A2dpProfile.this, BluetoothProfile.STATE_CONNECTED); 73 device.refresh(); 114 public boolean connect(BluetoothDevice device) { 122 return mService.connect(device); [all...] |
/device/lge/mako/camera/QCamera/HAL/wrapper/ |
QualcommCamera.cpp | 130 QCameraHardwareInterface *util_get_Hal_obj( struct camera_device * device) 133 if(device && device->priv){ 134 camera_hardware_t *camHal = (camera_hardware_t *)device->priv; 141 CameraParameters* util_get_HAL_parameter( struct camera_device * device) 144 if(device && device->priv){ 145 camera_hardware_t *camHal = (camera_hardware_t *)device->priv; 186 camera_device *device = NULL; local 203 device = &camHal->hw_dev 228 camera_device_t *device = (camera_device_t *)hw_dev; local [all...] |
/device/lge/mako/camera/ |
QualcommCamera2.cpp | 130 QCameraHardwareInterface *util_get_Hal_obj( struct camera_device * device) 133 if(device && device->priv){ 134 camera_hardware_t *camHal = (camera_hardware_t *)device->priv; 141 QCameraParameters* util_get_HAL_parameter( struct camera_device * device) 144 if(device && device->priv){ 145 camera_hardware_t *camHal = (camera_hardware_t *)device->priv; 187 camera_device *device = NULL; local 214 device = &camHal->hw_dev 241 camera_device_t *device = (camera_device_t *)hw_dev; local [all...] |
/bionic/libc/kernel/common/linux/ |
attribute_container.h | 21 #include <linux/device.h> 32 int (*match)(struct attribute_container *, struct device *); 39 struct class_device *attribute_container_find_class_device(struct attribute_container *, struct device *);
|
/development/ndk/platforms/android-3/include/linux/ |
attribute_container.h | 15 #include <linux/device.h> 25 int (*match)(struct attribute_container *, struct device *); 31 struct class_device *attribute_container_find_class_device(struct attribute_container *, struct device *);
|