/frameworks/base/services/tests/servicestests/src/com/android/server/recoverysystem/ |
D | RecoverySystemServiceTestable.java | 42 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/ |
D | PreferenceGroupAdapter.java | 165 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/ |
D | SettingsActivity.java | 32 addPreferencesFromResource(R.xml.preferences); in onCreate()
|
/frameworks/base/media/java/android/media/ |
D | RouteDiscoveryPreference.java | 255 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/ |
D | SettingsActivity.java | 37 addPreferencesFromResource(R.xml.preferences); in onCreate()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 977 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/ |
D | HashedStringCacheTest.java | 178 SharedPreferences preferences = getTestSharedPreferences(mContext); in clearSharedPreferences() local 179 preferences.edit() in clearSharedPreferences()
|
/frameworks/base/test-runner/src/junit/runner/ |
D | BaseTestRunner.java | 42 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/ |
D | MuteQuickAffordanceCoreStartableTest.kt | 132 … 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/ |
D | DevicePolicyManagerTest.java | 4090 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/ |
D | PrintActivity.java | 2291 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/ |
D | settings_enums.proto | 2170 // 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/ |
D | rs_for_each.rsh | 43 RS_FOR_EACH_STRATEGY_DONT_CARE = 1, // No preferences.
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 18372 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/ |
D | metrics_constants.proto | 3958 // OPEN: Settings > Security & screen lock -> Lock screen preferences 5259 // OPEN: Settings > Connected devices > Connection preferences
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 8630 * 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
|