/packages/apps/Settings/src/com/android/settings/notification/ |
D | SettingPref.java | 50 public SettingPref(int type, String key, String setting, int def, int... values) { in SettingPref() argument 53 mSetting = setting; in SettingPref() 131 private static Uri getUriFor(int type, String setting) { in getUriFor() argument 134 return Global.getUriFor(setting); in getUriFor() 136 return System.getUriFor(setting); in getUriFor() 138 return Secure.getUriFor(setting); in getUriFor() 143 protected static boolean putInt(int type, ContentResolver cr, String setting, int value) { in putInt() argument 146 return Global.putInt(cr, setting, value); in putInt() 148 return System.putInt(cr, setting, value); in putInt() 150 return Secure.putInt(cr, setting, value); in putInt() [all …]
|
/packages/apps/Settings/src/com/android/settings/utils/ |
D | ManagedServiceSettings.java | 77 .setSetting(mConfig.setting) in onCreate() 231 public final String setting; field in ManagedServiceSettings.Config 240 private Config(String tag, String setting, String intentAction, String configIntentAction, in Config() argument 244 this.setting = setting; in Config() 270 public Builder setSetting(String setting) { in setSetting() argument 271 mSetting = setting; in setSetting()
|
/packages/modules/adb/ |
D | adb_trace.cpp | 94 const char* setting = getenv("ADB_TRACE"); in get_trace_setting() local 95 if (setting == nullptr) { in get_trace_setting() 96 setting = ""; in get_trace_setting() 98 return setting; in get_trace_setting()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/ |
D | BackgroundScanScheduler.java | 204 WifiScanner.ScanSettings setting = mScanSettingsList.get(i); in createBucketSettings() local 205 int requestedReportEvents = setting.reportEvents; in createBucketSettings() 219 if (i == 0 && setting.maxPeriodInMs != 0 in createBucketSettings() 220 && setting.maxPeriodInMs != setting.periodInMs) { in createBucketSettings() 224 bucketIndex = findBestRegularBucketIndex(setting.periodInMs, in createBucketSettings() 227 maxPeriodInMs = (setting.maxPeriodInMs < period) in createBucketSettings() 229 : setting.maxPeriodInMs; in createBucketSettings() 230 stepCount = setting.stepCount; in createBucketSettings()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivitySettingsManager.java | 906 final String setting = in getNetworkAvoidBadWifi() local 908 if ("0".equals(setting)) { in getNetworkAvoidBadWifi() 910 } else if ("1".equals(setting)) { in getNetworkAvoidBadWifi() 926 final String setting; in setNetworkAvoidBadWifi() local 928 setting = "0"; in setNetworkAvoidBadWifi() 930 setting = "1"; in setNetworkAvoidBadWifi() 932 setting = null; in setNetworkAvoidBadWifi() 936 Settings.Global.putString(context.getContentResolver(), NETWORK_AVOID_BAD_WIFI, setting); in setNetworkAvoidBadWifi() local
|
/packages/apps/Camera2/src/com/android/camera/one/ |
D | OneCamera.java | 317 public static Flash decodeSettingsString(@Nonnull String setting) { in decodeSettingsString() argument 318 if (AUTO.encodeSettingsString().equals(setting)) { in decodeSettingsString() 320 } else if (OFF.encodeSettingsString().equals(setting)) { in decodeSettingsString() 322 } else if (ON.encodeSettingsString().equals(setting)) { in decodeSettingsString()
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | AccountDetailsSettingController.java | 65 for (Preference setting : preferenceBundleMap.keySet()) { in addExtraSettings() 67 preferenceBundleMap.get(setting).getString(METADATA_IA_ACCOUNT))) { in addExtraSettings() 70 getPreference().addPreference(setting); in addExtraSettings()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | AppSettingsInjector.java | 47 protected Preference createPreference(Context prefContext, InjectedSetting setting) { in createPreference() argument 48 return TextUtils.isEmpty(setting.userRestriction) in createPreference() 50 : new RestrictedAppPreference(prefContext, setting.userRestriction); in createPreference()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | ExtraSettingsPreferenceController.java | 165 for (Preference setting : preferenceBundleMap.keySet()) { in addExtraSettings() 166 Bundle metaData = preferenceBundleMap.get(setting); in addExtraSettings() 172 setting.getExtras().putBoolean(META_DATA_DISTRACTION_OPTIMIZED, distractionOptimized); in addExtraSettings() 173 getDynamicData(setting, metaData); in addExtraSettings() 174 getPreference().addPreference(setting); in addExtraSettings()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAutofillPickerPreferenceController.java | 68 String setting = Settings.Secure.getString(getContext().getContentResolver(), in getCurrentDefaultKey() local 70 if (setting != null) { in getCurrentDefaultKey() 71 ComponentName componentName = ComponentName.unflattenFromString(setting); in getCurrentDefaultKey()
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
D | AppsSettingsTests.java | 89 for (String setting : sResourceTexts) { in testAppSettingsListForCalculator() 92 Until.findObject(By.text(setting)), TIMEOUT); in testAppSettingsListForCalculator() 93 assertNotNull("Missing setting for Calculator: " + setting, appSetting); in testAppSettingsListForCalculator()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverStickyPreferenceController.java | 51 int setting = Settings.Global.getInt(mContext.getContentResolver(), in updateState() local 54 ((SwitchPreference) preference).setChecked(setting == 1); in updateState()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | BatteryPercentagePreferenceController.java | 69 int setting = Settings.System.getInt(mContext.getContentResolver(), in updateState() local 72 ((SwitchPreference) preference).setChecked(setting == 1); in updateState()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | CameraSettingsActivity.java | 466 String setting = preference.getValue(); in setSummaryForSelection() local 467 if (setting == null || !setting.contains("x")) { in setSummaryForSelection() 470 Size settingSize = SettingsUtil.sizeFromSettingString(setting); in setSummaryForSelection()
|
/packages/apps/Settings/src/com/android/settings/display/darkmode/ |
D | DarkModeObserver.java | 50 final String setting = uri == null ? null : uri.getLastPathSegment(); in DarkModeObserver() 51 if (setting != null && mCallback != null) { in DarkModeObserver()
|
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/ |
D | DefaultAutofillPicker.java | 223 String setting = Settings.Secure.getStringForUser( in getDefaultKey() local 225 if (setting != null) { in getDefaultKey() 226 ComponentName componentName = ComponentName.unflattenFromString(setting); in getDefaultKey()
|
/packages/modules/common/proto/ |
D | classpaths.proto | 39 // Not setting this attribute, defaults the value to zero and implies the jar 44 // Not setting this attribute implies unbound maximum; otherwise set value
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | VerifyAppsOverUsbPreferenceControllerTest.java | 69 public GlobalSetter set(String setting, int value) { in set() argument 70 Global.putInt(mContext.getContentResolver(), setting, value); in set() local
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | SettingsFragment.java | 161 int setting = in getItemList() 165 CommonPreferences.setTrickplaySetting(getContext(), setting); in getItemList()
|
/packages/modules/Connectivity/framework/src/android/net/util/ |
D | MultinetworkPolicyTracker.java | 239 String setting = Settings.Global.getString(mResolver, NETWORK_METERED_MULTIPATH_PREFERENCE); in updateMeteredMultipathPreference() local 241 mMeteredMultipathPreference = Integer.parseInt(setting); in updateMeteredMultipathPreference()
|
/packages/apps/Car/Settings/src/com/android/car/settings/location/ |
D | CarLocationSettingsInjector.java | 36 protected Preference createPreference(Context prefContext, InjectedSetting setting) { in createPreference() argument
|
/packages/modules/DnsResolver/ |
D | README.md | 4 The default setting is WARNING and logs relate to WARNING and ERROR will be shown. If
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/ |
D | TimePickerDialogFragment.java | 16 package com.google.android.car.kitchensink.setting;
|
/packages/apps/TV/src/com/android/tv/util/ |
D | TvInputManagerHelper.java | 680 int setting; in updateAllow3rdPartyInputs() local 682 setting = in updateAllow3rdPartyInputs() 689 mAllow3rdPartyInputs = setting == 1; in updateAllow3rdPartyInputs()
|
/packages/apps/Car/DebuggingRestrictionController/ |
D | gradle.properties | 8 # The setting is particularly useful for tweaking memory settings.
|