/external/mesa3d/src/gallium/state_trackers/egl/drm/ |
native_drm.c | 159 struct udev_device *device; local 169 device = udev_device_new_from_devnum(udev, 'c', buf.st_rdev); 170 if (device == NULL) { 172 "could not create udev device for fd %d", fd); 176 tmp = udev_device_get_devnode(device); 182 udev_device_unref(device); 328 * device with gallium backend directly, without setenv */
|
/external/opencv3/modules/videoio/src/ |
cap_unicap.cpp | 82 memset( &device, 0, sizeof(device) ); 99 unicap_device_t device; member in struct:CvCapture_Unicap 115 CV_ERROR(CV_StsError, "unicap: failed to stop capture on device\n"); 118 CV_ERROR(CV_StsError, "unicap: failed to close the device\n"); 138 if(!SUCCESS(unicap_enumerate_devices(NULL, &device, desired_device))) 139 CV_ERROR(CV_StsError, "unicap: failed to get info for device\n"); 141 if(!SUCCESS(unicap_open( &handle, &device))) 142 CV_ERROR(CV_StsError, "unicap: failed to open device\n"); 194 CV_ERROR(CV_StsError, "unicap: failed to start capture on device\n") [all...] |
/external/vulkan-validation-layers/layers/ |
vk_layer_table.cpp | 41 assert(it != tableMap.end() && "Not able to find device dispatch entry"); 64 fprintf(stderr, "destroy device dispatch_table: map: %p, key: %p, table: %p\n", &map, key, it->second); 66 fprintf(stderr, "destroy device dispatch table: map: %p, key: %p, table: UNKNOWN\n", &map, key); 101 assert(it != map.end() && "Not able to find device dispatch entry"); 143 * Device -> CommandBuffer or Queue 173 VkLayerDispatchTable *initDeviceTable(VkDevice device, const PFN_vkGetDeviceProcAddr gpa, device_table_map &map) { 175 dispatch_key key = get_dispatch_key(device); 182 fprintf(stderr, "New, Device: map: %p, key: %p, table: %p\n", &map, key, pTable); 186 fprintf(stderr, "Device: map: %p, key: %p, table: %p\n", &map, key, it->second); 191 layer_init_device_dispatch_table(device, pTable, gpa) [all...] |
/frameworks/av/include/media/ |
IAudioPolicyService.h | 45 virtual status_t setDeviceConnectionState(audio_devices_t device, 49 virtual audio_policy_dev_state_t getDeviceConnectionState(audio_devices_t device, 102 audio_devices_t device) = 0; 105 audio_devices_t device) = 0; 157 audio_devices_t *device) = 0;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
CarBatteryController.java | 39 * displays the battery status of a device that is connected via bluetooth and not the system's 157 BluetoothDevice device = local 159 updateBatteryIcon(device, newState); 208 private void updateBatteryIcon(BluetoothDevice device, int newState) { 211 Log.d(TAG, "Device connected"); 218 if (mBluetoothHeadsetClient == null || device == null) { 223 Bundle featuresBundle = mBluetoothHeadsetClient.getCurrentAgEvents(device); 233 Log.d(TAG, "Device disconnected");
|
/hardware/libhardware/include/hardware/ |
hdmi_cec.h | 283 * Services can not close/open the device in the callback. 301 * Common methods of the HDMI CEC device. This *must* be the first member of 344 * (*send_message)() transmits HDMI-CEC message to other HDMI device. 406 * Returns HDMI_CONNECTED if a device is connected, otherwise HDMI_NOT_CONNECTED. 415 /** convenience API for opening and closing a device */ 418 struct hdmi_cec_device** device) { 420 HDMI_CEC_HARDWARE_INTERFACE, (struct hw_device_t**)device); 423 static inline int hdmi_cec_close(struct hdmi_cec_device* device) { 424 return device->common.close(&device->common) [all...] |
/hardware/qcom/audio/msm8909/hal/audio_extn/ |
listen.c | 111 ALOGE("%s: invalid device 0x%x, for event %d", 118 ALOGI("%s(): device 0x%x of type %d for Event %d, with Raise=%d", 129 ALOGW("%s:invalid event %d for device 0x%x", 132 }/*Events for output device, if required can be placed here in else*/ 177 listen_dev->listen_set_parameters(&adev->device, kv_pairs); 220 adev->device.open_listen_session = listen_dev->open_listen_session; 225 adev->device.close_listen_session = listen_dev->close_listen_session; 230 adev->device.set_mad_observer = listen_dev->set_mad_observer; 235 adev->device.listen_set_parameters = listen_dev->listen_set_parameters;
|
/hardware/qcom/msm8994/kernel-headers/sound/ |
audio_effects.h | 156 uint32_t device; member in struct:virtualizer_params 185 uint32_t device; member in struct:reverb_params 211 uint32_t device; member in struct:bass_boost_params 260 uint32_t device; member in struct:eq_params 275 uint32_t device; member in struct:soft_volume_params
|
/hardware/qcom/msm8994/original-kernel-headers/sound/ |
audio_effects.h | 29 DEVICE, 169 uint32_t device; member in struct:virtualizer_params 208 uint32_t device; member in struct:reverb_params 233 uint32_t device; member in struct:bass_boost_params 289 uint32_t device; member in struct:eq_params 305 uint32_t device; member in struct:soft_volume_params
|
/packages/apps/Camera2/src/com/android/camera/device/ |
PortabilityCameraActions.java | 17 package com.android.camera.device; 39 * Set of device actions for opening and closing a single portability 40 * layer camera device. 87 public void executeClose(SingleDeviceCloseListener closeListener, CameraProxy device) { 88 mLogger.i("executeClose(" + device.getCameraId() + ")"); 89 mBackgroundRunner.execute(new CloseCameraRunnable(device, device.getAgent(), 179 * Internal callback that provides a camera device to a future.
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
MtpClient.java | 41 * and notifies the application when the MTP device list changes. 55 // so we can inform when the device has been detached. 63 // unable to open the device. 125 * Called when a new device has been added 127 * @param device the new device that was added 129 public void deviceAdded(MtpDevice device); 132 * Called when a new device has been removed 134 * @param device the device that was remove [all...] |
/system/core/debuggerd/ |
getevent.cpp | 35 static int open_device(const char* device) { 45 fd = open(device, O_RDWR); 84 device_names[nfds] = strdup(device); 90 int close_device(const char* device) { 93 if (strcmp(device_names[i], device) == 0) {
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
ClusterChain.java | 34 private final BlockDevice device; field in class:ClusterChain 63 this.device = fat.getDevice(); 78 return device; 92 * Calculates the device offset (0-based) for the given cluster and offset 106 * Returns the size this {@code ClusterChain} occupies on the device. 108 * @return the size this chain occupies on the device in bytes 263 device.write(getDevOffset(chain[chainIdx], clusOfs), srcBuf); 274 device.write(getDevOffset(chain[chainIdx], 0), srcBuf);
|
Fat.java | 44 private final BlockDevice device; field in class:Fat 99 throw new IOException("FAT too small for device"); 122 this.device = bs.getDevice(); 158 * @return the device holding this FAT 161 return device; 172 * Read the contents of this FAT from the given device at the given offset. 174 * @param offset the byte offset where to read the FAT from the device 179 device.read(offset, ByteBuffer.wrap(data)); 190 * Write the contents of this FAT to the given device at the given offset. 192 * @param offset the device offset where to write the FAT cop [all...] |
/system/bt/audio_a2dp_hw/ |
audio_a2dp_hw.c | 23 * Description: Implements hal for bluedroid a2dp audio device 92 struct audio_hw_device device; member in struct:a2dp_audio_device [all...] |
/hardware/qcom/camera/QCamera2/HAL/ |
QCameraMuxer.cpp | 99 * @num_of_cameras : Number of Physical Cameras on device 122 * @num_of_cameras : Number of Physical Cameras on device 256 * DESCRIPTION: static function to open a camera device by its ID 261 * @hw_device : ptr to struct storing camera hardware device info 287 * DESCRIPTION: static function to open a camera device by its ID 293 * @hw_device : ptr to struct storing camera hardware device info 321 * @device : camera hardware device info 328 int QCameraMuxer::set_preview_window(struct camera_device * device, 334 qcamera_logical_descriptor_t *cam = gMuxer->getLogicalCamera(device); [all...] |
/hardware/libhardware/modules/audio_remote_submix/ |
audio_hw.cpp | 68 // read from the sink. The maximum latency of the device is the size of the MonoPipe's buffer 72 // the duration of a record buffer at the current record sample rate (of the device, not of 80 // A legacy user of this device does not close the input stream when it shuts down, which 83 // multiple input streams from this device. If this option is enabled, each input stream returned 127 // output_channel_mask depending upon the last stream to be opened on this device. 154 // Wifi for presentation on a remote Wifi Display device (e.g. a dongle attached to a TV, or a 170 struct audio_hw_device device; member in struct:android::submix_audio_device 172 // Device lock, also used to protect access to submix_audio_device from the input and output 315 struct audio_hw_device *device) 317 ALOG_ASSERT(device); [all...] |
/external/skia/src/core/ |
SkBlitter.cpp | 802 SkBlitter* SkBlitter::Choose(const SkPixmap& device, 809 // which check, in case we're being called by a client with a dummy device 811 if (kUnknown_SkColorType == device.colorType() || 812 (drawCoverage && (kAlpha_8_SkColorType != device.colorType()))) { 832 bool deviceIsOpaque = kRGB_565_SkColorType == device.colorType(); 889 PreferredShaderDest(device.info())); 907 switch (device.colorType()) { 912 blitter = allocator->createT<SkA8_Coverage_Blitter>(device, *paint); 914 blitter = allocator->createT<SkA8_Shader_Blitter>(device, *paint, shaderContext); 916 blitter = allocator->createT<SkA8_Blitter>(device, *paint) [all...] |
/external/webrtc/webrtc/sound/ |
pulseaudiosoundsystem.cc | 252 // only a device volume. So we have to retrieve the volume of the device 301 // only a device volume. So we have to change the volume of the device 304 // The device may have a different number of channels than the stream and 307 // and the server allows that even if the device's channel count is lower, 310 // the actual number of channels that the device has. 1049 SoundDeviceLocator **device) { 1050 return GetDefaultDevice<&pa_server_info::default_sink_name>(device); 1054 SoundDeviceLocator **device) { 1290 SoundDeviceLocator **device; member in struct:rtc::GetDefaultDeviceCallbackData [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc.cpp | 51 struct hw_device_t** device); 192 * the display device to be active. 856 ALOGE("%s: NULL device pointer", __FUNCTION__); 866 struct hw_device_t** device) 881 dev->device.common.tag = HARDWARE_DEVICE_TAG; 882 dev->device.common.version = HWC_DEVICE_API_VERSION_1_5; 883 dev->device.common.module = const_cast<hw_module_t*>(module); 884 dev->device.common.close = hwc_device_close; 885 dev->device.prepare = hwc_prepare; 886 dev->device.set = hwc_set [all...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc.cpp | 61 struct hw_device_t** device); 202 * the display device to be active. 895 ALOGE("%s: NULL device pointer", __FUNCTION__); 905 struct hw_device_t** device) 920 dev->device.common.tag = HARDWARE_DEVICE_TAG; 921 dev->device.common.version = HWC_DEVICE_API_VERSION_1_4; 922 dev->device.common.module = const_cast<hw_module_t*>(module); 923 dev->device.common.close = hwc_device_close; 924 dev->device.prepare = hwc_prepare; 925 dev->device.set = hwc_set [all...] |
/hardware/qcom/display/msm8909/libhwcomposer/ |
hwc.cpp | 53 struct hw_device_t** device); 185 * the display device to be active. 933 ALOGE("%s: NULL device pointer", __FUNCTION__); 943 struct hw_device_t** device) 958 dev->device.common.tag = HARDWARE_DEVICE_TAG; 959 dev->device.common.version = HWC_DEVICE_API_VERSION_1_5; 960 dev->device.common.module = const_cast<hw_module_t*>(module) [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc.cpp | 51 struct hw_device_t** device); 184 * the display device to be active. [all...] |
/external/autotest/client/bin/ |
harness_ABAT.py | 73 device = None 80 device = m.groups()[0] 82 return device
|
/external/autotest/server/site_tests/bluetooth_SDP_ServiceBrowse/ |
bluetooth_SDP_ServiceBrowse.py | 168 if not (self.device.reset_on() and 169 self.device.set_discoverable(True)): 172 self.adapter = self.device.get_adapter_properties() 184 raise error.TestFail('Expected device was not found')
|