@Test public void testDefaultPreferencesName() { final String name = SharedPreferencesPolicies.defaultPreferencesName(context); assertThat(name, is(context.getPackageName() + SharedPreferencesPolicies.DEFAULT_PREFERENCES_NAME_SUFFIX)); }
@NonNull public static String defaultPreferencesName(@NonNull final Context context) { return preferencesName(context, DEFAULT_PREFERENCES_NAME_SUFFIX); }
SharedPreferencesPolicies { @NonNull public static String defaultPreferencesName(@NonNull final Context context) { return preferencesName(context, DEFAULT_PREFERENCES_NAME_SUFFIX); } }
SharedPreferencesPolicies { @NonNull public static String defaultPreferencesName(@NonNull final Context context) { return preferencesName(context, DEFAULT_PREFERENCES_NAME_SUFFIX); } private  SharedPreferencesPolicies(); }
SharedPreferencesPolicies { @NonNull public static String defaultPreferencesName(@NonNull final Context context) { return preferencesName(context, DEFAULT_PREFERENCES_NAME_SUFFIX); } private  SharedPreferencesPolicies(); @NonNull static String defaultPreferencesName(@NonNull final Context context); @NonNull static String preferencesName(@NonNull final Context context, @NonNull final String nameSuffix); }
SharedPreferencesPolicies { @NonNull public static String defaultPreferencesName(@NonNull final Context context) { return preferencesName(context, DEFAULT_PREFERENCES_NAME_SUFFIX); } private  SharedPreferencesPolicies(); @NonNull static String defaultPreferencesName(@NonNull final Context context); @NonNull static String preferencesName(@NonNull final Context context, @NonNull final String nameSuffix); static final String DEFAULT_PREFERENCES_NAME_SUFFIX; static final int MODE_PRIVATE; static final int MODE_APPEND; }