/cts/tests/tests/location/src/android/location/cts/ |
LocationManagerTest.java | 41 import android.provider.Settings; 267 // Find out what the settings say about which providers are enabled 268 int mode = Settings.Secure.getInt( 269 cr, Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); 270 boolean gps = Settings.Secure.isLocationProviderEnabled(cr, LocationManager.GPS_PROVIDER); 271 boolean nlp = Settings.Secure.isLocationProviderEnabled( 285 // Assert LocationManager returned the values from Settings.Secure (assuming the device has 291 case Settings.Secure.LOCATION_MODE_OFF: 295 case Settings.Secure.LOCATION_MODE_SENSORS_ONLY [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SubscriptionController.java | 32 import android.provider.Settings; [all...] |
ServiceStateTracker.java | 47 import android.provider.Settings; 516 // system setting property AIRPLANE_MODE_ON is set in Settings. 517 int airplaneMode = Settings.Global.getInt(mCr, Settings.Global.AIRPLANE_MODE_ON, 0); 518 int enableCellularOnBoot = Settings.Global.getInt(mCr, 519 Settings.Global.ENABLE_CELLULAR_ON_BOOT, 1); 523 Settings.Global.getUriFor(Settings.Global.AUTO_TIME), true, 526 Settings.Global.getUriFor(Settings.Global.AUTO_TIME_ZONE), true [all...] |
SmsApplication.java | 37 import android.provider.Settings; 394 String defaultApplication = Settings.Secure.getStringForUser(context.getContentResolver(), 395 Settings.Secure.SMS_DEFAULT_APPLICATION, userId); 407 // Picking a new SMS app requires AppOps and Settings.Secure permissions, so we only do 488 * needs to have permission to set AppOps and write to secure settings. 509 String oldPackageName = Settings.Secure.getStringForUser(context.getContentResolver(), 510 Settings.Secure.SMS_DEFAULT_APPLICATION, userId); 543 Settings.Secure.putStringForUser(context.getContentResolver(), 544 Settings.Secure.SMS_DEFAULT_APPLICATION, applicationData.mPackageName, [all...] |
/frameworks/base/core/java/android/os/storage/ |
StorageManager.java | 39 import android.provider.Settings; [all...] |
/frameworks/base/services/core/java/com/android/server/ |
NsdService.java | 32 import android.provider.Settings; 126 Settings.Global.getUriFor(Settings.Global.NSD_ON), 605 Settings.Global.putInt(mContentResolver, Settings.Global.NSD_ON, enable ? 1 : 0); 625 boolean ret = Settings.Global.getInt(mContentResolver, Settings.Global.NSD_ON, 1) == 1; [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/ |
UsbDeviceManager.java | 47 import android.provider.Settings; 81 * The non-persistent property which stores the current USB settings. 160 boolean enable = (Settings.Global.getInt(mContentResolver, 161 Settings.Global.ADB_ENABLED, 0) > 0); 243 Settings.Global.putInt(mContentResolver, 244 Settings.Global.ADB_ENABLED, mAdbEnabled ? 1 : 0); 257 public void setCurrentUser(int userId, UsbSettingsManager settings) { 259 mCurrentSettings = settings; 350 // register observer to listen for settings changes 352 Settings.Global.getUriFor(Settings.Global.ADB_ENABLED) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
ByodHelperActivity.java | 41 import android.provider.Settings; 47 import static android.provider.Settings.Secure.INSTALL_NON_MARKET_APPS; 114 // Primary -> managed intent: request to goto the location settings page and listen to updates. 156 private static final String ORIGINAL_SETTINGS_NAME = "original settings"; 472 String value = Settings.Secure.getString(getContentResolver(), INSTALL_NON_MARKET_APPS);
|
DeviceAdminTestReceiver.java | 25 import android.provider.Settings;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
KeyChainTest.java | 24 import android.provider.Settings; 358 final Intent securitySettingsIntent = new Intent(Settings.ACTION_SECURITY_SETTINGS); 360 log("Started action: " + Settings.ACTION_SECURITY_SETTINGS);
|
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
EncryptionAppTest.java | 33 import android.provider.Settings; 105 .resourceId("com.android.settings:id/lock_pin")); 112 .resourceId("com.android.settings:id/encrypt_dont_require_password")); 120 .resourceId("com.android.settings:id/password_entry")); 146 .resourceId("com.android.settings:id/password_entry")); 159 .resourceId("com.android.settings:id/lock_none")); 373 return Settings.Global.getInt(mDe.getContentResolver(), Settings.Global.BOOT_COUNT);
|
/cts/tests/admin/src/android/admin/cts/ |
DevicePolicyManagerTest.java | 30 import android.provider.Settings; 41 * activated via "Settings > Location & security > Select device administrators". 223 Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON, "1"); 237 Settings.Secure.INSTALL_NON_MARKET_APPS, "1");
|
/cts/tests/tests/widget/src/android/widget/cts/ |
AdapterViewTest.java | 40 import android.provider.Settings; 215 float fontScale = Settings.System.getFloat(mActivity.getContentResolver(), Settings.System.FONT_SCALE, 1);
|
/frameworks/base/core/java/android/app/ |
ApplicationErrorReport.java | 28 import android.provider.Settings; 161 // check if error reporting is enabled in secure settings 162 int enabled = Settings.Global.getInt(context.getContentResolver(), 163 Settings.Global.SEND_ACTION_APP_ERROR, 0);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
WifiTile.java | 23 import android.provider.Settings; 46 /** Quick settings tile: Wifi **/ 48 private static final Intent WIFI_SETTINGS = new Intent(Settings.ACTION_WIFI_SETTINGS); 113 mHost.startActivityDismissingKeyguard(new Intent(Settings.ACTION_WIFI_SETTINGS));
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
TwilightService.java | 40 import android.provider.Settings; 41 import android.provider.Settings.Secure; 594 Settings.Secure.putIntForUser(getContext().getContentResolver(),
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
ClockFragment.java | 29 import android.provider.Settings; 166 final Uri uri = Settings.System.getUriFor(Settings.System.NEXT_ALARM_FORMATTED); 328 * the top for the home timezone if "Automatic home clock" is turned on in settings and the
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
BluetoothPeripheralHandover.java | 36 import android.provider.Settings; 121 mProvisioning = Settings.Secure.getInt(contentResolver, 122 Settings.Global.DEVICE_PROVISIONED, 0) == 0;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
SuggestionStripView.java | 51 import com.android.inputmethod.latin.settings.Settings; 52 import com.android.inputmethod.latin.settings.SettingsValues; 195 final SettingsValues currentSettingsValues = Settings.getInstance().getCurrent(); 216 final SettingsValues currentSettingsValues = Settings.getInstance().getCurrent();
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/ |
VrListenerVerifierActivity.java | 23 import android.provider.Settings; 370 new Intent(Settings.ACTION_VR_LISTENER_SETTINGS)); 432 String helpers = Settings.Secure.getString(getContentResolver(), ENABLED_VR_LISTENERS); 439 assertTrue("Settings must now contain " + c.flattenToString(), 618 String helpers = Settings.Secure.getString(getContentResolver(), ENABLED_VR_LISTENERS); 621 assertTrue("Settings must no longer contain " + c.flattenToString(),
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilitySoftKeyboardModesTest.java | 25 import android.provider.Settings;
|
/cts/tests/tests/assist/src/android/assist/cts/ |
LifecycleTest.java | 32 import android.provider.Settings;
|
/development/apps/Development/src/com/android/development/ |
ShowActivity.java | 1 /* //device/apps/Settings/src/com/android/settings/Keyguard.java 26 import android.provider.Settings;
|
/external/libweave/src/ |
base_api_handler.cc | 103 const auto& settings = device_info_->GetSettings(); variable 105 state.SetString(kBaseStateFirmwareVersion, settings.firmware_version); 107 base::StringValue{settings.firmware_version}, 132 const auto& settings = device_info_->GetSettings(); local 134 EnumToString(settings.local_anonymous_access_role)}; 135 bool discovery_enabled{settings.local_discovery_enabled}; 136 bool pairing_enabled{settings.local_pairing_enabled}; 159 void BaseApiHandler::OnConfigChanged(const Settings& settings) { 162 EnumToString(settings.local_anonymous_access_role)) 177 const auto& settings = device_info_->GetSettings(); local [all...] |
device_manager.h | 38 const Settings& GetSettings() const override;
|