/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/sys/ |
_errdefs.h | 44 __BIONIC_ERRDEF( ENXIO , 6, "No such device or address" ) 53 __BIONIC_ERRDEF( ENOTBLK , 15, "Block device required" ) 54 __BIONIC_ERRDEF( EBUSY , 16, "Device or resource busy" ) 56 __BIONIC_ERRDEF( EXDEV , 18, "Cross-device link" ) 57 __BIONIC_ERRDEF( ENODEV , 19, "No such device" ) 66 __BIONIC_ERRDEF( ENOSPC , 28, "No space left on device" ) 96 __BIONIC_ERRDEF( ENOSTR , 60, "Device not a stream" )
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/sys/ |
_errdefs.h | 44 __BIONIC_ERRDEF( ENXIO , 6, "No such device or address" ) 53 __BIONIC_ERRDEF( ENOTBLK , 15, "Block device required" ) 54 __BIONIC_ERRDEF( EBUSY , 16, "Device or resource busy" ) 56 __BIONIC_ERRDEF( EXDEV , 18, "Cross-device link" ) 57 __BIONIC_ERRDEF( ENODEV , 19, "No such device" ) 66 __BIONIC_ERRDEF( ENOSPC , 28, "No space left on device" ) 96 __BIONIC_ERRDEF( ENOSTR , 60, "Device not a stream" )
|
/system/core/fastboot/ |
usb_windows.c | 46 /** Structure usb_handle describes our connection to the usb device via 48 is expected in each subsequent call that is accessing the device. 64 /// Class ID assigned to the device by androidusb.sys 68 /// Checks if interface (device) matches certain criteria 71 /// Opens usb interface (device) by interface (device) name. 349 // Lets see if this interface (device) belongs to us
|
/external/skia/src/core/ |
SkBlitter.cpp | 549 virtual bool setContext(const SkBitmap& device, const SkPaint& paint, const SkMatrix& matrix) 552 return fProxy->setContext(device, paint, matrix); 556 return this->INHERITED::setContext(device, paint, matrix); 855 SkBlitter* SkBlitter::Choose(const SkBitmap& device, 864 // which check, in case we're being called by a client with a dummy device 866 if (SkBitmap::kNo_Config == device.getConfig()) 885 switch (interpret_xfermode(paint, mode, device.config())) { 913 if (shader && !shader->setContext(device, paint, matrix)) { 917 switch (device.getConfig()) { 919 SK_PLACEMENT_NEW_ARGS(blitter, SkA1_Blitter, storage, storageSize, (device, paint)) [all...] |
/external/libnfc-nxp/src/ |
phFriNfc_OvrHal.h | 62 * \par Device Based Functions 63 * NFC Device Based Functions are used to address the NFC device (local device) directly. 64 * These are all functions that use no Remote Device Information. 67 * Connection Based Functions use the Remote Device Information to describe a connection 68 * to a certain Remote Device. 71 * FRI components accessing one NFC device share one instance of the Overlapped HAL. Therefore 76 * The Overlapped HAL represents the NFC Device, the lowest layer of the FRI components. 235 /** Device reference returned during enumeration: This has to be filled in by the integrating software afte [all...] |
phFriNfc_DesfireMap.h | 201 * \brief \copydoc page_ovr Initiates Reading of NDEF information from the Remote Device. 203 * The function initiates the reading of NDEF information from a Remote Device. 229 * \retval NFCSTATUS_INVALID_DEVICE The device has not been opened or has been disconnected 243 * \brief \copydoc page_ovr Initiates Writing of NDEF information to the Remote Device. 245 * The function initiates the writing of NDEF information to a Remote Device. 272 * \retval NFCSTATUS_INVALID_DEVICE The device has not been opened or has been disconnected 286 * \brief \copydoc page_ovr Check whether a particulat Remote Device is NDEF compliant. 288 * The function checks whether the peer device is NDEF compliant. 295 * \retval NFCSTATUS_INVALID_DEVICE The device has not been opened or has been disconnected
|
/external/qemu/distrib/sdl-1.2.12/src/audio/alsa/ |
SDL_alsa_audio.c | 174 const char *device; local 176 device = SDL_getenv("AUDIODEV"); /* Is there a standard variable name? */ 177 if ( device == NULL ) { 178 if (channels == 6) device = "surround51"; 179 else if (channels == 4) device = "surround40"; 180 else device = DEFAULT_DEVICE; 182 return device; 206 static void Audio_DeleteDevice(SDL_AudioDevice *device) 208 SDL_free(device->hidden); 209 SDL_free(device); [all...] |
/frameworks/base/docs/html/guide/developing/tools/ |
monkeyrunner_concepts.jd | 33 The monkeyrunner tool provides an API for writing programs that control an Android device 46 device or emulator and generates pseudo-random streams of user and system events. In comparison, 55 Multiple device control: The monkeyrunner API can apply one or more 94 Here is a simple monkeyrunner program that connects to a device, creating a 106 # Connects to the current device, returning a MonkeyDevice object 107 device = MonkeyRunner.waitForConnection() 111 device.installPackage('myproject/bin/MyApplication.apk') 114 device.startActivity(component='com.example.android.myapplication.MainActivity') 117 device.press('KEYCODE_MENU','DOWN_AND_UP') 120 result = device.takeSnapSho [all...] |
/frameworks/base/docs/html/guide/publishing/ |
preparing.jd | 26 <li>Test your application extensively on an actual device </li> 52 <h3 id="test">1. Test your application extensively on an actual device</h3> 64 every effort to obtain one or more physical mobile device(s) of the type on 66 on the actual device, under realistic network conditions. Testing your 67 application on a physical device is very important, because it enables you to 72 <li>If you can not obtain a mobile device of the type you are targeting for your 74 <code>-device</code>, <code>-scale</code>, <code>-netspeed</code>, 77 device to the greatest extent possible. You can then test your application's UI 79 on an actual target device before publishing it. </li> 82 G1</a> device for your application, make sure that your UI handles scree [all...] |
/hardware/msm7k/libgralloc/ |
gralloc.cpp | 57 alloc_device_t device; member in struct:gralloc_context_t 67 hw_device_t** device); 70 hw_device_t** device); 577 hw_device_t** device) 588 dev->device.common.tag = HARDWARE_DEVICE_TAG; 589 dev->device.common.version = 0; 590 dev->device.common.module = const_cast<hw_module_t*>(module); 591 dev->device.common.close = gralloc_close; 593 dev->device.alloc = gralloc_alloc; 594 dev->device.free = gralloc_free [all...] |
/sdk/eventanalyzer/src/com/android/eventanalyzer/ |
EventAnalyzer.java | 45 * Connects to a device using ddmlib and analyze its event log. 120 // should not be any other device. 237 // we can't just ask for the device list right away, as the internal thread getting 251 printAndExit("Timeout getting device list!", true /* terminate*/); 258 for (IDevice device : devices) { 259 if (device.getSerialNumber().equals(mInputDevice)) { 260 grabLogFrom(device); 303 private void grabLogFrom(IDevice device) throws IOException { 305 if (mParser.init(device) == false) { 306 printAndExit("Failed to get event-log-tags from " + device.getSerialNumber() [all...] |
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
BluetoothChat.java | 72 // Name of the connected device 275 // save the connected device's name 292 // When DeviceListActivity returns with a device to connect 298 // When DeviceListActivity returns with a device to connect 318 // Get the device MAC address 322 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(address); local 323 // Attempt to connect to the device 324 mChatService.connect(device, secure); 349 // Ensure this device is discoverable by others
|
/development/simulator/wrapsim/ |
FakeDev.c | 4 * Fake device support. 215 * Free fake device entry. 245 * Map a file descriptor to a fake device. 260 * Check to see if we're opening a device that we want to fake out. 263 * or -2 if we explicitly want to pretend that the device doesn't exist. 275 * Now that the device entry is ready, add it to the list. 295 * Check to see if we're accessing a device that we want to fake out. 296 * Returns 0 if the device can be (fake) opened with the given mode, 298 * to the host-device either.
|
/external/bluetooth/bluez/test/ |
bdaddr.c | 303 printf("bdaddr - Utility for changing the Bluetooth device address\n\n"); 309 { "device", 1, 0, 'i' }, 331 perror("Invalid device"); 357 fprintf(stderr, "Can't open device hci%d: %s (%d)\n", 363 fprintf(stderr, "Can't get device info for hci%d: %s (%d)\n", 393 printf("Device address: %s", addr); 437 printf("Reset device manually\n"); 440 printf("Device reset successully\n"); 443 printf("Reset device now\n");
|
/external/bluetooth/bluez/tools/ |
ciptool.c | 142 printf("Local device is not accepting role switch\n"); 261 printf("\tConnecting to device %s\n", addr); 320 fprintf(stderr, "You have to specifiy the device address.\n"); 412 { "search", "scan", cmd_search, 0, "Search for a remote device" }, 413 { "connect", "create", cmd_create, "<bdaddr>", "Connect a remote device" }, 414 { "release", "disconnect", cmd_release, "[bdaddr]", "Disconnect the remote device" }, 415 { "loopback", "test", cmd_loopback, "<bdaddr>", "Loopback test of a device" }, 430 "\t-i [hciX|bdaddr] Local HCI device or BD Address\n" 444 { "device", 1, 0, 'i' },
|
/external/kernel-headers/original/linux/ |
if_vlan.h | 76 int real_dev_ifindex; /* The ifindex of the ethernet(like) device the vlan is attached to. */ 91 /* Holds information that makes sense if this device is a VLAN device. */ 115 struct net_device *real_dev; /* the underlying device/interface */ 119 struct net_device_stats dev_stats; /* Device stats (rx-bytes, tx-pkts, etc...) */ 191 * device, and still route correctly. 270 * Puts the VLAN tag in @skb->cb[] and lets the device do the rest 286 * vlan_put_tag - inserts VLAN tag according to device features 375 GET_VLAN_REALDEV_NAME_CMD, /* If this works, you know it's a VLAN device, btw */
|
/external/libpcap/ |
pcap-nit.c | 202 strncpy(sa.sa_data, device, sizeof(sa.sa_data)); 245 if (p->device != NULL) 246 free(p->device); 250 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, 277 (void)strncpy(snit.snit_ifname, device, NITIFSIZ); 300 * We need the device name in order to send packets. 302 p->device = strdup(device); 303 if (p->device == NULL) {
|
/external/ppp/pppd/plugins/rp-pppoe/ |
plugin.c | 69 { "device name", o_wild, (void *) &PPPoEDevnameHook, 70 "PPPoE device name", 93 * Initializes PPPoE device. 124 * Connects PPPoE device. 229 * Disconnects PPPoE device 266 * cmd -- the command (actually, the device name 268 * doit -- if non-zero, set device name. Otherwise, just check if possible 270 * 1 if we will handle this device; 0 otherwise. 273 * sets up devnam (string representation of device).
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/sys/ |
mtio.h | 84 long int mt_type; /* Type of magtape device. */ 89 /* The following registers are device dependent. */ 91 long int mt_gstat; /* Generic (device independent) status. */ 118 #define MT_ISDDS1 0x51 /* DDS device without partitions. */ 119 #define MT_ISDDS2 0x52 /* DDS device with partitions. */ 130 long int t_type; /* Device type id (mt_type). */ 136 {MT_ISUNKNOWN, "Unknown type of tape device"}, \ 207 /* Generic Mag Tape (device independent) status macros for examining 272 /* Specify default tape device. */
|
/development/host/windows/usb/api/ |
adb_helper_routines.cpp | 91 // Enumerate interfaces on this device
96 // SetupDiEnumDeviceInterfaces() returns information about device
122 // Something went wrong in getting device name
151 // SetupDiGetClassDevs() returns a device information set that
248 // Open USB device for this intefface
|
/development/pdk/docs/compatibility/ |
cts-intro.jd | 11 Android .apk files to run on the actual device target.</li> 19 <li>Attach at least one device (or emulator) to your machine.</li> 22 <li>The test harness pushes a .apk file to each device, executes the test through instrumentation, and records test results.</li> 23 <li>The test harness removes the .apk file from each device.</li> 48 <td>For each Android release, there are XML files describing the signatures of all public APIs contained in the release. The CTS contains a utility to check those API signatures against the APIs available on the device. The results from signature checking are recorded in the test result XML file.
|
/development/pdk/docs/porting/ |
tcpdump.jd | 16 <h4>Pushing the binary to an existing device</h4> 30 <p>Flash the device as usual, for example, <code>fastboot flashball</code>.</p> 33 <p>You need to have root access on your device. </p> 78 <h4>On the device:</h4> 89 <li> <code>curl</code>: fetch URLs directly to emulate device requests</li>
|
/device/google/accessory/arduino/AndroidAccessory/ |
AndroidAccessory.cpp | 87 Serial.print("device supports protcol 1\n"); 89 Serial.print("could not read device protocol version\n"); 238 Serial.print("Requesting device descriptor.\n"); 247 Serial.print("found android acessory device\n"); 251 Serial.print("found possible device. swithcing to serial mode\n");
|
/external/blktrace/ |
blkiomon.c | 121 fprintf(debug.fp, "device %16d\n", bit->device); 148 fprintf(debug.fp, "device %16d %16d\n", bit1->device, bit2->device); 167 "blkiomon: could not allocate device statistic"); 175 static struct dstat *blkiomon_find_dstat(struct rb_search *search, __u32 device) 186 if (dstat->msg.stat.device < device) 188 else if (dstat->msg.stat.device > device [all...] |
/external/bluetooth/bluez/compat/ |
bnep.c | 141 printf("%s %s %s\n", ci[i].device, 187 strncpy(req.device, dev, 16); 188 req.device[15] = '\0'; 193 strncpy(dev, req.device, 16); 253 * dev - Network device (contains actual dev name on return)
|