@Test public void reflectedGetAdvertisingId_whenAdvertisingIdIsSet_shouldReturnAdvertisingId() throws Exception { MethodBuilderFactory.setInstance(new MethodBuilderFactory()); assertThat(GpsHelper.reflectedGetAdvertisingId(adInfo, null)).isEqualTo(adInfo.ADVERTISING_ID); }
static String reflectedGetAdvertisingId(final Object adInfo, final String defaultValue) { try { return (String) MethodBuilderFactory.create(adInfo, "getId").execute(); } catch (Exception exception) { return defaultValue; } }
GpsHelper { static String reflectedGetAdvertisingId(final Object adInfo, final String defaultValue) { try { return (String) MethodBuilderFactory.create(adInfo, "getId").execute(); } catch (Exception exception) { return defaultValue; } } }
GpsHelper { static String reflectedGetAdvertisingId(final Object adInfo, final String defaultValue) { try { return (String) MethodBuilderFactory.create(adInfo, "getId").execute(); } catch (Exception exception) { return defaultValue; } }  }
GpsHelper { static String reflectedGetAdvertisingId(final Object adInfo, final String defaultValue) { try { return (String) MethodBuilderFactory.create(adInfo, "getId").execute(); } catch (Exception exception) { return defaultValue; } }  static boolean isPlayServicesAvailable(final Context context); static boolean isLimitAdTrackingEnabled(Context context); static void fetchAdvertisingInfoAsync(final Context context, final GpsHelperListener gpsHelperListener); @Nullable static AdvertisingInfo fetchAdvertisingInfoSync(final Context context); @Deprecated static void setClassNamesForTesting(); }
GpsHelper { static String reflectedGetAdvertisingId(final Object adInfo, final String defaultValue) { try { return (String) MethodBuilderFactory.create(adInfo, "getId").execute(); } catch (Exception exception) { return defaultValue; } }  static boolean isPlayServicesAvailable(final Context context); static boolean isLimitAdTrackingEnabled(Context context); static void fetchAdvertisingInfoAsync(final Context context, final GpsHelperListener gpsHelperListener); @Nullable static AdvertisingInfo fetchAdvertisingInfoSync(final Context context); @Deprecated static void setClassNamesForTesting(); static final int GOOGLE_PLAY_SUCCESS_CODE; static final String ADVERTISING_ID_KEY; static final String IS_LIMIT_AD_TRACKING_ENABLED_KEY; }