Home
last modified time | relevance | path

Searched refs:hardware (Results 1 – 25 of 1165) sorted by relevance

12345678910>>...47

/external/minigbm/cros_gralloc/gralloc4/
DCrosGralloc4Mapper.h12 class CrosGralloc4Mapper : public android::hardware::graphics::mapper::V4_0::IMapper {
16 android::hardware::Return<void> createDescriptor(const BufferDescriptorInfo& description,
19 android::hardware::Return<void> importBuffer(const android::hardware::hidl_handle& rawHandle,
22 android::hardware::Return<android::hardware::graphics::mapper::V4_0::Error> freeBuffer(
25 android::hardware::Return<android::hardware::graphics::mapper::V4_0::Error> validateBufferSize(
28 android::hardware::Return<void> getTransportSize(void* rawHandle,
31 android::hardware::Return<void> lock(void* rawHandle, uint64_t cpuUsage,
33 const android::hardware::hidl_handle& acquireFence,
36 android::hardware::Return<void> unlock(void* rawHandle, unlock_cb hidlCb) override;
38 android::hardware::Return<void> flushLockedBuffer(void* rawHandle,
[all …]
DCrosGralloc4Utils.h18 std::string getPixelFormatString(android::hardware::graphics::common::V1_2::PixelFormat format);
21 android::hardware::hidl_bitfield<android::hardware::graphics::common::V1_2::BufferUsage>
24 int convertToDrmFormat(android::hardware::graphics::common::V1_2::PixelFormat format,
30 const android::hardware::graphics::mapper::V4_0::IMapper::BufferDescriptorInfo& descriptor,
35 int convertToFenceFd(const android::hardware::hidl_handle& fence_handle, int* out_fence_fd);
37 int convertToFenceHandle(int fence_fd, android::hardware::hidl_handle* out_fence_handle);
41 std::vector<aidl::android::hardware::graphics::common::PlaneLayout>* out_layouts);
DCrosGralloc4Allocator.h12 class CrosGralloc4Allocator : public android::hardware::graphics::allocator::V4_0::IAllocator {
16 android::hardware::Return<void> allocate(const android::hardware::hidl_vec<uint8_t>& descriptor,
20 android::hardware::graphics::mapper::V4_0::Error allocate(
21 const android::hardware::graphics::mapper::V4_0::IMapper::BufferDescriptorInfo&
23 uint32_t* outStride, android::hardware::hidl_handle* outHandle);
DCrosGralloc4Allocator.cc15 using android::hardware::hidl_handle;
16 using android::hardware::hidl_vec;
17 using android::hardware::Return;
18 using android::hardware::Void;
19 using android::hardware::graphics::common::V1_2::BufferUsage;
20 using android::hardware::graphics::common::V1_2::PixelFormat;
21 using android::hardware::graphics::mapper::V4_0::Error;
24 android::hardware::graphics::mapper::V4_0::IMapper::BufferDescriptorInfo;
DCrosGralloc4AllocatorService.cc14 using android::hardware::configureRpcThreadpool;
15 using android::hardware::joinRpcThreadpool;
16 using android::hardware::graphics::allocator::V4_0::IAllocator;
27 android::hardware::joinRpcThreadpool(); in main()
DAndroid.bp18 name: "android.hardware.graphics.allocator@4.0-service.minigbm",
21 init_rc: ["android.hardware.graphics.allocator@4.0-service.minigbm.rc"],
29 "android.hardware.graphics.allocator@4.0",
30 "android.hardware.graphics.mapper@4.0",
53 name: "android.hardware.graphics.mapper@4.0-impl.minigbm",
63 "android.hardware.graphics.mapper@4.0",
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DCameraEnumerationAndroid.java117 String[] names = new String[android.hardware.Camera.getNumberOfCameras()]; in getDeviceNames()
118 for (int i = 0; i < android.hardware.Camera.getNumberOfCameras(); ++i) { in getDeviceNames()
126 return android.hardware.Camera.getNumberOfCameras(); in getDeviceCount()
132 android.hardware.Camera.CameraInfo info = new android.hardware.Camera.CameraInfo(); in getDeviceName()
134 android.hardware.Camera.getCameraInfo(index, info); in getDeviceName()
141 (info.facing == android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT) ? "front" : "back"; in getDeviceName()
149 return getNameOfDevice(android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in getNameOfFrontFacingDevice()
155 return getNameOfDevice(android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK); in getNameOfBackFacingDevice()
184 public static int[] getFramerateRange(android.hardware.Camera.Parameters parameters, in getFramerateRange()
195 return range[android.hardware.Camera.Parameters.PREVIEW_FPS_MIN_INDEX] in getFramerateRange()
[all …]
DVideoCapturerAndroid.java66 android.hardware.Camera.PreviewCallback,
72 private android.hardware.Camera camera; // Only non-null while capturing.
79 private android.hardware.Camera.CameraInfo info;
110 private final android.hardware.Camera.ErrorCallback cameraErrorCallback =
111 new android.hardware.Camera.ErrorCallback() {
113 public void onError(int error, android.hardware.Camera camera) {
115 if (error == android.hardware.Camera.CAMERA_ERROR_SERVER_DIED) {
239 if (android.hardware.Camera.getNumberOfCameras() < 2) { in switchCamera()
271 info.facing == android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in switchCamera()
353 if (deviceName == null || android.hardware.Camera.getNumberOfCameras() == 0) { in lookupDeviceName()
[all …]
DCameraEnumerator.java62 final android.hardware.Camera.Parameters parameters; in enumerateFormats()
63 android.hardware.Camera camera = null; in enumerateFormats()
66 camera = android.hardware.Camera.open(cameraId); in enumerateFormats()
86 minFps = range[android.hardware.Camera.Parameters.PREVIEW_FPS_MIN_INDEX]; in enumerateFormats()
87 maxFps = range[android.hardware.Camera.Parameters.PREVIEW_FPS_MAX_INDEX]; in enumerateFormats()
89 for (android.hardware.Camera.Size size : parameters.getSupportedPreviewSizes()) { in enumerateFormats()
/external/mesa3d/bin/
Dupdate-android-headers.sh10 if [ ! -d platform-hardware-libhardware ]; then
11 …lone --depth 1 https://android.googlesource.com/platform/hardware/libhardware platform-hardware-li…
38 mkdir ${dest}/hardware
39 cp -av platform-hardware-libhardware/include/hardware/{hardware,gralloc,gralloc1,fb}.h ${dest}/hard…
40 cp -av platform-frameworks-native/vulkan/include/hardware/hwvulkan.h ${dest}/hardware
/external/skqp/tools/skpbench/
Dskpbench.py200 def execute(self, hardware): argument
201 hardware.sanity_check()
222 hardware.sanity_check()
224 elif hardware.filter_line(message.value):
228 hardware.sanity_check()
272 def run_benchmarks(configs, srcs, hardware, resultsfile=None): argument
279 with hardware:
280 SKPBench.run_warmup(hardware.warmup_time, configs[0])
288 skpbench.execute(hardware)
311 hardware.print_debug_diagnostics()
[all …]
/external/skia/tools/skpbench/
Dskpbench.py207 def execute(self, hardware): argument
208 hardware.sanity_check()
229 hardware.sanity_check()
231 elif hardware.filter_line(message.value):
235 hardware.sanity_check()
279 def run_benchmarks(configs, srcs, hardware, resultsfile=None): argument
286 with hardware:
287 SKPBench.run_warmup(hardware.warmup_time, configs[0])
295 skpbench.execute(hardware)
318 hardware.print_debug_diagnostics()
[all …]
/external/perfetto/test/trace_processor/
Dthread_cpu_time_example_android_trace_30s.out407 759,759,"provider@2.4-se","/vendor/bin/hw/android.hardware.camera.provider@2.4-service",3337433441
408 1543,759,"CAM_imgTh","/vendor/bin/hw/android.hardware.camera.provider@2.4-service",3337433441
409 1696,759,"provider@2.4-se","/vendor/bin/hw/android.hardware.camera.provider@2.4-service",3337433441
410 1926,759,"HwBinder:759_1","/vendor/bin/hw/android.hardware.camera.provider@2.4-service",3337433441
411 5606,759,"HwBinder:759_1","/vendor/bin/hw/android.hardware.camera.provider@2.4-service",3337433441
412 5607,759,"HwBinder:759_1","/vendor/bin/hw/android.hardware.camera.provider@2.4-service",3337433441
413 5608,759,"HwBinder:759_1","/vendor/bin/hw/android.hardware.camera.provider@2.4-service",3337433441
414 5609,759,"QCamera3HdrPlus","/vendor/bin/hw/android.hardware.camera.provider@2.4-service",3337433441
415 5610,759,"CAM_MctServ","/vendor/bin/hw/android.hardware.camera.provider@2.4-service",3337433441
416 5611,759,"CAM_MctBus","/vendor/bin/hw/android.hardware.camera.provider@2.4-service",3337433441
[all …]
/external/libese/esed/
DOemLock.h30 using ::android::hardware::oemlock::V1_0::IOemLock;
31 using ::android::hardware::oemlock::V1_0::OemLockSecureStatus;
32 using ::android::hardware::oemlock::V1_0::OemLockStatus;
33 using ::android::hardware::hidl_vec;
34 using ::android::hardware::Return;
DWeaver.h30 using ::android::hardware::weaver::V1_0::IWeaver;
31 using ::android::hardware::weaver::V1_0::WeaverStatus;
32 using ::android::hardware::hidl_vec;
33 using ::android::hardware::Return;
/external/u-boot/doc/
DREADME.bus_vcxk24 The driver needs some defines to describe the target hardware:
28 base address of VCxK hardware memory
45 describes the acknowledge line from vcxk hardware
48 describes the enable line to vcxk hardware
51 describes the invert line to vcxk hardware
54 describes the reset line to vcxk hardware
57 describes the request line to vcxk hardware
/external/u-boot/drivers/hwspinlock/
DKconfig4 bool "Enable U-Boot hardware spinlock support"
6 This option enables U-Boot hardware spinlock support
12 Enable hardware spinlock support in Sandbox. This is a dummy device that
20 Enable hardware spinlock support in STM32MP. Hardware spinlocks are
21 hardware mutex which provide a synchronisation mechanism for the
/external/perfetto/src/android_internal/
Dpower_stats_hal.cc28 using android::hardware::hidl_vec;
29 using android::hardware::Return;
30 using android::hardware::power::stats::V1_0::EnergyData;
31 using android::hardware::power::stats::V1_0::IPowerStats;
32 using android::hardware::power::stats::V1_0::RailInfo;
33 using android::hardware::power::stats::V1_0::Status;
Datrace_hal.cc25 using android::hardware::hidl_string;
26 using android::hardware::hidl_vec;
27 using android::hardware::Return;
28 using android::hardware::atrace::V1_0::IAtraceDevice;
29 using android::hardware::atrace::V1_0::TracingCategory;
/external/tensorflow/tensorflow/core/profiler/protobuf/
Dhardware_types.proto1 // This proto describes the types of hardware profiled by the TensorFlow
7 // Types of hardware profiled.
9 // Unknown hardware.
11 // CPU only without any hardware accelerator.
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Hexagon/PacketRules/
Dendloop_branches.s5 # CHECK: 4:1: error: Branches cannot be in a packet with hardware loops
9 # CHECK: 8:1: error: Branches cannot be in a packet with hardware loops
13 # CHECK: 12:1: error: Branches cannot be in a packet with hardware loops
17 # CHECK: 16:1: error: Branches cannot be in a packet with hardware loops
/external/wpa_supplicant_8/hostapd/hidl/1.2/
Dhidl.cpp23 using android::hardware::configureRpcThreadpool;
24 using android::hardware::IPCThreadState;
25 using android::hardware::wifi::hostapd::V1_2::IHostapd;
26 using android::hardware::wifi::hostapd::V1_2::implementation::Hostapd;
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.3/
Dandroid.hardware.wifi.supplicant-service.rc8 interface android.hardware.wifi.supplicant@1.0::ISupplicant default
9 interface android.hardware.wifi.supplicant@1.1::ISupplicant default
10 interface android.hardware.wifi.supplicant@1.2::ISupplicant default
11 interface android.hardware.wifi.supplicant@1.3::ISupplicant default
/external/webrtc/webrtc/tools/e2e_quality/audio/
Daudio_e2e_harness.cc42 VoEHardware* hardware = VoEHardware::GetInterface(voe); in RunHarness() local
43 ASSERT_TRUE(hardware != NULL); in RunHarness()
71 ASSERT_EQ(0, hardware->GetNumOfPlayoutDevices(num_devices)); in RunHarness()
77 ASSERT_EQ(0, hardware->GetPlayoutDeviceName(device_index, device_name, in RunHarness()
85 ASSERT_EQ(0, hardware->SetPlayoutDevice(device_index)); in RunHarness()
/external/tensorflow/tensorflow/compiler/xla/g3doc/
Ddeveloping_new_backend.md4 TensorFlow to their hardware in an efficient manner. The guide is not
11 TensorFlow Op for new hardware.
17 2. Non-CPU-like hardware with an existing LLVM backend.
18 3. Non-CPU-like hardware without an existing LLVM backend.
31 If the hardware vendor has an LLVM backend for their hardware, it is simple to
40 ## Scenario 2: Non-CPU-like hardware with an existing LLVM backend
48 hardware, it is possible that many of the LLVM IR generation aspects will have
54 of its code generation are unique to the GPU domain. Other kinds of hardware,
58 ## Scenario 3: Non-CPU-like hardware without an existing LLVM backend
61 new backend for XLA for the desired hardware. This option requires the most

12345678910>>...47