/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaEqualizerTest.java | 229 Equalizer.Settings settings = mEqualizer.getProperties(); 231 settings = new Equalizer.Settings(str);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ForegroundServicesDialog.java | 28 import android.provider.Settings; 70 Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | PluginFragment.java | 27 import android.provider.Settings; 203 Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialogControllerImpl.java | 42 import android.provider.Settings; 461 final int zen = Settings.Global.getInt(mContext.getContentResolver(), 462 Settings.Global.ZEN_MODE, Settings.Global.ZEN_MODE_OFF); 773 Settings.Global.getUriFor(Settings.Global.ZEN_MODE); 775 Settings.Global.getUriFor(Settings.Global.ZEN_MODE_CONFIG_ETAG);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | VibratorService.java | 49 import android.provider.Settings; 50 import android.provider.Settings.SettingNotFoundException; 262 Settings.System.getUriFor(Settings.System.VIBRATE_INPUT_DEVICES), 536 if (Settings.System.getInt( 537 mContext.getContentResolver(), Settings.System.VIBRATE_WHEN_RINGING, 0) != 0) { 593 vibrateInputDevices = Settings.System.getIntForUser( 595 Settings.System.VIBRATE_INPUT_DEVICES, UserHandle.USER_CURRENT) > 0;
|
H A D | NsdService.java | 32 import android.provider.Settings; 108 Settings.Global.getUriFor(Settings.Global.NSD_ON), 574 Settings.Global.putInt(mContentResolver, Settings.Global.NSD_ON, enable ? 1 : 0); 594 boolean ret = Settings.Global.getInt(mContentResolver, Settings.Global.NSD_ON, 1) == 1;
|
/frameworks/base/services/core/java/com/android/server/vr/ |
H A D | EnabledComponentsObserver.java | 31 import android.provider.Settings; 288 String settingValue = Settings.Secure.getStringForUser(
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiNotificationControllerTest.java | 39 import android.provider.Settings; 81 Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON, 1)).thenReturn(1);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | VerticalGridPresenter.java | 18 import android.support.v17.leanback.system.Settings; 211 return !Settings.getInstance(context).preferStaticShadows();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
H A D | KeyguardViewMediator.java | 19 import static android.provider.Settings.System.SCREEN_OFF_TIMEOUT; 53 import android.provider.Settings; 54 import android.provider.Settings.System; 702 String soundPath = Settings.Global.getString(cr, Settings.Global.LOCK_SOUND); 709 soundPath = Settings.Global.getString(cr, Settings.Global.UNLOCK_SOUND); 716 soundPath = Settings.Global.getString(cr, Settings.Global.TRUSTED_SOUND); 857 final long lockAfterTimeout = Settings [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 35 import android.provider.Settings; 562 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 570 while (Settings.Global.getInt(mContext.getContentResolver(), 571 Settings.Global.AIRPLANE_MODE_ON, -1) != state) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | Recents.java | 38 import android.provider.Settings; 770 return (Settings.Global.getInt(cr, Settings.Global.DEVICE_PROVISIONED, 0) != 0) && 771 (Settings.Secure.getInt(cr, Settings.Secure.USER_SETUP_COMPLETE, 0) != 0);
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | MagnificationController.java | 36 import android.provider.Settings; 939 Settings.Secure.putFloatForUser(mContentResolver, 940 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE, value, userId); 944 return Settings.Secure.getFloatForUser(mContentResolver, 945 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE,
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ConditionProviders.java | 31 import android.provider.Settings; 85 c.secureSettingName = Settings.Secure.ENABLED_NOTIFICATION_POLICY_ACCESS_PACKAGES; 86 c.secondarySettingName = Settings.Secure.ENABLED_NOTIFICATION_LISTENERS; 88 c.settingsAction = Settings.ACTION_CONDITION_PROVIDER_SETTINGS; 284 String settingValue = Settings.Secure.getStringForUser(
|
/frameworks/base/services/core/java/com/android/server/power/ |
H A D | Notifier.java | 50 import android.provider.Settings; 701 final boolean enabled = Settings.Global.getInt(mContext.getContentResolver(), 702 Settings.Global.CHARGING_SOUNDS_ENABLED, 1) != 0; 703 final String soundPath = Settings.Global.getString(mContext.getContentResolver(), 704 Settings.Global.WIRELESS_CHARGING_STARTED_SOUND);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserManagerTest.java | 29 import android.provider.Settings; 322 int locationMode = Settings.Secure.getIntForUser(getContext().getContentResolver(), 323 Settings.Secure.LOCATION_MODE, 324 Settings.Secure.LOCATION_MODE_HIGH_ACCURACY, 327 + "LOCATION_MODE_OFF by default", locationMode, Settings.Secure.LOCATION_MODE_OFF);
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | VoiceInteractionSessionConnection.java | 39 import android.provider.Settings; 215 if (Settings.Secure.getIntForUser(mContext.getContentResolver(), 216 Settings.Secure.ASSIST_STRUCTURE_ENABLED, 1, mUser) == 0) { 219 if (Settings.Secure.getIntForUser(mContext.getContentResolver(), 220 Settings.Secure.ASSIST_SCREENSHOT_ENABLED, 1, mUser) == 0) {
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
H A D | WifiPermissionsUtilTest.java | 40 import android.provider.Settings; 368 mLocationModeSetting = Settings.Secure.LOCATION_MODE_HIGH_ACCURACY; 400 mLocationModeSetting = Settings.Secure.LOCATION_MODE_HIGH_ACCURACY; 439 mLocationModeSetting = Settings.Secure.LOCATION_MODE_HIGH_ACCURACY; 516 mLocationModeSetting = Settings.Secure.LOCATION_MODE_OFF;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SubscriptionController.java | 32 import android.provider.Settings; 1339 Settings.Global.putInt(mContext.getContentResolver(), 1340 Settings.Global.MULTI_SIM_SMS_SUBSCRIPTION, subId); 1357 int subId = Settings.Global.getInt(mContext.getContentResolver(), 1358 Settings.Global.MULTI_SIM_SMS_SUBSCRIPTION, 1372 Settings.Global.putInt(mContext.getContentResolver(), 1373 Settings.Global.MULTI_SIM_VOICE_CALL_SUBSCRIPTION, subId); 1389 int subId = Settings.Global.getInt(mContext.getContentResolver(), 1390 Settings.Global.MULTI_SIM_VOICE_CALL_SUBSCRIPTION, 1398 int subId = Settings [all...] |
H A D | ServiceStateTracker.java | 54 import android.provider.Settings; 557 // system setting property AIRPLANE_MODE_ON is set in Settings. 558 int airplaneMode = Settings.Global.getInt(mCr, Settings.Global.AIRPLANE_MODE_ON, 0); 559 int enableCellularOnBoot = Settings.Global.getInt(mCr, 560 Settings.Global.ENABLE_CELLULAR_ON_BOOT, 1); 567 Settings.Global.getUriFor(Settings.Global.AUTO_TIME), true, 570 Settings.Global.getUriFor(Settings [all...] |
/frameworks/base/core/java/android/os/ |
H A D | UserManager.java | 44 import android.provider.Settings; 334 * from Settings. This can only be set by device owners and profile owners on the primary user. 349 * from Settings. This can only be set by device owners and profile owners on the primary user. 437 * applications in Settings or launchers. The following actions will not be allowed when this 878 boolean allowUserSwitchingWhenSystemUserLocked = Settings.Global.getInt( 880 Settings.Global.ALLOW_USER_SWITCHING_WHEN_SYSTEM_USER_LOCKED, 0) != 0; 1482 Settings.Secure.putStringForUser(context.getContentResolver(), 1483 Settings.Secure.SKIP_FIRST_USE_HINTS, "1", guest.id); 2281 return Settings.Global.getInt(context.getContentResolver(), 2282 Settings [all...] |
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
H A D | AutofillManagerService.java | 53 import android.provider.Settings; 230 Settings.Secure.putStringForUser(mContext.getContentResolver(), 231 Settings.Secure.AUTOFILL_SERVICE, null, userId); 729 resolver.registerContentObserver(Settings.Secure.getUriFor( 730 Settings.Secure.AUTOFILL_SERVICE), false, this, UserHandle.USER_ALL); 731 resolver.registerContentObserver(Settings.Secure.getUriFor( 732 Settings.Secure.USER_SETUP_COMPLETE), false, this, UserHandle.USER_ALL);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | SmsApplication.java | 38 import android.provider.Settings; 441 String defaultApplication = Settings.Secure.getStringForUser(context.getContentResolver(), 442 Settings.Secure.SMS_DEFAULT_APPLICATION, userId); 454 // Picking a new SMS app requires AppOps and Settings.Secure permissions, so we only do 556 String oldPackageName = Settings.Secure.getStringForUser(context.getContentResolver(), 557 Settings.Secure.SMS_DEFAULT_APPLICATION, userId); 590 Settings.Secure.putStringForUser(context.getContentResolver(), 591 Settings.Secure.SMS_DEFAULT_APPLICATION, applicationData.mPackageName,
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | AppErrors.java | 43 import android.provider.Settings; 597 boolean showBackground = Settings.Secure.getInt(mContext.getContentResolver(), 598 Settings.Secure.ANR_SHOW_BACKGROUND, 0) != 0; 704 boolean showBackground = Settings.Secure.getInt(mContext.getContentResolver(), 705 Settings.Secure.ANR_SHOW_BACKGROUND, 0) != 0; 801 boolean showBackground = Settings.Secure.getInt(mContext.getContentResolver(), 802 Settings.Secure.ANR_SHOW_BACKGROUND, 0) != 0; 1018 boolean showBackground = Settings.Secure.getInt(mContext.getContentResolver(), 1019 Settings.Secure.ANR_SHOW_BACKGROUND, 0) != 0;
|
/frameworks/base/core/java/android/app/ |
H A D | ApplicationErrorReport.java | 29 import android.provider.Settings; 163 int enabled = Settings.Global.getInt(context.getContentResolver(), 164 Settings.Global.SEND_ACTION_APP_ERROR, 0);
|