@Test public void isSupported_nativeIsSupported() { when(mMockNative.isNavigationMessageSupported()).thenReturn(true); assertThat(mTestProvider.isAvailableInPlatform()).isTrue(); when(mMockNative.isNavigationMessageSupported()).thenReturn(false); assertThat(mTestProvider.isAvailableInPlatform()).isFalse(); }
@Override protected boolean isAvailableInPlatform() { return mNative.isNavigationMessageSupported(); }
GnssNavigationMessageProvider extends RemoteListenerHelper<IGnssNavigationMessageListener> { @Override protected boolean isAvailableInPlatform() { return mNative.isNavigationMessageSupported(); } }
GnssNavigationMessageProvider extends RemoteListenerHelper<IGnssNavigationMessageListener> { @Override protected boolean isAvailableInPlatform() { return mNative.isNavigationMessageSupported(); } protected  GnssNavigationMessageProvider(Handler handler); @VisibleForTesting  GnssNavigationMessageProvider(Handler handler, GnssNavigationMessageProviderNative aNative); }
GnssNavigationMessageProvider extends RemoteListenerHelper<IGnssNavigationMessageListener> { @Override protected boolean isAvailableInPlatform() { return mNative.isNavigationMessageSupported(); } protected  GnssNavigationMessageProvider(Handler handler); @VisibleForTesting  GnssNavigationMessageProvider(Handler handler, GnssNavigationMessageProviderNative aNative); void onNavigationMessageAvailable(final GnssNavigationMessage event); void onCapabilitiesUpdated(boolean isGnssNavigationMessageSupported); void onGpsEnabledChanged(); }
GnssNavigationMessageProvider extends RemoteListenerHelper<IGnssNavigationMessageListener> { @Override protected boolean isAvailableInPlatform() { return mNative.isNavigationMessageSupported(); } protected  GnssNavigationMessageProvider(Handler handler); @VisibleForTesting  GnssNavigationMessageProvider(Handler handler, GnssNavigationMessageProviderNative aNative); void onNavigationMessageAvailable(final GnssNavigationMessage event); void onCapabilitiesUpdated(boolean isGnssNavigationMessageSupported); void onGpsEnabledChanged();  }