Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java277 boolean makeDefault) throws IOException { in setSettingViaShell() argument
278 setSettingViaShell(type, name, value, null, makeDefault); in setSettingViaShell()
282 String token, boolean makeDefault) throws IOException { in setSettingViaShell() argument
287 + (makeDefault ? " default" : "")); in setSettingViaShell()
294 + (makeDefault ? " default" : "")); in setSettingViaShell()
300 + (makeDefault ? " default" : "")); in setSettingViaShell()
DDeviceConfigServiceTest.java175 String key, String value, boolean makeDefault) { in putWithContentProvider() argument
179 if (makeDefault) { in putWithContentProvider()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java419 final boolean makeDefault = getSettingMakeDefault(args); in call()
420 insertConfigSetting(name, value, makeDefault); in call()
427 final boolean makeDefault = getSettingMakeDefault(args); in call()
428 insertGlobalSetting(name, value, tag, makeDefault, requestingUserId, false); in call()
435 final boolean makeDefault = getSettingMakeDefault(args); in call()
436 insertSecureSetting(name, value, tag, makeDefault, requestingUserId, false); in call()
1081 private boolean insertConfigSetting(String name, String value, boolean makeDefault) { in insertConfigSetting() argument
1084 + makeDefault + ")"); in insertConfigSetting()
1086 return mutateConfigSetting(name, value, null, makeDefault, in insertConfigSetting()
1107 boolean makeDefault, int operation, int mode) { in mutateConfigSetting() argument
[all …]
DDeviceConfigService.java107 boolean makeDefault = false; in onCommand()
167 makeDefault = true; in onCommand()
190 DeviceConfig.setProperty(namespace, key, value, makeDefault); in onCommand()
DSettingsService.java349 final String key, final String value, String tag, boolean makeDefault) { in putForUser() argument
353 if (makeDefault) { in putForUser()
356 makeDefault = false; in putForUser()
372 if (makeDefault) { in putForUser()
DSettingsState.java380 boolean makeDefault, String packageName) { in insertSettingLocked() argument
381 return insertSettingLocked(name, value, tag, makeDefault, false, packageName); in insertSettingLocked()
387 boolean makeDefault, boolean forceNonSystemPackage, String packageName) { in insertSettingLocked() argument
398 if (!oldState.update(value, makeDefault, packageName, tag, forceNonSystemPackage)) { in insertSettingLocked()
403 newState = new Setting(name, value, makeDefault, packageName, tag); in insertSettingLocked()
408 makeDefault, getUserIdFromKey(mKey), StatsLog.SETTING_CHANGED__REASON__UPDATED); in insertSettingLocked()
943 public Setting(String name, String value, boolean makeDefault, String packageName, in Setting() argument
946 update(value, makeDefault, packageName, tag, false); in Setting()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/
Dmessage_test.js207 function makeDefault(values) { function
213 response = makeDefault([undefined, undefined, undefined, undefined]);
224 response = makeDefault([null, null, null, null]);
235 response = makeDefault(['', false, 0, 0]);
246 response = makeDefault(['blah', false, 111, 77]);
259 response = makeDefault(['blah', false, 111, 77]);
/frameworks/base/core/java/android/provider/
DDeviceConfig.java513 @Nullable String value, boolean makeDefault) { in setProperty() argument
516 return Settings.Config.putString(contentResolver, compositeName, value, makeDefault); in setProperty()
DSettings.java2282 String tag, boolean makeDefault, final int userHandle) { in putStringForUser() argument
2290 if (makeDefault) { in putStringForUser()
5319 boolean makeDefault, @UserIdInt int userHandle) { in putStringForUser() argument
5324 tag, makeDefault, userHandle); in putStringForUser()
5327 makeDefault, userHandle); in putStringForUser()
5374 boolean makeDefault) { in putString() argument
5375 return putStringForUser(resolver, name, value, tag, makeDefault, in putString()
13989 boolean makeDefault) { in putString() argument
13990 return putStringForUser(resolver, name, value, tag, makeDefault, in putString()
14059 boolean makeDefault, @UserIdInt int userHandle) { in putStringForUser() argument
[all …]
/frameworks/base/services/core/java/com/android/server/
DNsdService.java553 NsdSettings settings = NsdSettings.makeDefault(context); in create()
893 static NsdSettings makeDefault(Context context) { in makeDefault() method
DConnectivityService.java6123 private void makeDefault(NetworkAgentInfo newNetwork) { in makeDefault() method in ConnectivityService
6306 makeDefault(newNetwork); in rematchNetworkAndRequests()
/frameworks/base/core/java/android/content/res/
DConfiguration.java1386 @Deprecated public void makeDefault() { in makeDefault() method in Configuration
/frameworks/base/services/
Dart-profile853 HSPLcom/android/server/ConnectivityService;->makeDefault(Lcom/android/server/connectivity/NetworkAg…