/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
QuickSettings.java | 52 import android.provider.Settings; 293 // Dismiss the lock screen when Settings starts. 364 // Settings tile 370 startSettingsActivity(android.provider.Settings.ACTION_SETTINGS); 387 startSettingsActivity(android.provider.Settings.ACTION_WIFI_SETTINGS); 441 "com.android.settings", 442 "com.android.settings.Settings$DataUsageSummaryActivity")); 565 startSettingsActivity(android.provider.Settings.ACTION_BLUETOOTH_SETTINGS); 618 startSettingsActivity(android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS) [all...] |
/frameworks/base/services/java/com/android/server/updates/ |
ConfigUpdateInstallReceiver.java | 23 import android.provider.Settings; 77 // get the certificate from Settings.Secure 121 // get the cert from settings 122 String cert = Settings.Secure.getString(cr, UPDATE_CERTIFICATE_KEY); 130 throw new IllegalStateException("Got malformed certificate from settings, ignoring");
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
CertPinInstallReceiverTest.java | 22 import android.provider.Settings; 103 assertTrue(Settings.Secure.putString(mContext.getContentResolver(), key, value));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
PhoneBase.java | 32 import android.provider.Settings; 716 Settings.Global.getInt(mContext.getContentResolver(), 717 Settings.Global.WIFI_COUNTRY_CODE); 718 } catch (Settings.SettingNotFoundException e) { 813 int mode = Settings.Secure.getInt(getContext().getContentResolver(), 814 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); 815 if (mode == Settings.Secure.LOCATION_MODE_OFF) { [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationViewHeader.java | 41 import com.android.mail.providers.Settings; 154 final Settings settings = mAccountController.getAccount().settings; local 155 if (settings.priorityArrowsEnabled && conv.isImportant()) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
FolderPreferences.java | 26 import android.provider.Settings; 200 * If <code>true</code>, we use inbox-defaults for notification settings. If <code>false</code>, 223 Settings.System.DEFAULT_NOTIFICATION_URI.toString());
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
RecentFolderList.java | 28 import com.android.mail.providers.Settings; 228 : new FolderUri(Settings.getDefaultInboxUri(mAccount.settings));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
AccessibilityEntityProvider.java | 38 import com.android.inputmethod.latin.settings.Settings; 39 import com.android.inputmethod.latin.settings.SettingsValues; 290 final SettingsValues currentSettings = Settings.getInstance().getCurrent();
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
RingtonePickerActivity.java | 28 import android.provider.Settings; 139 mUriForDefaultItem = Settings.System.DEFAULT_RINGTONE_URI;
|
/packages/services/Telephony/src/com/android/phone/ |
Ringer.java | 34 import android.provider.Settings; 56 Uri mCustomRingtoneUri = Settings.System.DEFAULT_RINGTONE_URI;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
CameraOrientationActivity.java | 110 Settings settings = getSettings(stageIndex); local 129 mCurrentCameraId = settings.mCameraId; 135 mNextPreviewOrientation = settings.mOrientation; 536 private Settings getSettings(int stageIndex) { 539 return new Settings(stageIndex, curCameraId, curOrientation); 542 // Bundle of settings for testing a particular 544 class Settings { 548 Settings(int stageIndex, int cameraId, int orientation) {
|
/frameworks/base/core/tests/coretests/src/android/app/ |
DownloadManagerBaseTest.java | 35 import android.provider.Settings; 557 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 565 while (Settings.Global.getInt(mContext.getContentResolver(), 566 Settings.Global.AIRPLANE_MODE_ON, -1) != state) { [all...] |
/frameworks/base/services/java/com/android/server/ |
BatteryService.java | 42 import android.provider.Settings; 549 String dischargeThresholdString = Settings.Global.getString(cr, 550 Settings.Global.BATTERY_DISCHARGE_THRESHOLD); 551 String durationThresholdString = Settings.Global.getString(cr, 552 Settings.Global.BATTERY_DISCHARGE_DURATION_THRESHOLD); [all...] |
NotificationManagerService.java | 63 import android.provider.Settings; 550 String flatIn = Settings.Secure.getStringForUser( 552 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS, 592 Settings.Secure.putStringForUser(mContext.getContentResolver(), 593 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS, 605 String flat = Settings.Secure.getStringForUser( 607 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS, 717 mContext, 0, new Intent(Settings.ACTION_NOTIFICATION_LISTENER_SETTINGS), 0)); [all...] |
UiModeManagerService.java | 41 import android.provider.Settings; 178 mNightMode = Settings.Secure.getInt(mContext.getContentResolver(), 179 Settings.Secure.UI_NIGHT_MODE, UiModeManager.MODE_NIGHT_AUTO); 241 Settings.Secure.putInt(mContext.getContentResolver(), 242 Settings.Secure.UI_NIGHT_MODE, mode);
|
NsdService.java | 35 import android.provider.Settings; 134 Settings.Global.getUriFor(Settings.Global.NSD_ON), 571 Settings.Global.putInt(mContentResolver, Settings.Global.NSD_ON, enable ? 1 : 0); 591 boolean ret = Settings.Global.getInt(mContentResolver, Settings.Global.NSD_ON, 1) == 1; [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
HidService.java | 32 import android.provider.Settings; 430 Settings.Global.putInt(getContentResolver(), 431 Settings.Global.getBluetoothInputDevicePriorityKey(device.getAddress()), 440 int priority = Settings.Global.getInt(getContentResolver(), 441 Settings.Global.getBluetoothInputDevicePriorityKey(device.getAddress()),
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapService.java | 46 import android.provider.Settings; 139 private static final String ACCESS_AUTHORITY_PACKAGE = "com.android.settings"; 141 "com.android.settings.bluetooth.BluetoothPermissionRequest"; 575 Settings.Global.putInt(getContentResolver(), 576 Settings.Global.getBluetoothMapPriorityKey(device.getAddress()), 583 int priority = Settings.Global.getInt(getContentResolver(), 584 Settings.Global.getBluetoothMapPriorityKey(device.getAddress()),
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Util.java | 40 import android.provider.Settings; 678 // Overright the brightness settings if it is automatic 679 int mode = Settings.System.getInt(resolver, Settings.System.SCREEN_BRIGHTNESS_MODE, 680 Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL); 681 if (mode == Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC) {
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
HostEmulationManager.java | 38 import android.provider.Settings; 114 Settings.Secure.getUriFor(Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT), 119 String name = Settings.Secure.getStringForUser( 120 mContext.getContentResolver(), Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT,
|
/packages/apps/Settings/src/com/android/settings/print/ |
PrintSettingsFragment.java | 17 package com.android.settings.print; 43 import android.provider.Settings; 56 import com.android.settings.DialogCreatable; 57 import com.android.settings.R; 58 import com.android.settings.SettingsPreferenceFragment; 65 * Fragment with the top level print settings. 151 String searchUri = Settings.Secure.getString(getContentResolver(), 152 Settings.Secure.PRINT_SERVICE_SEARCH_URI); 331 contentResolver.registerContentObserver(Settings.Secure.getUriFor( 332 Settings.Secure.ENABLED_PRINT_SERVICES), false, this) [all...] |
/frameworks/base/services/java/com/android/server/input/ |
InputManagerService.java | 62 import android.provider.Settings; 63 import android.provider.Settings.SettingNotFoundException; 698 final Intent intent = new Intent("android.settings.INPUT_METHOD_SETTINGS"); [all...] |
/frameworks/base/media/java/android/media/ |
MediaFocusControl.java | 46 import android.provider.Settings; 137 Settings.Secure.getUriFor(Settings.Secure.ENABLED_NOTIFICATION_LISTENERS); 143 mContentResolver.registerContentObserver(Settings.Secure.getUriFor( 144 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS), false, this); 179 // ENABLED_NOTIFICATION_LISTENERS settings check 181 // this call is coming from an app, can't use its identity to read secure settings 185 final String enabledNotifListeners = Settings.Secure.getStringForUser( 187 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS, 248 final String enabledNotifListeners = Settings.Secure.getStringForUser [all...] |
AudioService.java | 67 import android.provider.Settings; 68 import android.provider.Settings.System; 217 /* mStreamVolumeAlias[] indicates for each stream if it uses the volume settings 218 * of another stream: This avoids multiplying the volume settings for hidden 219 * stream types that follow other stream behavior for volume settings 505 mSafeMediaVolumeState = new Integer(Settings.Global.getInt(mContentResolver, 506 Settings.Global.AUDIO_SAFE_VOLUME_STATE, 659 mDockAudioMediaEnabled = Settings.Global.getInt( 660 cr, Settings.Global.DOCK_AUDIO_MEDIA_ENABLED, 0) == 1; 682 Settings.Global.getInt [all...] |
/frameworks/base/services/java/com/android/server/accessibility/ |
ScreenMagnifier.java | 35 import android.provider.Settings; 95 * 6. The magnification scale will be persisted in settings and in the cloud. [all...] |