/external/libmtp/examples/ |
sendfile.c | 3 * Example program to send an arbitrary file to a device. 38 extern LIBMTP_mtpdevice_t *device; 81 ret = LIBMTP_Send_File_From_File(device, from_path, genfile, progress, NULL); 85 LIBMTP_Dump_Errorstack(device); 86 LIBMTP_Clear_Errorstack(device);
|
/external/libpcap/ |
pcap-null.c | 43 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms,
|
/external/llvm/lib/AsmParser/ |
Android.mk | 21 # For the device 31 include $(LOCAL_PATH)/../../llvm-device-build.mk
|
/external/skia/src/effects/ |
SkPictureImageFilter.cpp | 61 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), bounds.height())); 62 if (NULL == device.get()) { 66 SkCanvas canvas(device.get()); 73 *result = device.get()->accessBitmap(false);
|
/external/tinyalsa/ |
tinypcminfo.c | 36 unsigned int device = 0; local 41 fprintf(stderr, "Usage: %s -D card -d device\n", argv[0]); 56 device = atoi(*argv); 62 printf("Info for card %d, device %d:\n", card, device); 71 params = pcm_params_get(card, device, i == 0 ? PCM_OUT : PCM_IN); 73 printf("Device does not exist.\n");
|
/frameworks/av/services/camera/libcameraservice/common/ |
FrameProcessorBase.h | 34 * frames from the device, and analyzes them as necessary. 38 FrameProcessorBase(wp<CameraDeviceBase> device); 73 void processNewFrames(const sp<CameraDeviceBase> &device); 76 const sp<CameraDeviceBase> &device); 79 const sp<CameraDeviceBase> &device);
|
/frameworks/native/include/binder/ |
MemoryHeapBase.h | 48 * maps memory from the given device 50 MemoryHeapBase(const char* device, size_t size = 0, uint32_t flags = 0); 76 status_t setDevice(const char* device) { 78 mDevice = device; 86 int flags = 0, const char* device = NULL);
|
/hardware/qcom/audio/legacy/alsa_sound/ |
ALSAStreamOps.cpp | 97 uint32_t device) 99 mDevices = device; 192 int device; local 205 if (param.getInt(key, device) == NO_ERROR) { 206 // Ignore routing if device is 0. 207 ALOGD("setParameters(): keyRouting with device 0x%x", device); 209 if ((device == 0) && (mDevices == AudioSystem::DEVICE_OUT_AUX_DIGITAL)) { 210 device = AudioSystem::DEVICE_OUT_SPEAKER; 212 if (device) [all...] |
acoustics_default.cpp | 51 hw_device_t** device) 72 *device = &dev->common; 76 static int s_device_close(hw_device_t* device) 78 free(device);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
netrom.h | 25 char device[16]; member in struct:nr_route_struct
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
netrom.h | 25 char device[16]; member in struct:nr_route_struct
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
netrom.h | 25 char device[16]; member in struct:nr_route_struct
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/ |
LogCatMonitor.java | 77 public void deviceDisconnected(IDevice device) { 78 unmonitorDevice(device.getSerialNumber()); 79 mMonitoredDevices.remove(device.getSerialNumber()); 83 public void deviceConnected(IDevice device) { 87 public void deviceChanged(IDevice device, int changeMask) { 106 for (String device : mMonitoredDevices.keySet()) { 107 unmonitorDevice(device); 122 public void monitorDevice(final IDevice device) { 124 // do not monitor device if auto monitoring is off 130 if (mMonitoredDevices.keySet().contains(device.getSerialNumber())) [all...] |
/system/core/toolbox/ |
umount.c | 32 char device[256]; local 45 count = fscanf(f, "%255s %255s %255s\n", device, mount_path, rest); 47 if (is_loop(device) && strcmp(path, mount_path) == 0) { 48 strlcpy(loopdev, device, LOOPDEV_MAXLEN); 76 // free the loop device 79 fprintf(stderr, "open loop device failed: %s\n", strerror(errno));
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
Fat16RootDirectory.java | 31 private final BlockDevice device; field in class:Fat16RootDirectory 41 this.device = bs.getDevice(); 80 this.device.read(deviceOffset, data); 85 this.device.write(deviceOffset, data);
|
/device/lge/mako/ |
BoardConfig.mk | 46 TARGET_BOARD_INFO_FILE := device/lge/mako/board-info.txt 48 BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/lge/mako/bluetooth 61 BOARD_EGL_CFG := device/lge/mako/egl.cfg 74 TARGET_RECOVERY_FSTAB = device/lge/mako/fstab.mako 93 TARGET_RELEASETOOLS_EXTENSIONS := device/lge/mako 96 device/lge/mako/sepolicy 101 device.te \
|
/external/chromium_org/build/android/gyp/ |
create_device_library_links.py | 9 The native libraries should have previously been pushed to the device (in 29 def RunShellCommand(device, cmd): 30 output = device.RunShellCommand(cmd) 57 device = build_device.GetBuildDeviceFromPath( 59 if not device: 68 RunShellCommand(device, mkdir_cmd) 69 device.PushIfNeeded(options.script_host_path, options.script_device_path) 80 RunShellCommand(device, trigger_cmd) 88 parser.add_option('--script-device-path', 89 help='Path on the device to push the created symlink script.' [all...] |
/external/chromium_org/device/bluetooth/ |
bluetooth_device.h | 15 namespace device { namespace 23 // BluetoothDevice represents a remote Bluetooth device, both its properties and 25 // performed on the remove device such as pairing, connection and disconnection. 29 // instead use the GetAddress() method as a unique key for a device. 37 // different types of bluetooth device that we support or are aware of 83 // PIN Code for authentication of the device |device|, the delegate should 84 // obtain the code from the user and call SetPinCode() on the device to 90 virtual void RequestPinCode(BluetoothDevice* device) = 0; 93 // Passkey for authentication of the device |device|, the delegate shoul [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
linuxdeviceinfo.cc | 95 bool GetUsbProperty(const Device& device, const char* property_name, 135 if (!device_node || device.id.compare(device_node) != 0) { 154 bool GetUsbId(const Device& device, std::string* usb_id) { 157 if (!GetUsbProperty(device, "idVendor", &id_vendor)) { 160 if (!GetUsbProperty(device, "idProduct", &id_product)) { 170 bool GetUsbVersion(const Device& device, std::string* usb_version) { 171 return GetUsbProperty(device, "version", usb_version) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/sound/ |
pulseaudiosoundsystem.h | 67 virtual bool GetDefaultPlaybackDevice(SoundDeviceLocator **device); 68 virtual bool GetDefaultCaptureDevice(SoundDeviceLocator **device); 71 const SoundDeviceLocator *device, 74 const SoundDeviceLocator *device, 135 SoundDeviceLocator **device); 138 bool GetDefaultDevice(SoundDeviceLocator **device); 147 const SoundDeviceLocator *device,
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
SinkActivity.java | 124 UsbDevice device = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); local 125 if (device != null) { 126 onDeviceAttached(device); 131 for (UsbDevice device : devices.values()) { 132 onDeviceAttached(device); 145 private void onDeviceAttached(UsbDevice device) { 146 mLogger.log("USB device attached: " + device); 148 connect(device); 152 private void onDeviceDetached(UsbDevice device) { 490 UsbDevice device = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppHandoverReceiver.java | 40 BluetoothDevice device = local 42 if (device == null) { 43 if (D) Log.d(TAG, "No device attached to handover intent."); 70 BluetoothOppManager.getInstance(context).startTransfer(device); 72 BluetoothDevice device = local 74 if (D) Log.d(TAG, "Adding " + device + " to whitelist"); 75 if (device == null) return; 76 BluetoothOppManager.getInstance(context).addToWhitelist(device.getAddress());
|
/external/iputils/ |
arping.c | 64 struct device { struct 76 struct device device = { variable in typeref:struct:device 120 "Usage: arping [-fqbDUAV] [-c count] [-w timeout] [-I device] [-s source] destination\n" 130 " -I device : which ethernet device to use" 550 * This function checks 1) if the device (if given) is okay for ARP, 551 * or 2) find fist appropriate device on the system. 554 * >0 : Succeeded, and appropriate device not found. 555 * device.ifindex remains 0 [all...] |
/hardware/libhardware/include/hardware/ |
sensors.h | 43 * Name of the sensors device to open 80 * This API is relative to the screen of the device in its default orientation, 81 * that is, if the device can be used in portrait or landscape, this API 83 * the axis are not swapped when the device's screen orientation changes. 146 * Device manufacturers (OEMs) can define their own sensor types, for 153 * Base for device manufacturers private sensor types. 162 * physical sensors on the device. For instance the rotation vector sensor, 238 * device minus the force of gravity. 253 * When the device lies flat on a table and is pushed on its left side 256 * When the device lies flat on a table, the acceleration value is +9.81 [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
HeadsetStateMachine.java | 140 // mCurrentDevice is the device connected before the state changes 141 // mTargetDevice is the device to be connected 142 // mIncomingDevice is the device connecting to us, valid only in Pending state 153 // Connecting to a device, Pending 155 // Disconnecting device, Connecting to new device 158 // Disconnecting device Pending 274 BluetoothDevice device = (BluetoothDevice) message.obj; local 275 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTING, 278 if (!connectHfpNative(getByteAddress(device)) ) { 410 BluetoothDevice device = (BluetoothDevice) message.obj; local 604 BluetoothDevice device = (BluetoothDevice) message.obj; local 625 BluetoothDevice device = (BluetoothDevice) message.obj; local 844 BluetoothDevice device = (BluetoothDevice) message.obj; local 2055 BluetoothDevice device = null; field in class:HeadsetStateMachine.StackEvent [all...] |