/hardware/libhardware/modules/usbaudio/ |
audio_hal.c | 43 * 0 disables (this is default: present the device channels to AudioFlinger). 94 * This may differ from the device channel count when 95 * the device is not compatible with AudioFlinger 119 * This may differ from the device channel count when 120 * the device is not compatible with AudioFlinger 125 /* We may need to read more data from the device in order to data reduce to 16bit, 4chan */ 140 * Extract the card and device numbers from the supplied key/value pairs. 141 * kvpairs A null-terminated string containing the key/value pairs or card and device. 142 * i.e. "card=1;device=42" 144 * device A pointer to a variable to receive the parsed-out device number 314 int device = -1; local 708 int device = -1; local [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiControlService.java | 139 * Called when device polling is finished. 205 // List of records for device event listener to handle the caller killed in action. 299 // when the mobile device sends the request one touch play with off. 403 Slog.i(TAG, "Device does not support HDMI-CEC."); 409 Slog.i(TAG, "Device does not support MHL-control."); 567 // A container for [Device type, Local device info]. 592 // For TV device, select request can be invoked while address allocation or device 594 // and process the collected requests later when the allocation and device discover 1024 HdmiMhlLocalDeviceStub device = mMhlController.removeLocalDevice(portId); local 1039 HdmiMhlLocalDeviceStub device = mMhlController.getLocalDevice(portId); local 1051 HdmiMhlLocalDeviceStub device = mMhlController.getLocalDevice(portId); local 1062 HdmiMhlLocalDeviceStub device = mMhlController.getLocalDevice(portId); local 1078 HdmiMhlLocalDeviceStub device = devices.valueAt(i); local 2322 HdmiMhlLocalDeviceStub device = mMhlController.getLocalDevice(portId); local [all...] |
/cts/build/ |
device_info_package.mk | 16 # Builds a package which can be instrumented to retrieve information about the device under test. 47 # Add the base device info 48 LOCAL_STATIC_JAVA_LIBRARIES += compatibility-device-info compatibility-device-util 63 # Regenerate manifest.xml if the generator jar, */cts-device-info/Android.mk, or this file is changed.
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
android_profiling_helper.py | 48 def _FindMatchingUnstrippedLibraryOnHost(device, lib): 51 device_md5 = device.RunShellCommand('md5 "%s"' % lib, as_root=True)[0] 56 # to pull the stripped library from the device, which can take tens of 149 # The 'dd_module_file' table lists all libraries on the device. Only the 176 def CreateSymFs(device, symfs_dir, libraries, use_symlinks=True): 183 device: DeviceUtils instance identifying the target device. 205 unstripped_host_lib = _FindMatchingUnstrippedLibraryOnHost(device, lib) 231 device_md5sums = md5sum.CalculateDeviceMd5Sums([lib], device) 243 device.PullFile(lib, output_lib [all...] |
/external/skia/src/gpu/vk/ |
GrVkProgramBuilder.cpp | 134 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateShaderModule(gpu->device(), 192 CreateDescriptorSetLayout(fGpu->device(), 222 fGpu->device(), 238 GR_VK_CALL_ERRCHECK(fGpu->vkInterface(), CreatePipelineLayout(fGpu->device(), 273 GR_VK_CALL(fGpu->vkInterface(), DestroyShaderModule(fGpu->device(), vertShaderModule, 275 GR_VK_CALL(fGpu->vkInterface(), DestroyShaderModule(fGpu->device(), fragShaderModule, 279 GR_VK_CALL(fGpu->vkInterface(), DestroyPipelineLayout(fGpu->device(), pipelineLayout, 281 GR_VK_CALL(fGpu->vkInterface(), DestroyDescriptorSetLayout(fGpu->device(), dsLayout[0], 283 GR_VK_CALL(fGpu->vkInterface(), DestroyDescriptorSetLayout(fGpu->device(), dsLayout[1], 305 GR_VK_CALL_ERRCHECK(fGpu->vkInterface(), AllocateDescriptorSets(fGpu->device(), [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
JpegProcessor.cpp | 87 sp<CameraDeviceBase> device = mDevice.promote(); local 88 if (device == 0) { 89 ALOGE("%s: Camera %d: Device does not exist", __FUNCTION__, mId); 94 ssize_t maxJpegSize = device->getJpegBufferSize(params.pictureWidth, params.pictureHeight); 135 res = device->getStreamInfo(mCaptureStreamId, 147 res = device->deleteStream(mCaptureStreamId); 149 ALOGV("%s: Camera %d: Device is busy, call updateStream again " 164 res = device->createStream(mCaptureWindow, 175 res = device->addBufferListenerForStream(mCaptureStreamId, this); 191 sp<CameraDeviceBase> device = mDevice.promote() local [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
hwc_session.cpp | 189 int HWCSession::Open(const hw_module_t *module, const char *name, hw_device_t **device) { 192 if (!module || !name || !device) { 210 *device = reinterpret_cast<hw_device_t *>(composer_device); 216 int HWCSession::Close(hw_device_t *device) { 219 if (!device) { 223 hwc_composer_device_1_t *composer_device = reinterpret_cast<hwc_composer_device_1_t *>(device); 232 int HWCSession::Prepare(hwc_composer_device_1 *device, size_t num_displays, 236 if (!device || !displays || num_displays > HWC_NUM_DISPLAY_TYPES) { 240 HWCSession *hwc_session = static_cast<HWCSession *>(device); 332 int HWCSession::Set(hwc_composer_device_1 *device, size_t num_displays [all...] |
/ndk/tests/ |
run-all.py | 23 factor that for-each up several levels because it was going to make the device 104 device = os.getenv('ANDROID_SERIAL') 105 if device is None and len(devices) == 1: 106 device = devices[0] 108 if device is not None and device not in devices: 109 raise RuntimeError('Device {} is not available.'.format(device)) 112 if len(devices) > 1 and device is None: 116 return device [all...] |
/external/vulkan-validation-layers/layers/ |
device_limits.cpp | 68 // Track physical device per logical device 226 // Init actual features for each physical device 277 // Verify that for each physical device, this function is called first with NULL pQueueFamilyProperties ptr in order to 373 "which is not available on this device.", 383 "You requested features that are unavailable on this device. You should first query feature " 408 requestedIndex) { // requested index is out of bounds for this physical device 458 // Get physical device properties for this device 463 VK_LAYER_EXPORT VKAPI_ATTR void VKAPI_CALL vkDestroyDevice(VkDevice device, const VkAllocationCallbacks *pAllocator) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
SapService.java | 353 + sRemoteDeviceName + " automatically as trusted device"); 493 public boolean disconnect(BluetoothDevice device) { 496 if (getRemoteDevice().equals(device)) { 526 for (BluetoothDevice device : bondedDevices) { 527 ParcelUuid[] featureUuids = device.getUuids(); 531 connectionState = getConnectionState(device); 534 deviceList.add(device); 542 public int getConnectionState(BluetoothDevice device) { 544 if (getState() == BluetoothSap.STATE_CONNECTED && getRemoteDevice().equals(device)) { 552 public boolean setPriority(BluetoothDevice device, int priority) 746 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); local [all...] |
/external/autotest/client/site_tests/firmware_TouchMTB/ |
validators.py | 175 def init_base_validator(device): 176 """Initialize the device for all the Validators to use""" 177 BaseValidator._device = device 185 def __init__(self, criteria, mf=None, device=None, name=None): 188 self.device = device if device else BaseValidator._device 197 self.packets = mtb.Mtb(device=self.device, packets=packets) 279 This is used in conjunction with a Quickstep latency measuring device. T [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
HwModule.cpp | 46 audio_devices_t device, String8 address) 53 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(device); 109 audio_devices_t device, String8 address) 115 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(device); 211 ALOGE("%s: invalid sink device for %s", __FUNCTION__, stream->getName().string()); 267 sp <HwModule> HwModuleCollection::getModuleForDevice(audio_devices_t device) const 275 if (audio_is_output_device(device)) { 278 if (itemAt(i)->mOutputProfiles[j]->supportDevice(device)) { 284 if (itemAt(i)->mInputProfiles[j]->supportDevice(device)) { 293 sp<DeviceDescriptor> HwModuleCollection::getDeviceDescriptor(const audio_devices_t device, [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
AdapterProperties.java | 262 errorLog("Error retrieving bonded device array"); 270 void onBondStateChanged(BluetoothDevice device, int state) 272 if(device == null) 275 byte[] addrByte = Utils.getByteAddress(device); 276 DeviceProperties prop = mRemoteDevices.getDeviceProperties(device); 283 if(!mBondedDevices.contains(device)) { 284 debugLog("Adding bonded device:" + device); 285 mBondedDevices.add(device); 288 // remove device from lis [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
DeviceProfilesSettings.java | 181 // Only provide PBAP cabability if the client device has requested PBAP. 239 BluetoothDevice device = mCachedDevice.getDevice(); local 258 if (profile.isPreferred(device)) { 263 profile.setPreferred(device, false); 266 profile.setPreferred(device, true); 276 final CachedBluetoothDevice device = mCachedDevice; local 277 String name = device.getName(); 282 String profileName = context.getString(profile.getNameResource(device.getDevice())); 291 device.disconnect(profile); 292 profile.setPreferred(device.getDevice(), false) 345 BluetoothDevice device = mCachedDevice.getDevice(); local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/ |
XKBlib.h | 42 unsigned int device; /* device ID */ member in struct:_XkbAnyEvent 52 int device; /* device ID */ member in struct:_XkbNewKeyboardNotify 53 int old_device; /* device ID of previous keyboard */ 70 int device; /* device ID */ member in struct:_XkbMapNotifyEvent 99 int device; /* device ID */ member in struct:_XkbStateNotifyEvent 128 int device; /* device ID * member in struct:_XkbControlsNotify 146 int device; \/* device ID *\/ member in struct:_XkbIndicatorNotify 158 int device; \/* device ID *\/ member in struct:_XkbNamesNotify 180 int device; \/* device ID *\/ member in struct:_XkbCompatMapNotify 194 int device; \/* device ID *\/ member in struct:_XkbBellNotify 212 int device; \/* device ID *\/ member in struct:_XkbActionMessage 229 int device; \/* device ID *\/ member in struct:_XkbAccessXNotify 243 int device; \/* device ID *\/ member in struct:_XkbExtensionDeviceNotify 269 XkbExtensionDeviceNotifyEvent device; member in union:_XkbEvent [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/ |
XKBlib.h | 40 unsigned int device; /* device ID */ member in struct:_XkbAnyEvent 50 int device; /* device ID */ member in struct:_XkbNewKeyboardNotify 51 int old_device; /* device ID of previous keyboard */ 68 int device; /* device ID */ member in struct:_XkbMapNotifyEvent 97 int device; /* device ID */ member in struct:_XkbStateNotifyEvent 126 int device; /* device ID * member in struct:_XkbControlsNotify 144 int device; \/* device ID *\/ member in struct:_XkbIndicatorNotify 156 int device; \/* device ID *\/ member in struct:_XkbNamesNotify 178 int device; \/* device ID *\/ member in struct:_XkbCompatMapNotify 192 int device; \/* device ID *\/ member in struct:_XkbBellNotify 210 int device; \/* device ID *\/ member in struct:_XkbActionMessage 227 int device; \/* device ID *\/ member in struct:_XkbAccessXNotify 241 int device; \/* device ID *\/ member in struct:_XkbExtensionDeviceNotify 267 XkbExtensionDeviceNotifyEvent device; member in union:_XkbEvent [all...] |
/external/opencv3/modules/cudaoptflow/src/ |
farneback.cpp | 60 namespace cv { namespace cuda { namespace device { namespace optflow_farneback 253 device::optflow_farneback::setPolynomialExpansionConsts(n, g, xg, xxg, static_cast<float>(ig11), static_cast<float>(ig03), static_cast<float>(ig33), static_cast<float>(ig55)); 261 device::optflow_farneback::boxFilter5Gpu(M, blockSize/2, bufM, StreamAccessor::getStream(streams[0])); 263 device::optflow_farneback::boxFilter5Gpu_CC11(M, blockSize/2, bufM, StreamAccessor::getStream(streams[0])); 268 device::optflow_farneback::updateFlowGpu(M, flowx, flowy, StreamAccessor::getStream(streams[0])); 271 device::optflow_farneback::updateMatricesGpu(flowx, flowy, R0, R1, M, StreamAccessor::getStream(streams[0])); 279 device::optflow_farneback::gaussianBlur5Gpu( 282 device::optflow_farneback::gaussianBlur5Gpu_CC11( 286 device::optflow_farneback::updateFlowGpu(M, flowx, flowy, StreamAccessor::getStream(streams[0])); 289 device::optflow_farneback::updateMatricesGpu(flowx, flowy, R0, R1, M, StreamAccessor::getStream(streams[0 (…) [all...] |
/system/bt/doc/ |
power_management.md | 10 Power states are managed per-device, per-profile, so every incoming event 35 Overall power states are managed *per device*, not per connection, but the power 37 currently known connections to a given device. Thus, if RFCOMM specifies that 137 - If the action chosen is `BTA_DM_PM_SNIFF`, the peer device's link policy 165 device. 169 `bta_dm_pm_btm_status` stops any timers started for the device in 170 `bta_dm_pm_set_mode`, clears some status bits in the peer device 172 device address and timeout set to FALSE. 173 - If the status is zero, and if the peer device `tBTA_DM_PEER_DEVICE` 175 stops all timers for the device, and then re-calls `bta_dm_pm_set_mode [all...] |
/external/autotest/client/tests/parallel_dd/ |
parallel_dd.py | 32 dd = 'dd if=/dev/zero of=%s bs=4k count=%d' % (self.fs.device, 40 dd = 'dd if=%s of=/dev/null bs=4k count=%d' % (self.fs.device, 85 device = self.fs.device 87 line = utils.system_output('egrep ^%s %s' % (device, file)) 90 logging.debug('Found %s is type %s from %s', device, fstype, file) 93 logging.error('No %s found in %s', device, file)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/ |
browser_finder.py | 65 for device in devices: 70 curr_browsers = finder.FindAllAvailableBrowsers(options, device) 129 def GetAllAvailableBrowsers(options, device): 130 """Returns a list of available browsers on the device. 134 device: The target device, which can be None. 142 if not device: 147 browser_finder.FindAllAvailableBrowsers(options, device)) 166 for device in devices: 167 possible_browsers.extend(GetAllAvailableBrowsers(options, device)) [all...] |
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/tools/ |
list_ports_osx.py | 68 """ Search the given device for the specified string property 70 @param device_t Device to search 95 """ Search the given device for the specified string property 97 @param device_t Device to search 121 def IORegistryEntryGetName(device): 124 device, 130 def GetParentDeviceByType(device, parent_type): 131 """ Find the first parent of a device that implements the parent_type 135 # First, try to walk up the IOService tree to find a parent of this device that is a IOUSBDevice. 136 while IORegistryEntryGetName(device) != parent_type [all...] |
/external/libweave/examples/daemon/oven/ |
oven.cc | 7 #include <weave/device.h> 145 void Register(weave::Device* device) { 146 device_ = device; 148 device->AddTraitDefinitionsFromJson(kTraits); 149 CHECK(device->AddComponent( 155 device->AddCommandHandler(kComponent, "temperatureSetting.setConfig", 159 device->AddCommandHandler(kComponent, "brightness.setConfig", 265 weave::Device* device_{nullptr};
|
/external/opencv3/modules/photo/src/ |
denoising.cuda.cpp | 72 namespace cv { namespace cuda { namespace device 83 using cv::cuda::device::imgproc::nlm_bruteforce_gpu; 104 namespace cv { namespace cuda { namespace device 135 device::imgproc::nln_fast_get_buffer_size(src_hdr, search_window, block_window, bcols, brows); 138 using namespace cv::cuda::device::imgproc; 161 device::imgproc::fnlm_split_channels(lab, l, ab, StreamAccessor::getStream(stream)); 166 device::imgproc::fnlm_merge_channels(l, ab, lab, StreamAccessor::getStream(stream));
|
/external/opencv3/samples/gpu/performance/ |
performance.cpp | 173 "{ d device | 0 | device id }" 186 int device = cmd.get<int>("device"); local 187 if (device < 0 || device >= num_devices) 189 cerr << "Invalid device ID" << endl; 192 DeviceInfo dev_info(device); 195 cerr << "CUDA module isn't built for GPU #" << device << " " << dev_info.name() << ", CC " << dev_info.majorVersion() << '.' << dev_info.minorVersion() << endl; 198 setDevice(device); [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/ |
UsbHostManager.java | 95 /* returns true if the USB device should not be accessible by applications */ 133 // OK this is non-obvious, but true. One can't tell if the device being attached is even 134 // potentially an audio device without parsing the interface descriptors, so punt on any 144 Slog.w(TAG, "device already on mDevices list: " + deviceName); 168 /* Called from JNI in monitorUsbHostBus() to report new USB configuration for the device 182 /* Called from JNI in monitorUsbHostBus() to report new USB interface for the device 197 /* Called from JNI in monitorUsbHostBus() to report new USB endpoint for the device 204 /* Called from JNI in monitorUsbHostBus() to finish adding a new device */ 224 Slog.d(TAG, "Added device " + mNewDevice); 239 /* Called from JNI in monitorUsbHostBus to report USB device removal * 242 UsbDevice device = mDevices.remove(deviceName); local 278 UsbDevice device = mDevices.get(deviceName); local [all...] |