Home
last modified time | relevance | path

Searched refs:HardwareBuffer (Results 1 – 17 of 17) sorted by relevance

/packages/services/Car/car-lib/src/android/car/evs/
DCarEvsBufferDescriptor.java23 import android.hardware.HardwareBuffer;
56 private final HardwareBuffer mHardwareBuffer;
65 public CarEvsBufferDescriptor(int id, @NonNull final HardwareBuffer buffer) { in CarEvsBufferDescriptor()
75 mHardwareBuffer = Objects.requireNonNull(HardwareBuffer.CREATOR.createFromParcel(in)); in CarEvsBufferDescriptor()
110 public HardwareBuffer getHardwareBuffer() { in getHardwareBuffer()
/packages/modules/NeuralNetworks/common/
DSharedMemoryAndroid.cpp177 size_t getSize(const Memory::HardwareBuffer& memory) { in getSize()
212 GeneralResult<Mapping> map(const Memory::HardwareBuffer& memory) { in map()
274 const Memory::HardwareBuffer::Deleter deleter = (takeOwnership ? freeHardwareBuffer : freeNoop); in createSharedMemoryFromAHWB()
275 Memory::HardwareBuffer handle = {.handle = Memory::HardwareBuffer::Handle(ahwb, deleter)}; in createSharedMemoryFromAHWB()
284 bool isAhwbBlob(const Memory::HardwareBuffer& memory) { in isAhwbBlob()
293 if (!std::holds_alternative<Memory::HardwareBuffer>(memory->handle)) { in isAhwbBlob()
296 return isAhwbBlob(std::get<Memory::HardwareBuffer>(memory->handle)); in isAhwbBlob()
DTypeUtils.cpp745 static std::ostream& operator<<(std::ostream& os, const Memory::HardwareBuffer& memory) { in operator <<()
DValidation.cpp760 Result<Version> validateMemory(const Memory::HardwareBuffer& memory) { in validateMemory()
/packages/modules/ExtServices/java/tests/src/android/ext/services/displayhash/
DDisplayHashingServiceImplTest.java27 import android.hardware.HardwareBuffer;
47 private final HardwareBuffer mBuffer = HardwareBuffer.create(10, 10,
48 HardwareBuffer.RGBX_8888, 1, HardwareBuffer.USAGE_CPU_READ_RARELY);
DMockImageHashManager.java18 import android.hardware.HardwareBuffer;
26 @Size(8) byte[] generateHash(HardwareBuffer hardwareBuffer, String hashAlgorithm) { in generateHash()
/packages/modules/ExtServices/java/src/android/ext/services/displayhash/
DImageHashManager.java19 import android.hardware.HardwareBuffer;
35 private static native byte[] nativeGenerateHash(HardwareBuffer hardwareBuffer, in nativeGenerateHash()
39 @Size(8) byte[] generateHash(@NonNull HardwareBuffer hardwareBuffer, String hashAlgorithm) { in generateHash()
DDisplayHashingServiceImpl.java23 import android.hardware.HardwareBuffer;
63 @NonNull HardwareBuffer buffer, @NonNull Rect bounds, in onGenerateDisplayHash()
/packages/services/Car/cpp/computepipe/aidl/android/automotive/computepipe/runner/
DPacketDescriptor.aidl19 import android.hardware.graphics.common.HardwareBuffer;
46 HardwareBuffer handle;
/packages/services/Car/tests/CarEvsCameraPreviewApp/src/com/google/android/car/evs/
DGLES20CarEvsCameraPreviewRenderer.java27 import android.hardware.HardwareBuffer;
165 HardwareBuffer buffer = bufferToRender.getHardwareBuffer(); in onDrawFrame()
364 private native boolean nUpdateTexture(HardwareBuffer buffer, int textureId); in nUpdateTexture()
/packages/services/Car/cpp/computepipe/aidl/aidl_api/android.automotive.computepipe.runner/1/android/automotive/computepipe/runner/
DPacketDescriptor.aidl24 android.hardware.graphics.common.HardwareBuffer handle;
/packages/services/Car/cpp/computepipe/aidl/aidl_api/android.automotive.computepipe.runner/current/android/automotive/computepipe/runner/
DPacketDescriptor.aidl24 android.hardware.graphics.common.HardwareBuffer handle;
/packages/modules/NeuralNetworks/common/include/nnapi/
DTypes.h645 struct HardwareBuffer { struct
657 std::variant<Ashmem, Fd, HardwareBuffer, Unknown> handle;
DSharedMemory.h96 bool isAhwbBlob(const Memory::HardwareBuffer& memory);
/packages/modules/NeuralNetworks/tools/api/
DTypes.t171 struct HardwareBuffer {
183 std::variant<Ashmem, Fd, HardwareBuffer, Unknown> handle;
/packages/services/Car/service/src/com/android/car/evs/
DCarEvsService.java50 import android.hardware.HardwareBuffer;
1238 private void processNewFrame(int id, @NonNull HardwareBuffer buffer) { in processNewFrame()
1263 private void postNativeFrameHandler(int id, HardwareBuffer buffer) { in postNativeFrameHandler()
/packages/services/Car/car-lib/api/
Dsystem-current.txt641 ctor public CarEvsBufferDescriptor(int, @NonNull android.hardware.HardwareBuffer);
643 method @NonNull public android.hardware.HardwareBuffer getHardwareBuffer();