/packages/apps/Calendar/src/com/android/calendar/ |
LaunchActivity.java | 27 import android.provider.Settings; 59 // If we failed to find a valid Calendar, bounce the user to the account settings 62 final Intent intent = new Intent(Settings.ACTION_ADD_ACCOUNT); 64 intent.putExtra(Settings.EXTRA_AUTHORITIES, new String[] {
|
/packages/apps/Settings/src/com/android/settings/ |
SecuritySettings.java | 17 package com.android.settings; 44 import android.provider.Settings; 56 * Gesture lock pattern settings. 61 // Lock Settings 62 private static final String PACKAGE = "com.android.settings"; 74 // Location Settings 89 // These provide support for receiving notification when Location Manager settings change. 90 // This is necessary because the Network Location Provider can change settings 115 // listen for Location Manager settings changes 116 Cursor settingsCursor = getContentResolver().query(Settings.Secure.CONTENT_URI, null [all...] |
Settings.java | 17 package com.android.settings; 25 public class Settings extends PreferenceActivity { 37 addPreferencesFromResource(R.xml.settings);
|
RingerVolumePreference.java | 17 package com.android.settings; 25 import android.provider.Settings; 82 mNotificationsUseRingVolumeCheckbox.setChecked(Settings.System.getInt( 84 Settings.System.NOTIFICATIONS_USE_RING_VOLUME, 1) == 1); 109 Settings.System.putInt(getContext().getContentResolver(), 110 Settings.System.NOTIFICATIONS_USE_RING_VOLUME, isChecked ? 1 : 0);
|
/frameworks/base/core/java/android/widget/ |
DigitalClock.java | 24 import android.provider.Settings; 70 Settings.System.CONTENT_URI, true, mFormatChangeObserver); 105 * Pulls 12/24 mode from system settings
|
DateTimeView.java | 29 import android.provider.Settings; 30 import android.provider.Settings.SettingNotFoundException; 204 String format = Settings.System.getString(getContext().getContentResolver(), 205 Settings.System.DATE_FORMAT); 228 Uri uri = Settings.System.getUriFor(Settings.System.DATE_FORMAT);
|
/frameworks/base/services/java/com/android/server/ |
DeviceStorageMonitorService.java | 37 import android.provider.Settings; 41 import android.provider.Settings; 46 * than a tunable threshold value (a secure settings parameter; 56 * settings parameter with a default value of 12 hours. When the free 58 * settings parameter with a default value of 2MB), the free memory is 138 // Read the log interval from secure settings 139 long freeMemLogInterval = Settings.Secure.getLong(mContentResolver, 140 Settings.Secure.SYS_FREE_STORAGE_LOG_INTERVAL, 166 // Read the reporting threshold from secure settings 167 long threshold = Settings.Secure.getLong(mContentResolver [all...] |
InputMethodManagerService.java | 63 import android.provider.Settings; 64 import android.provider.Settings.Secure; 300 resolver.registerContentObserver(Settings.Secure.getUriFor( 301 Settings.Secure.DEFAULT_INPUT_METHOD), false, this); 342 String curInputMethodId = Settings.Secure.getString(mContext 343 .getContentResolver(), Settings.Secure.DEFAULT_INPUT_METHOD); 355 Settings.Secure.putString(mContext.getContentResolver(), 356 Settings.Secure.DEFAULT_INPUT_METHOD, ""); 372 String curInputMethodId = Settings.Secure.getString(mContext 373 .getContentResolver(), Settings.Secure.DEFAULT_INPUT_METHOD) [all...] |
AccessibilityManagerService.java | 46 import android.provider.Settings; 187 Settings.Secure.putString(mContext.getContentResolver(), 188 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, 203 mIsEnabled = Settings.Secure.getInt(mContext.getContentResolver(), 204 Settings.Secure.ACCESSIBILITY_ENABLED, 0) == 1; 230 * {@link ContentObserver}s for {@link Settings.Secure#ACCESSIBILITY_ENABLED} 231 * and {@link Settings.Secure#ENABLED_ACCESSIBILITY_SERVICES} settings. 236 Uri enabledUri = Settings.Secure.getUriFor(Settings.Secure.ACCESSIBILITY_ENABLED) [all...] |
DemoDataSet.java | 27 import android.provider.Settings; 137 return Settings.Bookmarks.add(mContentResolver, intent, null, null,
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SearchSettings.java | 37 import android.provider.Settings; 38 import android.provider.Settings.System; 132 * search settings. 147 Log.e(TAG, "No web search settings activity"); 151 Log.e(TAG, "More than one web search settings activity"); 224 * Informs our listeners about the updated settings data. 239 return (Settings.System.getInt(context.getContentResolver(), 240 Settings.System.SHOW_WEB_SUGGESTIONS, 252 Settings.System.getUriFor(Settings.System.SHOW_WEB_SUGGESTIONS) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsTest.java | 47 import android.provider.Contacts.Settings; 682 * Test case for the behavior of the ContactsProvider's settings table 687 Settings._ID, Settings._SYNC_ACCOUNT, Settings._SYNC_ACCOUNT_TYPE, 688 Settings.KEY, Settings.VALUE}; 703 value.put(Settings.KEY, insertKey); 704 value.put(Settings.VALUE, insertValue); [all...] |
/packages/apps/Contacts/src/com/android/contacts/ui/ |
ContactsPreferencesActivity.java | 53 import android.provider.ContactsContract.Settings; 356 * Entry holding any changes to {@link Groups} or {@link Settings} rows, 368 * Build {@link GroupDelta} from the {@link Settings} row for the given 369 * {@link Settings#ACCOUNT_NAME} and {@link Settings#ACCOUNT_TYPE}. 373 final Uri settingsUri = Settings.CONTENT_URI.buildUpon() 374 .appendQueryParameter(Settings.ACCOUNT_NAME, accountName) 375 .appendQueryParameter(Settings.ACCOUNT_TYPE, accountType).build(); 377 Settings.SHOULD_SYNC, Settings.UNGROUPED_VISIBL [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
DropBoxTest.java | 25 import android.provider.Settings; 41 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_AGE_SECONDS, ""); 42 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_MAX_FILES, ""); 43 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_QUOTA_KB, ""); 44 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_TAG_PREFIX + "DropBoxTest", ""); 250 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_TAG_PREFIX + "DropBoxTest" [all...] |
/frameworks/policies/base/phone/com/android/internal/policy/impl/ |
KeyguardUpdateMonitor.java | 32 import android.provider.Settings; 173 mDeviceProvisioned = Settings.Secure.getInt( 174 mContext.getContentResolver(), Settings.Secure.DEVICE_PROVISIONED, 0) != 0; 183 mDeviceProvisioned = Settings.Secure.getInt(mContext.getContentResolver(), 184 Settings.Secure.DEVICE_PROVISIONED, 0) != 0; 195 Settings.Secure.getUriFor(Settings.Secure.DEVICE_PROVISIONED), 200 mDeviceProvisioned = Settings.Secure.getInt(mContext.getContentResolver(), 201 Settings.Secure.DEVICE_PROVISIONED, 0) != 0;
|
/frameworks/base/tools/localize/ |
localize_test.cpp | 98 Settings setting; 122 map<string,Settings> settings; local 123 map<string,Settings>::iterator it; 125 err = read_settings("testdata/config.xml", &settings, "//asdf"); 131 for (it=settings.begin(); it!=settings.end(); it++) { 132 const Settings& setting = it->second; 153 for (it=settings.begin(); it!=settings.end(); it++) [all...] |
localize.cpp | 27 read_settings(const string& filename, map<string,Settings>* result, const string& rootDir) 41 Settings settings; local 42 settings.id = configNode->GetAttribute("", "id", ""); 43 if (settings.id == "") { 49 settings.oldVersion = configNode->GetAttribute("", "old-cl", ""); 51 settings.currentVersion = configNode->GetAttribute("", "new-cl", ""); 52 if (settings.currentVersion == "") { 72 settings.apps.push_back(dir); 104 settings.reject.push_back(reject) 177 const Settings* settings = reinterpret_cast<const Settings*>(cookie); local 273 map<string,Settings> settings; local 480 const PseudolocalizeSettings* settings = (PseudolocalizeSettings*)cookie; local 495 PseudolocalizeSettings settings; local [all...] |
/development/apps/Development/src/com/android/development/ |
AppPicker.java | 30 import android.provider.Settings; 81 boolean waitForDebugger = Settings.System.getInt( 82 getContentResolver(), Settings.System.WAIT_FOR_DEBUGGER, 0) != 0;
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
DataConnectionTracker.java | 24 import android.provider.Settings; 25 import android.provider.Settings.SettingNotFoundException; 48 * FAILED: data connection fail for all apns settings 238 Settings.Secure.putInt(phone.getContext().getContentResolver(), 239 Settings.Secure.DATA_ROAMING, enabled ? 1 : 0); 252 return Settings.Secure.getInt(phone.getContext().getContentResolver(), 253 Settings.Secure.DATA_ROAMING) > 0;
|
/cts/tests/tests/media/src/android/media/cts/ |
RingtoneTest.java | 28 import android.provider.Settings; 46 mRingtone = RingtoneManager.getRingtone(mContext, Settings.System.DEFAULT_RINGTONE_URI); 47 // backup ringer settings 59 // restore original settings
|
/external/webkit/WebKit/qt/Api/ |
qwebsettings.h | 31 class Settings; 148 QWebSettings(WebCore::Settings *settings);
|
/packages/apps/Phone/src/com/android/phone/ |
CdmaVoicePrivacyCheckBoxPreference.java | 73 android.provider.Settings.Secure.putInt(getContext().getContentResolver(), 74 android.provider.Settings.Secure.ENHANCED_VOICE_PRIVACY_ENABLED, enable);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothEnabler.java | 17 package com.android.settings.bluetooth; 19 import com.android.settings.R; 20 import com.android.settings.WirelessSettings; 29 import android.provider.Settings; 93 .isRadioAllowed(mContext, Settings.System.RADIO_BLUETOOTH)) {
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
LegacyContactsProviderTest.java | 37 import android.provider.Contacts.Settings; [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
ProxyTest.java | 21 import android.provider.Settings.Secure; 73 @BrokenTest("Cannot write secure settings table")
|