Home
last modified time | relevance | path

Searched refs:drain (Results 1 – 25 of 76) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DTokenBucketTest.java48 drain(new TokenBucket(FILL_DELTA_VERY_LONG, 1), 1); in testInitialCapacity()
49 drain(new TokenBucket(FILL_DELTA_VERY_LONG, 10), 10); in testInitialCapacity()
50 drain(new TokenBucket(FILL_DELTA_VERY_LONG, 1000), 1000); in testInitialCapacity()
52 drain(new TokenBucket(FILL_DELTA_VERY_LONG, 10, 0), 0); in testInitialCapacity()
53 drain(new TokenBucket(FILL_DELTA_VERY_LONG, 10, 3), 3); in testInitialCapacity()
54 drain(new TokenBucket(FILL_DELTA_VERY_LONG, 10, 10), 10); in testInitialCapacity()
56 drain(new TokenBucket(FILL_DELTA_VERY_LONG, 10, 100), 10); in testInitialCapacity()
58 drain(new TokenBucket((int) DateUtils.MINUTE_IN_MILLIS, 50), 50); in testInitialCapacity()
59 drain(new TokenBucket((int) DateUtils.HOUR_IN_MILLIS, 10), 10); in testInitialCapacity()
60 drain(new TokenBucket((int) DateUtils.DAY_IN_MILLIS, 200), 200); in testInitialCapacity()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DFastDataOutput.java70 private void drain() throws IOException { in drain() method in FastDataOutput
79 drain(); in flush()
101 drain(); in write()
104 if (mBufferCap - mBufferPos < len) drain(); in write()
114 if (mBufferCap - mBufferPos < 2 + s.length()) drain(); in writeUTF()
174 if (mBufferCap - mBufferPos < 1) drain(); in writeByte()
180 if (mBufferCap - mBufferPos < 2) drain(); in writeShort()
192 if (mBufferCap - mBufferPos < 4) drain(); in writeInt()
201 if (mBufferCap - mBufferPos < 8) drain(); in writeLong()
/frameworks/av/media/codec2/components/raw/
DC2SoftRawDec.h41 c2_status_t drain(
/frameworks/av/media/codec2/components/g711/
DC2SoftG711Dec.h41 c2_status_t drain(
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.h42 c2_status_t drain(
DC2SoftFlacEnc.h50 c2_status_t drain(
DC2SoftFlacEnc.cpp179 c2_status_t status = drain(DRAIN_COMPONENT_NO_EOS, nullptr); in onStop()
304 if (eos && (C2_OK != drain(DRAIN_COMPONENT_WITH_EOS, pool))) { in process()
419 c2_status_t C2SoftFlacEnc::drain( in drain() function in android::C2SoftFlacEnc
/frameworks/av/media/codec2/components/gsm/
DC2SoftGsmDec.h48 c2_status_t drain(
/frameworks/av/media/codec2/components/vorbis/
DC2SoftVorbisDec.h44 c2_status_t drain(
/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrDec.h43 c2_status_t drain(
DC2SoftAmrNbEnc.h42 c2_status_t drain(
DC2SoftAmrWbEnc.h42 c2_status_t drain(
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusDec.h43 c2_status_t drain(
DC2SoftOpusEnc.h44 c2_status_t drain(
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.h49 c2_status_t drain(
/frameworks/av/media/codec2/components/aac/
DC2SoftAacEnc.h45 c2_status_t drain(
DC2SoftAacDec.h43 c2_status_t drain(
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.h43 c2_status_t drain(
DC2SoftMpeg4Enc.h44 c2_status_t drain(
/frameworks/av/media/libaudiohal/impl/
DStreamHalLocal.cpp210 *supportsDrain = mStream->drain != NULL; in supportsDrain()
214 status_t StreamOutHalLocal::drain(bool earlyNotify) { in drain() function in android::CPP_VERSION::StreamOutHalLocal
215 if (mStream->drain == NULL) return INVALID_OPERATION; in drain()
216 return mStream->drain(mStream, earlyNotify ? AUDIO_DRAIN_EARLY_NOTIFY : AUDIO_DRAIN_ALL); in drain()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.h46 c2_status_t drain(uint32_t drainMode,
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.h44 c2_status_t drain(
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.h46 c2_status_t drain(uint32_t drainMode,
/frameworks/av/media/codec2/components/xaac/
DC2SoftXaacDec.h63 c2_status_t drain(
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.h66 c2_status_t drain(

1234