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;
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()
/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/list/
DDefaultContactBrowseListFragment.java78 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()
/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.java95 import com.android.contacts.util.SharedPreferenceUtil;
265 private boolean mMenuClickedBefore = SharedPreferenceUtil.getHamburgerMenuClickedBefore(
278 SharedPreferenceUtil.setHamburgerMenuClickedBefore(PeopleActivity.this); in onDrawerOpened()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java162 import com.android.contacts.util.SharedPreferenceUtil;
2131 && !SharedPreferenceUtil.getHamburgerPromoTriggerActionHappenedBefore(this)) { in onBackPressed()
2132 SharedPreferenceUtil.setHamburgerPromoTriggerActionHappenedBefore(this); in onBackPressed()