Home
last modified time | relevance | path

Searched refs:preferences (Results 1 – 22 of 22) sorted by relevance

/frameworks/libs/systemui/toruslib/torus-wallpaper-settings/src/main/java/com/google/android/torus/settings/inlinecontrol/
DBaseSliceConfigProvider.kt40 protected lateinit var preferences: CustomizedSharedPreferences in <lambda>() variable in com.google.android.torus.settings.inlinecontrol.BaseSliceConfigProvider
48 preferences = CustomizedSharedPreferences(context, sharedPrefKey) in <lambda>()
50 preferences.load(true) in <lambda>()
54 preferences.register(sharedPreferenceListener) in <lambda>()
55 preferences.load(true) in <lambda>()
DSingleSelectionRowConfigProvider.kt67 colorIndex = preferences.getInt( in <lambda>()
/frameworks/libs/systemui/toruslib/torus-wallpaper-settings/src/main/java/com/google/android/torus/settings/storage/
DCustomizedSharedPreferences.kt98 private val preferences: SharedPreferences constant
113 preferences = secureContext.getSharedPreferences(PREF_FILENAME, Context.MODE_MULTI_PROCESS)
125 val editor = preferences.edit() in save()
138 val jsonStr = preferences.getString(wallpaperConfigName + keySuffix, "") in load()
248 preferences.registerOnSharedPreferenceChangeListener(listener) in register()
/frameworks/base/services/tests/servicestests/src/com/android/server/recoverysystem/
DRecoverySystemServiceTestable.java42 RecoverySystemService.PreferencesManager preferences) { in MockInjector() argument
51 mSharedPreferences = preferences; in MockInjector()
151 RecoverySystemService.PreferencesManager preferences) { in RecoverySystemServiceTestable() argument
153 uncryptSocket, lockSettingsInternal, bootControl, metricsReporter, preferences)); in RecoverySystemServiceTestable()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionSessionIdGenerator.java52 SharedPreferences preferences = in getInstance() local
55 sInstance = new MediaProjectionSessionIdGenerator(preferences); in getInstance()
DMediaProjectionTimestampStore.java64 SharedPreferences preferences = in getInstance() local
67 sInstance = new MediaProjectionTimestampStore(preferences, InstantSource.system()); in getInstance()
/frameworks/base/core/java/android/preference/
DPreferenceGroupAdapter.java165 private void flattenPreferenceGroup(List<Preference> preferences, PreferenceGroup group) { in flattenPreferenceGroup() argument
173 preferences.add(preference); in flattenPreferenceGroup()
182 flattenPreferenceGroup(preferences, preferenceAsGroup); in flattenPreferenceGroup()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DSettingsActivity.java32 addPreferencesFromResource(R.xml.preferences); in onCreate()
/frameworks/base/media/java/android/media/
DRouteDiscoveryPreference.java276 public Builder(@NonNull Collection<RouteDiscoveryPreference> preferences) { in Builder() argument
277 Objects.requireNonNull(preferences, "preferences must not be null"); in Builder()
283 for (RouteDiscoveryPreference preference : preferences) { in Builder()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DSettingsActivity.java37 addPreferencesFromResource(R.xml.preferences); in onCreate()
/frameworks/proto_logging/stats/enums/app/
Dsettings_enums.proto1179 // ACTION: Settings > System > Languages > Regional preferences > Temperature > Set the
1185 // ACTION: Settings > System > Languages > Regional preferences > First day of week > Set the
1190 // ACTION: Settings > System > Languages > Regional preferences > Numbers preference >
1195 // ACTION: Settings > System > Languages > Regional preferences > Numbers preference >
1196 // Choose the language > Set the preferred numbers preferences.
1671 // Action: Settings > Connected devices > Connection preferences > Audio sharing >
1677 // Action: Settings > Connected devices > Connection preferences > Audio sharing >
1683 // Action: Settings > Connected devices > Connection preferences > Audio sharing > Toggle on or
1690 // Action: Settings > Connected devices > Connection preferences > Audio sharing > Toggle off or
1697 // Action: Settings > Connected devices > Connection preferences > Audio sharing >
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DHashedStringCacheTest.java187 SharedPreferences preferences = getTestSharedPreferences(mContext); in clearSharedPreferences() local
188 preferences.edit() in clearSharedPreferences()
/frameworks/base/test-junit/src/junit/runner/
DBaseTestRunner.java42 protected static void setPreferences(Properties preferences) { in setPreferences() argument
43 fPreferences= preferences; in setPreferences()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DCreateUserDialogController.java224 final SharedPreferences preferences = mActivity.getPreferences( in updateLayout() local
226 final boolean longMessageDisplayed = preferences.getBoolean( in updateLayout()
232 preferences.edit().putBoolean( in updateLayout()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java1145 SharedPreferences preferences = mContext.getSharedPreferences( in migratePhonebookPermissionChoice() local
1147 if (!preferences.contains(mDevice.getAddress())) { in migratePhonebookPermissionChoice()
1153 preferences.getInt(mDevice.getAddress(), BluetoothDevice.ACCESS_UNKNOWN); in migratePhonebookPermissionChoice()
1161 SharedPreferences.Editor editor = preferences.edit(); in migratePhonebookPermissionChoice()
1169 SharedPreferences preferences = mContext.getSharedPreferences( in migrateMessagePermissionChoice() local
1171 if (!preferences.contains(mDevice.getAddress())) { in migrateMessagePermissionChoice()
1177 preferences.getInt(mDevice.getAddress(), BluetoothDevice.ACCESS_UNKNOWN); in migrateMessagePermissionChoice()
1185 SharedPreferences.Editor editor = preferences.edit(); in migrateMessagePermissionChoice()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java4097 List<ProfileNetworkPreference> preferences = new ArrayList<>(); in testUpdateNetworkPreferenceOnStartUser() local
4098 preferences.add(preferenceDetails); in testUpdateNetworkPreferenceOnStartUser()
4100 .setProfileNetworkPreferences(UserHandle.of(managedProfileUserId), preferences, in testUpdateNetworkPreferenceOnStartUser() local
4117 List<ProfileNetworkPreference> preferences = new ArrayList<>(); in testUpdateNetworkPreferenceOnStopUser() local
4118 preferences.add(preferenceDetails); in testUpdateNetworkPreferenceOnStopUser()
4120 .setProfileNetworkPreferences(UserHandle.of(managedProfileUserId), preferences, in testUpdateNetworkPreferenceOnStopUser() local
4144 List<ProfileNetworkPreference> preferences = new ArrayList<>(); in testGetSetPreferentialNetworkService() local
4145 preferences.add(preferenceDetails); in testGetSetPreferentialNetworkService()
4147 .setProfileNetworkPreferences(UserHandle.of(managedProfileUserId), preferences, in testGetSetPreferentialNetworkService() local
4218 List<ProfileNetworkPreference> preferences = new ArrayList<>(); in testSetPreferentialNetworkServiceConfig_defaultPreference() local
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java2294 SharedPreferences preferences = getSharedPreferences(HAS_PRINTED_PREF, MODE_PRIVATE); in hasUserEverPrinted() local
2296 return preferences.getBoolean(HAS_PRINTED_PREF, false); in hasUserEverPrinted()
2303 SharedPreferences preferences = getSharedPreferences(HAS_PRINTED_PREF, MODE_PRIVATE); in setUserPrinted() local
2305 if (!preferences.getBoolean(HAS_PRINTED_PREF, false)) { in setUserPrinted()
2306 SharedPreferences.Editor edit = preferences.edit(); in setUserPrinted()
/frameworks/base/packages/SettingsLib/DataStore/
DREADME.md7 data store besides the settings preferences.
/frameworks/rs/script_api/include/
Drs_for_each.rsh43 RS_FOR_EACH_STRATEGY_DONT_CARE = 1, // No preferences.
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java22218 List<ProfileNetworkPreference> preferences = new ArrayList<>();
22244 preferences.add(preferenceBuilder.build());
22246 Slogf.d(LOG_TAG, "updateNetworkPreferenceForUser to " + preferences);
22249 UserHandle.of(userId), preferences,
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto3965 // OPEN: Settings > Security & screen lock -> Lock screen preferences
5266 // OPEN: Settings > Connected devices > Connection preferences
/frameworks/proto_logging/stats/
Datoms.proto9170 * Atom that contains a list of a package's preferences, pulled from NotificationManagerService.java
9201 * Atom that contains a list of a package's channel preferences, pulled from
9230 * Atom that contains a list of a package's channel group preferences, pulled from