Searched refs:BufferWrapper (Results 1 - 9 of 9) sorted by relevance

/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Dbuffer_wrapper.h17 class BufferWrapper;
20 class BufferWrapper<T*> { class in namespace:android::pdx::rpc
30 BufferWrapper() : buffer_(nullptr), capacity_(0), end_(0) {} function in class:android::pdx::rpc::BufferWrapper
32 BufferWrapper(pointer buffer, size_type capacity, size_type size) function in class:android::pdx::rpc::BufferWrapper
37 BufferWrapper(pointer buffer, size_type size) function in class:android::pdx::rpc::BufferWrapper
38 : BufferWrapper(buffer, size, size) {}
40 BufferWrapper(const BufferWrapper& other) { *this = other; } function in class:android::pdx::rpc::BufferWrapper
42 BufferWrapper(BufferWrapper function in class:android::pdx::rpc::BufferWrapper
100 class BufferWrapper<std::vector<T, Allocator>> { class in namespace:android::pdx::rpc
112 BufferWrapper() {} function in class:android::pdx::rpc::BufferWrapper
113 BufferWrapper(const BufferType& buffer) : buffer_(buffer) {} function in class:android::pdx::rpc::BufferWrapper
114 BufferWrapper(const BufferType& buffer, const Allocator& allocator) function in class:android::pdx::rpc::BufferWrapper
116 BufferWrapper(BufferType&& buffer) : buffer_(std::move(buffer)) {} function in class:android::pdx::rpc::BufferWrapper
117 BufferWrapper(BufferType&& buffer, const Allocator& allocator) function in class:android::pdx::rpc::BufferWrapper
[all...]
H A Dtype_operators.h44 // 5. BufferWrapper<T*> is convertible to BufferWrapper<std::vector<T,
46 // 6. BufferWrapper<std::vector<T, ...>> is convertible to BufferWrapper<T*>.
131 // Compares BufferWrapper<A*> and BufferWrapper<std::vector<B>>; these are
135 struct IsConvertible<BufferWrapper<A*>,
136 BufferWrapper<std::vector<B, Allocator>>>
139 struct IsConvertible<BufferWrapper<std::vector<A, Allocator>>,
140 BufferWrapper<
[all...]
H A Dserialization.h59 // * BufferWrapper of any POD type.
258 inline constexpr std::size_t GetSerializedSize(const BufferWrapper<T>&);
320 // Overload for BufferWrapper types.
322 inline constexpr std::size_t GetSerializedSize(const BufferWrapper<T>& b) {
324 b.size() * sizeof(typename BufferWrapper<T>::value_type);
566 // Serializes the type code for BufferWrapper types.
568 inline void SerializeType(const BufferWrapper<T>& value, void*& buffer) {
571 encoding, value.size() * sizeof(typename BufferWrapper<T>::value_type),
848 inline void SerializeObject(const BufferWrapper<std::vector<T, Allocator>>&, MessageWriter*, void*&);
850 inline void SerializeObject(const BufferWrapper<
[all...]
H A Dencoding.h484 inline constexpr EncodingType EncodeType(const BufferWrapper<T>& value) {
487 sizeof(typename BufferWrapper<T>::value_type));
/frameworks/native/services/vr/bufferhubd/
H A Dproducer_channel.h31 using BufferWrapper = pdx::rpc::BufferWrapper<T>;
H A Dproducer_channel.cpp23 using android::pdx::rpc::BufferWrapper;
/frameworks/native/libs/vr/libpdx_default_transport/
H A Dpdx_benchmarks.cpp48 using android::pdx::rpc::BufferWrapper;
156 int(const BufferWrapper<std::vector<uint8_t>> data));
158 BufferWrapper<std::vector<uint8_t>>(
159 const BufferWrapper<std::vector<uint8_t>> data));
393 using BufferType = BufferWrapper<
458 int WriteVector(const BufferWrapper<std::vector<uint8_t>>& data) {
467 int WriteVector(const BufferWrapper<T>& data) {
476 int EchoVector(const BufferWrapper<T>& data, BufferWrapper<U>* data_out) {
758 thread_local BufferWrapper<st
[all...]
/frameworks/native/libs/vr/libpdx_uds/
H A Dremote_method_tests.cpp177 std::pair<int, BufferWrapper<std::uint8_t*>>(
505 std::pair<int, BufferWrapper<std::vector<std::uint8_t>>> OnReadFile(
507 std::pair<int, BufferWrapper<std::vector<std::uint8_t>>> return_value;
748 TEST_F(RemoteMethodTest, BufferWrapper) {
895 (IsConvertible<StringWrapper<char>, BufferWrapper<char*>>::value));
897 // BufferWrapper.
899 (IsConvertible<BufferWrapper<char*>, BufferWrapper<char*>>::value));
901 (IsConvertible<BufferWrapper<char*>, BufferWrapper<cons
[all...]
/frameworks/native/libs/vr/libpdx/
H A Dencoder_performance_test.cpp479 // BufferWrapper can't be used with deserialization tests right now because
485 GenerateContainerName("BufferWrapper<uint8_t*>", len),
486 BufferWrapper<uint8_t*>(data_buffers.back().data(),

Completed in 49 milliseconds