@Test public void stop_nativeStopped() { mTestProvider.stop(); verify(mMockNative).stopBatch(); }
public boolean stop() { boolean stopped = mNative.stopBatch(); if (stopped) { mStarted = false; } return stopped; }
GnssBatchingProvider { public boolean stop() { boolean stopped = mNative.stopBatch(); if (stopped) { mStarted = false; } return stopped; } }
GnssBatchingProvider { public boolean stop() { boolean stopped = mNative.stopBatch(); if (stopped) { mStarted = false; } return stopped; } GnssBatchingProvider(); @VisibleForTesting  GnssBatchingProvider(GnssBatchingProviderNative gnssBatchingProviderNative); }
GnssBatchingProvider { public boolean stop() { boolean stopped = mNative.stopBatch(); if (stopped) { mStarted = false; } return stopped; } GnssBatchingProvider(); @VisibleForTesting  GnssBatchingProvider(GnssBatchingProviderNative gnssBatchingProviderNative); int getBatchSize(); void enable(); boolean start(long periodNanos, boolean wakeOnFifoFull); void flush(); boolean stop(); void disable(); }
GnssBatchingProvider { public boolean stop() { boolean stopped = mNative.stopBatch(); if (stopped) { mStarted = false; } return stopped; } GnssBatchingProvider(); @VisibleForTesting  GnssBatchingProvider(GnssBatchingProviderNative gnssBatchingProviderNative); int getBatchSize(); void enable(); boolean start(long periodNanos, boolean wakeOnFifoFull); void flush(); boolean stop(); void disable();  }