/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 …]
|
D | ShowOnlyUnseenNotificationsOnLockscreenPreferenceController.java | 58 int setting = Settings.Secure.getInt(mContext.getContentResolver(), in getAvailabilityStatus() local 60 if (setting == UNSET) { in getAvailabilityStatus()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothAvrcpPlayerSettings.java | 167 public void addSettingValue(int setting, int value) { in addSettingValue() argument 168 if ((setting & mSettings) == 0) { in addSettingValue() 169 Log.e(TAG, "Setting not supported: " + setting + " " + mSettings); in addSettingValue() 170 throw new IllegalStateException("Setting not supported: " + setting); in addSettingValue() 172 mSettingsValue.put(setting, value); in addSettingValue() 184 public int getSettingValue(int setting) { in getSettingValue() argument 185 if ((setting & mSettings) == 0) { in getSettingValue() 186 Log.e(TAG, "Setting not supported: " + setting + " " + mSettings); in getSettingValue() 187 throw new IllegalStateException("Setting not supported: " + setting); in getSettingValue() 189 Integer i = mSettingsValue.get(setting); in getSettingValue()
|
/packages/apps/Settings/src/com/android/settings/utils/ |
D | ManagedServiceSettings.java | 79 .setSetting(mConfig.setting) in onCreate() 236 public final String setting; field in ManagedServiceSettings.Config 245 private Config(String tag, String setting, String intentAction, String configIntentAction, in Config() argument 249 this.setting = setting; in Config() 275 public Builder setSetting(String setting) { in setSetting() argument 276 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/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/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/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/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 | 914 final String setting = in getNetworkAvoidBadWifi() local 916 if ("0".equals(setting)) { in getNetworkAvoidBadWifi() 918 } else if ("1".equals(setting)) { in getNetworkAvoidBadWifi() 934 final String setting; in setNetworkAvoidBadWifi() local 936 setting = "0"; in setNetworkAvoidBadWifi() 938 setting = "1"; in setNetworkAvoidBadWifi() 940 setting = null; in setNetworkAvoidBadWifi() 944 Settings.Global.putString(context.getContentResolver(), NETWORK_AVOID_BAD_WIFI, setting); in setNetworkAvoidBadWifi() local
|
/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/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/specialaccess/ |
D | ServiceListing.java | 58 String setting, String intentAction, String permission, String noun, in ServiceListing() argument 63 mSetting = setting; in ServiceListing() 207 public Builder setSetting(String setting) { in setSetting() argument 208 mSetting = setting; in setSetting()
|
/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/development/tare/ |
D | TareHomePage.java | 149 final String setting = in processEnableTareChange() local 151 if (setting == null ) { in processEnableTareChange() 155 mEnableTareSetting = Integer.parseInt(setting); in processEnableTareChange()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverStickyPreferenceController.java | 52 int setting = Settings.Global.getInt(mContext.getContentResolver(), in updateState() local 55 ((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/Settings/src/com/android/settings/display/darkmode/ |
D | DarkModeObserver.java | 51 final String setting = uri == null ? null : uri.getLastPathSegment(); in DarkModeObserver() 52 if (setting != null && mCallback != null) { in DarkModeObserver()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | CameraSettingsActivity.java | 468 String setting = preference.getValue(); in setSummaryForSelection() local 469 if (setting == null || !setting.contains("x")) { in setSummaryForSelection() 472 Size settingSize = SettingsUtil.sizeFromSettingString(setting); in setSummaryForSelection()
|
/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 | 40 // Not setting this attribute implies the jar can be used on all API levels. 46 // Not setting this attribute implies unbound maximum.
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/data/repository/ |
D | ClockPickerRepositoryImpl.kt | 141 .map { setting -> setting == 1 } in <lambda>() method
|
/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/modules/Connectivity/framework/src/android/net/util/ |
D | MultinetworkPolicyTracker.java | 243 String setting = Settings.Global.getString(mResolver, NETWORK_METERED_MULTIPATH_PREFERENCE); in updateMeteredMultipathPreference() local 245 mMeteredMultipathPreference = Integer.parseInt(setting); in updateMeteredMultipathPreference()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | SettingsFragment.java | 161 int setting = in getItemList() 165 CommonPreferences.setTrickplaySetting(getContext(), setting); in getItemList()
|