Home
last modified time | relevance | path

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

12

/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
DRxJava2Test.java86 private void drain() throws InterruptedException { in drain() method in RxJava2Test
95 drain(); in maybeUser_Empty()
108 drain(); in maybeUser_WithData()
120 drain(); in maybeUsers_EmptyList()
133 drain(); in maybeUsers_WithValue()
148 drain(); in maybeUsers_keepMaybeReference()
157 drain(); in maybeUsers_keepMaybeReference()
166 drain(); in maybeUsers_keepMaybeReference()
181 drain(); in singleUser_Empty()
195 drain(); in singleUser_WithData()
[all …]
DInvalidationTest.java63 drain(); in createDb()
69 drain(); in closeDb()
72 private void drain() throws TimeoutException, InterruptedException { in drain() method in InvalidationTest
82 drain(); in testInvalidationOnUpdate()
84 drain(); in testInvalidationOnUpdate()
95 drain(); in testInvalidationOnDelete()
97 drain(); in testInvalidationOnDelete()
106 drain(); in testInvalidationOnInsert()
108 drain(); in testInvalidationOnInsert()
117 drain(); in testDontInvalidateOnLateInsert()
[all …]
DRawQueryTest.java98 drain(); in liveDataTest()
102 drain(); in liveDataTest()
106 drain(); in liveDataTest()
226 drain(); in embedded_liveData()
232 drain(); in embedded_liveData()
242 drain(); in embedded_liveData()
257 drain(); in embedded_liveData()
272 drain(); in relation_liveData()
275 drain(); in relation_liveData()
280 drain(); in relation_liveData()
[all …]
DQueryTransactionTest.java103 drain(); in initDb()
110 drain(); in closeDb()
128 drain(); in liveData()
133 drain(); in liveData()
145 drain(); in flowable()
150 drain(); in flowable()
166 drain(); in maybe()
179 drain(); in single()
201 drain(); in pagedList()
205 drain(); in pagedList()
[all …]
DLiveDataQueryTest.java351 private void drain() throws TimeoutException, InterruptedException { in drain() method in LiveDataQueryTest
396 drain(); in hasValue()
401 drain(); in get()
/frameworks/base/core/tests/coretests/src/android/util/
DTokenBucketTest.java47 drain(new TokenBucket(FILL_DELTA_VERY_LONG, 1), 1); in testInitialCapacity()
48 drain(new TokenBucket(FILL_DELTA_VERY_LONG, 10), 10); in testInitialCapacity()
49 drain(new TokenBucket(FILL_DELTA_VERY_LONG, 1000), 1000); in testInitialCapacity()
51 drain(new TokenBucket(FILL_DELTA_VERY_LONG, 10, 0), 0); in testInitialCapacity()
52 drain(new TokenBucket(FILL_DELTA_VERY_LONG, 10, 3), 3); in testInitialCapacity()
53 drain(new TokenBucket(FILL_DELTA_VERY_LONG, 10, 10), 10); in testInitialCapacity()
55 drain(new TokenBucket(FILL_DELTA_VERY_LONG, 10, 100), 10); in testInitialCapacity()
57 drain(new TokenBucket((int)DateUtils.MINUTE_IN_MILLIS, 50), 50); in testInitialCapacity()
58 drain(new TokenBucket((int)DateUtils.HOUR_IN_MILLIS, 10), 10); in testInitialCapacity()
59 drain(new TokenBucket((int)DateUtils.DAY_IN_MILLIS, 200), 200); in testInitialCapacity()
[all …]
/frameworks/support/paging/common/src/test/java/androidx/paging/
DContiguousPagedListTest.kt201 drain() in append()
217 drain() in prepend()
233 drain() in outwards()
240 drain() in outwards()
256 drain() in multiAppend()
274 drain() in distantPrefetch()
279 drain() in distantPrefetch()
291 drain() in appendCallbackAddedLate()
300 drain() in appendCallbackAddedLate()
317 drain() in prependCallbackAddedLate()
[all …]
DTiledPagedListTest.kt132 drain() in initialLoadAsync()
158 drain() in addWeakCallbackEmpty()
180 drain() in append()
196 drain() in prepend()
212 drain() in loadWithGap()
230 drain() in tinyPrefetchTest()
237 drain() in tinyPrefetchTest()
251 drain() in appendCallbackAddedLate()
260 drain() in appendCallbackAddedLate()
277 drain() in prependCallbackAddedLate()
[all …]
DPageKeyedDataSourceTest.kt76 drain() in loadFullVerify()
317 private fun drain() { in drain() method
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DAsyncListDifferTest.kt142 drain() in submitListSimple()
154 drain() in nullsSkipCallback()
158 drain() in nullsSkipCallback()
163 drain() in nullsSkipCallback()
179 drain() in submitListUpdate()
185 drain() in submitListUpdate()
193 drain() in submitListUpdate()
205 drain() in singleChangePayload()
210 drain() in singleChangePayload()
223 drain() in multiChangePayload()
[all …]
/frameworks/support/paging/runtime/src/androidTest/java/androidx/paging/
DAsyncPagedListDifferTest.kt87 drain() in setFullList()
146 drain() in pagingInContent()
152 drain() in pagingInContent()
158 drain() in pagingInContent()
165 drain() in pagingInContent()
174 drain() in pagingInContent()
193 drain() in simpleSwap()
199 drain() in simpleSwap()
208 drain() in simpleSwap()
226 drain() in newPageWhileDiffing()
[all …]
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/paging/
DDataSourceFactoryTest.java114 drain(); in validateUsersAsPagedList()
122 drain(); in validateUsersAsPagedList()
129 drain(); in validateUsersAsPagedList()
134 drain(); in validateUsersAsPagedList()
137 drain(); in validateUsersAsPagedList()
142 drain(); // Sync with InvalidationTracker in validateUsersAsPagedList()
144 drain(); in validateUsersAsPagedList()
157 private void drain() throws InterruptedException, TimeoutException { in drain() method in DataSourceFactoryTest
185 drain(); in withRelation()
191 drain(); in withRelation()
[all …]
/frameworks/support/room/rxjava2/src/test/java/androidx/room/
DRxRoomTest.java132 drain(); in internalCallable()
137 drain(); in internalCallable()
141 drain(); in internalCallable()
146 drain(); in internalCallable()
151 private void drain() throws InterruptedException { in drain() method in RxRoomTest
166 drain(); in exception()
/frameworks/av/media/libaudiohal/2.0/
DStreamHalLocal.cpp215 *supportsDrain = mStream->drain != NULL; in supportsDrain()
219 status_t StreamOutHalLocal::drain(bool earlyNotify) { in drain() function in android::StreamOutHalLocal
220 if (mStream->drain == NULL) return INVALID_OPERATION; in drain()
221 return mStream->drain(mStream, earlyNotify ? AUDIO_DRAIN_EARLY_NOTIFY : AUDIO_DRAIN_ALL); in drain()
DStreamHalLocal.h131 virtual status_t drain(bool earlyNotify);
DStreamHalHidl.h156 virtual status_t drain(bool earlyNotify);
DStreamHalHidl.cpp522 status_t StreamOutHalHidl::drain(bool earlyNotify) { in drain() function in android::StreamOutHalHidl
525 "drain", mStream->drain(earlyNotify ? AudioDrain::EARLY_NOTIFY : AudioDrain::ALL)); in drain()
/frameworks/av/media/libaudiohal/4.0/
DStreamHalLocal.cpp217 *supportsDrain = mStream->drain != NULL; in supportsDrain()
221 status_t StreamOutHalLocal::drain(bool earlyNotify) { in drain() function in android::V4_0::StreamOutHalLocal
222 if (mStream->drain == NULL) return INVALID_OPERATION; in drain()
223 return mStream->drain(mStream, earlyNotify ? AUDIO_DRAIN_EARLY_NOTIFY : AUDIO_DRAIN_ALL); in drain()
DStreamHalLocal.h132 virtual status_t drain(bool earlyNotify);
DStreamHalHidl.h157 virtual status_t drain(bool earlyNotify);
DStreamHalHidl.cpp533 status_t StreamOutHalHidl::drain(bool earlyNotify) { in drain() function in android::V4_0::StreamOutHalHidl
536 "drain", mStream->drain(earlyNotify ? AudioDrain::EARLY_NOTIFY : AudioDrain::ALL)); in drain()
/frameworks/av/media/libaudiohal/include/media/audiohal/
DStreamHalInterface.h140 virtual status_t drain(bool earlyNotify) = 0;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2ReprocessCaptureTest.java573 mFirstImageReaderListener.drain(); in testReprocessAbort()
575 mSecondImageReaderListener.drain(); in testReprocessAbort()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java341 public void drain() { in drain() method in CameraTestUtils.SimpleImageReaderListener
632 public void drain() { in drain() method in CameraTestUtils.SimpleCaptureCallback
/frameworks/av/services/audioflinger/
DThreads.cpp2892 status_t result = mOutput->stream->drain(mMixerStatus == MIXER_DRAIN_TRACK); in threadLoop_drain()

12