@Test public void testThatDisablePositionCallsDisablePositionFromUserPositionManager() { doNothing().when(userPositionManager).disablePosition(); userLocator.disablePosition(); verify(userPositionManager, times(1)).disablePosition(); verify(userPositionManager, atMost(1)).getBoundingBoxCenter(); verifyNoMoreInteractions(userPositionManager); }
public void disablePosition() { userPositionManager.disablePosition(); }
UserLocator implements HistogramConsumer { public void disablePosition() { userPositionManager.disablePosition(); } }
UserLocator implements HistogramConsumer { public void disablePosition() { userPositionManager.disablePosition(); } UserLocator(final Context ctx,
                       final FingerprintManager fingerprintManager,
                       final UserPositionManager userPositionManager,
                       final WayManager wayManager);  UserLocator(final Context ctx,
                       final FingerprintManager fingerprintManager,
                       final UserPositionManager userPositionManager,
                       final WayManager wayManager,
                       final History history); }
UserLocator implements HistogramConsumer { public void disablePosition() { userPositionManager.disablePosition(); } UserLocator(final Context ctx,
                       final FingerprintManager fingerprintManager,
                       final UserPositionManager userPositionManager,
                       final WayManager wayManager);  UserLocator(final Context ctx,
                       final FingerprintManager fingerprintManager,
                       final UserPositionManager userPositionManager,
                       final WayManager wayManager,
                       final History history); static void setScale(float scale); ParticleFilter getParticleFilter(); void resetParticleFilter(); void addSensorCollector(SensorCollector collector); void removeSensorCollector(SensorCollector collector); void startTracking(); void stopTracking(); void localisationLoop(); @Override void addHistogram(final Histogram histogram); void disablePosition(); void setOutlierMode(final int outlierMode); void setStatisticFilterMode(final int statisticFilterMode); void setMapMatchingMode(final int mapMatchingMode); void setCompassFilterEnabled(final boolean enabled); void setLocalizationMethod(final int localizationMode); }
UserLocator implements HistogramConsumer { public void disablePosition() { userPositionManager.disablePosition(); } UserLocator(final Context ctx,
                       final FingerprintManager fingerprintManager,
                       final UserPositionManager userPositionManager,
                       final WayManager wayManager);  UserLocator(final Context ctx,
                       final FingerprintManager fingerprintManager,
                       final UserPositionManager userPositionManager,
                       final WayManager wayManager,
                       final History history); static void setScale(float scale); ParticleFilter getParticleFilter(); void resetParticleFilter(); void addSensorCollector(SensorCollector collector); void removeSensorCollector(SensorCollector collector); void startTracking(); void stopTracking(); void localisationLoop(); @Override void addHistogram(final Histogram histogram); void disablePosition(); void setOutlierMode(final int outlierMode); void setStatisticFilterMode(final int statisticFilterMode); void setMapMatchingMode(final int mapMatchingMode); void setCompassFilterEnabled(final boolean enabled); void setLocalizationMethod(final int localizationMode); static final String TAG; static final int OUTLIER_MODE_NO_DETECTION; static final int OUTLIER_MODE_CME; static final int OUTLIER_MODE_PLASMONA; static final int STATISTIC_FILTER_MODE_NO_FILTER; static final int STATISTIC_FILTER_MODE_MEDIAN; static final int STATISTIC_FILTER_MODE_AVERAGE; static final int MAP_MATCHING_MODE_NONE; static final int MAP_MATCHING_MODE_SIMPLE_WAY_SNAP; static final int LOCALIZATION_MODE_PARTICLEFILTER; static final int LOCALIZATION_MODE_WIFI; static final int LOCALIZATION_MODE_DEADRECKONING; }