Home
last modified time | relevance | path

Searched refs:mIterator (Results 1 – 8 of 8) sorted by relevance

/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/examplestore/
DFederatedExampleIteratorTest.java103 private FederatedExampleIterator mIterator; field in FederatedExampleIteratorTest
121 mIterator = in testNormalHasGetNextResultSuccess()
126 assertThat(runInBackgroundAndWait(mIterator::hasNext)).isTrue(); in testNormalHasGetNextResultSuccess()
127 assertThat(runInBackgroundAndWait(mIterator::next)).isEqualTo(EXAMPLE_1); in testNormalHasGetNextResultSuccess()
128 assertThat(runInBackgroundAndWait(mIterator::hasNext)).isTrue(); in testNormalHasGetNextResultSuccess()
129 assertThat(runInBackgroundAndWait(mIterator::next)).isEqualTo(EXAMPLE_2); in testNormalHasGetNextResultSuccess()
130 assertThat(runInBackgroundAndWait(mIterator::hasNext)).isFalse(); in testNormalHasGetNextResultSuccess()
133 runInBackgroundAndWait(mIterator::close); in testNormalHasGetNextResultSuccess()
143 mIterator = in testGetNextResultSuccess()
148 assertThat(runInBackgroundAndWait(mIterator::hasNext)).isTrue(); in testGetNextResultSuccess()
[all …]
/packages/services/Telephony/utils/satellite/s2storage/src/write/java/com/android/telephony/sats2range/write/
DPushBackIterator.java31 private final Iterator<E> mIterator; field in PushBackIterator
34 mIterator = iterator; in PushBackIterator()
39 return !mPushBackStack.isEmpty() || mIterator.hasNext(); in hasNext()
47 return mIterator.next(); in next()
/packages/modules/GeoTZ/tzs2storage/src/write/java/com/android/timezone/location/storage/tzs2range/write/
DPushBackIterator.java31 private final Iterator<E> mIterator; field in PushBackIterator
34 mIterator = iterator; in PushBackIterator()
39 return !mPushBackStack.isEmpty() || mIterator.hasNext(); in hasNext()
47 return mIterator.next(); in next()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/jni/
DJavaExampleStoreTest.java50 @Mock private com.android.federatedcompute.services.examplestore.ExampleIterator mIterator; field in JavaExampleStoreTest
80 when(mIterator.hasNext()).thenThrow(new InterruptedException("Interrupted")); in testCreateExampleIterator_interruptedIterator()
82 mJavaExampleStore = new JavaExampleStore(mIterator); in testCreateExampleIterator_interruptedIterator()
93 when(mIterator.hasNext()) in testCreateExampleIterator_throwingIterator()
98 mJavaExampleStore = new JavaExampleStore(mIterator); in testCreateExampleIterator_throwingIterator()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/training/jni/
DJavaExampleStore.java76 mIterator = mExampleIterator; in createExampleIteratorWithContext()
82 boolean hasNext = mIterator.hasNext(); in createExampleIteratorWithContext()
86 return mIterator.next(); in createExampleIteratorWithContext()
110 mIterator.close(); in createExampleIteratorWithContext()
/packages/modules/OnDevicePersonalization/framework/java/android/federatedcompute/
DExampleStoreQueryCallbackImpl.java69 private final ExampleStoreIterator mIterator; field in ExampleStoreQueryCallbackImpl.IteratorAdapter
74 this.mIterator = iterator; in IteratorAdapter()
87 mIterator.next(callbackAdapter); in next()
100 mIterator.close(); in close()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/examplestore/
DExampleStoreServiceProvider.java115 return callbackResult.mIterator; in getExampleIterator()
123 final IExampleStoreIterator mIterator; field in ExampleStoreServiceProvider.CallbackResult
127 mIterator = iterator; in CallbackResult()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/federatedcompute/
DOdpExampleStoreServiceTests.java370 private IExampleStoreIterator mIterator; field in OdpExampleStoreServiceTests.TestQueryCallback
376 mIterator = iExampleStoreIterator; in onStartQuerySuccess()
392 return mIterator; in getIterator()