Home
last modified time | relevance | path

Searched refs:makeDefault (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/services/flags/java/com/android/server/flags/
DGlobalSettingsProxy.java57 public boolean putStringForUser(String name, String value, String tag, boolean makeDefault, in putStringForUser() argument
60 mContentResolver, name, value, tag, makeDefault, userHandle, in putStringForUser()
65 public boolean putString(String name, String value, String tag, boolean makeDefault) { in putString() argument
66 return Settings.Global.putString(mContentResolver, name, value, tag, makeDefault); in putString()
DSettingsProxy.java77 boolean makeDefault, @UserIdInt int userHandle, boolean overrideableByRestore); in putStringForUser() argument
81 boolean makeDefault); in putString() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/settings/
DSecureSettingsImpl.java72 public boolean putStringForUser(String name, String value, String tag, boolean makeDefault, in putStringForUser() argument
75 mContentResolver, name, value, tag, makeDefault, getRealUserHandle(userHandle), in putStringForUser()
80 public boolean putString(@NonNull String name, String value, String tag, boolean makeDefault) { in putString() argument
81 return Settings.Secure.putString(mContentResolver, name, value, tag, makeDefault); in putString()
DGlobalSettingsImpl.java60 boolean makeDefault) { in putString() argument
61 return Settings.Global.putString(mContentResolver, name, value, tag, makeDefault); in putString()
DSystemSettingsImpl.java72 public boolean putStringForUser(String name, String value, String tag, boolean makeDefault, in putStringForUser() argument
79 public boolean putString(@NonNull String name, String value, String tag, boolean makeDefault) { in putString() argument
DSettingsProxy.kt140 fun putString(name: String, value: String, tag: String, makeDefault: Boolean): Boolean in getString()
DUserSettingsProxy.kt173 makeDefault: Boolean, in putStringForUser()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java293 boolean makeDefault) throws IOException { in setSettingViaShell() argument
294 setSettingViaShell(type, name, value, null, makeDefault); in setSettingViaShell()
298 String token, boolean makeDefault) throws IOException { in setSettingViaShell() argument
303 + (makeDefault ? " default" : "")); in setSettingViaShell()
310 + (makeDefault ? " default" : "")); in setSettingViaShell()
316 + (makeDefault ? " default" : "")); in setSettingViaShell()
DDeviceConfigServiceTest.java226 String key, String value, boolean makeDefault) { in putWithContentProvider() argument
230 if (makeDefault) { in putWithContentProvider()
/frameworks/base/core/java/android/provider/
DDeviceConfigInterface.java54 boolean makeDefault); in setProperty() argument
140 @Nullable String value, boolean makeDefault) {
141 return DeviceConfig.setProperty(namespace, name, value, makeDefault);
DSettings.java3407 String tag, boolean makeDefault, final int userHandle, in putStringForUser() argument
3416 if (makeDefault) { in putStringForUser()
4242 @Nullable String value, boolean makeDefault, boolean overrideableByRestore) { in putString() argument
4244 makeDefault, resolver.getUserId(), overrideableByRestore); in putString()
4262 String tag, boolean makeDefault, int userHandle, boolean overrideableByRestore) { in putStringForUser() argument
4277 return sNameValueCache.putStringForUser(resolver, name, value, tag, makeDefault, in putStringForUser()
6995 boolean makeDefault, @UserIdInt int userHandle, boolean overrideableByRestore) { in putStringForUser() argument
7004 tag, makeDefault, userHandle, DEFAULT_OVERRIDEABLE_BY_RESTORE); in putStringForUser()
7007 makeDefault, userHandle, overrideableByRestore); in putStringForUser()
7054 boolean makeDefault) { in putString() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DDeviceConfigProxy.java124 boolean makeDefault) { in setProperty() argument
125 return DeviceConfig.setProperty(namespace, name, value, makeDefault); in setProperty()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/
DDeviceConfigProxyFake.java64 public boolean setProperty(String namespace, String name, String value, boolean makeDefault) { in setProperty() argument
66 if (makeDefault) { in setProperty()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/settings/
DFakeSettings.java135 public boolean putStringForUser(String name, String value, String tag, boolean makeDefault, in putStringForUser() argument
152 public boolean putString(@NonNull String name, String value, String tag, boolean makeDefault) { in putString() argument
DFakeGlobalSettings.java80 boolean makeDefault) { in putString() argument
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsService.java354 final String key, final String value, String tag, boolean makeDefault) { in putForUser() argument
358 if (makeDefault) { in putForUser()
361 makeDefault = false; in putForUser()
377 if (makeDefault) { in putForUser()
DSettingsProvider.java455 final boolean makeDefault = getSettingMakeDefault(args); in call()
456 insertConfigSetting(name, value, makeDefault); in call()
461 final boolean makeDefault = getSettingMakeDefault(args); in call()
463 insertGlobalSetting(name, value, tag, makeDefault, requestingUserId, false, in call()
469 final boolean makeDefault = getSettingMakeDefault(args); in call()
471 insertSecureSetting(name, value, tag, makeDefault, requestingUserId, false, in call()
1173 private boolean insertConfigSetting(String name, String value, boolean makeDefault) { in insertConfigSetting() argument
1176 + makeDefault + ")"); in insertConfigSetting()
1178 return mutateConfigSetting(name, value, null, makeDefault, in insertConfigSetting()
1307 boolean makeDefault, int operation, int mode) { in mutateConfigSetting() argument
[all …]
DSettingsState.java818 boolean makeDefault, String packageName) { in insertSettingOverrideableByRestoreLocked() argument
819 return insertSettingLocked(name, value, tag, makeDefault, false, packageName, in insertSettingOverrideableByRestoreLocked()
826 boolean makeDefault, String packageName) { in insertSettingLocked() argument
827 return insertSettingLocked(name, value, tag, makeDefault, false, packageName, in insertSettingLocked()
834 boolean makeDefault, boolean forceNonSystemPackage, String packageName, in insertSettingLocked() argument
883 String newDefaultValue = makeDefault ? value : oldDefaultValue; in insertSettingLocked()
899 if (!oldState.update(value, makeDefault, packageName, tag, forceNonSystemPackage, in insertSettingLocked()
905 newState = new Setting(name, value, makeDefault, packageName, tag, in insertSettingLocked()
911 oldValue, tag, makeDefault, getUserIdFromKey(mKey), in insertSettingLocked()
1878 public Setting(String name, String value, boolean makeDefault, String packageName,
[all …]
DDeviceConfigService.java311 boolean makeDefault = false; in onCommand()
402 makeDefault = true; in onCommand()
425 DeviceConfig.setProperty(namespace, key, value, makeDefault); in onCommand()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/settings/
DUserSettingsProxyTest.kt330 makeDefault: Boolean in putString()
345 makeDefault: Boolean, in putStringForUser()
DSettingsProxyTest.kt225 makeDefault: Boolean in putString()
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
DFakeDeviceConfigInterface.java127 public boolean setProperty(String namespace, String name, String value, boolean makeDefault) { in setProperty() argument
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSizeCompatTests.java4906 boolean makeDefault) { in setNeverConstrainDisplayApisFlag() argument
4908 CONFIG_NEVER_CONSTRAIN_DISPLAY_APIS, value, makeDefault); in setNeverConstrainDisplayApisFlag()
4912 boolean makeDefault) { in setNeverConstrainDisplayApisAllPackagesFlag() argument
4915 makeDefault); in setNeverConstrainDisplayApisAllPackagesFlag()
4919 boolean makeDefault) { in setAlwaysConstrainDisplayApisFlag() argument
4921 CONFIG_ALWAYS_CONSTRAIN_DISPLAY_APIS, value, makeDefault); in setAlwaysConstrainDisplayApisFlag()
/frameworks/base/core/java/android/content/res/
DConfiguration.java1608 @Deprecated public void makeDefault() { in makeDefault() method in Configuration