/frameworks/base/core/java/android/nfc/cardemulation/ |
CardEmulation.java | 31 import android.provider.Settings; 32 import android.provider.Settings.SettingNotFoundException; 268 preferForeground = Settings.Secure.getInt(mContext.getContentResolver(), 269 Settings.Secure.NFC_PAYMENT_FOREGROUND) != 0; 293 String defaultComponent = Settings.Secure.getString(mContext.getContentResolver(), 294 Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
LocationListenerActivity.java | 12 import android.provider.Settings; 19 // Primary -> managed intent: request to goto the location settings page and listen to updates. 53 Log.d(getLogTag(), "Exit location settings:OK"); 67 Intent locationSettingsIntent = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS); 72 Log.e(getLogTag(), "Settings.ACTION_LOCATION_SOURCE_SETTINGS could not be resolved");
|
/cts/hostsidetests/systemui/app/src/android/systemui/cts/ |
TestTileService.java | 23 import android.provider.Settings; 103 startActivityAndCollapse(new Intent(Settings.ACTION_SETTINGS)
|
/cts/suite/audio_quality/lib/src/ |
FileUtil.cpp | 22 #include "Settings.h" 63 Settings::Instance()->addSetting(Settings::EREPORT_TIME, reportTime);
|
/development/samples/AndroidBeamDemo/src/com/example/android/beam/ |
Beam.java | 31 import android.provider.Settings; 156 Intent intent = new Intent(Settings.ACTION_NFCSHARING_SETTINGS);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
WorkModeTile.java | 20 import android.provider.Settings; 29 /** Quick settings tile: Work profile on/off */ 62 return new Intent(Settings.ACTION_SYNC_SETTINGS);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
SystemBars.java | 20 import android.provider.Settings; 51 mContext, Settings.Secure.BAR_SERVICE_COMPONENT, this);
|
/frameworks/base/services/core/java/com/android/server/vr/ |
SettingsObserver.java | 27 import android.provider.Settings; 101 * @param context the context to query for settings changes. 102 * @param handler the handler to use for a settings ContentObserver. 108 Uri settingUri = Settings.Secure.getUriFor(settingName);
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
RemoteBugreportUtils.java | 27 import android.provider.Settings; 59 Intent dialogIntent = new Intent(Settings.ACTION_SHOW_REMOTE_BUGREPORT_DIALOG);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
PermissionCheckActivity.java | 24 import android.provider.Settings; 72 mSettingsView = (TextView) findViewById(R.id.settings); 76 final Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
SettingsFragment.java | 17 package com.android.inputmethod.latin.settings; 25 import android.provider.Settings.Secure; 55 final Preference accountsPreference = findPreference(Settings.SCREEN_ACCOUNTS);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
InputLogicTests.java | 27 import com.android.inputmethod.latin.settings.Settings; 37 mNextWordPrediction = getBooleanPreference(Settings.PREF_BIGRAM_PREDICTIONS, true); 42 setBooleanPreference(Settings.PREF_BIGRAM_PREDICTIONS, mNextWordPrediction, true); 240 setBooleanPreference(Settings.PREF_KEY_USE_DOUBLE_SPACE_PERIOD, true, true); 285 assertEquals("double-space-to-period with specific settings " 289 // Restore old settings 305 // Reset settings to default, else these tests will go flaky. 306 setBooleanPreference(Settings.PREF_SHOW_SUGGESTIONS, true, true); 307 setBooleanPreference(Settings.PREF_AUTO_CORRECTION, true, true) [all...] |
/packages/services/Telephony/src/com/android/phone/ |
CdmaVoicePrivacyCheckBoxPreference.java | 89 android.provider.Settings.Secure.putInt(getContext().getContentResolver(), 90 android.provider.Settings.Secure.ENHANCED_VOICE_PRIVACY_ENABLED, enable);
|
/platform_testing/tests/functional/settingstests/src/com/android/settings/functional/ |
WirelessNetworkSettingsTests.java | 17 package android.settings.functional; 22 import android.provider.Settings; 36 // Settings sub-menus that a test might finish in. This number should be 55 private static final String SETTINGS_PACKAGE = "com.android.settings"; 126 // Exit all settings sub-menus. 166 Settings.Global.putInt(getInstrumentation().getContext().getContentResolver(), 167 Settings.Global.WIFI_SLEEP_POLICY, Settings.Global.WIFI_SLEEP_POLICY_DEFAULT); 168 verifyKeepWiFiOnDuringSleep("Always", Settings.Global.WIFI_SLEEP_POLICY_NEVER); 174 Settings.Global.WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED) [all...] |
/system/bt/service/test/ |
settings_unittest.cpp | 22 #include "service/settings.h" 25 using bluetooth::Settings; 44 Settings settings_;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
LegacyContactsProviderTest.java | 35 import android.provider.Contacts.Settings; [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
SecurityFragment.java | 17 package com.android.tv.settings.system; 37 import android.provider.Settings; 51 import com.android.tv.settings.R; 52 import com.android.tv.settings.dialog.PinDialogFragment; 53 import com.android.tv.settings.users.AppRestrictionsFragment; 54 import com.android.tv.settings.users.RestrictedProfilePinDialogFragment; 55 import com.android.tv.settings.users.UserSwitchListenerService; 248 return Settings.Secure.getInt(getContext().getContentResolver(), 249 Settings.Secure.INSTALL_NON_MARKET_APPS, 0) > 0; 257 Settings.Secure.putInt(getContext().getContentResolver() [all...] |
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
VoiceInteractionManagerService.java | 46 import android.provider.Settings; 243 String curInteractorStr = Settings.Secure.getStringForUser( 245 Settings.Secure.VOICE_INTERACTION_SERVICE, userHandle); 261 // re-apply the settings. 275 // We'll apply this one. Clear the recognizer and re-apply the settings. 314 // Initializing settings, look for an interactor first (but only on non-svelte). 381 String curService = Settings.Secure.getStringForUser( 382 mResolver, Settings.Secure.VOICE_INTERACTION_SERVICE, mCurUser); 467 String curInteractor = Settings.Secure.getStringForUser( 469 Settings.Secure.VOICE_INTERACTION_SERVICE, userHandle) [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
AccessibilityManagerService.java | 66 import android.provider.Settings; 298 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, 303 Settings.Secure. 338 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, 383 if (Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES.equals(which)) { 663 // Set the temporary state, and use it instead of settings 673 // Use the new state instead of settings. [all...] |
/frameworks/base/services/core/java/com/android/server/ |
BluetoothManagerService.java | 52 import android.provider.Settings; 53 import android.provider.Settings.SettingNotFoundException; 156 final String airplaneModeRadios = Settings.Global.getString(resolver, 157 Settings.Global.AIRPLANE_MODE_RADIOS); 158 final String toggleableRadios = Settings.Global.getString(resolver, 159 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS); 161 airplaneModeRadios.contains(Settings.Global.RADIO_BLUETOOTH); 259 // Observe BLE scan only mode settings change. 287 return Settings.Global.getInt(mContext.getContentResolver(), 288 Settings.Global.AIRPLANE_MODE_ON, 0) == 1 [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
DropBoxTest.java | 29 import android.provider.Settings; 48 Settings.Global.putString(cr, Settings.Global.DROPBOX_AGE_SECONDS, ""); 49 Settings.Global.putString(cr, Settings.Global.DROPBOX_MAX_FILES, ""); 50 Settings.Global.putString(cr, Settings.Global.DROPBOX_QUOTA_KB, ""); 51 Settings.Global.putString(cr, Settings.Global.DROPBOX_TAG_PREFIX + "DropBoxTest", ""); 262 Settings.Global.putString(cr, Settings.Global.DROPBOX_TAG_PREFIX + "DropBoxTest" [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
LegacyApiSupport.java | 50 import android.provider.ContactsContract.Settings; 119 private static final int SETTINGS = 44; 219 public static final String SETTINGS = "v1_settings"; 358 matcher.addURI(authority, "settings", SETTINGS); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
DeviceAdminKeyguardDisabledFeaturesActivity.java | 24 import android.provider.Settings;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
WifiLockdownTestActivity.java | 23 import android.provider.Settings; 41 * must not be editable/forgettable in Settings. 72 new Intent(Settings.ACTION_WIFI_SETTINGS)); 79 Settings.Global.WIFI_DEVICE_OWNER_CONFIGS_LOCKDOWN) 88 Settings.Global.WIFI_DEVICE_OWNER_CONFIGS_LOCKDOWN)
|
/cts/tests/tests/assist/src/android/assist/cts/ |
DisableContextTest.java | 31 import android.provider.Settings; 58 "settings put secure assist_structure_enabled 1"); 60 "settings put secure assist_screenshot_enabled 1"); 70 // Both settings off 73 "settings put secure assist_structure_enabled 0"); 75 "settings put secure assist_screenshot_enabled 0"); 85 "settings put secure assist_structure_enabled 1"); 87 "settings put secure assist_screenshot_enabled 0"); 97 "settings put secure assist_structure_enabled 0"); 99 "settings put secure assist_screenshot_enabled 1") [all...] |