/frameworks/base/core/java/android/app/ |
DownloadManager.java | 37 import android.provider.Settings; 39 import android.provider.Settings.SettingNotFoundException; [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
ManagedServices.java | 48 import android.provider.Settings; 69 * - An associated system settings value with a list of enabled component names. 72 * - A settings page for user configuration of enabled services, and associated intent action. 106 // Kept to de-dupe user change events (experienced after boot, when we receive a settings and a 190 // By convention, restored settings are replicated to another settings 197 // 'restored' reserve, and then once we return and the actual write to settings is 199 // settings data. 206 Settings.Secure.putStringForUser(mContext.getContentResolver(), 370 String settingValue = Settings.Secure.getStringForUser [all...] |
NotificationManagerService.java | 104 import android.provider.Settings; [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
Account.java | 50 private static final String SETTINGS_KEY = "settings"; 138 * Uri for EDIT intent that will cause the settings screens for this account type to be 189 * Settings object for this account. 191 public final Settings settings; field in class:Account 231 * Fragment class name for account settings 300 if (settings != null) { 301 json.put(SETTINGS_KEY, settings.toJSON()); 435 final Settings jsonSettings = Settings.newInstance(json.optJSONObject(SETTINGS_KEY)) [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsDatabaseHelperUpgradeTest.java | 34 import android.provider.ContactsContract.Settings; 355 new TableColumn(Settings.ACCOUNT_NAME, STRING, true, null), 356 new TableColumn(Settings.ACCOUNT_TYPE, STRING, true, null), 357 new TableColumn(Settings.DATA_SET, STRING, false, null), 358 new TableColumn(Settings.UNGROUPED_VISIBLE, INTEGER, true, "0"), 359 new TableColumn(Settings.SHOULD_SYNC, INTEGER, true, "1"), 498 new TableListEntry(Tables.SETTINGS, SETTINGS_COLUMNS),
|
/frameworks/base/services/core/java/com/android/server/ |
LockSettingsService.java | 58 import android.provider.Settings; 59 import android.provider.Settings.Secure; 60 import android.provider.Settings.SettingNotFoundException; 105 * Keeps the lock pattern/password data and related settings for each user. 106 * Used by LockPatternUtils. Needs to be a service because Settings app also needs 459 // These Settings moved before multi-user was enabled, so we only have to do it for the 464 String value = Settings.Secure.getString(cr, validSetting); 471 Slog.i(TAG, "Migrated lock settings to new location"); 474 // These Settings changed after multi-user was enabled, hence need to be moved per user. 482 String ownerInfo = Settings.Secure.getStringForUser(cr, OWNER_INFO, userId) [all...] |
/frameworks/base/services/print/java/com/android/server/print/ |
UserState.java | 60 import android.provider.Settings; [all...] |
/packages/apps/Settings/src/com/android/settings/users/ |
UserSettings.java | 17 package com.android.settings.users; 42 import android.provider.Settings; 58 import com.android.settings.ChooseLockGeneric; 59 import com.android.settings.DimmableIconPreference; 60 import com.android.settings.OwnerInfoSettings; 61 import com.android.settings.R; 62 import com.android.settings.SettingsActivity; 63 import com.android.settings.SettingsPreferenceFragment; 64 import com.android.settings.Utils; 65 import com.android.settings.dashboard.SummaryLoader [all...] |
/frameworks/base/telephony/java/android/telephony/ |
TelephonyManager.java | 31 import android.provider.Settings; 32 import android.provider.Settings.SettingNotFoundException; 348 * Open the voicemail settings activity to make changes to voicemail configuration. 697 * The intent to launch voicemail settings. [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
Http2.java | 38 * {@link Settings#getMaxFrameSize frame size setting} to the peer. Hence, we 67 static final byte FLAG_ACK = 0x1; // Used for settings and ping. 269 Settings settings = new Settings(); local 299 throw ioException("PROTOCOL_ERROR invalid settings id: %s", id); 301 settings.set(id, 0, value); 303 handler.settings(false, settings); 304 if (settings.getHeaderTableSize() >= 0) 498 @Override public synchronized void settings(Settings settings) throws IOException { method in class:Http2.Writer [all...] |
/frameworks/base/core/java/android/os/ |
UserManager.java | 40 import android.provider.Settings; 278 * Specifies if a user is disallowed from resetting network settings 279 * from Settings. This can only be set by device owners and profile owners on the primary user. 282 * primary user can reset the network settings of the device. 294 * from Settings. This can only be set by device owners and profile owners on the primary user. 366 * applications in Settings or launchers. The following actions will not be allowed when this 736 boolean allowUserSwitchingWhenSystemUserLocked = Settings.Global.getInt( 738 Settings.Global.ALLOW_USER_SWITCHING_WHEN_SYSTEM_USER_LOCKED, 0) != 0; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
SystemServicesProxy.java | 24 import static android.provider.Settings.Global.DEVELOPMENT_ENABLE_FREEFORM_WINDOWS_SUPPORT; 65 import android.provider.Settings; 215 Settings.Global.getInt(context.getContentResolver(), [all...] |
/frameworks/base/services/core/java/com/android/server/trust/ |
TrustManagerService.java | 57 import android.provider.Settings; 173 ComponentName settings; // setting to launch to modify agent. field in class:TrustManagerService.AgentInfo 289 agentInfo.settings = getSettingsComponentName(pm, resolveInfo); 504 if (0 != Settings.Secure.getIntForUser(mContext.getContentResolver(), 505 Settings.Secure.TRUST_AGENTS_INITIALIZED, 0, userId)) { 527 Settings.Secure.putIntForUser(mContext.getContentResolver(), 528 Settings.Secure.TRUST_AGENTS_INITIALIZED, 1, userId); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
HidService.java | 32 import android.provider.Settings; 447 Settings.Global.putInt(getContentResolver(), 448 Settings.Global.getBluetoothInputDevicePriorityKey(device.getAddress()), 457 int priority = Settings.Global.getInt(getContentResolver(), 458 Settings.Global.getBluetoothInputDevicePriorityKey(device.getAddress()),
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
SapService.java | 32 import android.provider.Settings; 98 private static final String ACCESS_AUTHORITY_PACKAGE = "com.android.settings"; 100 "com.android.settings.bluetooth.BluetoothPermissionRequest"; 553 Settings.Global.putInt(getContentResolver(), 554 Settings.Global.getBluetoothSapPriorityKey(device.getAddress()), 561 int priority = Settings.Global.getInt(getContentResolver(), 562 Settings.Global.getBluetoothSapPriorityKey(device.getAddress()), [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
PackageInstallerActivity.java | 41 import android.provider.Settings; 231 Log.i(TAG, "Finishing off activity so that user can navigate to settings manually"); 234 .setPositiveButton(R.string.settings, new DialogInterface.OnClickListener() { 236 Log.i(TAG, "Launching settings"); 316 Intent launchSettingsIntent = new Intent(Settings.ACTION_SECURITY_SETTINGS); 322 // If the settings app approved the install we are good to go regardless 353 * @return whether unknown sources is enabled by user in Settings 356 return Settings.Secure.getInt(getContentResolver(), 357 Settings.Secure.INSTALL_NON_MARKET_APPS, 0) > 0; 464 // and exit. Otherwise show an option to take the user to Settings to change the setting [all...] |
/packages/apps/Settings/src/com/android/settings/ |
CryptKeeper.java | 17 package com.android.settings; 40 import android.provider.Settings; 73 * Settings screens to show the UI flows for encrypting/decrypting the device. 79 * $ adb shell pm enable com.android.settings/.CryptKeeper 81 * -e "com.android.settings.CryptKeeper.DEBUG_FORCE_VIEW" "progress" \ 82 * -n com.android.settings/.CryptKeeper 105 "com.android.settings.CryptKeeper.DEBUG_FORCE_VIEW"; 426 // from keyboard settings and back to the password screen. 500 Settings.System.putInt(getContentResolver(), Settings.System.TEXT_SHOW_PASSWORD [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiSettings.java | 17 package com.android.settings.wifi; 41 import android.provider.Settings; 59 import com.android.settings.LinkifyUtils; 60 import com.android.settings.R; 61 import com.android.settings.RestrictedSettingsFragment; 62 import com.android.settings.SettingsActivity; 63 import com.android.settings.dashboard.SummaryLoader; 64 import com.android.settings.location.ScanningSettings; 65 import com.android.settings.search.BaseSearchIndexProvider; 66 import com.android.settings.search.Indexable [all...] |
/cts/tests/tests/assist/src/android/assist/cts/ |
AssistTestBase.java | 41 import android.provider.Settings; 85 "settings put secure assist_structure_enabled 1"); 87 "settings put secure assist_screenshot_enabled 1"); 262 Log.i(TAG, "Context is: " + Settings.Secure.getString( 264 Log.i(TAG, "Screenshot is: " + Settings.Secure.getString(
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
ContactManager.java | 39 import android.provider.ContactsContract.Settings; 433 * need to mess with the Settings table to get them to show up. 444 values.put(Settings.UNGROUPED_VISIBLE, visible ? 1 : 0); 446 context.getContentResolver().insert(Settings.CONTENT_URI, values); [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
ConnectivityManagerFacade.java | 33 import android.provider.Settings.SettingNotFoundException; 693 return android.provider.Settings.System.getInt(mService.getContentResolver(), 694 android.provider.Settings.Global.AIRPLANE_MODE_ON) == AIRPLANE_MODE_ON;
|
/frameworks/base/core/java/com/android/internal/content/ |
PackageHelper.java | 37 import android.provider.Settings; 72 // App installation location settings values 351 final boolean forceAllowOnExternal = Settings.Global.getInt( 352 context.getContentResolver(), Settings.Global.FORCE_ALLOW_ON_EXTERNAL, 0) != 0;
|
/frameworks/base/core/java/com/android/internal/widget/ |
RotarySelector.java | 30 import android.provider.Settings; 679 final boolean hapticEnabled = Settings.System.getIntForUser( 680 mContext.getContentResolver(), Settings.System.HAPTIC_FEEDBACK_ENABLED, 1,
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
ConnectionUtil.java | 40 import android.provider.Settings; 688 Settings.System.putInt(context.getContentResolver(), Settings.System.AIRPLANE_MODE_ON,
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
MtpDocumentsProvider.java | 41 import android.provider.Settings; 116 final int bootCount = Settings.Global.getInt(mResolver, Settings.Global.BOOT_COUNT, -1);
|