HomeSort by relevance Sort by last modified time
    Searched full:device (Results 26 - 50 of 5346) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/base/core/jni/
android_hardware_UsbDeviceConnection.cpp 52 struct usb_device* device = usb_device_new(deviceNameStr, fd); local
53 if (device) {
54 env->SetIntField(thiz, field_context, (int)device);
61 return (device != NULL);
68 struct usb_device* device = get_device_from_object(env, thiz); local
69 if (device) {
70 usb_device_close(device);
78 struct usb_device* device = get_device_from_object(env, thiz); local
79 if (!device) {
80 LOGE("device is closed in native_get_fd")
111 struct usb_device* device = get_device_from_object(env, thiz); local
129 struct usb_device* device = get_device_from_object(env, thiz); local
147 struct usb_device* device = get_device_from_object(env, thiz); local
175 struct usb_device* device = get_device_from_object(env, thiz); local
201 struct usb_device* device = get_device_from_object(env, thiz); local
217 struct usb_device* device = get_device_from_object(env, thiz); local
    [all...]
  /hardware/msm7k/libaudio-qsd8k/
AudioPolicyManager.cpp 26 // Max volume for streams when playing over bluetooth SCO device while in call: -18dB
54 uint32_t device = 0; local
57 device = mDeviceForStrategy[strategy];
58 LOGV("getDeviceForStrategy() from cache strategy %d, device %x", strategy, device);
59 return device;
66 device = getDeviceForStrategy(STRATEGY_MEDIA, false);
78 device = mAvailableOutputDevices & AudioSystem::DEVICE_OUT_BLUETOOTH_SCO_CARKIT;
79 if (device) break;
82 device = mAvailableOutputDevices & AudioSystem::DEVICE_OUT_BLUETOOTH_SCO_HEADSET
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
CachedBluetoothDeviceManager.java 51 public void onDeviceNameUpdated(BluetoothDevice device) {
52 CachedBluetoothDevice cachedDevice = findDevice(device);
60 * if this device isn't in the cache. Use {@link #addDevice}
64 * @param device the address of the Bluetooth device
65 * @return the cached device object for this device, or null if it has
68 CachedBluetoothDevice findDevice(BluetoothDevice device) {
70 if (cachedDevice.getDevice().equals(device)) {
80 * @param device the address of the new Bluetooth devic
    [all...]
HidProfile.java 38 // Order of this profile in device profiles list
69 public boolean connect(BluetoothDevice device) {
70 return mService.connect(device);
73 public boolean disconnect(BluetoothDevice device) {
74 return mService.disconnect(device);
77 public int getConnectionStatus(BluetoothDevice device) {
80 return !deviceList.isEmpty() && deviceList.get(0).equals(device)
81 ? mService.getConnectionState(device)
85 public boolean isPreferred(BluetoothDevice device) {
86 return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF
    [all...]
PanProfile.java 37 // Tethering direction for each device
43 // Order of this profile in device profiles list
73 public boolean connect(BluetoothDevice device) {
80 return mService.connect(device);
83 public boolean disconnect(BluetoothDevice device) {
84 return mService.disconnect(device);
87 public int getConnectionStatus(BluetoothDevice device) {
88 return mService.getConnectionState(device);
91 public boolean isPreferred(BluetoothDevice device) {
95 public int getPreferred(BluetoothDevice device) {
    [all...]
  /hardware/msm7k/libaudio-qdsp5v2/
AudioPolicyManager.cpp 26 // Max volume for streams when playing over bluetooth SCO device while in call: -18dB
54 uint32_t device = 0; local
57 device = mDeviceForStrategy[strategy];
58 LOGV("getDeviceForStrategy() from cache strategy %d, device %x", strategy, device);
59 return device;
66 device = getDeviceForStrategy(STRATEGY_MEDIA, false);
78 device = mAvailableOutputDevices & AudioSystem::DEVICE_OUT_BLUETOOTH_SCO_CARKIT;
79 if (device) break;
82 device = mAvailableOutputDevices & AudioSystem::DEVICE_OUT_BLUETOOTH_SCO_HEADSET
    [all...]
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/
DeviceBridge.java 17 package com.android.hierarchyviewer.device;
64 public static boolean isViewServerRunning(IDevice device) {
68 if (device.isOnline()) {
69 device.executeShellCommand(buildIsServerRunningShellCommand(),
72 if (VersionLoader.loadProtocolVersion(device) > 2) {
89 public static boolean startViewServer(IDevice device) {
90 return startViewServer(device, Configuration.DEFAULT_SERVER_PORT);
93 public static boolean startViewServer(IDevice device, int port) {
97 if (device.isOnline()) {
98 device.executeShellCommand(buildStartServerShellCommand(port)
    [all...]
  /frameworks/base/core/java/android/app/admin/
package.html 3 <p>Provides device administration features at the system level, allowing you to create
8 href="{@docRoot}guide/topics/admin/device-admin.html">Device Administration</a> developer guide.</p>
  /external/chromium/chrome/browser/policy/
enterprise_install_attributes.h 34 // Locks the device to be an enterprise device registered by the given user.
39 // Checks whether this is an enterprise device.
42 // Gets the domain this device belongs to or an empty string if the device is
43 // not an enterprise device.
46 // Gets the user that registered the device. Returns an empty string if the
47 // device is not an enterprise device.
  /packages/apps/Phone/src/com/android/phone/
BluetoothHeadsetService.java 124 for (BluetoothDevice device : mRemoteHeadsets.keySet()) {
125 int state = mRemoteHeadsets.get(device).mState;
128 return device;
137 Log.w(TAG, "Stopping BluetoothHeadsetService: device does not have BT");
185 BluetoothDevice device = getCurrentDevice();
188 if (device != null) {
189 state = mRemoteHeadsets.get(device).mState;
206 if (!info.mRemoteDevice.equals(device)) {
208 Log.i(TAG, "Already attempting connect to " + device +
233 Log.i(TAG, "Already connected to " + device + ", disconnecting "
335 private BluetoothDevice device; field in class:BluetoothHeadsetService.RfcommConnectThread
912 BluetoothDevice device = getCurrentDevice(); local
    [all...]
  /external/bluetooth/bluez/test/
test-device 18 make_option("-i", "--device", action="store",
51 device = dbus.Interface(bus.get_object("org.bluez", path), variable
52 "org.bluez.Device")
53 properties = device.GetProperties()
58 def create_device_reply(device):
59 print "New device (%s)" % device
64 print "Creating device failed: %s" % error
93 device = dbus.Interface(bus.get_object("org.bluez", path), variable
94 "org.bluez.Device")
103 device = dbus.Interface(bus.get_object("org.bluez", path), variable
123 device = dbus.Interface(bus.get_object("org.bluez", path), variable
134 device = dbus.Interface(bus.get_object("org.bluez", path), variable
145 device = dbus.Interface(bus.get_object("org.bluez", path), variable
159 device = dbus.Interface(bus.get_object("org.bluez", path), variable
179 device = dbus.Interface(bus.get_object("org.bluez", path), variable
199 device = dbus.Interface(bus.get_object("org.bluez", path), variable
    [all...]
  /development/ide/intellij/moduleDefinitions/
testing.iml 5 <content url="file://$MODULE_DIR$/../../../device/dalvik/libcore">
6 <sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/android/src/main/java" isTestSource="false" />
7 <sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/annotation/src/main/java" isTestSource="false" />
8 <sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/apache-commons-logging/src/main/java" isTestSource="false" />
9 <sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/apache-commons/src/main/java" isTestSource="false" />
10 <sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/archive/src/main/java" isTestSource="false" />
11 <sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/auth/src/main/java" isTestSource="false" />
12 <sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/awt/src/main/java" isTestSource="false" />
13 <sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/beans/src/main/java" isTestSource="false" />
14 <sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/concurrent/src/main/java" isTestSource="false" /
    [all...]
  /external/openssl/android.testssl/
testssl.sh 27 device=/sdcard/android.testssl
33 CAkey="$device/keyCA.ss"
34 CAcert="$device/certCA.ss"
35 CAreq="$device/reqCA.ss"
36 CAconf="$device/CAss.cnf"
38 Uconf="$device/Uss.cnf"
39 Ureq="$device/reqU.ss"
40 Ukey="$device/keyU.ss"
41 Ucert="$device/certU.ss"
46 adb shell rm -r $device
    [all...]
  /external/openssl/patches/
testssl.sh 27 device=/sdcard/android.testssl
33 CAkey="$device/keyCA.ss"
34 CAcert="$device/certCA.ss"
35 CAreq="$device/reqCA.ss"
36 CAconf="$device/CAss.cnf"
38 Uconf="$device/Uss.cnf"
39 Ureq="$device/reqU.ss"
40 Ukey="$device/keyU.ss"
41 Ucert="$device/certU.ss"
46 adb shell rm -r $device
    [all...]
  /packages/apps/Settings/src/com/android/settings/wifi/p2p/
WifiP2pPeer.java 35 public WifiP2pDevice device; field in class:WifiP2pPeer
44 device = dev;
51 if (TextUtils.isEmpty(device.deviceName)) {
52 setTitle(device.deviceAddress);
54 setTitle(device.deviceName);
75 if (device.status != other.device.status) {
76 return device.status < other.device.status ? -1 : 1;
80 if (device.deviceName != null)
    [all...]
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/
LogCatReceiverFactory.java 29 * constructed {@link LogCatReceiver}'s per device and hand them back when requested.
40 public void deviceDisconnected(IDevice device) {
41 removeReceiverFor(device);
44 public void deviceConnected(IDevice device) {
47 public void deviceChanged(IDevice device, int changeMask) {
52 private synchronized void removeReceiverFor(IDevice device) {
53 mReceiverCache.remove(device.getSerialNumber());
56 public synchronized LogCatReceiver newReceiver(IDevice device, IPreferenceStore prefs) {
57 LogCatReceiver r = mReceiverCache.get(device.getSerialNumber());
62 r = new LogCatReceiver(device, prefs)
    [all...]
  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
DeviceMonitor.java 39 * A Device monitor. This connects to the Android Debug Bridge and get device and
58 private final ArrayList<Device> mDevices = new ArrayList<Device>();
79 new Thread("Device List Monitor") { //$NON-NLS-1$
128 Device[] getDevices() {
130 return mDevices.toArray(new Device[mDevices.size()]);
176 Log.d("DeviceMonitor", "Connected to adb for device monitoring");
230 Device device = mDevices.get(0) local
313 Device device = new Device(this, param[0] \/*serialnumber*\/, local
348 Device device = mDevices.get(d); local
603 Device device = client.getDeviceImpl(); local
641 Device device = (Device)attachment; local
    [all...]
  /device/samsung/tuna/
README.mms144_ts 3 device/samsung/tuna/mms144_ts_rev31.fw
4 device/samsung/tuna/mms144_ts_rev32.fw
  /external/bluetooth/bluez/serial/
port.c 57 #include "device.h"
70 char *path; /* Device path */
76 int16_t id; /* RFCOMM device id */
79 char *dev; /* RFCOMM device name */
83 struct serial_device *device; member in struct:serial_port
93 struct serial_device *device = l->data; local
95 if (!strcmp(device->path, path))
96 return device;
152 bt_cancel_discovery(&port->device->src,
153 &port->device->dst)
194 struct serial_device *device = port->device; local
224 struct serial_device *device = data; local
241 struct serial_device *device = port->device; local
304 struct serial_device *device = port->device; local
363 struct serial_device *device = port->device; local
423 struct serial_device *device = port->device; local
472 struct serial_device *device = user_data; local
517 struct serial_device *device = user_data; local
555 struct serial_device *device; local
582 struct serial_device *device; local
610 struct serial_device *device; local
    [all...]
  /development/apps/BluetoothDebug/src/com/android/bluetoothdebug/
DebugReceiver.java 33 * BTDEBUG : a.b.device.a.FOUND
34 * BTDEBUG : a.b.device.e.DEVICE = 00:18:13:F2:CC:33
35 * BTDEBUG : a.b.device.e.RSSI = -35
36 * BTDEBUG : a.b.device.e.CLASS = 200404
38 * BTDEBUG : a.b.device.a.BOND_STATE_CHANGED
39 * BTDEBUG : a.b.device.e.DEVICE = 00:18:13:F2:CC:33
40 * BTDEBUG : a.b.device.e.BOND_STATE = 11
41 * BTDEBUG : a.b.device.e.PREVIOUS_BOND_STATE = 1
    [all...]
  /device/samsung/maguro/
unzip-files.sh 17 # This file is generated by device/common/generate-blob-scripts.sh - DO NOT EDIT
19 DEVICE=maguro
22 mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE/proprietary
23 unzip -j -o ../../../${DEVICE}_update.zip system/bin/fRom -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary
24 chmod 755 ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/fRom
25 unzip -j -o ../../../${DEVICE}_update.zip system/lib/libsecril-client.so -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietary
26 unzip -j -o ../../../${DEVICE}_update.zip system/vendor/bin/pvrsrvinit -d ../../../vendor/$MANUFACTURER/$DEVICE/proprietar
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/riscos/
SDL_riscosvideo.c 28 Implements RISC OS display device management.
88 static void RISCOS_DeleteDevice(SDL_VideoDevice *device)
90 SDL_free(device->hidden);
91 SDL_free(device);
96 SDL_VideoDevice *device; local
99 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice));
100 if ( device ) {
101 SDL_memset(device, 0, (sizeof *device));
102 device->hidden = (struct SDL_PrivateVideoData *
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/targetprep/
CtsRootDeviceSetup.java 21 import com.android.tradefed.device.DeviceNotAvailableException;
22 import com.android.tradefed.device.ITestDevice;
33 * for setting up a device for CTS testing.
35 * This class is NOT intended for 'official' CTS runs against a production device as the steps
56 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError,
61 CLog.i("Setting up %s to run CTS tests", device.getSerialNumber());
67 if (!device.enableAdbRoot()) {
69 "Failed to set root on device %s.", device.getSerialNumber()));
75 enableAccessibilityService(device, buildHelper)
    [all...]
  /external/bluetooth/bluez/input/
manager.c 39 #include "../src/device.h"
41 #include "device.h"
50 static void input_remove(struct btd_device *device, const char *uuid)
52 const gchar *path = device_get_path(device);
59 static int hid_device_probe(struct btd_device *device, GSList *uuids)
61 struct btd_adapter *adapter = device_get_adapter(device);
62 const gchar *path = device_get_path(device);
63 const sdp_record_t *rec = btd_device_get_record(device, uuids->data);
72 device_get_address(device, &dst);
74 return input_device_register(connection, device, path, &src, &dst
    [all...]
  /external/kernel-headers/original/asm-x86/
dma-mapping_32.h 14 void *dma_alloc_coherent(struct device *dev, size_t size,
17 void dma_free_coherent(struct device *dev, size_t size,
21 dma_map_single(struct device *dev, void *ptr, size_t size,
31 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size,
38 dma_map_sg(struct device *dev, struct scatterlist *sglist, int nents,
58 dma_map_page(struct device *dev, struct page *page, unsigned long offset,
66 dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size,
74 dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries,
81 dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size,
87 dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size
    [all...]

Completed in 2029 milliseconds

12 3 4 5 6 7 8 91011>>