/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | TokenBucketTest.java | 48 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/ |
D | FastDataOutput.java | 70 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/ |
D | C2SoftRawDec.h | 41 c2_status_t drain(
|
/frameworks/av/media/codec2/components/g711/ |
D | C2SoftG711Dec.h | 41 c2_status_t drain(
|
/frameworks/av/media/codec2/components/flac/ |
D | C2SoftFlacDec.h | 42 c2_status_t drain(
|
D | C2SoftFlacEnc.h | 50 c2_status_t drain(
|
D | C2SoftFlacEnc.cpp | 179 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/ |
D | C2SoftGsmDec.h | 48 c2_status_t drain(
|
/frameworks/av/media/codec2/components/vorbis/ |
D | C2SoftVorbisDec.h | 44 c2_status_t drain(
|
/frameworks/av/media/codec2/components/amr_nb_wb/ |
D | C2SoftAmrDec.h | 43 c2_status_t drain(
|
D | C2SoftAmrNbEnc.h | 42 c2_status_t drain(
|
D | C2SoftAmrWbEnc.h | 42 c2_status_t drain(
|
/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusDec.h | 43 c2_status_t drain(
|
D | C2SoftOpusEnc.h | 44 c2_status_t drain(
|
/frameworks/av/media/codec2/components/mp3/ |
D | C2SoftMp3Dec.h | 49 c2_status_t drain(
|
/frameworks/av/media/codec2/components/aac/ |
D | C2SoftAacEnc.h | 45 c2_status_t drain(
|
D | C2SoftAacDec.h | 43 c2_status_t drain(
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Dec.h | 43 c2_status_t drain(
|
D | C2SoftMpeg4Enc.h | 44 c2_status_t drain(
|
/frameworks/av/media/libaudiohal/impl/ |
D | StreamHalLocal.cpp | 210 *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/ |
D | C2SoftGav1Dec.h | 46 c2_status_t drain(uint32_t drainMode,
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxDec.h | 44 c2_status_t drain(
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.h | 46 c2_status_t drain(uint32_t drainMode,
|
/frameworks/av/media/codec2/components/xaac/ |
D | C2SoftXaacDec.h | 63 c2_status_t drain(
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcDec.h | 66 c2_status_t drain(
|