/build/core/ |
device.mk | 22 define dump-device 30 $(foreach p,$(DEVICES),$(call dump-device,$(p))) 34 # $(1): device to inherit 36 define inherit-device 42 # $(1): device makefile list 51 # $(1): short device name like "sooner" 53 define _resolve-short-device-name 65 $(error No matches for device "$(dn)"), \ 66 $(error Device "$(dn)" ambiguous: matches $(d)) \ 72 # $(1): short device name like "sooner [all...] |
/external/libmtp/examples/ |
format.c | 3 * Example program that formats the device storage. 51 LIBMTP_mtpdevice_t *device; local 57 device = LIBMTP_Get_First_Device(); 58 if (device == NULL) { 63 printf("I will now format your device. This means that\n"); 69 ret = LIBMTP_Format_Storage(device, device->storage); 76 printf("Failed to format device.\n"); 77 LIBMTP_Dump_Errorstack(device); 78 LIBMTP_Clear_Errorstack(device); [all...] |
reset.c | 3 * Example program that resets the device. 51 LIBMTP_mtpdevice_t *device; local 57 device = LIBMTP_Get_First_Device(); 58 if (device == NULL) { 63 printf("I will now reset your device. This means that\n"); 64 printf("the device may go inactive immediately and may report errors.\n"); 67 ret = LIBMTP_Reset_Device(device); 74 printf("Failed to reset device.\n"); 75 LIBMTP_Dump_Errorstack(device); 76 LIBMTP_Clear_Errorstack(device); [all...] |
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);
|
folders.c | 3 * Example program that lists all folders on a device. 44 LIBMTP_mtpdevice_t *device, *iter; local 48 fprintf(stdout, "Attempting to connect device(s)\n"); 50 switch(LIBMTP_Get_Connected_Devices(&device)) 69 /* Successfully connected at least one device, so continue */ 76 for(iter = device; iter != NULL; iter = iter->next) 79 /* Echo the friendly name so we know which device we are working with */ 105 LIBMTP_Release_Device_List(device);
|
emptyfolders.c | 25 static void prune_empty_folders(LIBMTP_mtpdevice_t *device, LIBMTP_file_t *files, LIBMTP_folder_t *folderlist, int do_delete) 46 if (LIBMTP_Delete_Object(device,folderlist->folder_id) != 0) { 48 LIBMTP_Dump_Errorstack(device); 49 LIBMTP_Clear_Errorstack(device); 55 prune_empty_folders(device,files,folderlist->child,do_delete); // recurse down 56 prune_empty_folders(device,files,folderlist->sibling,do_delete); // recurse along 82 LIBMTP_mtpdevice_t *device; local 87 device = LIBMTP_Get_First_Device(); 88 if (device == NULL) { 94 files = LIBMTP_Get_Filelisting_With_Callback(device,NULL,NULL) [all...] |
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...] |
connect.c | 33 LIBMTP_mtpdevice_t *device; variable 86 device = LIBMTP_Get_First_Device(); 87 if (device == NULL) { 91 files = LIBMTP_Get_Filelisting_With_Callback (device, NULL, NULL); 92 folders = LIBMTP_Get_Folder_List (device); 165 LIBMTP_Release_Device(device);
|
/external/libusb-compat/libusb/ |
usbi.h | 50 struct usb_device *device; member in struct:usb_dev_handle
|
/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");
|
/system/extras/tests/bionic/libstdc++/ |
Android.mk | 24 # device executable. 29 define device-test 41 # same as 'device-test' but builds a host executable instead 77 # compiler flags, so only build this test for device/Bionic 82 $(call device-test, $(sources))
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/ |
UnknownFileSystemException.java | 25 * system being used on a block device. 32 private final BlockDevice device; field in class:UnknownFileSystemException 37 * @param device the {@code BlockDevice} whose file system could not 40 public UnknownFileSystemException(BlockDevice device) { 42 this.device = device; 52 return this.device;
|
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
WiFiP2pService.java | 10 WifiP2pDevice device; field in class:WiFiP2pService
|
/external/llvm/ |
llvm-device-build.mk | 38 # No action. The device target should not have exception enabled since bionic 60 $(LLVM_ROOT_PATH)/device/include \ 66 define transform-device-td-to-out 68 @echo "Device TableGen (gen-$(1)): $(TBLGEN_LOCAL_MODULE) <= $<" 72 -I $(LLVM_ROOT_PATH)/device/include \
|
/frameworks/base/core/java/android/app/backup/ |
RestoreSet.java | 36 * Identifier of the device whose data this is. This will be as unique as 39 public String device; field in class:RestoreSet 55 device = _dev; 67 out.writeString(device); 84 device = in.readString();
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
amix.c | 57 const char* device = "/dev/snd/controlC0"; local 59 mixer = mixer_open(device);
|
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
MtpThumbnailDrawable.java | 40 MtpDevice device = MtpDeviceIndex.getInstance().getDevice(); local 41 if (device != null) { 42 return device.getThumbnail(data.getObjectHandle());
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/ |
Configuration.java | 17 package com.android.hierarchyviewer.device;
|
/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);
|
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...] |
/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...] |
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/device/ |
DeviceInfoCollectorFuncTest.java | 16 package com.android.cts.tradefed.device; 19 import com.android.tradefed.device.DeviceNotAvailableException;
|
/external/blktrace/btt/ |
devmap.c | 26 char device[32], devno[32]; member in struct:devmap 35 if (strstr(line, "Device") != NULL) 39 if (sscanf(line, "%s %s", dmp->device, dmp->devno) != 2) { 48 char *dev_map_find(__u32 device) 53 sprintf(this, "%u,%u", MAJOR(device), MINOR(device)); 58 return dmp->device;
|
/external/chromium/chrome/browser/ui/views/ |
theme_helpers.cc | 67 skia::BitmapPlatformDevice& device = local 70 *c1 = 0xFF000000 | device.getColorAt(x1, 0); 71 *c2 = 0xFF000000 | device.getColorAt(x2, 0);
|