/frameworks/base/services/core/java/com/android/server/am/ |
D | CoreSettingsObserver.java | 84 for (String setting : sSecureSettingToTypeMap.keySet()) { in beginObserveCoreSettings() 85 Uri uri = Settings.Secure.getUriFor(setting); in beginObserveCoreSettings() 90 for (String setting : sSystemSettingToTypeMap.keySet()) { in beginObserveCoreSettings() 91 Uri uri = Settings.System.getUriFor(setting); in beginObserveCoreSettings() 96 for (String setting : sGlobalSettingToTypeMap.keySet()) { in beginObserveCoreSettings() 97 Uri uri = Settings.Global.getUriFor(setting); in beginObserveCoreSettings() 106 String setting = entry.getKey(); in populateSettings() local 111 value = Settings.Secure.getString(context.getContentResolver(), setting); in populateSettings() 113 value = Settings.System.getString(context.getContentResolver(), setting); in populateSettings() 115 value = Settings.Global.getString(context.getContentResolver(), setting); in populateSettings() [all …]
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAvrcpPlayerSettings.java | 164 public void addSettingValue(int setting, int value) { in addSettingValue() argument 165 if ((setting & mSettings) == 0) { in addSettingValue() 166 Log.e(TAG, "Setting not supported: " + setting + " " + mSettings); in addSettingValue() 167 throw new IllegalStateException("Setting not supported: " + setting); in addSettingValue() 169 mSettingsValue.put(setting, value); in addSettingValue() 180 public int getSettingValue(int setting) { in getSettingValue() argument 181 if ((setting & mSettings) == 0) { in getSettingValue() 182 Log.e(TAG, "Setting not supported: " + setting + " " + mSettings); in getSettingValue() 183 throw new IllegalStateException("Setting not supported: " + setting); in getSettingValue() 185 Integer i = mSettingsValue.get(setting); in getSettingValue()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 266 Setting setting = getGlobalSetting(name); in call() local 267 return packageValueForCallResult(setting, isTrackingGeneration(args)); in call() 271 Setting setting = getSecureSetting(name, requestingUserId); in call() local 272 return packageValueForCallResult(setting, isTrackingGeneration(args)); in call() 276 Setting setting = getSystemSetting(name, requestingUserId); in call() local 277 return packageValueForCallResult(setting, isTrackingGeneration(args)); in call() 334 Setting setting = getGlobalSetting(args.name); in query() local 335 return packageSettingForQuery(setting, normalizedProjection); in query() 344 Setting setting = getSecureSetting(args.name, userId); in query() local 345 return packageSettingForQuery(setting, normalizedProjection); in query() [all …]
|
D | SettingsState.java | 189 Setting setting = mSettings.valueAt(i); in onPackageRemovedLocked() local 190 if (packageName.equals(setting.packageName)) { in onPackageRemovedLocked() 217 Setting setting = mSettings.get(name); in getSettingLocked() local 218 if (setting != null) { in getSettingLocked() 219 return new Setting(setting); in getSettingLocked() 396 Setting setting = settings.valueAt(i); in doWriteState() local 398 writeSingleSetting(mVersion, serializer, setting.getId(), setting.getName(), in doWriteState() 399 setting.getValue(), setting.getPackageName()); in doWriteState() 402 Slog.i(LOG_TAG, "[PERSISTED]" + setting.getName() + "=" + setting.getValue()); in doWriteState()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCamera2Settings.java | 203 private boolean matchesTemplateDefault(Key<?> setting) { in matchesTemplateDefault() argument 204 if (setting == CONTROL_AE_REGIONS) { in matchesTemplateDefault() 206 } else if (setting == CONTROL_AF_REGIONS) { in matchesTemplateDefault() 208 } else if (setting == CONTROL_AE_TARGET_FPS_RANGE) { in matchesTemplateDefault() 213 } else if (setting == JPEG_QUALITY) { in matchesTemplateDefault() 216 } else if (setting == CONTROL_AE_EXPOSURE_COMPENSATION) { in matchesTemplateDefault() 219 } else if (setting == CONTROL_VIDEO_STABILIZATION_MODE) { in matchesTemplateDefault() 226 } else if (setting == CONTROL_AE_LOCK) { in matchesTemplateDefault() 228 } else if (setting == CONTROL_AWB_LOCK) { in matchesTemplateDefault() 230 } else if (setting == JPEG_THUMBNAIL_SIZE) { in matchesTemplateDefault() [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
D | TextGraphReader.java | 324 KeyValueMap setting = readKeyValueAssignments(scanner, semicolonPattern); in parseString() local 325 mSettings.putAll(setting); in parseString() 452 for (String setting : mSettings.keySet()) { in applySettings() 453 Object value = mSettings.get(setting); in applySettings() 454 if (setting.equals("autoBranch")) { in applySettings() 455 expectSettingClass(setting, value, String.class); in applySettings() 465 } else if (setting.equals("discardUnconnectedOutputs")) { in applySettings() 466 expectSettingClass(setting, value, Boolean.class); in applySettings() 469 throw new GraphIOException("Unknown @setting '" + setting + "'!"); in applySettings() 474 private void expectSettingClass(String setting, in expectSettingClass() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerService.java | 113 public String getValue(String setting) { in getValue() argument 114 return Settings.Secure.getStringForUser(mContentResolver, setting, mCurrentUser); in getValue() 117 public void setValue(String setting, String value) { in setValue() argument 118 Settings.Secure.putStringForUser(mContentResolver, setting, value, mCurrentUser); in setValue() 121 public int getValue(String setting, int def) { in getValue() argument 122 return Settings.Secure.getIntForUser(mContentResolver, setting, def, mCurrentUser); in getValue() 125 public void setValue(String setting, int value) { in setValue() argument 126 Settings.Secure.putIntForUser(mContentResolver, setting, value, mCurrentUser); in setValue()
|
D | PowerNotificationControlsFragment.java | 89 int setting = Settings.Secure.getInt(getContext().getContentResolver(), KEY_SHOW_PNC, 0); in isEnabled() local 90 return setting == 1; in isEnabled()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AssistUtils.java | 136 final String setting = Settings.Secure.getStringForUser(mContext.getContentResolver(), in getAssistComponentForUser() local 138 if (setting != null) { in getAssistComponentForUser() 139 return ComponentName.unflattenFromString(setting); in getAssistComponentForUser()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | BackgroundScanScheduler.java | 205 WifiScanner.ScanSettings setting = mScanSettingsList.get(i); in createBucketSettings() local 206 int requestedReportEvents = setting.reportEvents; in createBucketSettings() 220 if (i == 0 && setting.maxPeriodInMs != 0 in createBucketSettings() 221 && setting.maxPeriodInMs != setting.periodInMs) { in createBucketSettings() 225 bucketIndex = findBestRegularBucketIndex(setting.periodInMs, in createBucketSettings() 228 maxPeriodInMs = (setting.maxPeriodInMs < period) in createBucketSettings() 230 : setting.maxPeriodInMs; in createBucketSettings() 231 stepCount = setting.stepCount; in createBucketSettings()
|
/frameworks/base/media/java/android/media/ |
D | RingtoneManager.java | 644 String setting = getSettingForType(type); in getActualDefaultRingtoneUri() local 645 if (setting == null) return null; in getActualDefaultRingtoneUri() 647 setting, context.getUserId()); in getActualDefaultRingtoneUri() 664 String setting = getSettingForType(type); in setActualDefaultRingtoneUri() local 665 if (setting == null) return; in setActualDefaultRingtoneUri() 666 Settings.System.putStringForUser(resolver, setting, in setActualDefaultRingtoneUri()
|
D | WebVttRenderer.java | 717 for (String setting: s.split(" +")) { 718 int equalAt = setting.indexOf('='); 719 if (equalAt <= 0 || equalAt == setting.length() - 1) { 723 String name = setting.substring(0, equalAt); 724 String value = setting.substring(equalAt + 1); 859 for (String setting: rest.split(" +")) { 860 int colonAt = setting.indexOf(':'); 861 if (colonAt <= 0 || colonAt == setting.length() - 1) { 864 String name = setting.substring(0, colonAt); 865 String value = setting.substring(colonAt + 1);
|
/frameworks/base/tests/utils/SleepUtils/ |
D | README | 5 2) setting alarm for a specified period and releasing the wakelock; service 16 2) setting alarm and wait til triggered
|
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/ |
D | FixVibrateSetting.java | 68 int setting = mAudioManager.getVibrateSetting(vibrateType); in getSettingValue() local 69 switch (setting) { in getSettingValue()
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | settings.jd | 19 <li><a href="#Groups">Creating setting groups</a></li> 42 <li><a href="#CustomSave">Saving the setting's value</a></li> 88 opens an interface to change the setting.</p> 100 setting. Each {@link android.preference.Preference} appears as an item in a list and provides the 101 appropriate UI for users to modify the setting. For example, a {@link 106 the system uses to save the setting in a default {@link android.content.SharedPreferences} 107 file for your app's settings. When the user changes a setting, the system updates the corresponding 110 need to read the value in order to determine your app's behavior based on the user's setting.</p> 112 <p>The value saved in {@link android.content.SharedPreferences} for each setting can be one of the 146 <p>Every setting for your app is represented by a specific subclass of the {@link [all …]
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecListOverrides.cpp | 343 AString setting = AStringPrintf( in globalResultsToXml() local 347 ret.append(setting); in globalResultsToXml() 369 AString setting = AStringPrintf( in codecResultsToXml() local 373 ret.append(setting); in codecResultsToXml()
|
/frameworks/base/docs/html/training/location/ |
D | change-location-settings.jd | 119 - Use this setting to request location precision to within a city 122 power. With this setting, the location services are likely to use WiFi 128 - Use this setting to request the most precise location possible. With 129 this setting, the location services are more likely to use GPS 132 - Use this setting to request city-level precision, which is 136 - Use this setting if you need negligible impact on power consumption, 138 setting, your app does not trigger any location updates, but 160 permission setting that you've defined in the app manifest, and a fast update
|
/frameworks/base/libs/hwui/utils/ |
D | GLUtils.cpp | 25 #error Setting DEBUG_OPENGL to HIGH requires setting HWUI_ENABLE_OPENGL_VALIDATION to true in the A…
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 192 public static String restoredSettingName(String setting) { in restoredSettingName() argument 193 return setting + ":restored"; in restoredSettingName() 456 private void updateSettingsAccordingToInstalledServices(String setting, int userId) { in updateSettingsAccordingToInstalledServices() argument 460 loadComponentNamesFromSetting(restoredSettingName(setting), userId); in updateSettingsAccordingToInstalledServices() 462 loadComponentNamesFromSetting(setting, userId); in updateSettingsAccordingToInstalledServices() 492 storeComponentsToSetting(retained, setting, userId); in updateSettingsAccordingToInstalledServices() 498 storeComponentsToSetting(restored, restoredSettingName(setting), userId); in updateSettingsAccordingToInstalledServices()
|
/frameworks/base/docs/html/guide/components/ |
D | recents.jd | 84 This setting allows the same document to be opened in more than one task. The following code demons… 160 <dd>The activity reuses an existing task for the document. This is the same as setting the 161 {@link android.content.Intent#FLAG_ACTIVITY_NEW_DOCUMENT} flag <em>without</em> setting the 167 …this value is the same as setting both the {@link android.content.Intent#FLAG_ACTIVITY_NEW_DOCUMEN… 194 <p>You can always exclude a task from the overview screen entirely by setting the 199 …You can set the maximum number of tasks that your app can include in the overview screen by setting
|
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/ |
D | gradle.properties | 11 # The setting is particularly useful for tweaking memory settings.
|
/frameworks/data-binding/integration-tests/TestApp/ |
D | gradle.properties | 11 # The setting is particularly useful for tweaking memory settings.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ServiceMonitor.java | 290 final String setting = component == null ? null : component.flattenToShortString(); in setComponent() local 292 mSettingKey, setting, UserHandle.USER_CURRENT); in setComponent() local
|
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/res/raw/ |
D | cameraeffectsrecordingsample.graph | 17 @setting autoBranch = "synced";
|
/frameworks/data-binding/integration-tests/IndependentLibrary/ |
D | gradle.properties | 26 # The setting is particularly useful for tweaking memory settings.
|