HomeSort by relevance Sort by last modified time
    Searched full:device (Results 526 - 550 of 4136) sorted by null

<<21222324252627282930>>

  /system/core/toolbox/
getevent.c 121 static int open_device(const char *device, int print_flags)
132 fd = open(device, O_RDWR);
135 fprintf(stderr, "could not open %s, %s\n", device, strerror(errno));
141 fprintf(stderr, "could not get driver version for %s, %s\n", device, strerror(errno));
146 fprintf(stderr, "could not get driver id for %s, %s\n", device, strerror(errno));
153 //fprintf(stderr, "could not get device name for %s, %s\n", device, strerror(errno));
157 //fprintf(stderr, "could not get location for %s, %s\n", device, strerror(errno));
161 //fprintf(stderr, "could not get idstring for %s, %s\n", device, strerror(errno));
179 printf("add device %d: %s\n", nfds, device)
325 const char *device = NULL; local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/maccommon/
SDL_macwm.c 61 * "Contains: Functions to enable Mac OS device gamma adjustments using 3 channel 256 element 8 bit gamma ramps
74 typedef struct recDeviceGamma /* storage for device handle and gamma table */
76 GDHandle hGD; /* handle to device */
77 GammaTblPtr pDeviceGamma; /* pointer to device gamma table */
84 precDeviceGamma * devGamma; /* array of pointers to device gamma records */
115 cParam.csCode = cscGetGamma; /* Get Gamma commnd to device */
157 DisposePtr ((Ptr) pSysGammaIn->devGamma [i]); /* dump device info */
159 DisposePtr ((Ptr) pSysGammaIn->devGamma); /* dump device pointer array */
179 short bytesPerEntry = (pTableGammaTemp->gDataWidth + 7) / 8; /* size, in bytes, of the device table entries */
180 short shiftRightValue = pTableGammaTemp->gDataWidth - 8; /* number of right shifts device -> ramp *
    [all...]
  /hardware/msm7k/libgralloc/
framebuffer.cpp 54 framebuffer_device_t device; member in struct:fb_context_t
330 hw_device_t** device)
344 dev->device.common.tag = HARDWARE_DEVICE_TAG;
345 dev->device.common.version = 0;
346 dev->device.common.module = const_cast<hw_module_t*>(module);
347 dev->device.common.close = fb_close;
348 dev->device.setSwapInterval = fb_setSwapInterval;
349 dev->device.post = fb_post;
350 dev->device.setUpdateRect = 0;
356 const_cast<uint32_t&>(dev->device.flags) = 0
    [all...]
  /frameworks/base/docs/html/guide/developing/tools/
ddms.jd 5 which provides port-forwarding services, screen capture on the device, thread
6 and heap information on the device, logcat, process, and radio state information,
13 on Mac/Linux) to run it. DDMS will work with both the emulator and a connected device. If both are
18 the device. On Android, every application runs in its own process,
23 starts a device monitoring service between the two, which will notify DDMS when a device is
24 connected or disconnected. When a device is connected, a VM monitoring service is created
25 between adb and DDMS, which will notify DDMS when a VM on the device is started
27 and opens a connection to the VM's debugger, through the adb daemon (adbd) on the device.
30 <p>For each VM on the device, DDMS opens a port upon which it will listen for a debugger. For the first VM, DDMS listens for a (…)
    [all...]
  /build/tools/releasetools/
edify_generator.py 83 """Assert that the build on the device is older (or the same as)
88 def AssertDevice(self, device):
89 """Assert that the device identifier is the given string."""
90 cmd = ('assert(getprop("ro.product.device") == "%s" ||\0'
91 'getprop("ro.build.product") == "%s");' % (device, device))
141 p.device, p.mount_point))
168 (p.fs_type, common.PARTITION_TYPES[p.fs_type], p.device))
210 args = {'device': p.device, 'fn': fn
    [all...]
  /external/e2fsprogs/lib/blkid/
tag.c 53 list_del(&tag->bit_tags); /* list of tags for this device */
65 * Find the desired tag on a device. If value is NULL, then the
126 * Set a tag on an existing device.
128 * If value is NULL, then delete the tagsfrom the device.
144 * Certain common tags are linked directly to the device struct
168 /* Existing tag not present, add to device */
197 /* Link common tags directly to the device struct */
273 * This series of functions iterate over all tags in a device
325 * This function returns a device which matches a particular
326 * type/value pair. If there is more than one device that matches th
    [all...]
  /external/e2fsprogs/lib/ext2fs/
ismounted.c 87 * Do an extra check to see if this is the root device. We
90 * check if the given device has the same major/minor number
91 * as the device that the root directory is on.
234 * Check to see if we're dealing with the swap device.
281 * ext2fs_check_mount_point() fills determines if the device is
285 * non-NULL, the directory where the device is mounted is copied to
291 errcode_t ext2fs_check_mount_point(const char *device, int *mount_flags,
298 if (is_swap_device(device)) {
303 retval = check_mntent(device, mount_flags, mtpt, mtlen);
306 retval = check_getmntinfo(device, mount_flags, mtpt, mtlen)
    [all...]
  /external/qemu/hw/
qdev.c 2 * Dynamic device configuration and creation.
23 passed a bunch of arguments to each device, requiring the board know
24 exactly which device it is dealing with. This file provides an abstract
25 API for device configuration and initialization. Devices will generally
54 /* Register a new device type. */
67 /* Create a new device. This only initializes the device state structure
69 initialize the actual device emulation. */
81 hw_error("Unknown device '%s'\n", name);
97 hw_error("Device '%s' on wrong bus type (%d/%d)", name
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppManager.java 254 * Get device name per bluetooth address.
256 public String getDeviceName(BluetoothDevice device) {
259 deviceName = BluetoothOppPreference.getInstance(mContext).getName(device);
262 deviceName = device.getName();
281 public void startTransfer(BluetoothDevice device) {
297 insertThread = new InsertShareInfoThread(device, mMultipleFlag, mMimeTypeOfSendingFile,
312 * share to one device (say device 1), and then right away share to second
313 * device (device 2), we need insert all these share info to db
    [all...]
  /cts/tools/host/src/com/android/cts/
TestSuite.java 266 * in the test suite over device given.
268 * @param device The device to run the test over.
271 public void run(final TestDevice device, final String javaPkgName)
282 mCurrentSubSuite.run(device, javaPkgName);
290 mCurrentTestCase.run(device);
296 * Run the specific test contained in the test suite over device given.
298 * @param device The device to run the test over.
301 public void run(final TestDevice device, final Test test
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/cdrom/macosx/
SDL_syscdrom_c.h 34 1. A CD-ROM device is inferred from a mounted cdfs volume, so device 0 is
35 not necessarily the first CD-ROM device on the system. (Somewhat easy to fix
36 by useing the device name from the volume id's to reorder the volumes)
38 2. You can only open and control 1 CD-ROM device at a time. (Challenging to fix,
105 2. The coreaudio device i/o thread
115 the real-time device thread (which amounts to avoiding dropouts). The device thread grabs the
119 The device thread posts a notification when the file streaming thread is out of data. This
121 device thread. That's where the notification thread comes in. This thread is signale
    [all...]
  /frameworks/base/core/java/android/app/
UiModeManager.java 27 * allow applications to control UI modes of the device.
33 * physical places the device into and out of a dock. When that happens,
55 * Broadcast sent when the device's UI has switched to car mode, either
69 * Broadcast sent when the device's UI has switch away from car mode back
76 * Broadcast sent when the device's UI has switched to desk mode,
90 * Broadcast sent when the device's UI has switched away from desk mode back
128 * Force device into car mode, like it had been placed in the car dock.
129 * This will cause the device to switch to the car home UI as part of
185 * the car or desk mode is enabled on a device.
189 * <li><em>{@link #MODE_NIGHT_NO}<em> - sets the device into notnigh
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
LocalBluetoothManager.java 69 // If a device was picked from the device picker or was in discoverable mode
174 * scanning state had really changed (in that case the device
278 public void showError(BluetoothDevice device, int titleResId, int messageResId) {
279 CachedBluetoothDevice cachedDevice = mCachedDeviceManager.findDevice(device);
282 if (device != null) name = device.getName();
319 // If the device was in discoverABLE mode recently
327 // If the device was discoverING recently
335 // If the device was picked in the device picker recentl
    [all...]
  /external/libpcap/
inet.c 111 * Give the "any" device an artificially high instance
160 * On OS X, we don't do this check if the device
163 * a separate "monitor mode" device for each wireless
166 * Opening that device puts the adapter into monitor
172 * device (so that we don't end up with, for users
184 * device's name.
378 * Device wasn't added because it can't be opened.
556 static char device[IF_NAMESIZE + 1]; local
564 * There are no devices on the list, or the first device
565 * on the list is a loopback device, which means ther
    [all...]
  /external/libnfc-nxp/src/
phHal4Nfc.h 22 * NFC device.The API is a non-blocking API, asynchronous API. This means that
24 * NFC device, the API function will return immediately with status 'PENDING'
26 * on receiving the response from the NFC device
111 * Structure containing information about discovered remote device, like
112 * the number of remote devices found, device specific information
113 * like type of device (eg: ISO14443-4A/4B, NFCIP1 target etc) and
127 device info list*/
192 * to discovered remote device.
206 * a Transceive operation on a tag or when the Device acts as an Initiator in a
223 * Device acts as a Target in a P2P transaction
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/dga/
SDL_dgavideo.c 108 static void DGA_DeleteDevice(SDL_VideoDevice *device)
110 if (device != NULL) {
111 SDL_free(device->hidden);
112 SDL_free(device);
119 SDL_VideoDevice *device = NULL; local
123 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice));
124 if ( device ) {
125 SDL_memset(device, 0, (sizeof *device));
126 device->hidden = (struct SDL_PrivateVideoData *
    [all...]
  /bootable/diskinstaller/libdiskconfig/
diskconfig.c 165 if (!(devroot = config_find(root, "device"))) {
166 LOGE("Could not find device section in config file '%s'", fn);
172 LOGE("device path is requried");
175 dinfo->device = strdup(tmp);
218 LOGE("Device must specify partition list");
230 if (dinfo->device)
231 free(dinfo->device);
281 if ((fd = open(dinfo->device, O_RDWR)) < 0) {
282 LOGE("Cannot open device '%s' (errno=%d)", dinfo->device, errno)
    [all...]
  /cts/apps/CtsVerifier/res/values/
strings.xml 49 <string name="bluetooth_test_info">The Bluetooth Control tests check whether or not the device
50 can disable and enable Bluetooth properly.\n\nThe Device Communication tests require two
52 \n\n1. a candidate device implementation running the software build to be tested
53 \n\n2. a separate device implementation already known to be compatible</string>
56 <string name="bt_not_available_message">If your device is supposed to have Bluetooth, your API implementation is not behaving correctly!</string>
59 <string name="bt_device_communication">Device Communication</string>
69 <string name="bt_secure_server_instructions">Start the CTS Verifier on another device, start the Bluetooth test, and choose \"Secure Client\" to complete the test.</string>
71 <string name="bt_insecure_server_instructions">Start the CTS Verifier on another device, start the Bluetooth test, and choose \"Insecure Client\" to complete the test.</string>
84 <string name="bt_device_picker">Device Picker</string>
90 <string name="bt_unpair">Device must be unpaired via Bluetooth settings before completing the test.\n\nUnpair the device in settin (…)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BluetoothChatService.java 37 * incoming connections, a thread for connecting with a device, and a
79 public static final int STATE_CONNECTED = 3; // now connected to a remote device
136 * Start the ConnectThread to initiate a connection to a remote device.
137 * @param device The BluetoothDevice to connect
140 public synchronized void connect(BluetoothDevice device, boolean secure) {
141 if (D) Log.d(TAG, "connect to: " + device);
151 // Start the thread to connect with the given device
152 mConnectThread = new ConnectThread(device, secure);
160 * @param device The BluetoothDevice that has been connected
163 device, final String socketType)
    [all...]
  /development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
BluetoothChatService.java 37 * incoming connections, a thread for connecting with a device, and a
68 public static final int STATE_CONNECTED = 3; // now connected to a remote device
125 * Start the ConnectThread to initiate a connection to a remote device.
126 * @param device The BluetoothDevice to connect
129 public synchronized void connect(BluetoothDevice device, boolean secure) {
130 if (D) Log.d(TAG, "connect to: " + device);
140 // Start the thread to connect with the given device
141 mConnectThread = new ConnectThread(device, secure);
149 * @param device The BluetoothDevice that has been connected
152 device, final String socketType)
    [all...]
  /system/core/libdiskconfig/
diskconfig.c 167 if (!(devroot = config_find(root, "device"))) {
168 LOGE("Could not find device section in config file '%s'", fn);
174 LOGE("device path is requried");
177 dinfo->device = strdup(tmp);
220 LOGE("Device must specify partition list");
232 if (dinfo->device)
233 free(dinfo->device);
283 if ((fd = open(dinfo->device, O_RDWR)) < 0) {
284 LOGE("Cannot open device '%s' (errno=%d)", dinfo->device, errno)
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/directfb/
SDL_DirectFB_video.c 95 static void DirectFB_DeleteDevice(SDL_VideoDevice *device)
97 SDL_free(device->hidden);
98 SDL_free(device);
103 SDL_VideoDevice *device; local
106 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice));
107 if (device)
109 SDL_memset (device, 0, (sizeof *device));
110 device->hidden = (struct SDL_PrivateVideoData *) malloc (sizeof (*device->hidden))
    [all...]
  /bionic/libc/kernel/common/linux/
miscdevice.h 44 struct device;
52 struct device *dev;
msm_audio.h 58 uint32_t device; member in struct:msm_snd_device_config
68 uint32_t device; member in struct:msm_snd_volume_config
  /build/target/board/generic_x86/
README.txt 3 need an appropriate kernel for your emulation (or device).
26 device. You can build an installer image disk for the VirtualBox emulator using the command:

Completed in 922 milliseconds

<<21222324252627282930>>