Home
last modified time | relevance | path

Searched defs:Device (Results 1 – 25 of 1133) sorted by relevance

12345678910>>...46

/aosp_15_r20/frameworks/native/services/inputflinger/tests/
H A DFakeEventHub.h46 struct Device { struct
47 InputDeviceIdentifier identifier; argument
48 ftl::Flags<InputDeviceClass> classes; argument
49 PropertyMap configuration;
50 KeyedVector<int, RawAbsoluteAxisInfo> absoluteAxes;
51 KeyedVector<int, bool> relativeAxes;
52 KeyedVector<int32_t, int32_t> keyCodeStates;
53 KeyedVector<int32_t, int32_t> scanCodeStates;
54 KeyedVector<int32_t, int32_t> switchStates;
55 KeyedVector<int32_t, int32_t> absoluteAxisValue;
[all …]
/aosp_15_r20/external/mesa3d/src/gallium/frontends/d3d10umd/
H A DState.h67 struct Device struct
69 struct pipe_context *pipe;
71 struct cso_context *cso;
72 struct pipe_framebuffer_state fb;
96 HANDLE hDevice; argument
115 static inline Device * argument
/aosp_15_r20/frameworks/native/services/inputflinger/reader/include/
H A DEventHub.h634 struct Device { struct
638 const InputDeviceIdentifier identifier; argument
640 std::unique_ptr<TouchVideoDevice> videoDevice; argument
642 ftl::Flags<InputDeviceClass> classes; argument
644 BitArray<KEY_CNT> keyBitmask;
645 BitArray<KEY_CNT> keyState;
646 BitArray<REL_CNT> relBitmask;
670 std::shared_ptr<const AssociatedDevice> associatedDevice; argument
674 Device(int fd, int32_t id, std::string path, InputDeviceIdentifier identifier, argument
689 status_t readDeviceBitMask(unsigned long ioctlCode, BitArray<N>& bitArray); argument
[all …]
/aosp_15_r20/external/pytorch/torch/cuda/
H A Dmemory.py98 def caching_allocator_alloc(size, device: Union[Device, int] = None, stream=None):
152 fraction, device: Union[Device, int] = None
195 def memory_stats(device: Union[Device, int] = None) -> Dict[str, Any]:
300 def memory_stats_as_nested_dict(device: Union[Device, int] = None) -> Dict[str, Any]:
308 def reset_accumulated_memory_stats(device: Union[Device, int] = None) -> None:
328 def reset_peak_memory_stats(device: Union[Device, int] = None) -> None:
347 def reset_max_memory_allocated(device: Union[Device, int] = None) -> None:
373 def reset_max_memory_cached(device: Union[Device, int] = None) -> None:
399 def memory_allocated(device: Union[Device, int] = None) -> int:
416 def max_memory_allocated(device: Union[Device, int] = None) -> int:
[all …]
H A D__init__.py874 def _get_nvml_device_index(device: Optional[Union[int, Device]]) -> int: argument
1045 def _get_pynvml_handler(device: Optional[Union[Device, int]] = None):
1062 def _get_amdsmi_handler(device: Optional[Union[Device, int]] = None):
1078 def _get_amdsmi_device_index(device: Optional[Union[int, Device]]) -> int: argument
1092 def _get_amdsmi_memory_usage(device: Optional[Union[Device, int]] = None) -> int:
1098 def _get_amdsmi_utilization(device: Optional[Union[Device, int]] = None) -> int:
1105 def _get_amdsmi_temperature(device: Optional[Union[Device, int]] = None) -> int:
1114 def _get_amdsmi_power_draw(device: Optional[Union[Device, int]] = None) -> int:
1123 def _get_amdsmi_clock_rate(device: Optional[Union[Device, int]] = None) -> int:
1132 def memory_usage(device: Optional[Union[Device, int]] = None) -> int:
[all …]
/aosp_15_r20/device/generic/goldfish/audio/
Dprimary_device.h44 struct Device : public IDevice { struct
106 int32_t ioHandle, const DeviceAddress& device, argument
135 struct PrimaryDevice : public IPrimaryDevice { argument
/aosp_15_r20/external/rust/android-crates-io/crates/vulkano/src/device/
Dmod.rs146 pub struct Device { struct
147 handle: ash::vk::Device, argument
148 physical_device: Arc<PhysicalDevice>, argument
155 fns: DeviceFunctions, argument
156 enabled_extensions: DeviceExtensions, argument
167 impl Device { argument
182 ) -> Result<(Arc<Device>, impl ExactSizeIterator<Item = Arc<Queue>>), DeviceCreationError> { in new()
619 impl Drop for Device { implementation
639 unsafe impl VulkanObject for Device { implementation
823 fn device(&self) -> &Arc<Device>; in device()
[all …]
/aosp_15_r20/external/mesa3d/src/gallium/frontends/rusticl/core/
H A Ddevice.rs33 pub struct Device { struct
47 pub caps: DeviceCaps, argument
53 pub struct DeviceCaps { argument
189 impl Device { implementation
190 fn new(screen: PipeScreen) -> Option<Device> { in new()
1098 pub fn get_devs_for_type(device_type: cl_device_type) -> Vec<&'static Device> { in get_devs_for_type()
1105 pub fn get_dev_for_uuid(uuid: [c_char; UUID_SIZE]) -> Option<&'static Device> { in get_dev_for_uuid()
H A Dprogram.rs105 fn args(&self, dev: &Device, kernel: &str) -> Vec<spirv::SPIRVKernelArg> { in args()
154 fn devs_with_build(&self) -> Vec<&'static Device> { in devs_with_build()
162 pub fn hash_key(&self, dev: &Device, name: &str) -> Option<cache_key> { in hash_key()
282 devs: &[&'static Device], in create_default_builds()
283 ) -> HashMap<&'static Device, ProgramDevBuild> { in create_default_builds()
313 dev: &Device, in spirv_from_bin_for_dev()
377 devs: Vec<&'static Device>, in from_bins()
550 pub fn build(&self, dev: &Device, options: String) -> bool { in build()
593 dev: &Device, in do_compile()
663 pub fn compile(&self, dev: &Device, options: String, headers: &[spirv::CLCHeader]) -> bool { in compile()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/ash/src/vk/
Dfeatures.rs403 _device: Device, in load()
422 _p_device: *mut Device, in load()
1428 _device: Device, in load()
1443 _device: Device, in load()
1501 _device: Device, in load()
1518 _device: Device, in load()
1534 _device: Device, in load()
1552 unsafe extern "system" fn unmap_memory(_device: Device, _memory: DeviceMemory) { in load()
1565 _device: Device, in load()
1585 _device: Device, in load()
[all …]
/aosp_15_r20/external/rust/crates/rusb/src/
Ddevice.rs20 pub struct Device<T: UsbContext> { struct
25 impl<T: UsbContext> Drop for Device<T> { argument
34 impl<T: UsbContext> Clone for Device<T> { implementation
40 unsafe impl<T: UsbContext> Send for Device<T> {} implementation
41 unsafe impl<T: UsbContext> Sync for Device<T> {} implementation
43 impl<T: UsbContext> Debug for Device<T> { implementation
62 impl<T: UsbContext> Device<T> { implementation
/aosp_15_r20/external/rust/android-crates-io/crates/rusb/src/
Ddevice.rs20 pub struct Device<T: UsbContext> { struct
25 impl<T: UsbContext> Drop for Device<T> { argument
34 impl<T: UsbContext> Clone for Device<T> { implementation
40 unsafe impl<T: UsbContext> Send for Device<T> {} implementation
41 unsafe impl<T: UsbContext> Sync for Device<T> {} implementation
43 impl<T: UsbContext> Debug for Device<T> { implementation
62 impl<T: UsbContext> Device<T> { impl
/aosp_15_r20/external/rust/android-crates-io/crates/gbm/src/
Ddevice.rs24 pub struct Device<T: AsFd> { struct
30 impl<T: AsFd> fmt::Debug for Device<T> { argument
38 impl<T: AsFd + Clone> Clone for Device<T> { implementation
47 impl<T: AsFd> AsFd for Device<T> { implementation
53 impl<T: AsFd> AsRaw<ffi::gbm_device> for Device<T> { implementation
59 impl<T: AsFd> Deref for Device<T> { implementation
66 impl<T: AsFd> DerefMut for Device<T> { implementation
72 impl<T: AsFd> Device<T> { implementation
402 impl<T: DrmDevice + AsFd> DrmDevice for Device<T> {} implementation
405 impl<T: DrmControlDevice + AsFd> DrmControlDevice for Device<T> {} implementation
/aosp_15_r20/tools/netsim/rust/daemon/src/devices/
H A Ddevice.rs46 pub struct Device { struct
47 pub id: DeviceIdentifier, argument
54 impl Device { argument
78 impl Device { impl
/aosp_15_r20/hardware/google/graphics/common/libion/test/
Dion_device_test.cpp33 class Device : public IonClientDeviceTest { class
36 TEST_F(Device, KernelRead) in TEST_F() argument
73 TEST_F(Device, KernelWrite) in TEST_F() argument
111 TEST_F(Device, KernelReadCached) in TEST_F() argument
148 TEST_F(Device, KernelWriteCached) in TEST_F() argument
186 TEST_F(Device, DeviceRead) in TEST_F() argument
223 TEST_F(Device, DeviceWrite) in TEST_F() argument
261 TEST_F(Device, DeviceReadCached) in TEST_F() argument
298 TEST_F(Device, DeviceWriteCached) in TEST_F() argument
/aosp_15_r20/external/rust/crates/v4l2r/lib/src/
Ddevice.rs54 pub struct Device { struct
68 impl Device { implementation
101 impl AsFd for Device { implementation
107 impl AsRawFd for Device { implementation
/aosp_15_r20/system/keymint/
H A DREADME.md57 ### Rust Toolchain and Heap Allocator
72 ### HAL Service
109 ### TA Driver
136 ### Bootloader
147 ### Authenticators
161 ### Cryptographic Abstractions
183 ### Device Abstractions
/aosp_15_r20/system/keymint/hal/src/
H A Dsecureclock.rs26 pub struct Device<T: SerializedChannel + 'static> { struct
30 impl<T: SerializedChannel + Send> binder::Interface for Device<T> {} argument
32 impl<T: SerializedChannel + 'static> Device<T> { implementation
46 impl<T: SerializedChannel> ChannelHalService<T> for Device<T> { implementation
52 impl<T: SerializedChannel> ISecureClock::ISecureClock for Device<T> { implementation
H A Dsharedsecret.rs28 pub struct Device<T: SerializedChannel + 'static> { struct
32 impl<T: SerializedChannel + Send> binder::Interface for Device<T> {} argument
34 impl<T: SerializedChannel + 'static> Device<T> { impl
50 impl<T: SerializedChannel> ChannelHalService<T> for Device<T> { implementation
56 impl<T: SerializedChannel> ISharedSecret::ISharedSecret for Device<T> { implementation
H A Drpc.rs25 pub struct Device<T: SerializedChannel + 'static> { struct
29 impl<T: SerializedChannel + 'static> Device<T> { implementation
46 impl<T: SerializedChannel> ChannelHalService<T> for Device<T> { implementation
52 impl<T: SerializedChannel> binder::Interface for Device<T> {} implementation
54 impl<T: SerializedChannel> rkp::IRemotelyProvisionedComponent::IRemotelyProvisionedComponent
/aosp_15_r20/external/rust/pica/src/
Ddevice.rs101 pub struct Device { struct
104 config: DeviceConfig, argument
105 /// [UCI] 5. UWBS Device State Machine argument
106 state: DeviceState, argument
115 impl Device { argument
/aosp_15_r20/system/secretkeeper/
H A DREADME.md97 #### Rust Toolchain and Heap Allocator
112 #### HAL Service
150 #### TA Driver
178 #### Bootloader
194 #### Cryptographic Abstractions
215 #### Device-Specific Abstractions
/aosp_15_r20/system/nfc/tools/casimir/src/
H A Dmain-grpc.rs116 pub struct Device { struct
127 impl Device { impl
132 ) -> Device { in nci()
155 ) -> Device { in rf()
312 impl From<&DeviceInformation> for casimir::Device { implementation
H A Dmain.rs101 pub struct Device { struct
112 impl Device { argument
118 ) -> Device { in nci()
141 ) -> Device { in rf()
/aosp_15_r20/hardware/interfaces/audio/core/all-versions/default/include/core/default/
H A DDevice.h55 struct Device : public IDevice, public ParametersUtil { struct
172 audio_hw_device_t* device() const { return mDevice; } in device() argument
174 uint32_t version() const { return mDevice->common.version; } in version() argument
178 audio_hw_device_t* mDevice; argument
181 virtual ~Device(); argument

12345678910>>...46