Home
last modified time | relevance | path

Searched refs:getSharedPrefs (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/
DSuggestionFeatureProvider.java39 public SharedPreferences getSharedPrefs(Context context) { in getSharedPrefs() method in SuggestionFeatureProvider
64 getSharedPrefs(context) in markSuggestionDismissed()
76 getSharedPrefs(context) in markSuggestionNotDismissed()
90 return getSharedPrefs(context) in isSuggestionDismissed()
DSuggestionParser.java64 .suggestionFeatureProvider().getSharedPrefs(mContext); in SuggestionParser()
/packages/apps/Dialer/java/com/android/dialer/configprovider/
DSharedPrefConfigProvider.java81 Editor editor = getSharedPrefs(getApplicationContext()).edit(); in put()
129 private static SharedPreferences getSharedPrefs(Context appContext) { in getSharedPrefs() method in SharedPrefConfigProvider
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DDoubleTapScreenPreferenceControllerTest.java81 new SuggestionFeatureProviderImpl(context).getSharedPrefs(context); in isSuggestionCompleted_ambientDisplay_falseWhenNotVisited()
92 new SuggestionFeatureProviderImpl(context).getSharedPrefs(context); in isSuggestionCompleted_ambientDisplay_trueWhenVisited()
DDoubleTapPowerPreferenceControllerTest.java114 new SuggestionFeatureProviderImpl(mContext).getSharedPrefs(mContext); in isSuggestionCompleted_doubleTapPower_falseWhenNotVisited()
124 new SuggestionFeatureProviderImpl(mContext).getSharedPrefs(mContext); in isSuggestionCompleted_doubleTapPower_trueWhenVisited()
DSwipeToNotificationPreferenceControllerTest.java144 .getSharedPrefs(context); in isSuggestionCompleted_notVisited_shouldReturnFalse()
160 .getSharedPrefs(context); in isSuggestionCompleted_visited_shouldReturnTrue()
DPickupGesturePreferenceControllerTest.java83 new SuggestionFeatureProviderImpl(context).getSharedPrefs(context); in isSuggestionCompleted_ambientDisplayPickup_trueWhenVisited()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/appprediction/
DAppsDividerView.java272 mLauncher.getSharedPrefs().edit().putInt(ALL_APPS_VISITED_COUNT, count).apply(); in setAllAppsVisitedCount()
276 return mLauncher.getSharedPrefs().getInt(ALL_APPS_VISITED_COUNT, 0); in getAllAppsVisitedCount()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DBaseWidgetSheet.java251 mActivityContext.getSharedPrefs().edit() in showEducationTipOnViewIfPossible()
259 return mActivityContext.getSharedPrefs().getBoolean(KEY_WIDGETS_EDUCATION_TIP_SEEN, false) in hasSeenEducationTip()
/packages/apps/Launcher3/tests/src_disabled/
DWorkTabTest.java144 executeOnLauncher(launcher -> launcher.getSharedPrefs().edit().remove( in testWorkEduFlow()
188 executeOnLauncher(launcher -> launcher.getSharedPrefs().edit().remove( in testWorkEduIntermittent()
/packages/apps/Launcher3/src_plugins/com/android/systemui/plugins/shared/
DLauncherExterns.java32 SharedPreferences getSharedPrefs(); in getSharedPrefs() method
/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/
DSuggestionFeatureProvider.java45 SharedPreferences getSharedPrefs(Context context); in getSharedPrefs() method
DSuggestionFeatureProviderImpl.java86 public SharedPreferences getSharedPrefs(Context context) { in getSharedPrefs() method in SuggestionFeatureProviderImpl
/packages/apps/Settings/src/com/android/settings/gestures/
DDoubleTapPowerSettings.java47 SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context); in onAttach()
DSwipeToNotificationSettings.java43 SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context); in onAttach()
DPickupGestureSettings.java44 SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context); in onAttach()
DDoubleTapScreenSettings.java48 SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context); in onAttach()
DDoubleTwistGestureSettings.java47 SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context); in onAttach()
DTapScreenGestureSettings.java48 SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context); in onAttach()
DSystemNavigationGestureSettings.java78 SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context); in onAttach()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/
DDismissedChecker.java57 final SharedPreferences prefs = featureProvider.getSharedPrefs(context); in isEligible()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DWorkEduCard.java78 mLauncher.getSharedPrefs().edit().putInt(WorkAdapterProvider.KEY_WORK_EDU_STEP, 1).apply(); in onClick()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenOnboardingActivity.java184 final SharedPreferences prefs = featureProvider.getSharedPrefs(context); in withinShowTimeThreshold()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenOnboardingActivityTest.java86 when(mFeatureFactory.suggestionsFeatureProvider.getSharedPrefs(any(Context.class))) in setUp()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java257 mLauncher.getSharedPrefs().edit() in setupForWidget()
727 return mLauncher.getSharedPrefs() in hasSeenReconfigurableWidgetEducationTip()

12