/packages/apps/TV/common/src/com/android/tv/common/dev/ |
D | DeveloperPreference.java | 40 static final SharedPreferences getPreferences(Context context) { in getPreferences() method in DeveloperPreference 91 getPreferences(context).edit().remove(mKey).apply(); in clear() 107 getPreferences(context).edit().putBoolean(mKey, value).apply(); in storeValue() 112 return getPreferences(context).getBoolean(mKey, mDefaultValue); in getStoredValue() 124 getPreferences(context).edit().putInt(mKey, value).apply(); in storeValue() 129 return getPreferences(context).getInt(mKey, mDefaultValue); in getStoredValue()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | PreferenceHelper.java | 70 getPreferences().put(key, value); in insertOrReplacePreference() 77 getPreferences().remove(id); in removeKey() 92 getPreferences().putAll(keyValues); in insertOrReplacePreferencesTransaction() 102 return getPreferences().get(key); in getPreference() 121 protected Map<String, String> getPreferences() { in getPreferences() method in PreferenceHelper
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/ |
D | FakePreferenceHelper.java | 36 getPreferences().put(key, value); in insertOrReplacePreference() 41 getPreferences().remove(id); in removeKey()
|
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/dev/ |
D | DeveloperPreferenceTest.java | 37 DeveloperPreference.getPreferences(RuntimeEnvironment.systemContext) in createBoolean_default_true() 49 DeveloperPreference.getPreferences(RuntimeEnvironment.systemContext) in create_integer_default_one()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | WallpaperPicker2Injector.kt | 257 getPreferences(context), in getWallpaperPersister() 269 override fun getPreferences(context: Context): WallpaperPreferences { in getPreferences() method in com.android.wallpaper.module.WallpaperPicker2Injector 318 wallpaperPreferences = getPreferences(context = appContext), in getWallpaperInteractor() 335 wallpaperPreferences = getPreferences(appContext), in getWallpaperClient()
|
D | DailyLoggingAlarmReceiver.java | 34 WallpaperPreferences preferences = injector.getPreferences(appContext); in onReceive()
|
D | DailyLoggingAlarmScheduler.java | 43 WallpaperPreferences preferences = injector.getPreferences(appContext); in setAlarm()
|
D | RotationWallpaperUpdateReceiver.java | 83 WallpaperPreferences wallpaperPreferences = injector.getPreferences(appContext); in switchToStaticWallpaper()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/ |
D | BaseEnterprisePreferenceControllerTestCase.java | 56 assertThat(preferenceGroup.getPreferences().stream() in verifyPreferenceTitles() 127 public List<Preference> getPreferences() { in getPreferences() method in BaseEnterprisePreferenceControllerTestCase.DummyPreferenceGroup
|
D | EnterpriseSetDefaultAppsListPreferenceControllerTest.java | 225 List<Preference> prefs = mPreferenceGroup.getPreferences(); in testUpdateState_allSingleApps() 258 List<Preference> prefs = mPreferenceGroup.getPreferences(); in testUpdateState_allMultipleApps()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/backup/ |
D | MissingHashCodeGenerator.java | 55 WallpaperPreferences wallpaperPreferences = injector.getPreferences(context); in onReceive()
|
D | MissingHashCodeGeneratorJobService.java | 83 WallpaperPreferences wallpaperPreferences = injector.getPreferences(context); in onStartJob()
|
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/ |
D | TestWallpaperRefresher.java | 45 WallpaperPreferences prefs = InjectorProvider.getInjector().getPreferences(mAppContext); in refresh()
|
D | TestWallpaperRotationInitializer.java | 59 InjectorProvider.getInjector().getPreferences(appContext); in startRotation()
|
D | TestInjector.kt | 224 override fun getPreferences(context: Context): WallpaperPreferences { in getPreferences() method in com.android.wallpaper.testing.TestInjector 281 wallpaperPreferences = getPreferences(context = context), in getWallpaperInteractor()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | WallpaperDisabledFragment.java | 72 … WallpaperPreferences preferences = InjectorProvider.getInjector().getPreferences(getActivity()); in onResume()
|
D | WallpaperPickerDelegate.java | 86 mPreferences = injector.getPreferences(activity); in WallpaperPickerDelegate() 392 public WallpaperPreferences getPreferences() { in getPreferences() method in WallpaperPickerDelegate
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/wear/ |
D | WearDefaultAppListHelper.kt | 30 fun getPreferences(defaultRole: List<RoleItem>): List<WearRolePreference> { in <lambda>() method
|
D | WearDefaultAppListScreen.kt | 45 val preferences = helper.getPreferences(defaultApps) in <lambda>()
|
D | WearDefaultAppHelper.kt | 56 fun getPreferences( in <lambda>() method
|
D | WearRequestRoleHelper.kt | 78 fun getPreferences( in <lambda>() method
|
D | WearDefaultAppScreen.kt | 75 for (pref in helper.getPreferences(qualifyingApplications)) { in WearDefaultAppContent()
|
/packages/apps/ThemePicker/src/com/android/customization/module/ |
D | ThemePickerInjector.kt | 204 return getPreferences(context) as CustomizationPreferences in <lambda>() 222 wallpaperPreferences = getPreferences(appContext), in <lambda>() 224 wallpaperPreferences = getPreferences(context = appContext), in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/model/themedicon/ |
D | ThemedIconSwitchProvider.java | 66 .getPreferences(appContext)); in getInstance()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/performance/ |
D | PerfImpactingAppsPreferenceControllerTest.java | 273 getPreferences(expectedResultInfos); in initController() 284 private List<CarUiTwoActionTextPreference> getPreferences(List<ResolveInfo> resolveInfos) { in getPreferences() method in PerfImpactingAppsPreferenceControllerTest
|