Searched refs:SharedPreferenceUtil (Results 1 – 8 of 8) sorted by relevance
81 return (SharedPreferenceUtil.getNumOfDismissesForAutoSyncOff(context) == 0); in isAlertVisible()83 return (SharedPreferenceUtil.getNumOfDismissesforAccountSyncOff( in isAlertVisible()93 SharedPreferenceUtil.resetNumOfDismissesForAccountSyncOff( in calculateReasonSyncOff()101 SharedPreferenceUtil.resetNumOfDismissesForAutoSyncOff(context); in calculateReasonSyncOff()109 SharedPreferenceUtil.resetNumOfDismissesForAccountSyncOff( in calculateReasonSyncOff()
32 public class SharedPreferenceUtil { class
49 import com.android.contacts.util.SharedPreferenceUtil;123 return SharedPreferenceUtil.restoreSimStates(mContext, sims); in getSimCards()162 SharedPreferenceUtil.persistSimStates(mContext, Collections.singletonList(sim)); in persistSimState()167 SharedPreferenceUtil.persistSimStates(mContext, simCards); in persistSimStates()172 final List<SimCard> sims = SharedPreferenceUtil.restoreSimStates(mContext, getSimCards()); in getSimBySubscriptionId()427 return SharedPreferenceUtil.restoreSimStates(getContext(), mSimCards); in getSimCards()
77 import com.android.contacts.util.SharedPreferenceUtil;215 if (!SharedPreferenceUtil.getHamburgerPromoTriggerActionHappenedBefore(context)) {216 SharedPreferenceUtil.setHamburgerPromoTriggerActionHappenedBefore(context);295 && SharedPreferenceUtil.getShouldShowHamburgerPromo(getContext())) { in maybeShowHamburgerFeatureHighlight()297 SharedPreferenceUtil.setHamburgerPromoDisplayedBefore(getContext()); in maybeShowHamburgerFeatureHighlight()560 SharedPreferenceUtil.incNumOfDismissesForAutoSyncOff(getContext()); in dismiss()562 SharedPreferenceUtil.incNumOfDismissesForAccountSyncOff( in dismiss()
30 import com.android.contacts.util.SharedPreferenceUtil;83 SharedPreferenceUtil.clear(context); in clearPreferences()
35 import com.android.contacts.util.SharedPreferenceUtil;227 final boolean showWelcomeBadge = !SharedPreferenceUtil.isWelcomeCardDismissed(mActivity); in getPrimaryItemView()
93 import com.android.contacts.util.SharedPreferenceUtil;263 private boolean mMenuClickedBefore = SharedPreferenceUtil.getHamburgerMenuClickedBefore(276 SharedPreferenceUtil.setHamburgerMenuClickedBefore(PeopleActivity.this); in onDrawerOpened()
162 import com.android.contacts.util.SharedPreferenceUtil;2126 && !SharedPreferenceUtil.getHamburgerPromoTriggerActionHappenedBefore(this)) { in onBackPressed()2127 SharedPreferenceUtil.setHamburgerPromoTriggerActionHappenedBefore(this); in onBackPressed()