/frameworks/base/media/java/android/media/ |
H A D | Ringtone.java | 30 import android.provider.Settings; 217 if (Settings.AUTHORITY.equals(authority)) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaPresetReverbTest.java | 161 PresetReverb.Settings settings = mReverb.getProperties(); 167 settings = new PresetReverb.Settings(str);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
H A D | CustomTile.java | 30 import android.provider.Settings; 247 return new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS).setData(
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | ZenModeControllerImpl.java | 33 import android.provider.Settings.Global; 34 import android.provider.Settings.Secure;
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ZenModeFiltering.java | 26 import android.provider.Settings.Global; 27 import android.provider.Settings.Secure;
|
H A D | ManagedServices.java | 53 import android.provider.Settings; 220 Settings.Secure.putStringForUser(mContext.getContentResolver(), 385 String settingValue = Settings.Secure.getStringForUser( 416 Settings.Secure.putStringForUser( 820 private final Uri mSecureSettingsUri = Settings.Secure.getUriFor(mConfig.secureSettingName); 826 mSecondarySettingsUri = Settings.Secure.getUriFor(mConfig.secondarySettingName);
|
H A D | NotificationManagerService.java | 119 import android.provider.Settings; 924 = Settings.Secure.getUriFor(Settings.Secure.NOTIFICATION_BADGING); 926 = Settings.System.getUriFor(Settings.System.NOTIFICATION_LIGHT_PULSE); 928 = Settings.Global.getUriFor(Settings.Global.MAX_NOTIFICATION_ENQUEUE_RATE); 952 boolean pulseEnabled = Settings.System.getInt(resolver, 953 Settings.System.NOTIFICATION_LIGHT_PULSE, 0) != 0; 960 mMaxPackageEnqueueRate = Settings [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerServiceMigrationTest.java | 30 import android.provider.Settings; 281 // Set up fake Settings to make it look like INSTALL_NON_MARKET_APPS was reversed. 283 eq(Settings.Secure.UNKNOWN_SOURCES_DEFAULT_REVERSED),
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
H A D | DiskStatsLoggingServiceTest.java | 43 import android.provider.Settings; 190 cr.addProvider(Settings.AUTHORITY, new FakeSettingsProvider());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
H A D | CertPinInstallReceiverTest.java | 24 import android.provider.Settings; 105 assertTrue(Settings.Secure.putString(mContext.getContentResolver(), key, value));
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbDeviceManager.java | 49 import android.provider.Settings; 179 boolean enable = (Settings.Global.getInt(mContentResolver, 180 Settings.Global.ADB_ENABLED, 0) > 0); 286 Settings.Global.putInt(mContentResolver, 287 Settings.Global.ADB_ENABLED, mAdbEnabled ? 1 : 0); 426 Settings.Global.getUriFor(Settings.Global.ADB_ENABLED), 1052 Intent intent = new Intent(Settings.ACTION_APPLICATION_DEVELOPMENT_SETTINGS);
|
/frameworks/base/telecomm/java/android/telecom/Logging/ |
H A D | SessionManager.java | 23 import android.provider.Settings; 425 return Settings.Secure.getLong(context.getContentResolver(), TIMEOUTS_PREFIX +
|
/frameworks/base/core/java/android/app/ |
H A D | DownloadManager.java | 39 import android.provider.Settings; 41 import android.provider.Settings.SettingNotFoundException; 1212 return Settings.Global.getLong(context.getContentResolver(), 1213 Settings.Global.DOWNLOAD_MAX_BYTES_OVER_MOBILE); 1308 return Settings.Global.getLong(context.getContentResolver(), 1309 Settings.Global.DOWNLOAD_RECOMMENDED_MAX_BYTES_OVER_MOBILE);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NavigationBarFragment.java | 51 import android.provider.Settings; 148 mContentResolver.registerContentObserver(Settings.Secure.getUriFor( 149 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED), false, 571 if (Settings.Secure.getIntForUser(mContentResolver, 572 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED, 576 } catch (Settings.SettingNotFoundException e) {
|
/frameworks/base/tests/net/java/com/android/server/ |
H A D | ConnectivityServiceTest.java | 82 import android.provider.Settings; 171 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); 798 setCaptivePortalMode(Settings.Global.CAPTIVE_PORTAL_MODE_PROMPT); 1914 setCaptivePortalMode(Settings.Global.CAPTIVE_PORTAL_MODE_AVOID); 1929 setCaptivePortalMode(Settings.Global.CAPTIVE_PORTAL_MODE_IGNORE); 2163 Settings.Global.putInt(cr, Settings.Global.CAPTIVE_PORTAL_MODE, mode); 2168 Settings.Global.putInt(cr, Settings.Global.MOBILE_DATA_ALWAYS_ON, enable ? 1 : 0); 2418 final String settingName = Settings [all...] |
/frameworks/base/services/print/java/com/android/server/print/ |
H A D | UserState.java | 60 import android.provider.Settings; 899 String enabledSettingValue = Settings.Secure.getStringForUser(mContext.getContentResolver(), 900 Settings.Secure.ENABLED_PRINT_SERVICES, mUserId); 906 readPrintServicesFromSettingLocked(Settings.Secure.ENABLED_PRINT_SERVICES, 922 Settings.Secure.putStringForUser(mContext.getContentResolver(), 923 Settings.Secure.ENABLED_PRINT_SERVICES, null, mUserId); 934 readPrintServicesFromSettingLocked(Settings.Secure.DISABLED_PRINT_SERVICES, 944 String settingValue = Settings.Secure.getStringForUser(mContext.getContentResolver(), 973 Settings.Secure.putStringForUser(mContext.getContentResolver(), 974 Settings [all...] |
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerService.java | 143 import android.provider.Settings; 144 import android.provider.Settings.Global; 309 SECURE_SETTINGS_WHITELIST.add(Settings.Secure.DEFAULT_INPUT_METHOD); 310 SECURE_SETTINGS_WHITELIST.add(Settings.Secure.SKIP_FIRST_USE_HINTS); 311 SECURE_SETTINGS_WHITELIST.add(Settings.Secure.INSTALL_NON_MARKET_APPS); 315 SECURE_SETTINGS_DEVICEOWNER_WHITELIST.add(Settings.Secure.LOCATION_MODE); 318 GLOBAL_SETTINGS_WHITELIST.add(Settings.Global.ADB_ENABLED); 319 GLOBAL_SETTINGS_WHITELIST.add(Settings.Global.AUTO_TIME); 320 GLOBAL_SETTINGS_WHITELIST.add(Settings.Global.AUTO_TIME_ZONE); 321 GLOBAL_SETTINGS_WHITELIST.add(Settings [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | SystemServicesProxy.java | 26 import static android.provider.Settings.Global.DEVELOPMENT_ENABLE_FREEFORM_WINDOWS_SUPPORT; 69 import android.provider.Settings; 70 import android.provider.Settings.Secure; 323 Settings.Global.getInt(context.getContentResolver(), 1096 return Settings.Global.getInt(cr, setting, 0); 1104 return Settings.System.getInt(cr, setting, 0); 1345 Settings.Secure.putLongForUser(mContext.getContentResolver(),
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiServiceImpl.java | 94 import android.provider.Settings; 745 // If SoftAp is enabled, only Settings is allowed to toggle wifi 750 mLog.trace("setWifiEnabled SoftAp not disabled: only Settings can enable wifi").flush(); 1153 if (mSettingsStore.getLocationModeSetting(mContext) == Settings.Secure.LOCATION_MODE_OFF) { 1310 // only allow Settings UI to get the saved SoftApConfig 1329 // only allow Settings UI to write the stored SoftApConfig 2097 Settings.Global.getUriFor(Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE), 2106 Settings.Global.getUriFor( 2107 Settings [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | RecentsActivity.java | 33 import android.provider.Settings; 34 import android.provider.Settings.Secure; 183 long oldLastStackActiveTime = Settings.Secure.getLongForUser(getContentResolver(), 708 Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS, 853 long lastStackActiveTime = Settings.Secure.getLongForUser(getContentResolver(),
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | UiModeManagerService.java | 46 import android.provider.Settings; 229 mNightMode = Settings.Secure.getInt(context.getContentResolver(), 230 Settings.Secure.UI_NIGHT_MODE, defaultNightMode); 316 Settings.Secure.putInt(getContext().getContentResolver(), 317 Settings.Secure.UI_NIGHT_MODE, mode);
|
/frameworks/base/core/java/com/android/internal/content/ |
H A D | PackageHelper.java | 36 import android.provider.Settings; 377 return Settings.Global.getInt(context.getContentResolver(), 378 Settings.Global.FORCE_ALLOW_ON_EXTERNAL, 0) != 0;
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
H A D | ConnectionUtil.java | 40 import android.provider.Settings; 688 Settings.System.putInt(context.getContentResolver(), Settings.System.AIRPLANE_MODE_ON,
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 39 import android.provider.Settings; 142 String deviceName = Settings.Global.getString( 143 getContext().getContentResolver(), Settings.Global.DEVICE_NAME);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | AddPrinterActivity.java | 39 import android.provider.Settings; 729 String searchUri = Settings.Secure 730 .getString(getContentResolver(), Settings.Secure.PRINT_SERVICE_SEARCH_URI);
|