/external/e2fsprogs/misc/ |
e2initrd_helper.c | 53 char *device; member in struct:fs_info 66 _("Usage: %s -r device\n"), program_name); 234 char *dev, *device, *mntpnt, *type, *opts, *freq, *passno, *cp; local 240 device = parse_word(&cp); 247 if (!device) 253 parse_escape(device); 260 dev = blkid_get_devname(cache, device, NULL); 262 device = dev; 267 fs->device = string_copy(device); [all...] |
util.c | 79 void check_plausibility(const char *device) 85 val = stat64(device, &s); 89 val = stat(device, &s); 94 device, error_message(errno)); 96 fputs(_("\nThe device apparently does not exist; " 107 printf(_("%s is not a block special device.\n"), device); 136 printf(_("%s is entire device, not just one partition!\n"), 137 device); 143 void check_mount(const char *device, int force, const char *type [all...] |
/external/libpcap/ |
pcap-dos.c | 98 static struct device *handle_to_device [20]; 107 static int ndis_probe (struct device *dev); 108 static int pkt_probe (struct device *dev); 118 * These are the device we always support 120 static struct device ndis_dev = { 125 NDIS_NEXT_DEV, /* NULL or a 32-bit device */ 129 static struct device pkt_dev = { 138 static struct device *get_device (int fd) 227 volatile struct device *dev; /* might be reset by sig_handler */ 341 struct device *dev = p ? get_device(p->fd) : NULL [all...] |
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...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
ConnectSpecificProfilesActivity.java | 34 * for a particular device, and allows him to choose which should be connected 45 public static final String EXTRA_DEVICE = "device"; 66 BluetoothDevice device; local 68 device = savedInstanceState.getParcelable(EXTRA_DEVICE); 71 device = intent.getParcelableExtra(EXTRA_DEVICE); 74 if (device == null) { 75 Log.w(TAG, "Activity started without a remote blueototh device"); 80 mCachedDevice = mManager.getCachedDeviceManager().findDevice(device); 82 Log.w(TAG, "Device not found, cannot connect to it"); 233 * If the device is online, show status. Otherwise, show a summary tha 254 BluetoothDevice device = mCachedDevice.getDevice(); local [all...] |
DockEventReceiver.java | 57 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); local 60 Log.d(TAG, "Action: " + intent.getAction() + " State:" + state + " Device: " 61 + (device == null ? "null" : device.getName())); 66 if (device == null) { 67 if (DEBUG) Log.d(TAG, "Device is missing"); 91 if (device == null) { 92 if (DEBUG) Log.d(TAG, "Device is missing"); 116 if (device == null) { 117 if (DEBUG) Log.d(TAG, "Device is missing") [all...] |
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
DeviceListActivity.java | 42 * devices detected in the area after discovery. When a device is chosen 43 * by the user, the MAC address of the device is sent back to the parent 70 // Initialize the button to perform device discovery 94 // Register for broadcasts when a device is discovered 111 for (BluetoothDevice device : pairedDevices) { 112 mPairedDevicesArrayAdapter.add(device.getName() + "\n" + device.getAddress()); 134 * Start device discover with the BluetoothAdapter 161 // Get the device MAC address, which is the last 17 chars in the View 182 // When discovery finds a device [all...] |
/hardware/broadcom/wlan/bcm4329/src/bcmsdio/sys/ |
bcmsdh_sdmmc_linux.c | 74 extern int bcmsdh_probe(struct device *dev); 75 extern int bcmsdh_remove(struct device *dev); 76 struct device sdmmc_dev; 86 sd_trace(("sdio_device: 0x%04x\n", func->device)); 93 if(func->device == 0x4) { /* 4318 */ 115 sd_info(("sdio_device: 0x%04x\n", func->device)); 251 extern int bcmsdh_remove(struct device *dev);
|
/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...] |
/external/qemu/distrib/sdl-1.2.12/src/video/epoc/ |
SDL_epocvideo.cpp | 126 static void EPOC_DeleteDevice(SDL_VideoDevice *device) 128 SDL_free(device->hidden); 129 SDL_free(device); 134 SDL_VideoDevice *device; local 137 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); 138 if ( device ) { 139 SDL_memset(device, 0, (sizeof *device)); 140 device->hidden = (struct SDL_PrivateVideoData *) 141 SDL_malloc((sizeof *device->hidden)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
DeviceChooserDialog.java | 62 * A dialog that lets the user choose a device to deploy an application. 63 * The user can either choose an exiting running device (including running emulators) 64 * or start a new emulator using an Android Virtual Device configuration that matches 121 IDevice device = (IDevice)element; local 124 return device.isEmulator() ? mEmulatorImage : mDeviceImage; 128 if (device.isEmulator() == false) { // physical device 129 // get the version of the device 130 AndroidVersion deviceVersion = Sdk.getDeviceVersion(device); 139 // the optional API may be missing from the device 161 IDevice device = (IDevice)element; local [all...] |
AndroidLaunchController.java | 79 * Controls the launch of Android application either on a device or on the 113 * List of application waiting to be launched on a device/emulator.<br> 269 * Launches an android app on the device or emulator 320 // device chooser response object. 336 * If == 1, launch the application on this AVD/device. 360 // look for a matching device 389 boolean hasDevice = false; // if there's 1+ device running, we may force manual mode, 401 if (projectTarget.isPlatform()) { // means this can run on any device as long 404 // the deviceVersion may be null if it wasn't yet queried (device just 408 // device is compatible with projec 846 launchInfo.getProject(), launchInfo.getPackageName(), device); local 1408 IDevice device = client.getDevice(); local [all...] |
/device/sample/products/ |
sample_addon.mk | 9 device/sample/frameworks/PlatformLibrary/com.example.android.platform_library.xml:system/etc/permissions/com.example.android.platform_library.xml 17 device/sample/sdk_addon/manifest.ini:manifest.ini \ 18 device/sample/sdk_addon/hardware.ini:hardware.ini \ 19 $(call find-copy-subdir-files,*,device/sample/skins/WVGAMedDpi,skins/WVGAMedDpi) 24 #$(call find-copy-subdir-files,*,device/sample/skins/WVGAMedDpi,skins/WVGAMedDpi)
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothSocket.java | 45 * <p>To create a {@link BluetoothSocket} for connecting to a known device, use 48 * Then call {@link #connect()} to attempt a connection to the remote device. 87 private final BluetoothDevice mDevice; /* remote device */ 110 * @param auth require the remote device to be authenticated 112 * @param device remote device that this socket can connect to 119 BluetoothDevice device, int port, ParcelUuid uuid) throws IOException { 129 mSdp = new SdpHelper(device, uuid); 135 mDevice = device; 136 if (device == null) 345 private final BluetoothDevice device; field in class:BluetoothSocket.SdpHelper [all...] |
HeadsetBase.java | 28 * The base RFCOMM (service) connection for a headset or handsfree device. 77 public HeadsetBase(PowerManager pm, BluetoothAdapter adapter, BluetoothDevice device, 82 mRemoteDevice = device; 83 mAddress = device.getAddress(); 93 public HeadsetBase(PowerManager pm, BluetoothAdapter adapter, BluetoothDevice device, 98 mRemoteDevice = device; 99 mAddress = device.getAddress(); 252 * disconnect was initiated by the remote device.
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
AudioPolicyManagerBase.h | 64 virtual status_t setDeviceConnectionState(AudioSystem::audio_devices device, 67 virtual AudioSystem::device_connection_state getDeviceConnectionState(AudioSystem::audio_devices device, 119 uint32_t device(); 132 uint32_t mDevice; // current device this output is routed to 153 uint32_t mDevice; // current device this input is routed to 177 // return appropriate device for streams handled by the specified strategy according to current 179 // if fromCache is true, the device is returned from mDeviceForStrategy[], otherwise it is determined 180 // by current state (device connected, phone state, force use, a2dp output...) 183 // 2 access to either current device selection (fromCache == true) or 184 // "future" device selection (fromCache == false) when called from a contex [all...] |
/hardware/libhardware_legacy/qemu/ |
qemu.c | 117 snprintf(channel->device, sizeof channel->device, 120 fd = socket_local_client( channel->device, 125 channel->device, strerror(errno)); 149 D("no kernel-provided %s device name", name); 153 ret = snprintf(channel->device, sizeof channel->device, 155 if (ret >= (int)sizeof channel->device) { 156 D("%s device name too long: '%s'", name, prop); 160 channel->is_tty = !memcmp("/dev/tty", channel->device, 8) [all...] |
/device/htc/dream/ |
full_dream.mk | 18 # device-specific aspects (drivers) with a device-agnostic 24 $(call inherit-product, device/htc/dream/device_dream_us.mk)
|
generic_dream.mk | 18 # device-specific aspects (drivers) with a device-agnostic 23 $(call inherit-product, device/htc/dream/device_dream_us.mk)
|
/device/htc/passion/ |
full_passion.mk | 18 # device-specific aspects (drivers) with a device-agnostic 24 $(call inherit-product, device/htc/passion/passion_us.mk)
|
generic_passion.mk | 18 # device-specific aspects (drivers) with a device-agnostic 23 $(call inherit-product, device/htc/passion/passion_us.mk)
|
/device/htc/sapphire/ |
full_sapphire.mk | 18 # device-specific aspects (drivers) with a device-agnostic 24 $(call inherit-product, device/htc/sapphire/device_sapphire_us.mk)
|
generic_sapphire.mk | 18 # device-specific aspects (drivers) with a device-agnostic 23 $(call inherit-product, device/htc/sapphire/device_sapphire_us.mk)
|
/frameworks/base/libs/binder/ |
MemoryHeapBase.cpp | 66 MemoryHeapBase::MemoryHeapBase(const char* device, size_t size, uint32_t flags) 74 int fd = open(device, open_flags); 75 LOGE_IF(fd<0, "error opening %s: %s", device, strerror(errno)); 80 mDevice = device; 94 status_t MemoryHeapBase::init(int fd, void *base, int size, int flags, const char* device) 103 mDevice = device;
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
CaptureLoader.java | 20 import com.android.hierarchyviewer.device.Window; 21 import com.android.hierarchyviewer.device.DeviceBridge; 41 public static boolean saveLayers(IDevice device, Window window, File file) { 50 DeviceBridge.getDeviceLocalPort(device))); 129 public static Image loadCapture(IDevice device, Window window, String params) { 137 DeviceBridge.getDeviceLocalPort(device)));
|