Home
last modified time | relevance | path

Searched refs:SharedPreferenceUtil (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/util/
DSyncUtil.java81 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()
DSharedPreferenceUtil.java32 public class SharedPreferenceUtil { class
/packages/apps/Contacts/src/com/android/contacts/database/
DSimContactDaoImpl.java49 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()
/packages/apps/Contacts/src/com/android/contacts/list/
DDefaultContactBrowseListFragment.java77 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()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DAdbHelpers.java30 import com.android.contacts.util.SharedPreferenceUtil;
83 SharedPreferenceUtil.clear(context); in clearPreferences()
/packages/apps/Contacts/src/com/android/contacts/drawer/
DDrawerAdapter.java35 import com.android.contacts.util.SharedPreferenceUtil;
227 final boolean showWelcomeBadge = !SharedPreferenceUtil.isWelcomeCardDismissed(mActivity); in getPrimaryItemView()
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java93 import com.android.contacts.util.SharedPreferenceUtil;
263 private boolean mMenuClickedBefore = SharedPreferenceUtil.getHamburgerMenuClickedBefore(
276 SharedPreferenceUtil.setHamburgerMenuClickedBefore(PeopleActivity.this); in onDrawerOpened()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java162 import com.android.contacts.util.SharedPreferenceUtil;
2126 && !SharedPreferenceUtil.getHamburgerPromoTriggerActionHappenedBefore(this)) { in onBackPressed()
2127 SharedPreferenceUtil.setHamburgerPromoTriggerActionHappenedBefore(this); in onBackPressed()