/packages/services/Car/tests/CarLibUnitTest/src/android/car/evs/ |
D | CarEvsManagerUnitTest.java | 40 import android.hardware.HardwareBuffer; 176 @IgnoreUnderRavenwood(blockedBy = HardwareBuffer.class) 194 HardwareBuffer hwbuffer = in testStartVideoStreamWithoutToken() 195 HardwareBuffer.create(/* width= */ 64, /* height= */ 32, in testStartVideoStreamWithoutToken() 196 /* format= */ HardwareBuffer.RGBA_8888, in testStartVideoStreamWithoutToken() 198 /* usage= */ HardwareBuffer.USAGE_CPU_READ_OFTEN); in testStartVideoStreamWithoutToken() 328 @IgnoreUnderRavenwood(blockedBy = HardwareBuffer.class) 331 HardwareBuffer hwbuffer = in testReturnFrameBuffer() 332 HardwareBuffer.create(/* width= */ 64, /* height= */ 32, in testReturnFrameBuffer() 333 /* format= */ HardwareBuffer.RGBA_8888, in testReturnFrameBuffer() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/evs/ |
D | CarEvsServiceUnitTest.java | 71 import android.hardware.HardwareBuffer; 327 HardwareBuffer buffer = in testOnEvent() 328 HardwareBuffer.create(/* width= */ 64, /* height= */ 32, in testOnEvent() 329 /* format= */ HardwareBuffer.RGBA_8888, in testOnEvent() 331 /* usage= */ HardwareBuffer.USAGE_CPU_READ_OFTEN); in testOnEvent() 377 HardwareBuffer buffer = in testInvalidStreamCallback() 378 HardwareBuffer.create(/* width= */ 64, /* height= */ 32, in testInvalidStreamCallback() 379 /* format= */ HardwareBuffer.RGBA_8888, in testInvalidStreamCallback() 381 /* usage= */ HardwareBuffer.USAGE_CPU_READ_OFTEN); in testInvalidStreamCallback() 782 HardwareBuffer buffer = in testStartActivity() [all …]
|
/packages/services/Car/car-lib/src/android/car/evs/ |
D | CarEvsBufferDescriptor.java | 32 import android.hardware.HardwareBuffer; 69 private final HardwareBuffer mHardwareBuffer; 78 public CarEvsBufferDescriptor(int id, @NonNull final HardwareBuffer buffer) { in CarEvsBufferDescriptor() 92 @NonNull HardwareBuffer buffer) { in CarEvsBufferDescriptor() 104 mHardwareBuffer = Objects.requireNonNull(HardwareBuffer.CREATOR.createFromParcel(in)); in CarEvsBufferDescriptor() 160 public HardwareBuffer getHardwareBuffer() { in getHardwareBuffer()
|
/packages/services/Car/cpp/evs/manager/aidl/utils/include/ |
D | Utils.h | 48 static aidlgfx::common::HardwareBuffer makeHwBufferFromHidlBuffer( 51 static aidlgfx::common::HardwareBuffer makeHwBufferFromHidlBuffer( 67 const hidlgfx::common::V1_2::HardwareBuffer& hidlBuffer); 105 static hidlgfx::common::V1_2::HardwareBuffer makeToHidl( 106 const aidlgfx::common::HardwareBuffer& aidlDesc, bool doDup = true); 134 static aidlgfx::common::HardwareBuffer dupHardwareBuffer( 135 const aidlgfx::common::HardwareBuffer& buffer, bool doDup);
|
/packages/modules/NeuralNetworks/common/types/src/ |
D | SharedMemoryAndroid.cpp | 132 size_t getSize(const Memory::HardwareBuffer& memory) { in getSize() 174 GeneralResult<Mapping> map(const Memory::HardwareBuffer& memory) { in map() 246 const Memory::HardwareBuffer::Deleter deleter = (takeOwnership ? freeHardwareBuffer : freeNoop); in createSharedMemoryFromAHWB() 247 Memory::HardwareBuffer handle = {.handle = Memory::HardwareBuffer::Handle(ahwb, deleter)}; in createSharedMemoryFromAHWB() 257 bool isAhwbBlob(const Memory::HardwareBuffer& memory) { in isAhwbBlob() 273 if (!std::holds_alternative<Memory::HardwareBuffer>(memory->handle)) { in isAhwbBlob() 276 return isAhwbBlob(std::get<Memory::HardwareBuffer>(memory->handle)); in isAhwbBlob()
|
/packages/services/Car/cpp/evs/apps/default/src/ |
D | Utils.cpp | 27 using aidl::android::hardware::graphics::common::HardwareBuffer; 42 HardwareBuffer dupHardwareBuffer(const HardwareBuffer& buffer) { in dupHardwareBuffer() 43 HardwareBuffer dup = { in dupHardwareBuffer()
|
/packages/modules/ExtServices/java/tests/src/android/ext/services/displayhash/ |
D | DisplayHashingServiceImplTest.java | 27 import android.hardware.HardwareBuffer; 47 private final HardwareBuffer mBuffer = HardwareBuffer.create(10, 10, 48 HardwareBuffer.RGBX_8888, 1, HardwareBuffer.USAGE_CPU_READ_RARELY);
|
D | MockImageHashManager.java | 18 import android.hardware.HardwareBuffer; 26 @Size(8) byte[] generateHash(HardwareBuffer hardwareBuffer, String hashAlgorithm) { in generateHash()
|
/packages/modules/ExtServices/java/src/android/ext/services/displayhash/ |
D | ImageHashManager.java | 19 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()
|
D | DisplayHashingServiceImpl.java | 23 import android.hardware.HardwareBuffer; 63 @NonNull HardwareBuffer buffer, @NonNull Rect bounds, in onGenerateDisplayHash()
|
/packages/services/Car/cpp/computepipe/aidl/android/automotive/computepipe/runner/ |
D | PacketDescriptor.aidl | 19 import android.hardware.graphics.common.HardwareBuffer; 46 HardwareBuffer handle;
|
/packages/services/Car/car-lib/src/com/android/car/internal/evs/ |
D | EvsHalWrapper.java | 19 import android.hardware.HardwareBuffer; 33 void onFrameEvent(int id, HardwareBuffer buffer); in onFrameEvent()
|
/packages/services/Car/cpp/evs/manager/aidl/utils/src/ |
D | Utils.cpp | 38 using ::aidl::android::hardware::graphics::common::HardwareBuffer; 45 using HIDLHardwareBuffer = ::android::hardware::graphics::common::V1_2::HardwareBuffer; 87 HardwareBuffer Utils::makeHwBufferFromHidlBuffer(const hidlevs::V1_0::BufferDesc& hidlBuffer, in makeHwBufferFromHidlBuffer() 95 HardwareBuffer hwBuffer = { in makeHwBufferFromHidlBuffer() 126 HardwareBuffer Utils::makeHwBufferFromHidlBuffer(const hidlevs::V1_1::BufferDesc& hidlBuffer, in makeHwBufferFromHidlBuffer() 134 HardwareBuffer hwBuffer = { in makeHwBufferFromHidlBuffer() 181 HIDLHardwareBuffer Utils::makeToHidl(const HardwareBuffer& aidlBuffer, bool doDup) { in makeToHidl() 538 HardwareBuffer Utils::dupHardwareBuffer(const HardwareBuffer& buffer, bool doDup) { in dupHardwareBuffer() 539 HardwareBuffer dup = { in dupHardwareBuffer()
|
/packages/services/Car/service/jni/evs/ |
D | StreamHandler.cpp | 36 using ::aidl::android::hardware::graphics::common::HardwareBuffer; 57 HardwareBuffer dupHardwareBuffer(const HardwareBuffer& buffer, bool doDup) { in dupHardwareBuffer() 58 HardwareBuffer dup = { in dupHardwareBuffer()
|
/packages/services/Car/service-builtin/src/com/android/car/evs/ |
D | EvsHalWrapperImpl.java | 19 import android.hardware.HardwareBuffer; 174 private void postNativeFrameHandler(int id, HardwareBuffer buffer) { in postNativeFrameHandler()
|
/packages/services/Car/libs/car-evs-helper-lib/src/com/android/car/internal/evs/ |
D | GLES20CarEvsBufferRenderer.java | 22 import android.hardware.HardwareBuffer; 204 HardwareBuffer buffer = bufferToRender.getHardwareBuffer(); in onDrawFrame() 365 private native boolean nUpdateTexture(HardwareBuffer buffer, int textureId); in nUpdateTexture()
|
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/ |
D | CameraController.java | 27 import android.hardware.HardwareBuffer; 297 HardwareBuffer hardwareBuffer; 681 long usage = HardwareBuffer.USAGE_CPU_READ_OFTEN | HardwareBuffer.USAGE_VIDEO_ENCODE; in setWebcamStreamConfig() 689 .setDefaultHardwareBufferFormat(HardwareBuffer.YCBCR_420_888) in setWebcamStreamConfig() 751 long usage = HardwareBuffer.USAGE_CPU_READ_OFTEN; in startShowingCameraUnavailableLogoNoOffload() 759 .setDefaultHardwareBufferFormat(HardwareBuffer.RGBA_8888) in startShowingCameraUnavailableLogoNoOffload() 1682 public HardwareBuffer buffer; 1683 public ImageAndBuffer(Image i, HardwareBuffer b) { in ImageAndBuffer()
|
D | DeviceAsWebcamFgService.java | 28 import android.hardware.HardwareBuffer; 570 public native int nativeEncodeImage(HardwareBuffer buffer, long timestamp, int rotation); in nativeEncodeImage()
|
/packages/services/Car/cpp/computepipe/aidl/aidl_api/android.automotive.computepipe.runner/1/android/automotive/computepipe/runner/ |
D | PacketDescriptor.aidl | 24 android.hardware.graphics.common.HardwareBuffer handle;
|
/packages/services/Car/cpp/computepipe/aidl/aidl_api/android.automotive.computepipe.runner/current/android/automotive/computepipe/runner/ |
D | PacketDescriptor.aidl | 24 android.hardware.graphics.common.HardwareBuffer handle;
|
/packages/modules/NeuralNetworks/common/types/include/nnapi/ |
D | Types.h | 654 struct HardwareBuffer { struct 670 std::variant<Ashmem, Fd, HardwareBuffer, Unknown> handle;
|
D | SharedMemory.h | 99 bool isAhwbBlob(const Memory::HardwareBuffer& memory);
|
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/ |
D | MockEvsHal.cpp | 59 using ::aidl::android::hardware::graphics::common::HardwareBuffer; 89 HardwareBuffer copyHardwareBuffer(const HardwareBuffer& buffer, bool doDup) { in copyHardwareBuffer() 90 HardwareBuffer copied = { in copyHardwareBuffer()
|
/packages/services/Car/service/src/com/android/car/evs/ |
D | StateMachine.java | 45 import android.hardware.HardwareBuffer; 163 public void onFrameEvent(int id, HardwareBuffer buffer) { in onFrameEvent() 255 private int processNewFrame(int id, @NonNull HardwareBuffer buffer) { in processNewFrame()
|
/packages/modules/NeuralNetworks/tools/api/ |
D | Types.t | 180 struct HardwareBuffer { 196 std::variant<Ashmem, Fd, HardwareBuffer, Unknown> handle;
|