Home
last modified time | relevance | path

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

/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/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.java255 public Builder(@NonNull Collection<RouteDiscoveryPreference> preferences) { in Builder() argument
256 Objects.requireNonNull(preferences, "preferences must not be null"); in Builder()
262 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/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java977 SharedPreferences preferences = mContext.getSharedPreferences( in migratePhonebookPermissionChoice() local
979 if (!preferences.contains(mDevice.getAddress())) { in migratePhonebookPermissionChoice()
985 preferences.getInt(mDevice.getAddress(), BluetoothDevice.ACCESS_UNKNOWN); in migratePhonebookPermissionChoice()
993 SharedPreferences.Editor editor = preferences.edit(); in migratePhonebookPermissionChoice()
1001 SharedPreferences preferences = mContext.getSharedPreferences( in migrateMessagePermissionChoice() local
1003 if (!preferences.contains(mDevice.getAddress())) { in migrateMessagePermissionChoice()
1009 preferences.getInt(mDevice.getAddress(), BluetoothDevice.ACCESS_UNKNOWN); in migrateMessagePermissionChoice()
1017 SharedPreferences.Editor editor = preferences.edit(); in migrateMessagePermissionChoice()
/frameworks/base/core/tests/coretests/src/android/util/
DHashedStringCacheTest.java178 SharedPreferences preferences = getTestSharedPreferences(mContext); in clearSharedPreferences() local
179 preferences.edit() in clearSharedPreferences()
/frameworks/base/test-runner/src/junit/runner/
DBaseTestRunner.java42 protected static void setPreferences(Properties preferences) { in setPreferences() argument
43 fPreferences= preferences; in setPreferences()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/
DMuteQuickAffordanceCoreStartableTest.kt132 … fun `ringer mode is changed to SILENT - do not save to shared preferences`() = testScope.runTest { in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java4090 List<ProfileNetworkPreference> preferences = new ArrayList<>(); in testUpdateNetworkPreferenceOnStartUser() local
4091 preferences.add(preferenceDetails); in testUpdateNetworkPreferenceOnStartUser()
4093 .setProfileNetworkPreferences(UserHandle.of(managedProfileUserId), preferences, in testUpdateNetworkPreferenceOnStartUser() local
4110 List<ProfileNetworkPreference> preferences = new ArrayList<>(); in testUpdateNetworkPreferenceOnStopUser() local
4111 preferences.add(preferenceDetails); in testUpdateNetworkPreferenceOnStopUser()
4113 .setProfileNetworkPreferences(UserHandle.of(managedProfileUserId), preferences, in testUpdateNetworkPreferenceOnStopUser() local
4137 List<ProfileNetworkPreference> preferences = new ArrayList<>(); in testGetSetPreferentialNetworkService() local
4138 preferences.add(preferenceDetails); in testGetSetPreferentialNetworkService()
4140 .setProfileNetworkPreferences(UserHandle.of(managedProfileUserId), preferences, in testGetSetPreferentialNetworkService() local
4211 List<ProfileNetworkPreference> preferences = new ArrayList<>(); in testSetPreferentialNetworkServiceConfig_defaultPreference() local
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java2291 SharedPreferences preferences = getSharedPreferences(HAS_PRINTED_PREF, MODE_PRIVATE); in hasUserEverPrinted() local
2293 return preferences.getBoolean(HAS_PRINTED_PREF, false); in hasUserEverPrinted()
2300 SharedPreferences preferences = getSharedPreferences(HAS_PRINTED_PREF, MODE_PRIVATE); in setUserPrinted() local
2302 if (!preferences.getBoolean(HAS_PRINTED_PREF, false)) { in setUserPrinted()
2303 SharedPreferences.Editor edit = preferences.edit(); in setUserPrinted()
/frameworks/proto_logging/stats/enums/app/
Dsettings_enums.proto2170 // OPEN: Settings > Security & screen lock -> Lock screen preferences
2331 // OPEN: Settings > Connected devices > Connection preferences
2946 // OPEN: Settings > Connected devices > Connection preferences > NFC
3350 // OPEN: Settings > Connected devices > Connection preferences > Fast Pair
/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.java18372 List<ProfileNetworkPreference> preferences = new ArrayList<>();
18395 preferences.add(preferenceBuilder.build());
18397 Slogf.d(LOG_TAG, "updateNetworkPreferenceForUser to " + preferences);
18400 UserHandle.of(userId), preferences,
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto3958 // OPEN: Settings > Security & screen lock -> Lock screen preferences
5259 // OPEN: Settings > Connected devices > Connection preferences
/frameworks/proto_logging/stats/
Datoms.proto8630 * Atom that contains a list of a package's preferences, pulled from NotificationManagerService.java
8648 * Atom that contains a list of a package's channel preferences, pulled from
8747 * Atom that contains a list of a package's channel group preferences, pulled from