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;116 return SharedPreferenceUtil.restoreSimStates(mContext, sims); in getSimCards()151 SharedPreferenceUtil.persistSimStates(mContext, Collections.singletonList(sim)); in persistSimState()156 SharedPreferenceUtil.persistSimStates(mContext, simCards); in persistSimStates()161 final List<SimCard> sims = SharedPreferenceUtil.restoreSimStates(mContext, getSimCards()); in getSimBySubscriptionId()415 return SharedPreferenceUtil.restoreSimStates(getContext(), mSimCards); in getSimCards()
30 import com.android.contacts.util.SharedPreferenceUtil;83 SharedPreferenceUtil.clear(context); in clearPreferences()
78 import com.android.contacts.util.SharedPreferenceUtil;218 if (!SharedPreferenceUtil.getHamburgerPromoTriggerActionHappenedBefore(context)) {219 SharedPreferenceUtil.setHamburgerPromoTriggerActionHappenedBefore(context);298 && SharedPreferenceUtil.getShouldShowHamburgerPromo(getContext())) { in maybeShowHamburgerFeatureHighlight()300 SharedPreferenceUtil.setHamburgerPromoDisplayedBefore(getContext()); in maybeShowHamburgerFeatureHighlight()563 SharedPreferenceUtil.incNumOfDismissesForAutoSyncOff(getContext()); in dismiss()565 SharedPreferenceUtil.incNumOfDismissesForAccountSyncOff( in dismiss()
35 import com.android.contacts.util.SharedPreferenceUtil;227 final boolean showWelcomeBadge = !SharedPreferenceUtil.isWelcomeCardDismissed(mActivity); in getPrimaryItemView()
95 import com.android.contacts.util.SharedPreferenceUtil;265 private boolean mMenuClickedBefore = SharedPreferenceUtil.getHamburgerMenuClickedBefore(278 SharedPreferenceUtil.setHamburgerMenuClickedBefore(PeopleActivity.this); in onDrawerOpened()
162 import com.android.contacts.util.SharedPreferenceUtil;2131 && !SharedPreferenceUtil.getHamburgerPromoTriggerActionHappenedBefore(this)) { in onBackPressed()2132 SharedPreferenceUtil.setHamburgerPromoTriggerActionHappenedBefore(this); in onBackPressed()