@Test public void isSupported_nativeIsSupported() { when(mMockNative.isMeasurementSupported()).thenReturn(true); assertThat(mTestProvider.isAvailableInPlatform()).isTrue(); when(mMockNative.isMeasurementSupported()).thenReturn(false); assertThat(mTestProvider.isAvailableInPlatform()).isFalse(); }
@Override public boolean isAvailableInPlatform() { return mNative.isMeasurementSupported(); }
GnssMeasurementsProvider extends
        RemoteListenerHelper<IGnssMeasurementsListener> { @Override public boolean isAvailableInPlatform() { return mNative.isMeasurementSupported(); } }
GnssMeasurementsProvider extends
        RemoteListenerHelper<IGnssMeasurementsListener> { @Override public boolean isAvailableInPlatform() { return mNative.isMeasurementSupported(); } protected  GnssMeasurementsProvider(Context context, Handler handler); @VisibleForTesting  GnssMeasurementsProvider(Context context, Handler handler,
            GnssMeasurementProviderNative aNative); }
GnssMeasurementsProvider extends
        RemoteListenerHelper<IGnssMeasurementsListener> { @Override public boolean isAvailableInPlatform() { return mNative.isMeasurementSupported(); } protected  GnssMeasurementsProvider(Context context, Handler handler); @VisibleForTesting  GnssMeasurementsProvider(Context context, Handler handler,
            GnssMeasurementProviderNative aNative); @Override boolean isAvailableInPlatform(); void onMeasurementsAvailable(final GnssMeasurementsEvent event); void onCapabilitiesUpdated(boolean isGnssMeasurementsSupported); void onGpsEnabledChanged(); }
GnssMeasurementsProvider extends
        RemoteListenerHelper<IGnssMeasurementsListener> { @Override public boolean isAvailableInPlatform() { return mNative.isMeasurementSupported(); } protected  GnssMeasurementsProvider(Context context, Handler handler); @VisibleForTesting  GnssMeasurementsProvider(Context context, Handler handler,
            GnssMeasurementProviderNative aNative); @Override boolean isAvailableInPlatform(); void onMeasurementsAvailable(final GnssMeasurementsEvent event); void onCapabilitiesUpdated(boolean isGnssMeasurementsSupported); void onGpsEnabledChanged();  }