/external/chromium_org/chrome/browser/chromeos/bluetooth/ |
bluetooth_pairing_dialog.cc | 11 #include "device/bluetooth/bluetooth_device.h" 34 const device::BluetoothDevice* device) 36 device_data_.SetString("address", device->GetAddress()); 37 device_data_.SetString("name", device->GetName()); 38 device_data_.SetBoolean("paired", device->IsPaired()); 39 device_data_.SetBoolean("connected", device->IsConnected());
|
/external/chromium_org/chrome/browser/extensions/api/bluetooth/ |
bluetooth_event_router.cc | 20 #include "device/bluetooth/bluetooth_adapter.h" 21 #include "device/bluetooth/bluetooth_adapter_factory.h" 22 #include "device/bluetooth/bluetooth_device.h" 23 #include "device/bluetooth/bluetooth_profile.h" 24 #include "device/bluetooth/bluetooth_socket.h" 60 device::BluetoothAdapterFactory::IsBluetoothAdapterAvailable(); 64 const device::BluetoothAdapterFactory::AdapterCallback& callback) { 66 callback.Run(scoped_refptr<device::BluetoothAdapter>(adapter_)); 70 device::BluetoothAdapterFactory::GetAdapter(callback); 85 scoped_refptr<device::BluetoothSocket> socket) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/sound/ |
alsasoundsystem.h | 41 // Sound system implementation for ALSA, the predominant sound device API on 62 virtual bool GetDefaultPlaybackDevice(SoundDeviceLocator **device); 63 virtual bool GetDefaultCaptureDevice(SoundDeviceLocator **device); 66 const SoundDeviceLocator *device, 69 const SoundDeviceLocator *device, 80 bool GetDefaultDevice(SoundDeviceLocator **device); 86 const SoundDeviceLocator *device,
|
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFFormXObject.cpp | 20 SkPDFFormXObject::SkPDFFormXObject(SkPDFDevice* device) { 21 // We don't want to keep around device because we'd have two copies 25 SkPDFResourceDict* resourceDict = device->getResourceDict(); 28 SkAutoTUnref<SkStream> content(device->content()); 31 SkAutoTUnref<SkPDFArray> bboxArray(device->copyMediaBox()); 37 if (!device->initialTransform().isIdentity()) { 39 if (!device->initialTransform().invert(&inverse)) {
|
/external/skia/src/pdf/ |
SkPDFFormXObject.cpp | 20 SkPDFFormXObject::SkPDFFormXObject(SkPDFDevice* device) { 21 // We don't want to keep around device because we'd have two copies 25 SkPDFResourceDict* resourceDict = device->getResourceDict(); 28 SkAutoTUnref<SkStream> content(device->content()); 31 SkAutoTUnref<SkPDFArray> bboxArray(device->copyMediaBox()); 37 if (!device->initialTransform().isIdentity()) { 39 if (!device->initialTransform().invert(&inverse)) {
|
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/ |
SDL_epocvideo.cpp | 161 static void EPOC_DeleteDevice(SDL_VideoDevice *device) 163 User::Free(device->hidden); 164 User::Free(device); 169 SDL_VideoDevice *device; local 174 device = static_cast<SDL_VideoDevice*>(User::Alloc(sizeof(SDL_VideoDevice))); 175 if ( device ) 177 Mem::FillZ(device, (sizeof *device)); 178 device->hidden = static_cast<struct SDL_PrivateVideoData*> 179 (User::Alloc((sizeof *device->hidden))) [all...] |
/frameworks/base/services/java/com/android/server/display/ |
VirtualDisplayAdapter.java | 55 VirtualDisplayDevice device = new VirtualDisplayDevice(displayToken, appToken, local 59 appToken.linkToDeath(device, 0); 61 device.destroyLocked(); 65 mVirtualDisplayDevices.put(appToken, device); 67 // Return the display device without actually sending the event indicating 69 return device; 73 VirtualDisplayDevice device = mVirtualDisplayDevices.remove(appToken); local 74 if (device != null) { 75 device.destroyLocked(); 76 appToken.unlinkToDeath(device, 0) 85 VirtualDisplayDevice device = mVirtualDisplayDevices.remove(appToken); local [all...] |
/hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/ |
ClientLib.cpp | 46 #include "Device.h" 66 list<Device *> devices; 73 Device *resolveDeviceId(uint32_t deviceId) 75 for (list<Device *>::iterator iterator = devices.begin(); 77 Device *device = (*iterator); local 79 if (device->deviceId == deviceId) { 80 return device; 88 void addDevice(Device *device) 100 Device *device = (*iterator); local 184 Device *device = resolveDeviceId(deviceId); local 266 Device *device = resolveDeviceId(deviceId); local 322 Device *device = resolveDeviceId(session->deviceId); local 469 Device *device = resolveDeviceId(session->deviceId); local 518 Device *device = resolveDeviceId(session->deviceId); local 555 Device *device = resolveDeviceId(session->deviceId); local 637 Device *device = resolveDeviceId(deviceId); local 667 Device *device; local 723 Device *device = resolveDeviceId(sessionHandle->deviceId); local 809 Device *device = resolveDeviceId(sessionHandle->deviceId); local 881 Device *device = resolveDeviceId(session->deviceId); local 920 Device *device = resolveDeviceId(deviceId); local [all...] |
/external/skia/tests/ |
TileGridTest.cpp | 25 MockCanvas(SkBaseDevice* device) : SkCanvas(device) 80 SkBitmapDevice device(store); 81 MockCanvas mockCanvas(&device); 87 SkBitmapDevice device(store); 88 MockCanvas mockCanvas(&device); 96 SkBitmapDevice device(store); 97 MockCanvas mockCanvas(&device); 106 SkBitmapDevice device(store); 107 MockCanvas mockCanvas(&device); [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
Blit.cpp | 81 IDirect3DDevice9 *device = mRenderer->getDevice(); local 83 HRESULT result = device->CreateVertexBuffer(sizeof(quad), D3DUSAGE_WRITEONLY, 0, D3DPOOL_DEFAULT, &mQuadVertexBuffer, NULL); 109 result = device->CreateVertexDeclaration(elements, &mQuadVertexDeclaration); 123 IDirect3DDevice9 *device = mRenderer->getDevice(); local 146 HRESULT hr = (device->*setShader)(shader); 189 IDirect3DDevice9 *device = mRenderer->getDevice(); local 193 device->SetTexture(0, texture); 194 device->SetRenderTarget(0, dest); 200 device->SetSamplerState(0, D3DSAMP_MINFILTER, D3DTEXF_LINEAR); 201 device->SetSamplerState(0, D3DSAMP_MAGFILTER, D3DTEXF_LINEAR) 293 IDirect3DDevice9 *device = mRenderer->getDevice(); local 327 IDirect3DDevice9 *device = mRenderer->getDevice(); local 419 IDirect3DDevice9 *device = mRenderer->getDevice(); local 461 IDirect3DDevice9 *device = mRenderer->getDevice(); local 478 IDirect3DDevice9 *device = mRenderer->getDevice(); local 508 IDirect3DDevice9 *device = mRenderer->getDevice(); local 519 IDirect3DDevice9 *device = mRenderer->getDevice(); local 571 IDirect3DDevice9 *device = mRenderer->getDevice(); local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
dummydevicemanager_unittest.cc | 31 using cricket::Device; 53 std::vector<Device> audio_ins, audio_outs, video_ins; 62 Device device; local 65 cricket::DeviceManagerInterface::kDefaultDeviceName, &device)); 66 EXPECT_EQ("-1", device.id); 68 cricket::DeviceManagerInterface::kDefaultDeviceName, &device)); 69 EXPECT_EQ("-1", device.id); 70 EXPECT_FALSE(dm.GetAudioInputDevice("_NOT A REAL DEVICE_", &device)); 71 EXPECT_FALSE(dm.GetAudioOutputDevice("_NOT A REAL DEVICE_", &device)); 77 Device device; local [all...] |
/external/libmtp/examples/ |
albumart.c | 45 LIBMTP_mtpdevice_t *device = NULL; local 121 device = LIBMTP_Get_First_Device(); 122 if (device == NULL) { 138 int ret = LIBMTP_Create_New_Album(device,album); 140 ret = LIBMTP_Send_Representative_Sample(device,album->album_id, albumart); 143 LIBMTP_Dump_Errorstack(device); 144 LIBMTP_Clear_Errorstack(device); 149 LIBMTP_Dump_Errorstack(device); 150 LIBMTP_Clear_Errorstack(device); 156 LIBMTP_Release_Device(device); [all...] |
thumb.c | 4 * on a device. 46 LIBMTP_mtpdevice_t *device = NULL; local 101 device = LIBMTP_Get_First_Device(); 102 if (device == NULL) { 118 ret = LIBMTP_Send_Representative_Sample(device,id,thumb); 121 LIBMTP_Dump_Errorstack(device); 122 LIBMTP_Clear_Errorstack(device); 128 LIBMTP_Release_Device(device);
|
/external/qemu/distrib/sdl-1.2.15/src/video/svga/ |
SDL_svgavideo.c | 101 static void SVGA_DeleteDevice(SDL_VideoDevice *device) 103 SDL_free(device->hidden); 104 SDL_free(device); 109 SDL_VideoDevice *device; local 112 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); 113 if ( device ) { 114 SDL_memset(device, 0, (sizeof *device)); 115 device->hidden = (struct SDL_PrivateVideoData *) 116 SDL_malloc((sizeof *device->hidden)) [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothEventManager.java | 56 void onReceive(Context context, Intent intent, BluetoothDevice device); 132 BluetoothDevice device = i.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); local 133 if (device != null) { 134 return device.getAddress(); 145 BluetoothDevice device = intent 150 handler.onReceive(context, intent, device); 157 BluetoothDevice device) { 180 BluetoothDevice device) { 193 BluetoothDevice device) { 199 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/ |
image_burner.js | 23 cssState: 'device-detected-none', 26 cssState: 'device-detected-usb warning', 29 cssState: 'device-detected-sd warning', 32 cssState: 'device-detected-mul warning', 114 * @param {Array} devices Array of device information. 120 // If a device type is not specified for some reason, we should 121 // default to display a USB device. 132 * Returns true if the device is in initial state. 133 * @return {boolean} True if the device is in initial state else false. 143 * Returns true if device state matches the given state name [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothA2dp.java | 42 * <p> Android only supports one connected Bluetooth A2dp device at a time. 58 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li> 80 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li> 94 * A2DP sink device is streaming music. This state can be one of 101 * A2DP sink device is NOT streaming music. This state can be one of 199 * Initiate connection to a profile of the remote bluetooth device. 206 * device is already connected or Bluetooth is not turned on. 215 * @param device Remote Bluetooth Device 220 public boolean connect(BluetoothDevice device) { [all...] |
/external/chromium_org/chrome/browser/chromeos/audio/ |
audio_devices_pref_handler_impl.cc | 29 // Gets the device id string for storing audio preference. The format of 30 // device string is a string consisting of 3 parts. 31 // |device_name| : |integer from lower 32 bit of device id| : 32 // |0(output device) or 1(input device)| 33 // If an audio device has both integrated input and output devices, the first 2 36 std::string GetDeviceIdString(const chromeos::AudioDevice& device) { 37 return device.device_name + " : " + 38 base::Uint64ToString(device.id & static_cast<uint64>(0xffffffff)) + 39 " : " + (device.is_input ? "1" : "0") [all...] |
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
DeviceListFragment.java | 48 private WifiP2pDevice device; field in class:DeviceListFragment 64 * @return this device 67 return device; 94 WifiP2pDevice device = (WifiP2pDevice) getListAdapter().getItem(position); local 95 ((DeviceActionListener) getActivity()).showDetails(device); 125 WifiP2pDevice device = items.get(position); local 126 if (device != null) { 130 top.setText(device.deviceName); 133 bottom.setText(getDeviceStatus(device.status)); 143 * Update UI for this device [all...] |
/external/kernel-headers/original/linux/ |
rtc.h | 110 #include <linux/device.h> 119 int (*open)(struct device *); 120 void (*release)(struct device *); 121 int (*ioctl)(struct device *, unsigned int, unsigned long); 122 int (*read_time)(struct device *, struct rtc_time *); 123 int (*set_time)(struct device *, struct rtc_time *); 124 int (*read_alarm)(struct device *, struct rtc_wkalrm *); 125 int (*set_alarm)(struct device *, struct rtc_wkalrm *); 126 int (*proc)(struct device *, struct seq_file *); 127 int (*set_mmss)(struct device *, unsigned long secs) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkBlitter_RGB16.cpp | 56 SkRGB16_Blitter(const SkBitmap& device, const SkPaint& paint); 83 SkRGB16_Opaque_Blitter(const SkBitmap& device, const SkPaint& paint); 99 SkRGB16_Black_Blitter(const SkBitmap& device, const SkPaint& paint); 111 SkRGB16_Shader_Blitter(const SkBitmap& device, const SkPaint& paint); 133 SkRGB16_Shader16_Blitter(const SkBitmap& device, const SkPaint& paint); 145 SkRGB16_Shader_Xfermode_Blitter(const SkBitmap& device, const SkPaint& paint); 164 SkRGB16_Black_Blitter::SkRGB16_Black_Blitter(const SkBitmap& device, const SkPaint& paint) 165 : INHERITED(device, paint) { 210 uint16_t* SK_RESTRICT device = fDevice.getAddr16(clip.fLeft, clip.fTop); local 226 *device = SkAlphaMulRGB16(*device, SkAlpha255To256(255 - aa)) 238 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 277 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 300 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 380 uint16_t* SK_RESTRICT device = fDevice.getAddr16(clip.fLeft, clip.fTop); local 473 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 489 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 566 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 575 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 630 uint16_t* SK_RESTRICT device = fDevice.getAddr16(clip.fLeft, clip.fTop); local 654 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 670 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 691 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 754 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 886 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 951 uint16_t* device = fDevice.getAddr16(x, y); local 965 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local [all...] |
/external/skia/src/core/ |
SkBlitter_RGB16.cpp | 56 SkRGB16_Blitter(const SkBitmap& device, const SkPaint& paint); 83 SkRGB16_Opaque_Blitter(const SkBitmap& device, const SkPaint& paint); 99 SkRGB16_Black_Blitter(const SkBitmap& device, const SkPaint& paint); 111 SkRGB16_Shader_Blitter(const SkBitmap& device, const SkPaint& paint); 133 SkRGB16_Shader16_Blitter(const SkBitmap& device, const SkPaint& paint); 145 SkRGB16_Shader_Xfermode_Blitter(const SkBitmap& device, const SkPaint& paint); 164 SkRGB16_Black_Blitter::SkRGB16_Black_Blitter(const SkBitmap& device, const SkPaint& paint) 165 : INHERITED(device, paint) { 210 uint16_t* SK_RESTRICT device = fDevice.getAddr16(clip.fLeft, clip.fTop); local 226 *device = SkAlphaMulRGB16(*device, SkAlpha255To256(255 - aa)) 238 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 277 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 300 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 380 uint16_t* SK_RESTRICT device = fDevice.getAddr16(clip.fLeft, clip.fTop); local 473 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 489 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 566 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 575 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 630 uint16_t* SK_RESTRICT device = fDevice.getAddr16(clip.fLeft, clip.fTop); local 654 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 670 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 691 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 754 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 886 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 951 uint16_t* device = fDevice.getAddr16(x, y); local 965 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
SDL_sysvideo.cc | 77 static void BE_DeleteDevice(SDL_VideoDevice *device) 79 SDL_free(device->hidden); 80 SDL_free(device); 85 SDL_VideoDevice *device; local 88 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); 89 if ( device ) { 90 SDL_memset(device, 0, (sizeof *device)); 91 device->hidden = (struct SDL_PrivateVideoData *) 92 SDL_malloc((sizeof *device->hidden)) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/core/ |
program.cpp | 34 const std::vector<clover::device *> &devs, 37 for_each([&](clover::device *dev, const clover::module &bin) { 44 _cl_program::build(const std::vector<clover::device *> &devs) { 68 const std::map<clover::device *, clover::module> & 74 _cl_program::build_status(clover::device *dev) const { 79 _cl_program::build_opts(clover::device *dev) const { 84 _cl_program::build_log(clover::device *dev) const {
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
program.cpp | 34 const std::vector<clover::device *> &devs, 37 for_each([&](clover::device *dev, const clover::module &bin) { 44 _cl_program::build(const std::vector<clover::device *> &devs) { 68 const std::map<clover::device *, clover::module> & 74 _cl_program::build_status(clover::device *dev) const { 79 _cl_program::build_opts(clover::device *dev) const { 84 _cl_program::build_log(clover::device *dev) const {
|