/packages/services/Car/service/src/com/android/car/trust/ |
D | CarTrustedDeviceService.java | 148 return getSharedPrefs().getInt(String.valueOf(handle), -1); in getUserHandleByTokenHandle() 174 SharedPreferences getSharedPrefs() { in getSharedPrefs() method in CarTrustedDeviceService 220 SharedPreferences prefs = getSharedPrefs(); in getUniqueId() 249 SharedPreferences prefs = getSharedPrefs(); in getEncryptionKey() 282 if (getSharedPrefs().contains(deviceId)) { in saveEncryptionKey() 286 return getSharedPrefs() in saveEncryptionKey() 301 getSharedPrefs().edit().remove(deviceId); in clearEncryptionKey()
|
D | CarTrustAgentEnrollmentService.java | 175 if (!mTrustedDeviceService.getSharedPrefs() in startEnrollmentAdvertising() 240 int uid = mTrustedDeviceService.getSharedPrefs().getInt(String.valueOf(handle), -1); in terminateEnrollmentHandshake() 295 SharedPreferences.Editor editor = mTrustedDeviceService.getSharedPrefs().edit(); in setTrustedDeviceEnrollmentEnabled() 326 Set<String> enrolledDeviceInfos = mTrustedDeviceService.getSharedPrefs().getStringSet( in getEnrolledDeviceInfosForUser() 407 SharedPreferences sharedPrefs = mTrustedDeviceService.getSharedPrefs(); in onEscrowTokenRemoved() 457 SharedPreferences sharedPrefs = mTrustedDeviceService.getSharedPrefs(); in onEscrowTokenActiveStateChanged()
|
D | CarTrustAgentUnlockService.java | 178 SharedPreferences.Editor editor = mTrustedDeviceService.getSharedPrefs().edit(); in setTrustedDeviceUnlockEnabled() 198 if (!mTrustedDeviceService.getSharedPrefs().getBoolean(TRUSTED_DEVICE_UNLOCK_ENABLED_KEY, in startUnlockAdvertising()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | UiFactory.java | 105 if (!launcher.getSharedPrefs().getBoolean(HOME_BOUNCE_SEEN, false)) { in onCreate() 119 launcher.getSharedPrefs().getInt(HOME_BOUNCE_COUNT, 0))) { in onCreate() 120 launcher.getSharedPrefs().edit().putBoolean(HOME_BOUNCE_SEEN, true).apply(); in onCreate() 127 if (!launcher.getSharedPrefs().getBoolean(SHELF_BOUNCE_SEEN, false)) { in onCreate() 138 launcher.getSharedPrefs().getInt(SHELF_BOUNCE_COUNT, 0)) { in onCreate() 139 … launcher.getSharedPrefs().edit().putBoolean(SHELF_BOUNCE_SEEN, true).apply(); in onCreate()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/ |
D | SuggestionFeatureProvider.java | 39 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()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | DiscoveryBounce.java | 148 || (launcher.getSharedPrefs().getBoolean(HOME_BOUNCE_SEEN, false) in showForHomeIfNeeded() 174 || (launcher.getSharedPrefs().getBoolean(SHELF_BOUNCE_SEEN, false) in showForOverviewIfNeeded() 218 return !launcher.getSharedPrefs().getBoolean( in shouldShowForWorkProfile() 224 SharedPreferences sharedPrefs = launcher.getSharedPrefs(); in incrementShelfBounceCount() 233 SharedPreferences sharedPrefs = launcher.getSharedPrefs(); in incrementHomeBounceCount()
|
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/states/ |
D | AllAppsState.java | 50 if (!launcher.getSharedPrefs().getBoolean(HOME_BOUNCE_SEEN, false)) { in onStateEnabled() 51 launcher.getSharedPrefs().edit().putBoolean(HOME_BOUNCE_SEEN, true).apply(); in onStateEnabled()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
D | DoubleTapScreenPreferenceControllerTest.java | 81 new SuggestionFeatureProviderImpl(context).getSharedPrefs(context); in isSuggestionCompleted_ambientDisplay_falseWhenNotVisited() 92 new SuggestionFeatureProviderImpl(context).getSharedPrefs(context); in isSuggestionCompleted_ambientDisplay_trueWhenVisited()
|
D | DoubleTapPowerPreferenceControllerTest.java | 114 new SuggestionFeatureProviderImpl(mContext).getSharedPrefs(mContext); in isSuggestionCompleted_doubleTapPower_falseWhenNotVisited() 124 new SuggestionFeatureProviderImpl(mContext).getSharedPrefs(mContext); in isSuggestionCompleted_doubleTapPower_trueWhenVisited()
|
D | SwipeToNotificationPreferenceControllerTest.java | 144 .getSharedPrefs(context); in isSuggestionCompleted_notVisited_shouldReturnFalse() 160 .getSharedPrefs(context); in isSuggestionCompleted_visited_shouldReturnTrue()
|
/packages/apps/Dialer/java/com/android/dialer/configprovider/ |
D | SharedPrefConfigProvider.java | 81 Editor editor = getSharedPrefs(getApplicationContext()).edit(); in put() 129 private static SharedPreferences getSharedPrefs(Context appContext) { in getSharedPrefs() method in SharedPrefConfigProvider
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | BottomUserEducationView.java | 101 mLauncher.getSharedPrefs().edit() in handleClose() 126 if (launcher.getSharedPrefs().getBoolean(KEY_SHOWED_BOTTOM_USER_EDUCATION, false)) { in showIfNeeded()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | AllAppsTipView.java | 102 mLauncher.getSharedPrefs().edit().putBoolean(ALL_APPS_TIP_SEEN, true).apply(); in handleClose() 185 return launcher.getSharedPrefs().getBoolean(ALL_APPS_TIP_SEEN, false); in hasSeenAllAppsTip()
|
D | AppsDividerView.java | 272 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/ |
D | LauncherExterns.java | 29 SharedPreferences getSharedPrefs(); in getSharedPrefs() method
|
/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/ |
D | SuggestionFeatureProvider.java | 44 SharedPreferences getSharedPrefs(Context context); in getSharedPrefs() method
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/suggestions/ |
D | SuggestionFeatureProvider.java | 44 SharedPreferences getSharedPrefs(Context context); in getSharedPrefs() method
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | DoubleTapPowerSettings.java | 47 SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context); in onAttach()
|
D | DoubleTwistGestureSettings.java | 47 SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context); in onAttach()
|
D | SwipeToNotificationSettings.java | 47 SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context); in onAttach()
|
D | PickupGestureSettings.java | 48 SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context); in onAttach()
|
D | DoubleTapScreenSettings.java | 48 SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context); in onAttach()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/ |
D | DoubleTwistGestureSettings.java | 47 SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context); in onAttach()
|
D | DoubleTapPowerSettings.java | 47 SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context); in onAttach()
|
D | SystemNavigationGestureSettings.java | 47 SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context); in onAttach()
|