/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
HidService.java | 151 BluetoothDevice device = (BluetoothDevice) msg.obj; 152 if (!connectHidNative(Utils.getByteAddress(device)) ) { 153 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTING); 154 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED); 157 mTargetDevice = device; 162 BluetoothDevice device = (BluetoothDevice) msg.obj; 163 if (!disconnectHidNative(Utils.getByteAddress(device)) ) { 164 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTING); 165 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED); 172 BluetoothDevice device = getDevice((byte[]) msg.obj) [all...] |
/system/core/include/usbhost/ |
usbhost.h | 64 /* Callback indicating that initial device discovery is done. 91 * added_cb will be called immediately for each existing USB device, 92 * and subsequently each time a new device is added. 103 /* Creates a usb_device object for a USB device */ 106 /* Releases all resources associated with the USB device */ 107 void usb_device_close(struct usb_device *device); 109 /* Creates a usb_device object for already open USB device */ 113 int usb_device_get_fd(struct usb_device *device); 115 /* Returns the name for the USB device, which is the same as 118 const char* usb_device_get_name(struct usb_device *device); [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/ |
gpu_device_unittest.py | 10 device = gpu_device.GPUDevice(1000, 2000, 'test_vendor', 'test_device') 11 self.assertEquals(device.vendor_id, 1000) 12 self.assertEquals(device.device_id, 2000) 13 self.assertEquals(device.vendor_string, 'test_vendor') 14 self.assertEquals(device.device_string, 'test_device') 21 device = gpu_device.GPUDevice.FromDict(dictionary) 22 self.assertEquals(device.vendor_id, 3000) 23 self.assertEquals(device.device_id, 4000) 24 self.assertEquals(device.vendor_string, 'test_vendor_2') 25 self.assertEquals(device.device_string, 'test_device_2' [all...] |
/external/libmtp/examples/ |
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/qemu/distrib/sdl-1.2.15/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...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
ViewManager.java | 20 import com.android.hierarchyviewer.device.Window; 21 import com.android.hierarchyviewer.device.DeviceBridge; 30 public static void invalidate(IDevice device, Window window, String params) { 31 sendCommand("INVALIDATE", device, window, params); 34 public static void requestLayout(IDevice device, Window window, String params) { 35 sendCommand("REQUEST_LAYOUT", device, window, params); 38 public static void outputDisplayList(IDevice device, Window window, String params) { 39 sendCommand("OUTPUT_DISPLAYLIST", device, window, params); 42 private static void sendCommand(String command, IDevice device, Window window, String params) { 49 DeviceBridge.getDeviceLocalPort(device))); [all...] |
/external/chromium_org/chrome/browser/resources/ntp_android/ |
mostvisited_tablet.css | 6 body[device='tablet'] .main-section { 10 body[device='tablet'] .main-section.selected { 16 body[device='tablet'] .main-section.selected#most_visited_container { 20 body[device='tablet'] #most_visited_container { 24 body[device='tablet'] #recently_closed_container { 29 body[device='tablet'] .box-spacer { 33 body[device='tablet'] #most_visited_list { 38 body[device='tablet'] #most_visited_container { 42 body[device='tablet'] #most_visited_list { 46 body[device='tablet'] .thumbnail-cell [all...] |
opentabs_tablet.css | 5 body[device='tablet'] #open_tabs_container { 9 body[device='tablet'] #open_tabs_container .page-list>div { 16 @media only screen and (min-device-width: 700px) { 17 body[device='tablet'] #open_tabs_container .page-list>div { 22 body[device='tablet'] .session-children-container>div:last-child { 26 body[device='tablet'] #open_tabs_container .session-header .list-item { 34 body[device='tablet'] #open_tabs_container .list-item { 40 body[device='tablet'] #open_tabs_container .list-item-active, 41 body[device='tablet'] #open_tabs_container .session-header 47 body[device='tablet'] .session-name [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/baudio/ |
SDL_beaudio.cc | 53 static void Audio_DeleteDevice(SDL_AudioDevice *device) 55 SDL_free(device->hidden); 56 SDL_free(device); 61 SDL_AudioDevice *device; local 64 device = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice)); 65 if ( device ) { 66 SDL_memset(device, 0, (sizeof *device)); 67 device->hidden = (struct SDL_PrivateAudioData *) 68 SDL_malloc((sizeof *device->hidden)) [all...] |
/development/tools/labpretest/ |
labpretest.sh | 7 # session. It puts a device into bootloader mode, reboots into bootloader mode, 8 # determines device type, erases user cache, flashes a generic userdata image, 24 device='' 31 d) device="$OPTARG";; 35 h) echo "options: [-d <device ID>, -i <loop count>, -m <monkey events> -x (skips monkey)]"; exit;; 66 # device 80 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'` 86 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'` 99 # Blocks until device is in fastboot mode or 103 # device [all...] |
/device/asus/deb/ |
device.mk | 23 device/asus/deb/fstab.deb:root/fstab.flo \ 24 device/asus/deb/init.deb.rc:root/init.flo.rc 44 # the actual meat of the device-specific product definition 45 $(call inherit-product, device/asus/flo/device-common.mk) 48 $(call inherit-product-if-exists, vendor/asus/deb/device-vendor.mk) 50 DEVICE_PACKAGE_OVERLAYS := device/asus/deb/overlay
|
/external/chromium_org/content/renderer/media/ |
audio_device_factory.cc | 22 media::AudioOutputDevice* const device = member in class:content::media 24 if (device) 25 return device; 37 media::AudioInputDevice* const device = member in class:content::media 39 if (device) 40 return device;
|
/frameworks/av/services/camera/libcameraservice/ |
CameraDeviceFactory.cpp | 41 sp<CameraDeviceBase> device; local 46 device = new Camera2Device(cameraId); 49 device = new Camera3Device(cameraId); 52 ALOGE("%s: Camera %d: Unknown HAL device version %d", 54 device = NULL; 58 ALOGV_IF(device != 0, "Created a new camera device for version %d", 61 return device;
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothGattServerCallback.java | 29 * Callback indicating when a remote device has been connected or disconnected. 31 * @param device Remote device that has been connected or disconnected. 37 public void onConnectionStateChange(BluetoothDevice device, int status, 57 * @param device The remote device that has requested the read operation 62 public void onCharacteristicReadRequest(BluetoothDevice device, int requestId, 72 * @param device The remote device that has requested the write operation 77 * @param responseNeeded true, if the remote device requires a respons [all...] |
IBluetoothPan.aidl | 30 boolean connect(in BluetoothDevice device); 31 boolean disconnect(in BluetoothDevice device); 34 int getConnectionState(in BluetoothDevice device);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
A2dpProfile.java | 52 // Order of this profile in device profiles list 66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); local 67 // we may add a new device here, but generally this should not happen 68 if (device == null) { 69 Log.w(TAG, "A2dpProfile found new device: " + nextDevice); 70 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); 72 device.onProfileStateChanged(A2dpProfile.this, BluetoothProfile.STATE_CONNECTED); 73 device.refresh(); 114 public boolean connect(BluetoothDevice device) { 122 return mService.connect(device); [all...] |
/device/lge/mako/camera/QCamera/HAL/wrapper/ |
QualcommCamera.cpp | 130 QCameraHardwareInterface *util_get_Hal_obj( struct camera_device * device) 133 if(device && device->priv){ 134 camera_hardware_t *camHal = (camera_hardware_t *)device->priv; 141 CameraParameters* util_get_HAL_parameter( struct camera_device * device) 144 if(device && device->priv){ 145 camera_hardware_t *camHal = (camera_hardware_t *)device->priv; 186 camera_device *device = NULL; local 203 device = &camHal->hw_dev 228 camera_device_t *device = (camera_device_t *)hw_dev; local [all...] |
/device/lge/mako/camera/ |
QualcommCamera2.cpp | 130 QCameraHardwareInterface *util_get_Hal_obj( struct camera_device * device) 133 if(device && device->priv){ 134 camera_hardware_t *camHal = (camera_hardware_t *)device->priv; 141 QCameraParameters* util_get_HAL_parameter( struct camera_device * device) 144 if(device && device->priv){ 145 camera_hardware_t *camHal = (camera_hardware_t *)device->priv; 187 camera_device *device = NULL; local 214 device = &camHal->hw_dev 241 camera_device_t *device = (camera_device_t *)hw_dev; local [all...] |
/bionic/libc/kernel/common/linux/ |
attribute_container.h | 21 #include <linux/device.h> 32 int (*match)(struct attribute_container *, struct device *); 39 struct class_device *attribute_container_find_class_device(struct attribute_container *, struct device *);
|
/development/ndk/platforms/android-3/include/linux/ |
attribute_container.h | 15 #include <linux/device.h> 25 int (*match)(struct attribute_container *, struct device *); 31 struct class_device *attribute_container_find_class_device(struct attribute_container *, struct device *);
|
/device/asus/flo/ |
aosp_flo.mk | 18 # $(call inherit-product, device/sample/products/backup_overlay.mk) 32 $(call inherit-product, device/asus/flo/device.mk) 33 $(call inherit-product-if-exists, vendor/asus/flo/device-vendor.mk) 34 #$(call inherit-product-if-exists, vendor/qcom/proprietary/common/config/device-vendor.mk)
|
/external/chromium_org/content/common/media/ |
media_stream_messages.h | 40 IPC_STRUCT_TRAITS_MEMBER(device.type) 41 IPC_STRUCT_TRAITS_MEMBER(device.name) 42 IPC_STRUCT_TRAITS_MEMBER(device.id) 43 IPC_STRUCT_TRAITS_MEMBER(device.video_facing) 44 IPC_STRUCT_TRAITS_MEMBER(device.matched_output_device_id) 45 IPC_STRUCT_TRAITS_MEMBER(device.input.sample_rate) 46 IPC_STRUCT_TRAITS_MEMBER(device.input.channel_layout) 47 IPC_STRUCT_TRAITS_MEMBER(device.input.frames_per_buffer) 48 IPC_STRUCT_TRAITS_MEMBER(device.input.effects) 49 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.sample_rate [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/core/ |
context.hpp | 27 #include "core/device.hpp" 36 const std::vector<clover::device *> &devs); 39 bool has_device(clover::device *dev) const; 45 const std::vector<clover::device *> devs;
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
context.hpp | 27 #include "core/device.hpp" 36 const std::vector<clover::device *> &devs); 39 bool has_device(clover::device *dev) const; 45 const std::vector<clover::device *> devs;
|