Home
last modified time | relevance | path

Searched refs:PREFS_NAME (Results 1 – 14 of 14) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAppManifestConfigMetricsLogger.java52 static final String PREFS_NAME = field in AppManifestConfigMetricsLogger
107 PREFS_NAME, call, newValue); in handleLogUsage()
113 LogUtil.e(e, "logUsage(ctx, file=%s, call=%s) failed", PREFS_NAME, call); in handleLogUsage()
131 new File(context.getDataDir() + "/shared_prefs", PREFS_NAME).getAbsolutePath(); in dump()
167 return context.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE); in getPrefs()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/legal/
DModuleLicenseProviderTest.java284 context.getSharedPreferences(ModuleLicenseProvider.PREFS_NAME, Context.MODE_PRIVATE) in isCachedHtmlFileOutdated_packageNotInSharedPrefs_returnTrue()
295 ModuleLicenseProvider.PREFS_NAME, Context.MODE_PRIVATE) in isCachedHtmlFileOutdated_versionCodeDiffersFromSharedPref_returnTrue()
313 context.getSharedPreferences(ModuleLicenseProvider.PREFS_NAME, Context.MODE_PRIVATE) in isCachedHtmlFileOutdated_fileDoesNotExist_returnTrue()
316 ModuleLicenseProvider.PREFS_NAME, Context.MODE_PRIVATE) in isCachedHtmlFileOutdated_fileDoesNotExist_returnTrue()
335 context.getSharedPreferences(ModuleLicenseProvider.PREFS_NAME, Context.MODE_PRIVATE) in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue()
338 ModuleLicenseProvider.PREFS_NAME, Context.MODE_PRIVATE) in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue()
360 context.getSharedPreferences(ModuleLicenseProvider.PREFS_NAME, Context.MODE_PRIVATE) in isCachedHtmlFileOutdated_notOutdated_returnFalse()
363 ModuleLicenseProvider.PREFS_NAME, Context.MODE_PRIVATE) in isCachedHtmlFileOutdated_notOutdated_returnFalse()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/module/
DDefaultWallpaperPreferencesTest.kt49 DefaultWallpaperPreferences.PREFS_NAME, in setHomeStaticImageWallpaperMetadata_metadataShouldBeSavedToPreferences()
91 DefaultWallpaperPreferences.PREFS_NAME, in setHomeLiveWallpaperMetadata_metadataShouldBeSavedToPreferences()
129 DefaultWallpaperPreferences.PREFS_NAME, in setLockStaticImageWallpaperMetadata_metadataShouldBeSavedToPreferences()
171 DefaultWallpaperPreferences.PREFS_NAME, in setLockLiveWallpaperMetadata_metadataShouldBeSavedToPreferences()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTableDreamSettings.java26 public static final String PREFS_NAME = PhotoTableDream.TAG; field in PhotoTableDreamSettings
31 mSettings = getSharedPreferences(PREFS_NAME, 0); in onCreate()
DPhotoDreamSettingsReceiver.java41 context.getSharedPreferences(FlipperDreamSettings.PREFS_NAME, 0)), in onReceive()
43 context.getSharedPreferences(PhotoTableDreamSettings.PREFS_NAME, 0)) in onReceive()
DFlipperDreamSettings.java37 public static final String PREFS_NAME = FlipperDream.TAG; field in FlipperDreamSettings
49 mSettings = getSharedPreferences(PREFS_NAME, 0); in onCreate()
DFlipperDream.java36 getSharedPreferences(FlipperDreamSettings.PREFS_NAME, 0)); in onAttachedToWindow()
DPhotoTableDream.java49 getSharedPreferences(PhotoTableDreamSettings.PREFS_NAME, 0)); in onAttachedToWindow()
DPhotoCarousel.java103 getContext().getSharedPreferences(FlipperDreamSettings.PREFS_NAME, 0)); in PhotoCarousel()
DPhotoTable.java158 getContext().getSharedPreferences(PhotoTableDreamSettings.PREFS_NAME, 0)); in PhotoTable()
/packages/apps/Protips/src/com/android/protips/
DProtipWidget.java43 public static final String PREFS_NAME = "Protips"; field in ProtipWidget
73 SharedPreferences pref = context.getSharedPreferences(PREFS_NAME, 0); in setup()
125 SharedPreferences.Editor pref = context.getSharedPreferences(PREFS_NAME, 0).edit(); in onReceiveAsync()
138 SharedPreferences.Editor pref = context.getSharedPreferences(PREFS_NAME, 0).edit(); in onReceiveAsync()
/packages/apps/Settings/src/com/android/settings/deviceinfo/legal/
DModuleLicenseProvider.java50 static final String PREFS_NAME = "ModuleLicenseProvider"; field in ModuleLicenseProvider
192 return context.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE); in getPrefs()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAppManifestConfigMetricsLoggerTest.java33 import static com.android.adservices.service.common.AppManifestConfigMetricsLogger.PREFS_NAME;
257 + PREFS_NAME in testDump_empty()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPreferences.kt51 context.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE) in <lambda>()
973 const val PREFS_NAME = "wallpaper" in <lambda>() constant