/frameworks/av/media/codecs/m4v_h263/dec/src/ |
D | bitstream.cpp | 49 PV_STATUS BitstreamFillCache(BitstreamDecVideo *stream) in BitstreamFillCache() 124 void BitstreamReset(BitstreamDecVideo *stream, uint8 *buffer, int32 buffer_size) in BitstreamReset() 140 int BitstreamOpen(BitstreamDecVideo *stream, int) in BitstreamOpen() 175 PV_STATUS BitstreamShowBits32HC(BitstreamDecVideo *stream, uint32 *code) in BitstreamShowBits32HC() 193 PV_STATUS BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code) in BitstreamShowBits32() 215 PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) in BitstreamShowBits16() 238 PV_STATUS BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code) in BitstreamShow15Bits() 257 PV_STATUS BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code) in BitstreamShow13Bits() 270 uint BitstreamReadBits16_INLINE(BitstreamDecVideo *stream, int nbits) in BitstreamReadBits16_INLINE() 286 uint BitstreamRead1Bits_INLINE(BitstreamDecVideo *stream) in BitstreamRead1Bits_INLINE() [all …]
|
D | vlc_decode.cpp | 103 PV_STATUS DecodeUserData(BitstreamDecVideo *stream) in DecodeUserData() 135 BitstreamDecVideo *stream = video->bitstream; in PV_GetMBvectors() local 267 PV_STATUS PV_DecodeMBVec(BitstreamDecVideo *stream, MOT *mv_x, MOT *mv_y, int f_code_f) in PV_DecodeMBVec() 452 PV_STATUS PV_VlcDecMV(BitstreamDecVideo *stream, int *mv) in PV_VlcDecMV() 503 int PV_VlcDecMCBPC_com_intra(BitstreamDecVideo *stream) in PV_VlcDecMCBPC_com_intra() 536 int PV_VlcDecMCBPC_com_inter(BitstreamDecVideo *stream) in PV_VlcDecMCBPC_com_inter() 557 int PV_VlcDecMCBPC_com_inter_H263(BitstreamDecVideo *stream) in PV_VlcDecMCBPC_com_inter_H263() 590 int PV_VlcDecCBPY(BitstreamDecVideo *stream, int intra) in PV_VlcDecCBPY() 628 PV_STATUS PV_VlcDecIntraDCPredSize(BitstreamDecVideo *stream, int compnum, uint *DC_size) in PV_VlcDecIntraDCPredSize() 839 PV_STATUS VlcDecTCOEFIntra(BitstreamDecVideo *stream, Tcoef *pTcoef) in VlcDecTCOEFIntra() [all …]
|
D | bitstream.h | 51 __inline PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) in BitstreamShowBits16() 69 __inline PV_STATUS BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code) in BitstreamShow15Bits() 83 __inline PV_STATUS BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code) in BitstreamShow13Bits() 95 __inline uint BitstreamReadBits16_INLINE(BitstreamDecVideo *stream, int nbits) in BitstreamReadBits16_INLINE() 110 __inline uint BitstreamRead1Bits_INLINE(BitstreamDecVideo *stream) in BitstreamRead1Bits_INLINE()
|
D | packet_util.cpp | 33 BitstreamDecVideo *stream = video->bitstream; in PV_ReadVideoPacketHeader() local 152 BitstreamDecVideo *stream = video->bitstream; in PV_GobHeader() local 203 BitstreamDecVideo *stream = video->bitstream; in PV_H263SliceHeader() local
|
/frameworks/av/media/libaaudio/src/core/ |
D | AAudioAudio.cpp | 56 static AudioStream *convertAAudioStreamToAudioStream(AAudioStream* stream) in convertAAudioStreamToAudioStream() 256 AAUDIO_API aaudio_result_t AAudioStream_release(AAudioStream* stream) { in AAudioStream_release() 275 AAUDIO_API aaudio_result_t AAudioStream_close(AAudioStream* stream) { in AAudioStream_close() 297 AAUDIO_API aaudio_result_t AAudioStream_requestStart(AAudioStream* stream) in AAudioStream_requestStart() 307 AAUDIO_API aaudio_result_t AAudioStream_requestPause(AAudioStream* stream) in AAudioStream_requestPause() 314 AAUDIO_API aaudio_result_t AAudioStream_requestFlush(AAudioStream* stream) in AAudioStream_requestFlush() 321 AAUDIO_API aaudio_result_t AAudioStream_requestStop(AAudioStream* stream) in AAudioStream_requestStop() 328 AAUDIO_API aaudio_result_t AAudioStream_waitForStateChange(AAudioStream* stream, in AAudioStream_waitForStateChange() 342 AAUDIO_API aaudio_result_t AAudioStream_read(AAudioStream* stream, in AAudioStream_read() 362 AAUDIO_API aaudio_result_t AAudioStream_write(AAudioStream* stream, in AAudioStream_write() [all …]
|
/frameworks/base/media/jni/soundpool/ |
D | StreamManager.cpp | 73 Stream *stream = lookupStreamFromId(streamID); in findStream() local 94 [] (Stream *stream) { in getNextIdForStream() 117 forEach([this](Stream *stream) { in StreamManager() 143 forEach([](Stream *stream) { stream->stop(); }); in ~StreamManager() 148 forEach([](Stream *stream) { stream->clearAudioTrack(); }); in ~StreamManager() 170 for (auto stream : mAvailableStreams) { in queueForPlay() local 204 for (auto stream : mActiveStreams) { in queueForPlay() local 273 Stream* stream, int32_t activeStreamIDToMatch) in moveToRestartQueue() 300 Stream* stream, int32_t activeStreamIDToMatch) in moveToRestartQueue_l() 318 Stream* stream, int32_t activeStreamIDToMatch) { in removeFromQueues_l() [all …]
|
D | SoundPool.cpp | 147 mStreamManager.forEach([](soundpool::Stream *stream) { stream->autoPause(); }); in autoPause() 154 mStreamManager.forEach([](soundpool::Stream *stream) { stream->autoResume(); }); in autoResume() 161 mStreamManager.forEach([=](soundpool::Stream *stream) { stream->mute(muting); }); in mute() 168 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in pause() local 177 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in resume() local 186 soundpool::Stream* stream = mStreamManager.findStream(streamID); in stop() local 197 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in setVolume() local 207 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in setPriority() local 217 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in setLoop() local 227 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in setRate() local
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceEndpoint.cpp | 73 for (const auto& stream : mRegisteredStreams) { in dump() local 86 for (const auto& stream : mRegisteredStreams) { in isStreamRegistered() local 106 for (const auto &stream : streamsDisconnected) { in disconnectRegisteredStreams() local 110 for (const auto &stream : streamsDisconnected) { in disconnectRegisteredStreams() local 130 aaudio_result_t AAudioServiceEndpoint::registerStream(sp<AAudioServiceStreamBase>stream) { in registerStream() 136 aaudio_result_t AAudioServiceEndpoint::unregisterStream(sp<AAudioServiceStreamBase>stream) { in unregisterStream()
|
/frameworks/av/media/codecs/amrwb/enc/src/ |
D | stream.c | 26 void voAWB_InitFrameBuffer(FrameStream *stream) in voAWB_InitFrameBuffer() 36 FrameStream *stream, in voAWB_UpdateFrameBuffer() 50 void voAWB_FlushFrameBuffer(FrameStream *stream) in voAWB_FlushFrameBuffer()
|
/frameworks/av/media/codecs/m4v_h263/enc/src/ |
D | bitstream_io.cpp | 54 BitstreamEncVideo *stream; in BitStreamCreateEnc() local 93 Void BitstreamCloseEnc(BitstreamEncVideo *stream) in BitstreamCloseEnc() 120 PV_STATUS BitstreamPutBits(BitstreamEncVideo *stream, Int Length, UInt Value) in BitstreamPutBits() 168 PV_STATUS BitstreamPutGT16Bits(BitstreamEncVideo *stream, Int Length, ULong Value) in BitstreamPutGT16Bits() 207 PV_STATUS BitstreamSaveWord(BitstreamEncVideo *stream) in BitstreamSaveWord() 257 PV_STATUS BitstreamSavePartial(BitstreamEncVideo *stream, Int *fraction) in BitstreamSavePartial() 326 Int BitstreamShortHeaderByteAlignStuffing(BitstreamEncVideo *stream) in BitstreamShortHeaderByteAlignStuffing() 355 Int BitstreamMpeg4ByteAlignStuffing(BitstreamEncVideo *stream) in BitstreamMpeg4ByteAlignStuffing() 760 Int BitstreamGetPos(BitstreamEncVideo *stream) in BitstreamGetPos() 766 void BitstreamEncReset(BitstreamEncVideo *stream) in BitstreamEncReset() [all …]
|
D | vop.cpp | 128 BitstreamEncVideo *stream = video->bitstream1; in EncodeVop_NoME() local 197 BitstreamEncVideo *stream = video->bitstream1; /* different from frame-based */ in EncodeSlice() local 276 PV_STATUS EncodeGOVHeader(BitstreamEncVideo *stream, UInt seconds) in EncodeGOVHeader() 314 BitstreamEncVideo *stream = currVol->stream; in EncodeVopNotCoded() local 353 PV_STATUS EncodeVOPHeader(BitstreamEncVideo *stream, Vol *currVol, Vop *currVop) in EncodeVOPHeader() 412 PV_STATUS EncodeShortHeader(BitstreamEncVideo *stream, Vop *currVop) in EncodeShortHeader()
|
/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/ |
D | ProtoInputStreamIncompleteValueTest.java | 45 InputStream stream = new ByteArrayInputStream(protobuf); in testIncompleteVarint() local 83 InputStream stream = new ByteArrayInputStream(protobuf); in testIncompleteFixed64() local 121 InputStream stream = new ByteArrayInputStream(protobuf); in testIncompleteLengthDelimited() local 158 InputStream stream = new ByteArrayInputStream(protobuf); in testIncompleteFixed32() local
|
D | ProtoInputStreamObjectTest.java | 101 InputStream stream = new ByteArrayInputStream(protobuf); in testObjectOneChar() local 155 InputStream stream = new ByteArrayInputStream(protobuf); in testObjectOneLargeChar() local 212 InputStream stream = new ByteArrayInputStream(protobuf); in testObjectAndTwoChars() local 282 InputStream stream = new ByteArrayInputStream(protobuf); in testComplexObject() local 351 InputStream stream = new ByteArrayInputStream(protobuf); in testDeepObjects() local 476 InputStream stream = new ByteArrayInputStream(protobuf); in testBadWireType() local
|
/frameworks/base/core/java/android/os/incremental/ |
D | V4Signature.java | 131 try (InputStream stream = new ParcelFileDescriptor.AutoCloseInputStream(pfd.dup())) { in readFrom() 141 try (InputStream stream = new ByteArrayInputStream(bytes)) { in readFrom() 150 try (ByteArrayOutputStream stream = new ByteArrayOutputStream()) { in toByteArray() 194 private static V4Signature readFrom(InputStream stream) throws IOException { in readFrom() 205 private void writeTo(OutputStream stream) throws IOException { in writeTo() 216 private static void readFully(InputStream stream, byte[] buffer) throws IOException { in readFully() 228 private static int readIntLE(InputStream stream) throws IOException { in readIntLE() 234 private static void writeIntLE(OutputStream stream, int v) throws IOException { in writeIntLE() 240 private static byte[] readBytes(InputStream stream, int maxSize) throws IOException { in readBytes() 268 private static void writeBytes(OutputStream stream, byte[] bytes) throws IOException { in writeBytes()
|
/frameworks/base/media/tests/MtpTests/src/android/mtp/ |
D | MtpStorageManagerTest.java | 189 List<MtpStorageManager.MtpObject> stream = manager.getObjects(0xFFFFFFFF, 0, in testMtpObjectGetNameNonRoot() local 207 List<MtpStorageManager.MtpObject> stream = manager.getObjects(0xFFFFFFFF, 0, in testMtpObjectGetIdNonRoot() local 225 List<MtpStorageManager.MtpObject> stream = manager.getObjects(0xFFFFFFFF, 0, in testMtpObjectIsDirFalse() local 235 List<MtpStorageManager.MtpObject> stream = manager.getObjects(0xFFFFFFFF, 0, in testMtpObjectGetFormatDir() local 245 List<MtpStorageManager.MtpObject> stream = manager.getObjects(0xFFFFFFFF, 0, in testMtpObjectGetFormatNonDir() local 255 List<MtpStorageManager.MtpObject> stream = manager.getObjects(0xFFFFFFFF, 0, in testMtpObjectGetStorageId() local 265 List<MtpStorageManager.MtpObject> stream = manager.getObjects(0xFFFFFFFF, 0, in testMtpObjectGetLastModified() local 275 List<MtpStorageManager.MtpObject> stream = manager.getObjects(0xFFFFFFFF, 0, in testMtpObjectGetParent() local 286 List<MtpStorageManager.MtpObject> stream = manager.getObjects(0xFFFFFFFF, 0, in testMtpObjectGetRoot() local 297 List<MtpStorageManager.MtpObject> stream = manager.getObjects(0xFFFFFFFF, 0, in testMtpObjectGetPath() local [all …]
|
/frameworks/base/services/core/java/com/android/server/apphibernation/ |
D | ProtoReadWriter.java | 36 void writeToProto(@NonNull ProtoOutputStream stream, @NonNull T data); in writeToProto() 41 @Nullable T readFromProto(@NonNull ProtoInputStream stream) throws IOException; in readFromProto()
|
D | GlobalLevelHibernationProto.java | 37 public void writeToProto(@NonNull ProtoOutputStream stream, in writeToProto() 50 public @Nullable List<GlobalLevelState> readFromProto(@NonNull ProtoInputStream stream) in readFromProto()
|
D | UserLevelHibernationProto.java | 37 public void writeToProto(@NonNull ProtoOutputStream stream, in writeToProto() 49 public @Nullable List<UserLevelState> readFromProto(@NonNull ProtoInputStream stream) in readFromProto()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | Idmap.cpp | 38 bool WARN_UNUSED Read8(std::istream& stream, uint8_t* out) { in Read8() 47 bool WARN_UNUSED Read16(std::istream& stream, uint16_t* out) { in Read16() 56 bool WARN_UNUSED Read32(std::istream& stream, uint32_t* out) { in Read32() 65 bool WARN_UNUSED ReadString(std::istream& stream, std::string* out) { in ReadString() 89 std::unique_ptr<const IdmapHeader> IdmapHeader::FromBinaryStream(std::istream& stream) { in FromBinaryStream() 184 std::unique_ptr<const IdmapData::Header> IdmapData::Header::FromBinaryStream(std::istream& stream) { in FromBinaryStream() 196 std::unique_ptr<const IdmapData> IdmapData::FromBinaryStream(std::istream& stream) { in FromBinaryStream() 250 Result<std::unique_ptr<const Idmap>> Idmap::FromBinaryStream(std::istream& stream) { in FromBinaryStream()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/ |
D | IconLoader.java | 49 InputStream stream = getIcon(resourceDir); in getIcon() local 79 InputStream stream = getIcon(resourceDir, mDesiredDensity); in getIcon() local 115 InputStream stream = getClass().getResourceAsStream(mCurrentPath.toString()); in getIcon() local
|
/frameworks/rs/ |
D | rsScriptC.h | 54 virtual void serialize(Context *rsc, OStream *stream) const { } in serialize() 56 static Type *createFromStream(Context *rsc, IStream *stream) { return nullptr; } in createFromStream()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | DigestUtils.java | 37 try (InputStream stream = new FileInputStream(apkFile)) { in getSha256Hash() 43 public static byte[] getSha256Hash(InputStream stream) in getSha256Hash()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | BatteryStatsReader.java | 38 public static ActivityReport parse(InputStream stream) throws ParseException, IOException { in parse() 54 Parser(InputStream stream) { in Parser()
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
D | UsbBinaryParser.java | 32 private void dumpDescriptor(ByteStream stream, int length, byte type, StringBuilder builder) { in dumpDescriptor() 64 ByteStream stream = new ByteStream(descriptors); in parseDescriptors() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImpl.java | 231 protected void setAudioManagerStreamVolume(int stream, int level, int flag) { in setAudioManagerStreamVolume() 235 protected int getAudioManagerStreamVolume(int stream) { in getAudioManagerStreamVolume() 239 protected int getAudioManagerStreamMaxVolume(int stream) { in getAudioManagerStreamMaxVolume() 243 protected int getAudioManagerStreamMinVolume(int stream) { in getAudioManagerStreamMinVolume() 359 public void setStreamMute(int stream, boolean mute) { in setStreamMute() 364 public void setStreamVolume(int stream, int level) { in setStreamVolume() 369 public void setActiveStream(int stream) { in setActiveStream() 462 private boolean checkRoutedToBluetoothW(int stream) { in checkRoutedToBluetoothW() 483 boolean onVolumeChangedW(int stream, int flags) { in onVolumeChangedW() 687 private void onSetStreamMuteW(int stream, boolean mute) { in onSetStreamMuteW() [all …]
|