/hardware/google/aemu/base/include/aemu/base/utils/ |
D | stream.h | 27 typedef struct Stream Stream; typedef 29 ssize_t stream_read(Stream* stream, void* buffer, size_t size); 30 ssize_t stream_write(Stream* stream, const void* buffer, size_t size); 32 void stream_put_byte(Stream* stream, int v); 33 void stream_put_be16(Stream* stream, uint16_t v); 34 void stream_put_be32(Stream* stream, uint32_t v); 35 void stream_put_be64(Stream* stream, uint64_t v); 37 uint8_t stream_get_byte(Stream* stream); 38 uint16_t stream_get_be16(Stream* stream); 39 uint32_t stream_get_be32(Stream* stream); [all …]
|
/hardware/google/aemu/base/ |
D | CStream.cpp | 22 typedef android::base::Stream BaseStream; 24 static BaseStream* asBaseStream(Stream* stream) { in asBaseStream() 28 ssize_t stream_read(Stream* stream, void* buffer, size_t len) { in stream_read() 32 ssize_t stream_write(Stream* stream, const void* buffer, size_t len) { in stream_write() 36 void stream_put_byte(Stream* stream, int v) { in stream_put_byte() 40 void stream_put_be16(Stream* stream, uint16_t v) { in stream_put_be16() 44 void stream_put_be32(Stream* stream, uint32_t v) { in stream_put_be32() 48 void stream_put_be64(Stream* stream, uint64_t v) { in stream_put_be64() 52 uint8_t stream_get_byte(Stream* stream) { in stream_get_byte() 56 uint16_t stream_get_be16(Stream* stream) { in stream_get_be16() [all …]
|
D | Stream.cpp | 23 void Stream::putByte(uint8_t value) { in putByte() 27 uint8_t Stream::getByte() { in getByte() 33 void Stream::putBe16(uint16_t value) { in putBe16() 38 uint16_t Stream::getBe16() { in getBe16() 44 void Stream::putBe32(uint32_t value) { in putBe32() 53 uint32_t Stream::getBe32() { in getBe32() 62 void Stream::putBe64(uint64_t value) { in putBe64() 75 uint64_t Stream::getBe64() { in getBe64() 88 void Stream::putFloat(float v) { in putFloat() 97 float Stream::getFloat() { in getFloat() [all …]
|
D | StreamSerializing.cpp | 20 void saveStream(Stream* stream, const MemStream& memStream) { in saveStream() 24 void loadStream(Stream* stream, MemStream* memStream) { in loadStream() 28 void saveBufferRaw(Stream* stream, char* buffer, uint32_t len) { in saveBufferRaw() 33 bool loadBufferRaw(Stream* stream, char* buffer) { in loadBufferRaw() 39 void saveStringArray(Stream* stream, const char* const* strings, uint32_t count) { in saveStringArray() 46 std::vector<std::string> loadStringArray(Stream* stream) { in loadStringArray()
|
D | SubAllocator.cpp | 56 bool save(Stream* stream) { in save() 59 Stream* stream = reinterpret_cast<Stream*>(context); in save() 66 Stream* stream = reinterpret_cast<Stream*>(context); in save() 83 bool load(Stream* stream) { in load() 87 Stream* stream = reinterpret_cast<Stream*>(context); in load() 94 Stream* stream = reinterpret_cast<Stream*>(context); in load() 217 bool SubAllocator::save(Stream* stream) { in save() 221 bool SubAllocator::load(Stream* stream) { in load()
|
/hardware/google/gfxstream/guest/android-emu/aemu/base/files/ |
D | Stream.cpp | 23 void Stream::putByte(uint8_t value) { in putByte() 27 uint8_t Stream::getByte() { in getByte() 33 void Stream::putBe16(uint16_t value) { in putBe16() 38 uint16_t Stream::getBe16() { in getBe16() 44 void Stream::putBe32(uint32_t value) { in putBe32() 53 uint32_t Stream::getBe32() { in getBe32() 62 void Stream::putBe64(uint64_t value) { in putBe64() 75 uint64_t Stream::getBe64() { in getBe64() 88 void Stream::putFloat(float v) { in putFloat() 97 float Stream::getFloat() { in getFloat() [all …]
|
D | StreamSerializing.h | 32 void saveStream(Stream* stream, const MemStream& memStream); 33 void loadStream(Stream* stream, MemStream* memStream); 35 void saveBufferRaw(Stream* stream, char* buffer, uint32_t len); 36 bool loadBufferRaw(Stream* stream, char* buffer); 39 void saveBuffer(Stream* stream, const std::vector<T>& buffer) { in saveBuffer() 45 bool loadBuffer(Stream* stream, std::vector<T>* buffer) { in loadBuffer() 53 void saveBuffer(Stream* stream, const SmallVector<T>& buffer) { in saveBuffer() 59 bool loadBuffer(Stream* stream, SmallVector<T>* buffer) { in loadBuffer() 68 void saveBuffer(Stream* stream, const std::vector<T>& buffer, SaveFunc&& saver) { in saveBuffer() 76 void saveBuffer(Stream* stream, const T* buffer, size_t numElts) { in saveBuffer() [all …]
|
D | StreamSerializing.cpp | 20 void saveStream(Stream* stream, const MemStream& memStream) { in saveStream() 24 void loadStream(Stream* stream, MemStream* memStream) { in loadStream() 28 void saveBufferRaw(Stream* stream, char* buffer, uint32_t len) { in saveBufferRaw() 33 bool loadBufferRaw(Stream* stream, char* buffer) { in loadBufferRaw() 39 void saveStringArray(Stream* stream, const char* const* strings, uint32_t count) { in saveStringArray() 46 std::vector<std::string> loadStringArray(Stream* stream) { in loadStringArray()
|
/hardware/interfaces/audio/core/all-versions/default/ |
D | Stream.cpp | 47 Stream::Stream(bool isInput, audio_stream_t* stream) : mIsInput(isInput), mStream(stream) { in Stream() function in android::hardware::audio::CPP_VERSION::implementation::Stream 51 Stream::~Stream() { in ~Stream() 56 Result Stream::analyzeStatus(const char* funcName, int status) { in analyzeStatus() 61 Result Stream::analyzeStatus(const char* funcName, int status, in analyzeStatus() 66 char* Stream::halGetParameters(const char* keys) { in halGetParameters() 70 int Stream::halSetParameters(const char* keysAndValues) { in halSetParameters() 75 Return<uint64_t> Stream::getFrameSize() { in getFrameSize() 82 Return<uint64_t> Stream::getFrameCount() { in getFrameCount() 88 Return<uint64_t> Stream::getBufferSize() { in getBufferSize() 93 Return<uint32_t> Stream::getSampleRate() { in getSampleRate() [all …]
|
/hardware/libhardware/modules/camera/3_0/ |
D | Stream.cpp | 35 Stream::Stream(int id, camera3_stream_t *s) in Stream() function in default_camera_hal::Stream 51 Stream::~Stream() in ~Stream() 57 void Stream::setUsage(uint32_t usage) in setUsage() 67 void Stream::setMaxBuffers(uint32_t max_buffers) in setMaxBuffers() 77 int Stream::getType() in getType() 82 bool Stream::isInputType() in isInputType() 88 bool Stream::isOutputType() in isOutputType() 94 const char* Stream::typeToString(int type) in typeToString() 107 const char* Stream::formatToString(int format) in formatToString() 147 bool Stream::isRegistered() in isRegistered() [all …]
|
D | Camera.h | 70 Stream *reuseStream(camera3_stream_t *astream); 72 void destroyStreams(Stream **array, int count); 74 bool isValidStreamSet(Stream **array, int count); 76 void setupStreams(Stream **array, int count); 107 Stream **mStreams;
|
/hardware/google/aemu/base/include/aemu/base/files/ |
D | StreamSerializing.h | 32 void saveStream(Stream* stream, const MemStream& memStream); 33 void loadStream(Stream* stream, MemStream* memStream); 35 void saveBufferRaw(Stream* stream, char* buffer, uint32_t len); 36 bool loadBufferRaw(Stream* stream, char* buffer); 39 void saveBuffer(Stream* stream, const std::vector<T>& buffer) { in saveBuffer() 45 bool loadBuffer(Stream* stream, std::vector<T>* buffer) { in loadBuffer() 53 void saveBuffer(Stream* stream, const SmallVector<T>& buffer) { in saveBuffer() 59 bool loadBuffer(Stream* stream, SmallVector<T>* buffer) { in loadBuffer() 68 void saveBuffer(Stream* stream, const std::vector<T>& buffer, SaveFunc&& saver) { in saveBuffer() 76 void saveBuffer(Stream* stream, const T* buffer, size_t numElts) { in saveBuffer() [all …]
|
/hardware/libhardware/modules/usbcamera/ |
D | Stream.cpp | 36 Stream::Stream(int id, camera3_stream_t *s) in Stream() function in usb_camera_hal::Stream 42 Stream::~Stream() { in ~Stream() 50 void Stream::setUsage(uint32_t usage) { in setUsage() 57 void Stream::setMaxBuffers(uint32_t max_buffers) { in setMaxBuffers() 64 int Stream::getType() { in getType() 68 bool Stream::isInputType() { in isInputType() 73 bool Stream::isOutputType() { in isOutputType() 78 const char* Stream::typeToString(int type) { in typeToString() 90 const char* Stream::formatToString(int format) { in formatToString() 129 bool Stream::isValidReuseStream(int id, camera3_stream_t *s) { in isValidReuseStream() [all …]
|
D | Camera.h | 94 Stream *reuseStreamLocked(camera3_stream_t *astream); 97 void destroyStreamsLocked(android::Vector<Stream *> &streams); 99 bool isValidStreamSetLocked(const android::Vector<Stream *> &streams); 101 void setupStreamsLocked(android::Vector<Stream *> &streams); 122 android::Vector<Stream *> mStreams;
|
/hardware/google/camera/common/hal/utils/ |
D | utils.h | 33 bool IsPreviewStream(const Stream& stream); 34 bool IsJPEGSnapshotStream(const Stream& stream); 35 bool IsVideoStream(const Stream& stream); 36 bool IsRawStream(const Stream& stream); 37 bool IsInputRawStream(const Stream& stream); 38 bool IsArbitraryDataSpaceRawStream(const Stream& stream); 39 bool IsYUVSnapshotStream(const Stream& stream); 40 bool IsDepthStream(const Stream& stream); 41 bool IsOutputZslStream(const Stream& stream); 42 bool IsSoftwareDenoiseEligibleSnapshotStream(const Stream& stream); [all …]
|
/hardware/google/aemu/host-common/include/host-common/ |
D | AndroidPipe.h | 105 virtual void preLoad(android::base::Stream* stream) {} in preLoad() 106 virtual void postLoad(android::base::Stream* stream) {} in postLoad() 107 virtual void preSave(android::base::Stream* stream) {} in preSave() 108 virtual void postSave(android::base::Stream* stream) {} in postSave() 112 android::base::Stream* stream) { in savePipe() 129 android::base::Stream* stream) { in load() 196 virtual void onSave(android::base::Stream* stream){}; in onSave() 221 void saveToStream(android::base::Stream* stream); 229 static AndroidPipe* loadFromStream(android::base::Stream* stream, 237 static AndroidPipe* loadFromStreamLegacy(android::base::Stream* stream,
|
D | android_pipe_device.h | 128 ANDROID_PIPE_DEVICE_EXPORT void android_pipe_guest_pre_load(Stream* file); 129 ANDROID_PIPE_DEVICE_EXPORT void android_pipe_guest_post_load(Stream* file); 130 ANDROID_PIPE_DEVICE_EXPORT void android_pipe_guest_pre_save(Stream* file); 131 ANDROID_PIPE_DEVICE_EXPORT void android_pipe_guest_post_save(Stream* file); 138 void* internal_pipe, Stream* file); 148 Stream* file, void* hwpipe, char* force_close); 159 Stream* file, void* hwpipe, uint64_t* channel,
|
D | address_space_graphics.h | 53 void save(base::Stream* stream) const override; 54 bool load(base::Stream* stream) override; 60 static void globalStateSave(base::Stream*); 63 static bool globalStateLoad(base::Stream*); 73 void saveRingConfig(base::Stream* stream, const struct asg_ring_config& config) const; 74 void saveAllocation(base::Stream* stream, const Allocation& alloc) const; 76 void loadRingConfig(base::Stream* stream, struct asg_ring_config& config); 78 void loadAllocation(base::Stream* stream, Allocation& alloc, AllocType type);
|
D | MediaSnapshotState.h | 70 void save(base::Stream* stream) const; 71 void load(base::Stream* stream); 101 void saveFrameInfo(base::Stream* stream, const FrameInfo& frame) const; 103 void savePacketInfo(base::Stream* stream, const PacketInfo& pkt) const; 104 void saveColor(base::Stream* stream, const ColorAspects& color) const; 106 void loadFrameInfo(base::Stream* stream, FrameInfo& frame); 108 void loadPacketInfo(base::Stream* stream, PacketInfo& pkt); 110 void loadColor(base::Stream* stream, ColorAspects& color) const;
|
D | MediaH264DecoderPlugin.h | 44 virtual void save(base::Stream* stream) const {}; in save() 45 virtual bool load(base::Stream* stream) {return true;}; in load() 129 void saveVec(base::Stream* stream, in saveVec() 137 void saveFrameInfo(base::Stream* stream, const FrameInfo& frame) const { in saveFrameInfo() 145 void loadFrameInfo(base::Stream* stream, FrameInfo& frame) { in loadFrameInfo() 153 void savePacketInfo(base::Stream* stream, const PacketInfo& pkt) const { in savePacketInfo() 158 void loadPacketInfo(base::Stream* stream, PacketInfo& pkt) { in loadPacketInfo() 163 void saveColor(base::Stream* stream, const ColorAspects& color) const { in saveColor() 170 void loadColor(base::Stream* stream, ColorAspects& color) const { in loadColor() 177 void save(base::Stream* stream) const { in save() [all …]
|
/hardware/google/gfxstream/guest/android-emu/aemu/base/ |
D | AndroidSubAllocator.cpp | 58 bool save(Stream* stream) { in save() 61 Stream* stream = reinterpret_cast<Stream*>(context); in save() 68 Stream* stream = reinterpret_cast<Stream*>(context); in save() 85 bool load(Stream* stream) { in load() 89 Stream* stream = reinterpret_cast<Stream*>(context); in load() 96 Stream* stream = reinterpret_cast<Stream*>(context); in load() 205 bool SubAllocator::save(Stream* stream) { in save() 209 bool SubAllocator::load(Stream* stream) { in load()
|
/hardware/google/gfxstream/host/ |
D | RenderThreadInfoGl.cpp | 33 using android::base::Stream; 56 void RenderThreadInfoGl::onSave(Stream* stream) { in onSave() 73 saveCollection(stream, m_contextSet, [](Stream* stream, HandleType val) { in onSave() 76 saveCollection(stream, m_windowSet, [](Stream* stream, HandleType val) { in onSave() 89 bool RenderThreadInfoGl::onLoad(Stream* stream) { in onLoad() 105 loadCollection(stream, &m_contextSet, [](Stream* stream) { in onLoad() 108 loadCollection(stream, &m_windowSet, [](Stream* stream) { in onLoad()
|
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/ |
D | SamplerData.cpp | 22 SamplerData::SamplerData(android::base::Stream* stream) in SamplerData() 26 [](android::base::Stream* stream) { in SamplerData() 32 [](android::base::Stream* stream) { in SamplerData() 40 void SamplerData::onSave(android::base::Stream* stream, unsigned int globalName) const { in onSave() 43 [](android::base::Stream* stream, in onSave() 49 [](android::base::Stream* stream, in onSave()
|
/hardware/google/gfxstream/host/vulkan/ |
D | VkDecoderSnapshotUtils.h | 29 void saveImageContent(android::base::Stream* stream, StateBlock* stateBlock, VkImage image, 31 void loadImageContent(android::base::Stream* stream, StateBlock* stateBlock, VkImage image, 33 void saveBufferContent(android::base::Stream* stream, StateBlock* stateBlock, VkBuffer buffer, 35 void loadBufferContent(android::base::Stream* stream, StateBlock* stateBlock, VkBuffer buffer,
|
/hardware/google/gfxstream/scripts/print_gfx_logs/ |
D | print_gfx_logs.py | 64 class Stream(NamedTuple): class 74 def error(pos_in_file: int, error_message: str) -> Stream: 75 return Stream( 110 def process_stream(file_bytes: mmap, file_pos: int) -> Stream: 118 return Stream.error(file_pos, error_message="Signature doesn't match") 121 return Stream.error( 134 return Stream.error( 140 return Stream.error( 165 return Stream(file_pos, timestamp_us, header.thread_id, header.capture_id, commands, None) 168 def process_minidump(mm: mmap) -> List[Stream]:
|