/hardware/libhardware/modules/usbcamera/ |
D | Stream.cpp | 39 mStream(s){ in Stream() 52 if (usage != mStream->usage) { in setUsage() 53 mStream->usage = usage; in setUsage() 59 if (max_buffers != mStream->max_buffers) { in setMaxBuffers() 60 mStream->max_buffers = max_buffers; in setMaxBuffers() 65 return mStream->stream_type; in getType() 69 return mStream->stream_type == CAMERA3_STREAM_INPUT || in isInputType() 70 mStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL; in isInputType() 74 return mStream->stream_type == CAMERA3_STREAM_OUTPUT || in isOutputType() 75 mStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL; in isOutputType() [all …]
|
D | Stream.h | 53 camera3_stream_t *mStream; variable
|
/hardware/interfaces/audio/aidl/default/ |
D | StreamSwitcher.cpp | 36 mStream(new InnerStreamWrapper<StreamStub>(context, mMetadata)) {} in StreamSwitcher() 39 if (!mStream) return ndk::ScopedAStatus::ok(); in closeCurrentStream() 40 RETURN_STATUS_IF_ERROR(mStream->prepareToClose()); in closeCurrentStream() 41 RETURN_STATUS_IF_ERROR(mStream->close()); in closeCurrentStream() 42 if (validateStreamState && !isValidClosingStreamState(mStream->getStatePriorToClosing())) { in closeCurrentStream() 45 mStream.reset(); in closeCurrentStream() 50 if (mStream != nullptr) { in close() 61 if (mStream != nullptr) { in prepareToClose() 62 return mStream->prepareToClose(); in prepareToClose() 69 if (mStream == nullptr) { in updateHwAvSyncId() [all …]
|
/hardware/google/aemu/snapshot/ |
D | TextureSaver.cpp | 33 : mStream(std::move(stream)) { in TextureSaver() 35 mStream.putBe64(0); in TextureSaver() 53 mIndex.textures.push_back({texId, ftello64(mStream.get())}); in saveTexture() 55 CompressingStream stream(mStream); in saveTexture() 63 mIndex.startPosInFile = ftello64(mStream.get()); in done() 70 mHasError = ferror(mStream.get()) != 0; in done() 72 mStream.close(); in done() 77 auto start = ftello64(mStream.get()); in writeIndex() 80 mStream.putBe32(static_cast<uint32_t>(mIndex.version)); in writeIndex() 81 mStream.putBe32(static_cast<uint32_t>(mIndex.textures.size())); in writeIndex() [all …]
|
D | TextureLoader.cpp | 30 : mStream(std::move(stream)) {} in TextureLoader() 49 HANDLE_EINTR(fseeko64(mStream.get(), mIndex[texId], SEEK_SET)); in loadTexture() 52 loader(&mStream); in loadTexture() 55 DecompressingStream stream(mStream); in loadTexture() 59 if (ferror(mStream.get())) { in loadTexture() 70 if (base::getFileSize(fileno(mStream.get()), &size)) { in readIndex() 73 auto indexPos = mStream.getBe64(); in readIndex() 74 HANDLE_EINTR(fseeko64(mStream.get(), static_cast<int64_t>(indexPos), SEEK_SET)); in readIndex() 75 mVersion = mStream.getBe32(); in readIndex() 79 uint32_t texCount = mStream.getBe32(); in readIndex() [all …]
|
/hardware/interfaces/audio/core/all-versions/default/ |
D | StreamOut.cpp | 58 mStream(stream), in WriteThread() 72 audio_stream_out_t* mStream; member in android::hardware::audio::CPP_VERSION::implementation::__anon4890291f0111::WriteThread 92 ssize_t writeResult = mStream->write(mStream, &mBuffer[0], availToRead); in doWrite() 103 StreamOut::getPresentationPositionImpl(mStream, &mStatus.reply.presentationPosition.frames, in doGetPresentationPosition() 109 mStatus.reply.latencyMs = mStream->get_latency(mStream); in doGetLatency() 153 mStream(stream), in StreamOut() 173 mDevice->closeOutputStream(mStream); in ~StreamOut() 178 mStream = nullptr; in ~StreamOut() 183 return audio_stream_out_frame_size(mStream); in getFrameSize() 327 mDevice->closeOutputStream(mStream); in close() [all …]
|
D | Stream.cpp | 47 Stream::Stream(bool isInput, audio_stream_t* stream) : mIsInput(isInput), mStream(stream) { in Stream() 52 mStream = nullptr; in ~Stream() 67 return mStream->get_parameters(mStream, keys); in halGetParameters() 71 return mStream->set_parameters(mStream, keysAndValues); in halSetParameters() 89 return mStream->get_buffer_size(mStream); in getBufferSize() 94 return mStream->get_sample_rate(mStream); in getSampleRate() 168 return AudioChannelBitfield(mStream->get_channels(mStream)); in getChannelMask() 176 return AudioFormat(mStream->get_format(mStream)); in getFormat() 209 uint32_t halSampleRate = mStream->get_sample_rate(mStream); in getAudioProperties() 210 audio_channel_mask_t halMask = mStream->get_channels(mStream); in getAudioProperties() [all …]
|
D | StreamIn.cpp | 55 mStream(stream), in ReadThread() 69 audio_stream_in_t* mStream; member in android::hardware::audio::CPP_VERSION::implementation::__anon4123301e0111::ReadThread 94 ssize_t readResult = mStream->read(mStream, &mBuffer[0], requestedToRead); in doRead() 108 mStream, &mStatus.reply.capturePosition.frames, &mStatus.reply.capturePosition.time); in doGetCapturePosition() 150 mStream(stream), in StreamIn() 169 mDevice->closeInputStream(mStream); in ~StreamIn() 171 mStream = nullptr; in ~StreamIn() 176 return audio_stream_in_frame_size(mStream); in getFrameSize() 318 return mStreamMmap->createMmapBuffer(minSizeFrames, audio_stream_in_frame_size(mStream), in createMmapBuffer() 335 mDevice->closeInputStream(mStream); in close() [all …]
|
/hardware/interfaces/audio/core/all-versions/default/include/core/default/ |
D | Stream.h | 126 audio_stream_t* mStream; member 137 explicit StreamMmap(T* stream) : mStream(stream) {} in StreamMmap() 148 T* mStream; member 153 if (mStream->start == NULL) return Result::NOT_SUPPORTED; in start() 154 int result = mStream->start(mStream); in start() 160 if (mStream->stop == NULL) return Result::NOT_SUPPORTED; in stop() 161 int result = mStream->stop(mStream); in stop() 172 if (mStream->create_mmap_buffer != NULL) { in createMmapBuffer() 179 "create_mmap_buffer", mStream->create_mmap_buffer(mStream, minSizeFrames, &halInfo)); in createMmapBuffer() 217 if (mStream->get_mmap_position != NULL) { in getMmapPosition() [all …]
|
/hardware/google/gfxstream/guest/vulkan_enc/ |
D | VulkanStreamGuest.cpp | 21 VulkanStreamGuest::VulkanStreamGuest(gfxstream::guest::IOStream* stream) : mStream(stream) { in VulkanStreamGuest() 103 if (!mStream->readback(buffer, size)) { in read() 111 uint8_t* streamBuf = (uint8_t*)mStream->alloc(size); in write() 117 mStream->writeFullyAsync(buffer, size); in writeLarge() 132 mStream->flush(); in flush() 137 void VulkanStreamGuest::incStreamRef() { mStream->incRef(); } in incStreamRef() 139 bool VulkanStreamGuest::decStreamRef() { return mStream->decRef(); } in decStreamRef() 141 uint8_t* VulkanStreamGuest::reserve(size_t size) { return (uint8_t*)mStream->alloc(size); } in reserve()
|
/hardware/google/gfxstream/host/ |
D | RenderThread.cpp | 93 mStream.emplace(0); in RenderThread() 94 android::base::loadStream(loadStream, &*mStream); in RenderThread() 116 mStream.emplace(0); in RenderThread() 117 android::base::loadStream(loadStream, &*mStream); in RenderThread() 133 mStream.emplace(); in pausePreSnapshot() 157 mStream.clear(); in resume() 176 assert(mStream); in save() 178 android::base::saveStream(stream, *mStream); in save() 212 objects.readBuffer->onLoad(&*mStream); in loadImpl() 213 if (objects.channelStream) objects.channelStream->load(&*mStream); in loadImpl() [all …]
|
/hardware/libhardware/modules/camera/3_0/ |
D | Stream.cpp | 38 mStream(s), in Stream() 62 mStream->usage = usage; in setUsage() 72 mStream->max_buffers = max_buffers; in setMaxBuffers() 159 if (s != mStream) { in isValidReuseStream() 161 __func__, mId, s, mStream); in isValidReuseStream() 194 if (buf_set->stream != mStream) { in registerBuffers() 196 __func__, mId, buf_set->stream, mStream); in registerBuffers() 227 dprintf(fd, "Stream ID: %d (%p)\n", mId, mStream); in dump()
|
D | Stream.h | 59 camera3_stream_t *mStream; variable
|
/hardware/interfaces/automotive/sv/1.0/default/ |
D | SurroundView2dSession.cpp | 58 mStream = stream; in startStream() 61 mStream->notify(SvEvent::STREAM_STARTED); in startStream() 87 mStream = nullptr; in stopStream() 129 mStream->notify(SvEvent::CONFIG_UPDATED); in set2dConfig() 220 mStream->notify(SvEvent::FRAME_DROPPED); in generateFrames() 223 mStream->receiveFrames(framesRecord.frames); in generateFrames() 231 mStream->notify(SvEvent::STREAM_STOPPED); in generateFrames()
|
D | SurroundView3dSession.cpp | 70 mStream = stream; in startStream() 73 mStream->notify(SvEvent::STREAM_STARTED); in startStream() 98 mStream = nullptr; in stopStream() 137 mStream->notify(SvEvent::CONFIG_UPDATED); in set3dConfig() 291 mStream->notify(SvEvent::FRAME_DROPPED); in generateFrames() 294 mStream->receiveFrames(framesRecord.frames); in generateFrames() 301 mStream->notify(SvEvent::STREAM_STOPPED); in generateFrames()
|
/hardware/google/aemu/snapshot/include/snapshot/ |
D | TextureLoader.h | 76 mStream.close(); in join() 86 mStream.close(); in interrupt() 108 android::base::StdioStream mStream; variable
|
/hardware/google/aemu/base/include/aemu/base/logging/ |
D | Log.h | 346 return mStream << t; 357 std::ostream mStream; variable 388 LogStream& stream() const { return *mStream; } in stream() 392 LogStream* mStream; 423 LogStream& stream() const { return *mStream; } in stream() 426 LogStream* mStream;
|
/hardware/interfaces/audio/core/all-versions/vts/functional/tests/ |
D | streamworker_tests.cpp | 34 explicit TestWorker(TestStream* stream) : mStream(stream) {} in TestWorker() 44 bool workerInit() { return mStream; } in workerInit() 49 return !mStream->error; in workerCycle() 53 TestStream* const mStream; member in TestWorker
|
/hardware/google/gfxstream/host/vulkan/ |
D | VulkanStream.cpp | 33 VulkanStream::VulkanStream(IOStream* stream, const gfxstream::host::FeatureSet& features) : mStream… in VulkanStream() 49 void VulkanStream::setStream(IOStream* stream) { mStream = stream; } in setStream() 135 if (!mStream->readFully(buffer, size)) { in read() 161 int written = mStream->writeFully(mWriteBuffer.data(), mWritePos); in commitWrite()
|
/hardware/interfaces/automotive/evs/aidl/impl/default/src/ |
D | EvsMockCamera.cpp | 244 if (mStream && mStream->deliverFrame(frames).isOk()) { in generateFrames() 272 if (!mStream->notify(event).isOk()) { in generateFrames() 324 mStream = receiver; in startVideoStreamImpl_locked() 344 mStream = nullptr; in postVideoStreamStop_locked()
|
/hardware/interfaces/automotive/evs/1.0/default/ |
D | EvsCamera.cpp | 165 mStream = stream; in startVideoStream() 228 mStream = nullptr; in stopVideoStream() 436 auto result = mStream->deliverFrame(buff); in generateFrames() 468 auto result = mStream->deliverFrame(nullBuff); in generateFrames()
|
/hardware/interfaces/audio/aidl/common/tests/ |
D | streamworker_tests.cpp | 42 explicit TestWorkerLogic(Stream* stream) : mStream(stream) {} in TestWorkerLogic() 55 std::string init() override { return mStream != nullptr ? "" : "Expected error"; } in init() 61 return mStream->status; in cycle() 65 Stream* const mStream; member in TestWorkerLogic
|
/hardware/interfaces/automotive/evs/1.1/default/ |
D | EvsUltrasonicsArray.cpp | 280 mStream = stream; in startStream() 312 mStream = nullptr; in stopStream() 507 auto result = mStream->deliverDataFrame(mockDataFrameDesc); in generateDataFrames() 539 auto result = mStream->notify(event); in generateDataFrames()
|
/hardware/interfaces/automotive/vehicle/aidl/impl/grpc/ |
D | GRPCVehicleProxyServer.h | 89 : mStream(stream), in ConnectionDescriptor() 110 ::grpc::ServerWriter<proto::VehiclePropValues>* mStream;
|
/hardware/interfaces/audio/aidl/default/include/core-impl/ |
D | StreamSwitcher.h | 165 StreamCommonInterfaceEx* getCurrentStream() const { return mStream.get(); } in getCurrentStream() 181 std::unique_ptr<StreamCommonInterfaceEx> mStream; variable
|