HomeSort by relevance Sort by last modified time
    Searched defs:device (Results 1 - 25 of 675) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /sdk/monkeyrunner/scripts/
monkey_recorder.py 19 device = mr.waitForConnection() variable
20 recorder.start(device)
  /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...]
  /external/skia/src/gpu/
SkGpuCanvas.cpp 37 SkDevice* device = this->getDevice(); local
38 if (device) {
39 size->set(device->width(), device->height());
  /external/libusb-compat/libusb/
usbi.h 50 struct usb_device *device; member in struct:usb_dev_handle
  /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))
  /development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
WiFiP2pService.java 10 WifiP2pDevice device; field in class:WiFiP2pService
  /external/bluetooth/glib/gio/
glocalfileinfo.h 41 dev_t device; member in struct:__anon2401
  /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/ril/mock-ril/
Makefile 22 device=$(ANDROID_DEVICE) macro
25 src_generated=$(top)out/target/product/$(device)/obj/SHARED_LIBRARIES/libmock_ril_intermediates/proto/hardware/ril/mock-ril/src/proto
46 adb install -r $(top)out/target/product/$(device)/data/app/FrameworksTelephonyTests.apk
116 # change to root and remount device
145 adb push $(top)out/target/product/$(device)/system/lib/libmock_ril.so /data/lib/
149 adb install -r $(top)out/target/product/$(device)/data/app/FrameworksTelephonyTests.apk
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/
Configuration.java 17 package com.android.hierarchyviewer.device;
  /sdk/chimpchat/src/com/android/chimpchat/adb/
AdbBackend.java 33 * Backend implementation that works over ADB to talk to the device.
37 // How long to wait each time we check for the device to be connected.
80 * Checks the attached devices looking for one whose device id matches the specified regex.
83 * @return the Device (if found), or null (if not found).
87 for (IDevice device : bridge.getDevices()) {
88 String serialNumber = device.getSerialNumber();
90 return device;
104 IDevice device = findAttachedDevice(deviceIdRegex); local
105 // Only return the device when it is online
106 if (device != null && device.getState() == IDevice.DeviceState.ONLINE)
    [all...]
  /bootable/recovery/
common.h 47 const char* device; // MTD partition name if fs_type == "yaffs" member in struct:__anon712
48 // block device if fs_type == "ext4" or "vfat"
50 const char* device2; // alternative device to try if fs_type
52 // 'device' fails
  /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/bluetooth/bluez/audio/
main.c 44 #include "device.h"
73 struct audio_device *device; local
92 device = manager_find_device(NULL, &src, &dst, AUDIO_HEADSET_INTERFACE,
94 if (!device)
95 device = manager_find_device(NULL, &src, &dst,
99 if (!device)
102 if (device->headset) {
103 if (headset_get_state(device) < HEADSET_STATE_CONNECTED) {
108 if (!get_hfp_active(device)) {
114 if (headset_connect_sco(device, chan) < 0
    [all...]
  /external/bluetooth/bluez/src/
sdpd.h 38 bdaddr_t device; member in struct:request
65 void sdp_record_add(const bdaddr_t *device, sdp_record_t *rec);
69 int sdp_check_access(uint32_t handle, bdaddr_t *device);
83 void sdp_init_services_list(bdaddr_t *device);

Completed in 1470 milliseconds

1 2 3 4 5 6 7 8 91011>>