/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
GyroscopeTestActivity.java | 66 // This activity is reused 6 times with different settings to test each rotation direction 68 Settings settings = getSettings(stageIndex); local 77 mSensorListener = new SensorListener(settings.mSensorEventIndex, 78 settings.mExpectPositiveValue); 82 mRenderer.setRotation(settings.mRotateX, settings.mRotateY, settings.mRotateZ); 87 settings.mStageIndex + 1, settings.mTotalStages)) [all...] |
/developers/build/prebuilts/gradle/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/ |
CustomRestrictionsActivity.java | 23 * This activity demonstrates how an app can integrate its own custom app restriction settings 26 * This sample app maintains custom app restriction settings in shared preferences. When 27 * the activity is invoked (from Settings > Users), the stored settings are used to initialize 29 * shown: checkbox, single-choice, and multi-choice. When the settings are modified by the user,
|
/developers/samples/android/content/multiuser/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/ |
CustomRestrictionsActivity.java | 23 * This activity demonstrates how an app can integrate its own custom app restriction settings 26 * This sample app maintains custom app restriction settings in shared preferences. When 27 * the activity is invoked (from Settings > Users), the stored settings are used to initialize 29 * shown: checkbox, single-choice, and multi-choice. When the settings are modified by the user,
|
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/ |
CustomRestrictionsActivity.java | 23 * This activity demonstrates how an app can integrate its own custom app restriction settings 26 * This sample app maintains custom app restriction settings in shared preferences. When 27 * the activity is invoked (from Settings > Users), the stored settings are used to initialize 29 * shown: checkbox, single-choice, and multi-choice. When the settings are modified by the user,
|
/external/chromium-trace/catapult/tracing/tracing/base/ |
settings.html | 12 * @fileoverview Provides the Settings object. 16 * Settings is a simple wrapper around local storage, to make it easier 17 * to test classes that have settings. 19 * May be called as new tr.b.Settings() or simply tr.b.Settings() 22 function Settings() { 23 return Settings; 31 Settings.setAlternativeStorageInstance(new HeadlessStorage()); 33 Settings.setAlternativeStorageInstance(global.sessionStorage); 51 * a set of related settings [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSettings.java | 4 import android.provider.Settings; 14 * Shadow of {@code Settings} that allows the status of various System and Secure settings to be simulated, changed and 18 @Implements(Settings.class) 20 @Implements(Settings.class) 40 public static int getInt(ContentResolver cr, String name) throws Settings.SettingNotFoundException { 44 throw new Settings.SettingNotFoundException(name); 79 public static long getLong(ContentResolver cr, String name) throws Settings.SettingNotFoundException { 83 throw new Settings.SettingNotFoundException(name); 103 public static float getFloat(ContentResolver cr, String name) throws Settings.SettingNotFoundException [all...] |
/external/selinux/libsepol/man/man3/ |
sepol_genbools.3 | 3 sepol_genbools \- Rewrite a binary policy with different boolean settings 14 (data, len) to use the boolean settings specified in the file named by 15 boolpath. The boolean settings are specified by name=value lines 20 does likewise, but obtains the boolean settings from the parallel arrays 29 boolean settings are ignored.
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
WirelessUtils.java | 19 import android.provider.Settings; 27 String toggleable = Settings.Global.getString(context.getContentResolver(), 28 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS); 33 return Settings.Global.getInt(context.getContentResolver(), 34 Settings.Global.AIRPLANE_MODE_ON, 0) != 0;
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
SettingsScopeNamespaces.java | 17 package com.android.camera.settings; 20 * String namespaces to define a set of common settings in a scope. For instance 21 * most 'Camera mode' related modules will store and retrieve settings with a 25 // Settings namespace for all typical photo modes (PhotoModule, 29 // Settings namespace for all panorama/wideangle modes.
|
/packages/apps/Provision/src/com/android/provision/ |
DefaultActivity.java | 23 import android.provider.Settings; 35 Settings.Global.putInt(getContentResolver(), Settings.Global.DEVICE_PROVISIONED, 1); 36 Settings.Secure.putInt(getContentResolver(), Settings.Secure.USER_SETUP_COMPLETE, 1);
|
/packages/apps/Settings/res/layout/ |
setup_wifi_layout.xml | 20 xmlns:settings="http://schemas.android.com/apk/res-auto" 23 settings:suwBackgroundTile="@drawable/setup_illustration_tile" 24 settings:suwHeaderText="@string/wifi_setup_wizard_title" 25 settings:suwIllustrationHorizontalTile="@drawable/setup_illustration_horizontal_tile" 26 settings:suwIllustrationImage="@drawable/setup_illustration_wifi" />
|
/packages/apps/Settings/res/values-nokeys/ |
strings.xml | 19 <!-- Applications settings summary, on main settings screen. The summary for the "Applications" item on the main settings screen. Describes what settings are accessible from the "Applications" screen. This is the string to use for devices without a keyboard (so for example, there is no "Quick launch" settings here since that feature requires a keyboard) -->
|
/packages/apps/Settings/res/xml/ |
data_usage_cellular.xml | 20 <com.android.settings.datausage.TemplatePreferenceCategory 24 <com.android.settings.datausage.CellDataPreference 28 <com.android.settings.datausage.DataUsagePreference 32 <com.android.settings.datausage.BillingCyclePreference 36 </com.android.settings.datausage.TemplatePreferenceCategory>
|
data_usage_wifi.xml | 20 <com.android.settings.datausage.TemplatePreferenceCategory 24 <com.android.settings.datausage.DataUsagePreference 28 <com.android.settings.datausage.NetworkRestrictionsPreference 31 android:fragment="com.android.settings.datausage.DataUsageMeteredSettings" /> 33 </com.android.settings.datausage.TemplatePreferenceCategory>
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiPickerActivity.java | 16 package com.android.settings.wifi; 21 import com.android.settings.ButtonBarHandler; 22 import com.android.settings.R; 23 import com.android.settings.SettingsActivity; 24 import com.android.settings.wifi.p2p.WifiP2pSettings;
|
/packages/apps/Settings/tests/unit/ |
README | 8 $ adb shell am instrument -w com.android.settings.tests.unit/android.support.test.runner.AndroidJUnitRunner 11 $ adb shell am instrument -w -e class com.android.settings.<class> com.android.settings.tests.unit/android.support.test.runner.AndroidJUnitRunner 14 $ adb shell am instrument -w -e class com.android.settings.<class>#<test> com.android.settings.tests.unit/android.support.test.runner.AndroidJUnitRunner
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
CaptionFragment.java | 17 package com.android.tv.settings.system; 21 import android.provider.Settings; 31 import com.android.tv.settings.R; 32 import com.android.tv.settings.RadioPreference; 191 return Settings.Secure.getInt(getContext().getContentResolver(), 192 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, 0) != 0; 196 Settings.Secure.putInt(getContext().getContentResolver(), 197 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, enabled ? 1 : 0); 201 return Settings.Secure.getInt(getContext().getContentResolver(), 202 Settings.Secure.ACCESSIBILITY_CAPTIONING_PRESET, 0) [all...] |
/platform_testing/libraries/base-app-helpers/src/android/platform/test/helpers/ |
AbstractSettingsHelper.java | 28 * Setup expectation: Settings is open. 30 * This method will fling through the settings list numberOfFlings 31 * number of times or until the bottom of Settings is reached, 38 * Setup expectation: Settings is open. 40 * This method will fling through the settings list until it
|
/system/connectivity/shill/ |
daemon_task_unittest.cc | 63 DaemonTaskForTest(const Settings& setttings, Config* config) 64 : DaemonTask(Settings(), config) {} 84 : daemon_(DaemonTask::Settings(), &config_), 118 void ApplySettings(const DaemonTask::Settings& settings) { 119 daemon_.settings_ = settings; 209 DaemonTask::Settings settings; local 220 ApplySettings(settings); 224 settings.device_blacklist = kBlacklistedDevices [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/ |
TestOptions.java | 33 * The settings are presented as a set of getters and setters for test options, 40 * <li><code>jpda.settings.debuggeeJavaHome</code> 42 * <li><code>jpda.settings.debuggeeJavaExec</code> 44 * <li><code>jpda.settings.debuggeeJavaPath</code> 46 * <li><code>jpda.settings.debuggeeAgentName</code> 48 * <li><code>jpda.settings.debuggeeAgentExtraOptions</code> 50 * <li><code>jpda.settings.debuggeeClassName</code> 52 * <li><code>jpda.settings.debuggeeVMExtraOptions</code> 54 * <li><code>jpda.settings.debuggeeSuspend</code> 56 * <li><code>jpda.settings.transportWrapperClass</code [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsProvider.java | 17 package com.android.providers.settings; 59 import android.provider.Settings; 68 import com.android.providers.settings.SettingsState.Setting; 84 * This class is a content provider that publishes the system settings. 87 * the platform settings. 90 * There are three settings types, global (with signature level protection 93 * protection and per user). Global settings are stored under the device owner. 94 * Each of these settings is represented by a {@link 95 * com.android.providers.settings.SettingsState} object mapped to an integer 97 * id in the least significant bits. Settings are synchronously loaded o [all...] |
SettingsHelper.java | 17 package com.android.providers.settings; 36 import android.provider.Settings; 50 * A few settings elements are special in that a restore of those values needs to 51 * be post-processed by relevant parts of the OS. A restore of any settings element 66 sBroadcastOnRestore.add(Settings.Secure.ENABLED_NOTIFICATION_LISTENERS); 67 sBroadcastOnRestore.add(Settings.Secure.ENABLED_VR_LISTENERS); 68 sBroadcastOnRestore.add(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES); 69 sBroadcastOnRestore.add(Settings.Secure.ENABLED_INPUT_METHODS); 78 return Settings.System.getStringForUser(resolver, name, userHandle); 84 return Settings.Secure.getStringForUser(resolver, name, userHandle) [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
LoudnessEnhancer.java | 211 * The Settings class regroups the LoudnessEnhancer parameters. It is used in 215 public static class Settings { 218 public Settings() { 222 * Settings class constructor from a key=value; pairs formatted string. The string is 223 * typically returned by Settings.toString() method. 226 public Settings(String settings) { 227 StringTokenizer st = new StringTokenizer(settings, "=;"); 230 throw new IllegalArgumentException("settings: " + settings); 270 Settings settings = new Settings(); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
BrightnessController.java | 17 package com.android.systemui.settings; 32 import android.provider.Settings; 45 * {@link android.provider.Settings.System#SCREEN_AUTO_BRIGHTNESS_ADJ} uses the range [-1, 1]. 84 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS_MODE); 86 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS); 88 Settings.System.getUriFor(Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ); 166 * Fetch the brightness mode from the system settings and update the icon. Should be called fro [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
UserRestrictions.java | 22 import android.provider.Settings; 96 Settings.ACTION_SETTINGS, 97 Settings.ACTION_SOUND_SETTINGS, 98 Settings.ACTION_APPLICATION_SETTINGS, 99 Settings.ACTION_SOUND_SETTINGS, 100 Settings.ACTION_SECURITY_SETTINGS, 101 Settings.ACTION_WIRELESS_SETTINGS, 102 Settings.ACTION_WIRELESS_SETTINGS, 103 Settings.ACTION_WIFI_SETTINGS, 104 Settings.ACTION_DEVICE_INFO_SETTINGS [all...] |