@Test public void flush_nativeFlushed() { mTestProvider.flush(); verify(mMockNative).flushBatch(); }
public void flush() { if (!mStarted) { Log.w(TAG, "Cannot flush since GNSS batching has not started."); return; } mNative.flushBatch(); }
GnssBatchingProvider { public void flush() { if (!mStarted) { Log.w(TAG, "Cannot flush since GNSS batching has not started."); return; } mNative.flushBatch(); } }
GnssBatchingProvider { public void flush() { if (!mStarted) { Log.w(TAG, "Cannot flush since GNSS batching has not started."); return; } mNative.flushBatch(); } GnssBatchingProvider(); @VisibleForTesting  GnssBatchingProvider(GnssBatchingProviderNative gnssBatchingProviderNative); }
GnssBatchingProvider { public void flush() { if (!mStarted) { Log.w(TAG, "Cannot flush since GNSS batching has not started."); return; } mNative.flushBatch(); } GnssBatchingProvider(); @VisibleForTesting  GnssBatchingProvider(GnssBatchingProviderNative gnssBatchingProviderNative); int getBatchSize(); void enable(); boolean start(long periodNanos, boolean wakeOnFifoFull); void flush(); boolean stop(); void disable(); }
GnssBatchingProvider { public void flush() { if (!mStarted) { Log.w(TAG, "Cannot flush since GNSS batching has not started."); return; } mNative.flushBatch(); } GnssBatchingProvider(); @VisibleForTesting  GnssBatchingProvider(GnssBatchingProviderNative gnssBatchingProviderNative); int getBatchSize(); void enable(); boolean start(long periodNanos, boolean wakeOnFifoFull); void flush(); boolean stop(); void disable();  }