/packages/services/Telephony/src/com/android/phone/ |
CdmaSubscriptionListPreference.java | 25 import android.provider.Settings; 26 import android.provider.Settings.Secure; 57 int cdmaSubscriptionMode = Settings.Global.getInt(mPhone.getContext().getContentResolver(), 58 Settings.Global.CDMA_SUBSCRIPTION_MODE, preferredSubscriptionMode); 124 Settings.Global.putInt(mPhone.getContext().getContentResolver(), 125 Settings.Global.CDMA_SUBSCRIPTION_MODE,
|
/packages/apps/Dialer/src/com/android/dialer/settings/ |
SoundSettingsFragment.java | 17 package com.android.dialer.settings; 31 import android.provider.Settings; 119 Settings.System.getInt(context.getContentResolver(), 120 Settings.System.DTMF_TONE_TYPE_WHEN_DIALING, 165 Settings.System.putInt(getActivity().getContentResolver(), 166 Settings.System.VIBRATE_WHEN_RINGING, 170 Settings.System.putInt(getActivity().getContentResolver(), 171 Settings.System.DTMF_TONE_TYPE_WHEN_DIALING, index); 189 Settings.System.putInt(getActivity().getContentResolver(), 190 Settings.System.DTMF_TONE_WHEN_DIALING [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
DefaultEmergencyPreference.java | 17 package com.android.settings.applications; 28 import android.provider.Settings; 34 import com.android.settings.AppListPreference; 35 import com.android.settings.SelfAvailablePreference; 61 String previousValue = Settings.Secure.getString(mContentResolver, 62 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION); 65 Settings.Secure.putString(mContentResolver, 66 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION, 82 String currentPkg = Settings.Secure.getString(mContentResolver, 83 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
DisplaySettings.java | 17 package com.android.settings; 38 import android.provider.Settings; 50 import com.android.settings.accessibility.ToggleFontSizePreferenceFragment; 51 import com.android.settings.dashboard.SummaryLoader; 52 import com.android.settings.search.BaseSearchIndexProvider; 53 import com.android.settings.search.Indexable; 60 import static android.provider.Settings.Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED; 61 import static android.provider.Settings.Secure.CAMERA_GESTURE_DISABLED; 62 import static android.provider.Settings.Secure.DOUBLE_TAP_TO_WAKE; 63 import static android.provider.Settings.Secure.DOZE_ENABLED [all...] |
FallbackHome.java | 17 package com.android.settings; 29 import android.provider.Settings; 43 if (Settings.Global.getInt(getContentResolver(), 44 Settings.Global.DEVICE_PROVISIONED, 0) == 0) {
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
AccessibilitySettings.java | 17 package com.android.settings.accessibility; 32 import android.provider.Settings; 47 import com.android.settings.DialogCreatable; 48 import com.android.settings.R; 49 import com.android.settings.SettingsPreferenceFragment; 50 import com.android.settings.Utils; 51 import com.android.settings.search.BaseSearchIndexProvider; 52 import com.android.settings.search.Indexable; 53 import com.android.settings.search.SearchIndexableRaw; 67 * Activity with the accessibility settings [all...] |
/development/apps/Development/src/com/android/development/ |
Development.java | 25 import android.provider.Settings; 38 Intent settingsIntent = new Intent(Settings.ACTION_APPLICATION_DEVELOPMENT_SETTINGS);
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
ClockBackActivity.java | 22 import android.provider.Settings; 34 /** An intent for launching the system settings. */ 36 new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS); 46 // Add a shortcut to the accessibility settings.
|
TaskListActivity.java | 24 import android.provider.Settings; 31 /** An intent for launching the system settings. */ 33 new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS); 50 // Add a shortcut to the accessibility settings.
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
RingtoneUtil.java | 20 import android.provider.Settings; 47 return Settings.System.DEFAULT_NOTIFICATION_URI;
|
/packages/apps/SpareParts/src/com/android/spare_parts/ |
Enabler.java | 25 import android.provider.Settings; 35 Settings.System.ADVANCED_SETTINGS_DEFAULT) != 0;
|
/frameworks/base/cmds/settings/src/com/android/commands/settings/ |
SettingsCmd.java | 17 package com.android.commands.settings; 31 import android.provider.Settings; 65 System.err.println("Unable to run settings command"); 149 "settings", UserHandle.USER_SYSTEM, token); 151 throw new IllegalStateException("Could not find settings provider"); 178 activityManager.removeContentProviderExternal("settings", token); 182 System.err.println("Error while accessing settings provider"); 192 final Uri uri = "system".equals(table) ? Settings.System.CONTENT_URI 193 : "secure".equals(table) ? Settings.Secure.CONTENT_URI 194 : "global".equals(table) ? Settings.Global.CONTENT_UR [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
SettingsAppWidgetProvider.java | 17 package com.android.settings.widget; 39 import android.provider.Settings; 43 import com.android.settings.R; 44 import com.android.settings.bluetooth.Utils; 49 * Provides control of power-related settings from a widget. 55 new ComponentName("com.android.settings", 56 "com.android.settings.widget.SettingsAppWidgetProvider"); 386 // settings write off the UI thread, as it can take a 471 // settings write off the UI thread, as it can take a 516 private int mCurrentLocationMode = Settings.Secure.LOCATION_MODE_OFF [all...] |
/packages/apps/Settings/tests/app/src/com/android/settings/ |
SettingsHookTests.java | 17 package com.android.settings; 19 import com.android.settings.Settings; 20 import com.android.settings.tests.Manufacturer; 21 import com.android.settings.tests.Operator; 33 * Tests for the Settings operator/manufacturer hook. 40 * -w com.android.settings.tests/android.test.InstrumentationTestRunner 42 public class SettingsHookTests extends ActivityInstrumentationTestCase2<Settings> { 44 private static final String PACKAGE_NAME = "com.android.settings.tests"; 50 private static final String INTENT_OPERATOR_HOOK = "com.android.settings.OPERATOR_APPLICATION_SETTING" [all...] |
/system/connectivity/shill/ |
shill_daemon.h | 37 const shill::DaemonTask::Settings& settings, Config* config);
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
BaseBootReceiver.java | 22 import android.provider.Settings; 45 return Settings.Global.getInt(context.getContentResolver(), Settings.Global.BOOT_COUNT);
|
/frameworks/base/services/core/java/com/android/server/ |
DockObserver.java | 34 import android.provider.Settings; 135 || Settings.Global.getInt(getContext().getContentResolver(), 136 Settings.Global.THEATER_MODE_ON, 0) == 0) { 159 if (Settings.Global.getInt(cr, 160 Settings.Global.DEVICE_PROVISIONED, 0) == 0) { 172 if (Settings.Global.getInt(cr, 173 Settings.Global.DOCK_SOUNDS_ENABLED, 1) == 1) { 179 whichSound = Settings.Global.DESK_UNDOCK_SOUND; 181 whichSound = Settings.Global.CAR_UNDOCK_SOUND; 187 whichSound = Settings.Global.DESK_DOCK_SOUND [all...] |
SamplingProfilerService.java | 28 import android.provider.Settings; 93 Settings.Global.getUriFor(Settings.Global.SAMPLING_PROFILER_MS), 114 Integer samplingProfilerMs = Settings.Global.getInt( 115 mContentResolver, Settings.Global.SAMPLING_PROFILER_MS, 0);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
ProfileObserver.java | 10 import android.provider.Settings; 30 Settings.Global.getUriFor(Settings.Global.BLUETOOTH_DISABLED_PROFILES), false,
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
PreferenceUtils.java | 17 package com.android.tv.settings; 24 import android.provider.Settings; 72 return Settings.Global.getInt(context.getContentResolver(), 73 Settings.Global.DEVELOPMENT_SETTINGS_ENABLED,
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
AppWorkaroundsTests.java | 19 import com.android.inputmethod.latin.settings.Settings; 66 Settings.getInstance().getCurrent().isBeforeJellyBean()); 72 Settings.getInstance().getCurrent().isBeforeJellyBean());
|
/cts/tests/tests/provider/src/android/provider/cts/ |
Settings_SecureTest.java | 22 import android.provider.Settings; 23 import android.provider.Settings.Secure; 24 import android.provider.Settings.SettingNotFoundException; 48 /** Check that the settings that will be used for testing have proper values. */ 157 0, Settings.Global.getInt(cr, Settings.Global.INSTALL_NON_MARKET_APPS));
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/ |
ShellUiAutomatorBridge.java | 33 import android.provider.Settings; 60 String providerName = Settings.Secure.CONTENT_URI.getAuthority(); 69 cursor = provider.query(null, Settings.Secure.CONTENT_URI, 71 Settings.Secure.VALUE 74 Settings.Secure.LONG_PRESS_TIMEOUT
|
/frameworks/base/core/java/android/util/ |
NtpTrustedTime.java | 26 import android.provider.Settings; 68 final String secureServer = Settings.Global.getString( 69 resolver, Settings.Global.NTP_SERVER); 70 final long timeout = Settings.Global.getLong( 71 resolver, Settings.Global.NTP_TIMEOUT, defaultTimeout);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
WizardManagerHelper.java | 23 import android.provider.Settings; 148 * @param context The context to retrieve the settings. 154 return Settings.Secure.getInt(context.getContentResolver(), 159 return Settings.Secure.getInt(context.getContentResolver(), 167 * for a secondary user profile triggered through Settings > Add account. 169 * @param context The context to retrieve the settings. 175 return Settings.Global.getInt(context.getContentResolver(), 178 return Settings.Secure.getInt(context.getContentResolver(),
|