/frameworks/base/services/core/java/com/android/server/net/ |
NetworkStatsService.java | 40 import static android.provider.Settings.Global.NETSTATS_DEV_BUCKET_DURATION; 41 import static android.provider.Settings.Global.NETSTATS_DEV_DELETE_AGE; 42 import static android.provider.Settings.Global.NETSTATS_DEV_PERSIST_BYTES; 43 import static android.provider.Settings.Global.NETSTATS_DEV_ROTATE_AGE; 44 import static android.provider.Settings.Global.NETSTATS_GLOBAL_ALERT_BYTES; 45 import static android.provider.Settings.Global.NETSTATS_POLL_INTERVAL; 46 import static android.provider.Settings.Global.NETSTATS_SAMPLE_ENABLED; 47 import static android.provider.Settings.Global.NETSTATS_TIME_CACHE_MAX_AGE; 48 import static android.provider.Settings.Global.NETSTATS_UID_BUCKET_DURATION; 49 import static android.provider.Settings.Global.NETSTATS_UID_DELETE_AGE [all...] |
/frameworks/base/services/core/java/com/android/server/telecom/ |
TelecomLoaderService.java | 34 import android.provider.Settings; 277 final Uri defaultSmsAppUri = Settings.Secure.getUriFor( 278 Settings.Secure.SMS_DEFAULT_APPLICATION); 279 final Uri defaultDialerAppUri = Settings.Secure.getUriFor( 280 Settings.Secure.DIALER_DEFAULT_APPLICATION);
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
InputMethodAndLanguageSettings.java | 17 package com.android.settings.inputmethod; 36 import android.provider.Settings; 37 import android.provider.Settings.System; 57 import com.android.settings.R; 58 import com.android.settings.Settings.KeyboardLayoutPickerActivity; 59 import com.android.settings.SettingsActivity; 60 import com.android.settings.SettingsPreferenceFragment; 61 import com.android.settings.SubSettings; 62 import com.android.settings.UserDictionarySettings [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
BaseStatusBar.java | 60 import android.provider.Settings; 291 final boolean provisioned = 0 != Settings.Global.getInt( 292 mContext.getContentResolver(), Settings.Global.DEVICE_PROVISIONED, 0); 297 final int mode = Settings.Global.getInt(mContext.getContentResolver(), 298 Settings.Global.ZEN_MODE, Settings.Global.ZEN_MODE_OFF); 540 Settings.Secure.putInt(mContext.getContentResolver(), 541 Settings.Secure.SHOW_NOTE_ABOUT_NOTIFICATION_HIDING, 0); 545 mContext.startActivity(new Intent(Settings.ACTION_APP_NOTIFICATION_REDACTION) 699 Settings.Global.getUriFor(Settings.Global.DEVICE_PROVISIONED), true [all...] |
/packages/apps/Settings/src/com/android/settings/ |
SecuritySettings.java | 17 package com.android.settings; 40 import android.provider.Settings; 57 import com.android.settings.TrustAgentUtils.TrustAgentComponentInfo; 58 import com.android.settings.fingerprint.FingerprintSettings; 59 import com.android.settings.search.BaseSearchIndexProvider; 60 import com.android.settings.search.Index; 61 import com.android.settings.search.Indexable; 62 import com.android.settings.search.SearchIndexableRaw; 70 import static android.provider.Settings.System.SCREEN_OFF_TIMEOUT; 74 * Gesture lock pattern settings [all...] |
/frameworks/base/services/core/java/com/android/server/dreams/ |
DreamManagerService.java | 45 import android.provider.Settings; 276 String names = Settings.Secure.getStringForUser(mContext.getContentResolver(), 277 Settings.Secure.SCREENSAVER_COMPONENTS, 303 Settings.Secure.putStringForUser(mContext.getContentResolver(), 304 Settings.Secure.SCREENSAVER_COMPONENTS, 310 String name = Settings.Secure.getStringForUser(mContext.getContentResolver(), 311 Settings.Secure.SCREENSAVER_DEFAULT_COMPONENT, 331 boolean enabled = Settings.Secure.getIntForUser(mContext.getContentResolver(), 332 Settings.Secure.DOZE_ENABLED, 1, userId) != 0;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsUsageMonitor.java | 30 import android.provider.Settings; 239 mEnabled.set(Settings.Global.getInt(mContext.getContentResolver(), 240 Settings.Global.SMS_SHORT_CODE_CONFIRMATION, 1) != 0); 248 resolver.registerContentObserver(Settings.Global.getUriFor( 249 Settings.Global.SMS_SHORT_CODE_CONFIRMATION), false, globalObserver); 261 mMaxAllowed = Settings.Global.getInt(resolver, 262 Settings.Global.SMS_OUTGOING_CHECK_MAX_COUNT, 265 mCheckPeriod = Settings.Global.getInt(resolver, 266 Settings.Global.SMS_OUTGOING_CHECK_INTERVAL_MS,
|
PhoneFactory.java | 30 import android.provider.Settings; 31 import android.provider.Settings.SettingNotFoundException; 295 int networkType = android.provider.Settings.Global.getInt(context.getContentResolver(), 296 android.provider.Settings.Global.PREFERRED_NETWORK_MODE + phoneSubId, 313 value = Settings.Global.getInt(sContext.getContentResolver(), 314 Settings.Global.MULTI_SIM_SMS_PROMPT); 316 Rlog.e(LOG_TAG, "Settings Exception Reading Dual Sim SMS Prompt Values");
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
PhoneUtils.java | 27 import android.provider.Settings; 147 * conversations and subscription-specific settings, for the given "nominal" sub id. 376 (Settings.Global.getInt(cr, Settings.Global.DATA_ROAMING, 0) != 0); 379 (Settings.System.getInt(cr, Settings.System.DATA_ROAMING, 0) != 0); 808 * @param allowOverride whether to use the override number in app settings [all...] |
/packages/apps/Settings/src/com/android/settings/tts/ |
TextToSpeechSettings.java | 17 package com.android.settings.tts; 24 import android.provider.Settings.SettingNotFoundException; 37 import com.android.settings.R; 38 import com.android.settings.SeekBarPreference; 39 import com.android.settings.SettingsActivity; 40 import com.android.settings.SettingsPreferenceFragment; 41 import com.android.settings.tts.TtsEnginePreference.RadioButtonGroupState; 51 import static android.provider.Settings.Secure.TTS_DEFAULT_PITCH; 52 import static android.provider.Settings.Secure.TTS_DEFAULT_RATE; 53 import static android.provider.Settings.Secure.TTS_DEFAULT_SYNTH [all...] |
/frameworks/base/services/core/java/com/android/server/ |
DropBoxManagerService.java | 36 import android.provider.Settings; 188 Settings.Global.CONTENT_URI, true, 311 return !"disabled".equals(Settings.Global.getString( 312 mContentResolver, Settings.Global.DROPBOX_TAG_PREFIX + tag)); 742 int ageSeconds = Settings.Global.getInt(mContentResolver, 743 Settings.Global.DROPBOX_AGE_SECONDS, DEFAULT_AGE_SECONDS); 744 int maxFiles = Settings.Global.getInt(mContentResolver, 745 Settings.Global.DROPBOX_MAX_FILES, DEFAULT_MAX_FILES); 764 int quotaPercent = Settings.Global.getInt(mContentResolver, 765 Settings.Global.DROPBOX_QUOTA_PERCENT, DEFAULT_QUOTA_PERCENT) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
ConditionProviderVerifierActivity.java | 27 import android.provider.Settings; 28 import android.provider.Settings.Secure; 86 Intent settings = new Intent(Settings.ACTION_NOTIFICATION_POLICY_ACCESS_SETTINGS); local 87 if (settings.resolveActivity(mPackageManager) == null) { 88 logFail("no settings activity"); 92 Settings.Secure.ENABLED_NOTIFICATION_POLICY_ACCESS_PACKAGES); 456 Settings.Secure.ENABLED_NOTIFICATION_POLICY_ACCESS_PACKAGES); 526 startActivity(new Intent(Settings.ACTION_NOTIFICATION_POLICY_ACCESS_SETTINGS));
|
/frameworks/base/core/java/android/preference/ |
SeekBarVolumizer.java | 34 import android.provider.Settings; 35 import android.provider.Settings.Global; 36 import android.provider.Settings.System; 111 defaultUri = Settings.System.DEFAULT_RINGTONE_URI; 113 defaultUri = Settings.System.DEFAULT_NOTIFICATION_URI; 115 defaultUri = Settings.System.DEFAULT_ALARM_ALERT_URI;
|
/frameworks/base/services/core/java/com/android/server/storage/ |
DeviceStorageMonitorService.java | 44 import android.provider.Settings; 59 * than a tunable threshold value (a secure settings parameter; 69 * settings parameter with a default value of 12 hours. When the free 71 * settings parameter with a default value of 2MB), the free memory is 177 // Read the log interval from secure settings 178 long freeMemLogInterval = Settings.Global.getLong(mResolver, 179 Settings.Global.SYS_FREE_STORAGE_LOG_INTERVAL, 204 // Read the reporting threshold from secure settings 205 long threshold = Settings.Global.getLong(mResolver, 206 Settings.Global.DISK_FREE_CHANGE_REPORTING_THRESHOLD [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
Settings.java | 17 package com.android.inputmethod.latin.settings; 45 public final class Settings implements SharedPreferences.OnSharedPreferenceChangeListener { 46 private static final String TAG = Settings.class.getSimpleName(); 47 // Settings screens 129 private static final Settings sInstance = new Settings(); 131 public static Settings getInstance() { 139 private Settings() { 203 // Accessed from the settings interface, hence public
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
InputTestsBase.java | 49 import com.android.inputmethod.latin.settings.DebugSettings; 50 import com.android.inputmethod.latin.settings.Settings; 60 // index in the resources array of auto-correction threshold settings. 140 // settings we do inside the tests. 149 // settings we do inside the tests. 186 setBooleanPreference(Settings.PREF_KEY_IS_INTERNAL, value, false); 211 mPreviousBigramPredictionSettings = setBooleanPreference(Settings.PREF_BIGRAM_PREDICTIONS, 213 mPreviousAutoCorrectSetting = setBooleanPreference(Settings.PREF_AUTO_CORRECTION, 243 setBooleanPreference(Settings.PREF_BIGRAM_PREDICTIONS, mPreviousBigramPredictionSettings [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
WifiDisplayController.java | 45 import android.provider.Settings; 186 resolver.registerContentObserver(Settings.Global.getUriFor( 187 Settings.Global.WIFI_DISPLAY_ON), false, settingsObserver); 188 resolver.registerContentObserver(Settings.Global.getUriFor( 189 Settings.Global.WIFI_DISPLAY_CERTIFICATION_ON), false, settingsObserver); 190 resolver.registerContentObserver(Settings.Global.getUriFor( 191 Settings.Global.WIFI_DISPLAY_WPS_CONFIG), false, settingsObserver); 197 mWifiDisplayOnSetting = Settings.Global.getInt(resolver, 198 Settings.Global.WIFI_DISPLAY_ON, 0) != 0; 199 mWifiDisplayCertMode = Settings.Global.getInt(resolver [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
ConnectionAccessClientActivity.java | 28 import android.provider.Settings; 55 View settings = findViewById(R.id.bt_settings); local 56 settings.setOnClickListener(new OnClickListener() { 59 startActivity(new Intent(Settings.ACTION_BLUETOOTH_SETTINGS));
|
ConnectionAccessServerActivity.java | 32 import android.provider.Settings; 61 View settings = findViewById(R.id.bt_settings); local 62 settings.setOnClickListener(new OnClickListener() { 65 startActivity(new Intent(Settings.ACTION_BLUETOOTH_SETTINGS));
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
P2pTestListActivity.java | 27 import android.provider.Settings; 137 * Show the dialog to jump to system settings in order to enable 149 startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS));
|
/external/libweave/include/weave/ |
device.h | 38 // Returns reference the current settings. 39 virtual const Settings& GetSettings() const = 0; 43 base::Callback<void(const Settings& settings)>; 45 // Subscribes to notification settings changes.
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/ |
Android.mk | 29 # Need to run as system app to get access to Settings. This test won't work for user builds.
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
MediaBassBoostTest.java | 160 BassBoost.Settings settings = mBassBoost.getProperties(); local 161 String str = settings.toString(); 162 settings = new BassBoost.Settings(str); 163 mBassBoost.setProperties(settings);
|
MediaVirtualizerTest.java | 161 Virtualizer.Settings settings = mVirtualizer.getProperties(); local 162 String str = settings.toString(); 163 settings = new Virtualizer.Settings(str); 164 mVirtualizer.setProperties(settings);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
LocationTile.java | 22 import android.provider.Settings; 33 /** Quick settings tile: Location **/ 71 return new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS);
|