HomeSort by relevance Sort by last modified time
    Searched refs:Settings (Results 151 - 175 of 1062) sorted by null

1 2 3 4 5 67 8 91011>>

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
NfcDialogs.java 25 import android.provider.Settings;
38 Intent intent = new Intent(Settings.ACTION_NFC_SETTINGS);
53 Intent intent = new Intent(Settings.ACTION_NFCSHARING_SETTINGS);
78 Intent intent = new Intent(Settings.ACTION_NFC_PAYMENT_SETTINGS);
  /cts/tests/accessibility/src/android/view/accessibility/cts/
ServiceControlUtils.java 25 import android.provider.Settings;
54 // Change the settings to enable the two services
56 String alreadyEnabledServices = Settings.Secure.getString(
57 cr, Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES);
58 ParcelFileDescriptor fd = uiAutomation.executeShellCommand("settings --user cur put secure "
59 + Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES + " "
107 * Turn off all accessibility services. Assumes permissions to write settings are already
  /external/libweave/include/weave/provider/
config_store.h 17 #include <weave/settings.h>
24 // libweave will use this interface to get default settings and load / save
25 // settings to a persistent storage.
27 // Implementation of the LoadDefaults(...) method may load settings from
30 // bool FileConfigStore::LoadDefaults(Settings* settings) {
31 // settings->name = "My device";
32 // settings->pairing_modes.insert(kPinCode);
33 // // set all other required settings, see include/weave/settings.
    [all...]
  /frameworks/base/media/java/android/media/
RingtoneManager.java 32 import android.provider.Settings;
33 import android.provider.Settings.System;
646 final String uriString = Settings.System.getStringForUser(context.getContentResolver(),
666 Settings.System.putStringForUser(resolver, setting,
706 return Settings.System.RINGTONE;
708 return Settings.System.NOTIFICATION_SOUND;
710 return Settings.System.ALARM_ALERT;
719 return Settings.System.RINGTONE_CACHE_URI;
721 return Settings.System.NOTIFICATION_SOUND_CACHE_URI;
723 return Settings.System.ALARM_ALERT_CACHE_URI
    [all...]
  /frameworks/base/services/core/java/com/android/server/
CertBlacklister.java 24 import android.provider.Settings;
73 return Settings.Secure.getString(mContentResolver, mKey);
130 Settings.Secure.getUriFor(PUBKEY_BLACKLIST_KEY),
137 Settings.Secure.getUriFor(SERIAL_BLACKLIST_KEY),
GestureLauncherService.java 36 import android.provider.Settings;
141 Settings.Secure.getUriFor(Settings.Secure.CAMERA_GESTURE_DISABLED),
144 Settings.Secure.getUriFor(Settings.Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED),
222 && (Settings.Secure.getIntForUser(context.getContentResolver(),
223 Settings.Secure.CAMERA_GESTURE_DISABLED, 0, userId) == 0);
228 && (Settings.Secure.getIntForUser(context.getContentResolver(),
229 Settings.Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED, 0, userId) == 0);
287 boolean userSetupComplete = Settings.Secure.getInt(mContext.getContentResolver()
    [all...]
  /packages/apps/Settings/src/com/android/settings/
TestingSettingsBroadcastReceiver.java 1 package com.android.settings;
9 import com.android.settings.Settings.TestingSettingsActivity;
ScreenPinningSettings.java 16 package com.android.settings;
24 import android.provider.Settings;
36 import com.android.settings.search.BaseSearchIndexProvider;
37 import com.android.settings.search.Indexable;
38 import com.android.settings.search.SearchIndexableRaw;
39 import com.android.settings.widget.SwitchBar;
45 * Screen pinning settings.
95 return Settings.System.getInt(context.getContentResolver(),
96 Settings.System.LOCK_TO_APP_ENABLED, 0) != 0;
100 Settings.System.putInt(getContentResolver(), Settings.System.LOCK_TO_APP_ENABLED
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
RingtoneFactory.java 28 import android.provider.Settings;
70 Settings.System.DEFAULT_RINGTONE_URI);
117 return !TextUtils.isEmpty(Settings.System.getString(userContext.getContentResolver(),
118 Settings.System.RINGTONE));
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
SettingsFacade.java 28 import android.provider.Settings.SettingNotFoundException;
42 * Exposes phone settings functionality.
74 android.provider.Settings.System.putInt(mService.getContentResolver(),
75 android.provider.Settings.System.SCREEN_OFF_TIMEOUT, value * 1000);
83 return android.provider.Settings.System.getInt(mService.getContentResolver(),
84 android.provider.Settings.System.SCREEN_OFF_TIMEOUT) / 1000;
157 return android.provider.Settings.System.getInt(mService.getContentResolver(),
158 android.provider.Settings.System.SCREEN_BRIGHTNESS);
180 android.provider.Settings.System.putInt(mService.getContentResolver(),
181 android.provider.Settings.System.SCREEN_BRIGHTNESS, brightness)
    [all...]
  /frameworks/base/core/java/android/net/
NetworkScorerAppManager.java 28 import android.provider.Settings;
183 String scorerPackage = Settings.Global.getString(context.getContentResolver(),
184 Settings.Global.NETWORK_SCORER_APP);
191 * <p>The caller must have permission to write to {@link android.provider.Settings.Global}.
199 String oldPackageName = Settings.Global.getString(context.getContentResolver(),
200 Settings.Global.NETWORK_SCORER_APP);
209 Settings.Global.putString(context.getContentResolver(),
210 Settings.Global.NETWORK_SCORER_APP, null);
215 Settings.Global.putString(context.getContentResolver(),
216 Settings.Global.NETWORK_SCORER_APP, packageName)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
LocationControllerImpl.java 33 import android.provider.Settings;
67 // Register to listen for changes in location settings.
83 * Add a callback to listen for changes in location settings.
95 * Enable or disable location in settings.
114 ? Settings.Secure.LOCATION_MODE_PREVIOUS : Settings.Secure.LOCATION_MODE_OFF;
115 // QuickSettings always runs as the owner, so specifically set the settings
117 return Settings.Secure
118 .putIntForUser(cr, Settings.Secure.LOCATION_MODE, mode, currentUserId);
122 * Returns true if location isn't disabled in settings
    [all...]
  /packages/apps/Settings/src/com/android/settings/notification/
RedactionInterstitial.java 17 package com.android.settings.notification;
24 import android.provider.Settings;
35 import com.android.settings.R;
36 import com.android.settings.RestrictedCheckBox;
37 import com.android.settings.RestrictedRadioButton;
38 import com.android.settings.SettingsActivity;
39 import com.android.settings.SettingsPreferenceFragment;
40 import com.android.settings.Utils;
142 final boolean enabled = Settings.Secure.getIntForUser(getContentResolver(),
143 Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 0, mUserId) != 0
    [all...]
  /packages/apps/Settings/src/com/android/settings/voice/
VoiceInputListPreference.java 1 package com.android.settings.voice;
5 import android.provider.Settings;
12 import com.android.settings.AppListPreferenceWithSettings;
13 import com.android.settings.R;
42 Settings.Secure.putString(getContext().getContentResolver(),
43 Settings.Secure.VOICE_INTERACTION_SERVICE, value);
44 Settings.Secure.putString(getContext().getContentResolver(),
45 Settings.Secure.VOICE_RECOGNITION_SERVICE,
50 setSettingsComponent(info.settings);
58 Settings.Secure.putString(getContext().getContentResolver()
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
InputsFragment.java 17 package com.android.tv.settings.system;
24 import android.provider.Settings;
31 import com.android.tv.settings.R;
37 * Fragment to control TV input settings.
95 mHdmiControlPref.setChecked(readCecOption(Settings.Global.HDMI_CONTROL_ENABLED));
97 Settings.Global.HDMI_CONTROL_AUTO_DEVICE_OFF_ENABLED));
98 mTvAutoOnPref.setChecked(readCecOption(Settings.Global.HDMI_CONTROL_AUTO_WAKEUP_ENABLED));
166 writeCecOption(Settings.Global.HDMI_CONTROL_ENABLED, mHdmiControlPref.isChecked());
169 writeCecOption(Settings.Global.HDMI_CONTROL_AUTO_DEVICE_OFF_ENABLED,
173 writeCecOption(Settings.Global.HDMI_CONTROL_AUTO_WAKEUP_ENABLED
    [all...]
  /frameworks/opt/net/ims/src/java/com/android/ims/
ImsManager.java 29 import android.provider.Settings;
210 int enabled = android.provider.Settings.Global.getInt(
212 android.provider.Settings.Global.ENHANCED_4G_MODE_ENABLED, ImsConfig.FeatureValueConstants.ON);
221 android.provider.Settings.Global.putInt(
223 android.provider.Settings.Global.ENHANCED_4G_MODE_ENABLED, value);
248 return Settings.Secure.getInt(context.getContentResolver(),
249 Settings.Secure.PREFERRED_TTY_MODE, TelecomManager.TTY_MODE_OFF)
297 * Note: VT presumes that VoLTE is enabled (these are configuration settings
318 int enabled = android.provider.Settings.Global.getInt(context.getContentResolver(),
319 android.provider.Settings.Global.VT_IMS_ENABLED
    [all...]
  /external/opencv3/samples/cpp/tutorial_code/calib3d/camera_calibration/
camera_calibration.cpp 28 class Settings
31 Settings() : goodInput(false) {}
206 static inline void read(const FileNode& node, Settings& x, const Settings& default_value = Settings())
214 static inline void write(FileStorage& fs, const String&, const Settings& s )
221 bool runCalibrationAndSave(Settings& s, Size imageSize, Mat& cameraMatrix, Mat& distCoeffs,
229 Settings s;
231 FileStorage fs(inputSettingsFile, FileStorage::READ); // Read the settings
237 fs["Settings"] >> s
    [all...]
  /packages/apps/Settings/src/com/android/settings/accessibility/
CaptionPropertiesFragment.java 17 package com.android.settings.accessibility;
25 import android.provider.Settings;
40 import com.android.settings.R;
41 import com.android.settings.SettingsActivity;
42 import com.android.settings.SettingsPreferenceFragment;
43 import com.android.settings.accessibility.ListDialogPreference.OnValueChangedListener;
44 import com.android.settings.widget.SwitchBar;
45 import com.android.settings.widget.ToggleSwitch;
46 import com.android.settings.widget.ToggleSwitch.OnBeforeCheckedChangeListener;
52 * Settings fragment containing captioning properties
    [all...]
  /build/target/product/
core.mk 54 Settings \
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
InstrumentedAccessibilityService.java 8 import android.provider.Settings;
101 final String enabledServices = Settings.Secure.getString(
103 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES);
116 .putSecureSetting(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES,
118 .putSecureSetting(Settings.Secure.ACCESSIBILITY_ENABLED, "1")
124 .putSecureSetting(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES,
172 .deleteSecureSetting(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES)
173 .deleteSecureSetting(Settings.Secure.ACCESSIBILITY_ENABLED)
  /developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/
AlarmIntentService.java 26 import android.provider.Settings;
54 .setSound(Settings.System.DEFAULT_ALARM_ALERT_URI)
  /developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/
AlarmIntentService.java 26 import android.provider.Settings;
54 .setSound(Settings.System.DEFAULT_ALARM_ALERT_URI)
  /development/samples/ApiDemos/src/com/example/android/apis/app/
ActionBarSettingsActionProviderActivity.java 22 import android.provider.Settings;
36 * ActionProvider for launching the system settings and adds a menu item with that
66 /** An intent for launching the system settings. */
67 private static final Intent sSettingsIntent = new Intent(Settings.ACTION_SETTINGS);
91 // Attach a click listener for launching the system settings.
  /development/samples/Support7Demos/src/com/example/android/supportv7/app/
ActionBarSettingsActionProviderActivity.java 23 import android.provider.Settings;
36 * ActionProvider for launching the system settings and adds a menu item with that
58 /** An intent for launching the system settings. */
59 private static final Intent sSettingsIntent = new Intent(Settings.ACTION_SETTINGS);
76 // Attach a click listener for launching the system settings.
  /development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
AlarmIntentService.java 26 import android.provider.Settings;
54 .setSound(Settings.System.DEFAULT_ALARM_ALERT_URI)

Completed in 1620 milliseconds

1 2 3 4 5 67 8 91011>>