/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
SecondaryDisplayPreferenceControllerTest.java | 82 final String value = Settings.Global.getString(mContext.getContentResolver(), 83 Settings.Global.OVERLAY_DISPLAY_DEVICES); 91 final String value = Settings.Global.getString(mContext.getContentResolver(), 92 Settings.Global.OVERLAY_DISPLAY_DEVICES); 98 Settings.Global.putString(mContext.getContentResolver(), 99 Settings.Global.OVERLAY_DISPLAY_DEVICES, mListValues[1]); 109 Settings.Global.putString(mContext.getContentResolver(), 110 Settings.Global.OVERLAY_DISPLAY_DEVICES, mListValues[3]); 130 final String value = Settings.Global.getString(mContext.getContentResolver(), 131 Settings.Global.OVERLAY_DISPLAY_DEVICES) [all...] |
SelectDebugAppPreferenceControllerTest.java | 88 Settings.Global.putString(contentResolver, Settings.Global.DEBUG_APP, debugApp); 98 Settings.Global.putString(contentResolver, Settings.Global.DEBUG_APP, debugApp);
|
ShowFirstCrashDialogPreferenceControllerTest.java | 111 Settings.Global.putInt(mContext.getContentResolver(), 112 Settings.Global.SHOW_FIRST_CRASH_DIALOG, SETTING_VALUE_OFF); 122 Settings.Global.putInt(mContext.getContentResolver(), 123 Settings.Global.SHOW_FIRST_CRASH_DIALOG, SETTING_VALUE_ON);
|
TetheringHardwareAccelPreferenceControllerTest.java | 63 Settings.Global.TETHER_OFFLOAD_DISABLED, -1 /* default */); 73 Settings.Global.TETHER_OFFLOAD_DISABLED, -1 /* default */); 81 Settings.Global.TETHER_OFFLOAD_DISABLED, 91 Settings.Global.TETHER_OFFLOAD_DISABLED, 102 Settings.Global.TETHER_OFFLOAD_DISABLED, -1 /* default */);
|
WaitForDebuggerPreferenceControllerTest.java | 77 Settings.Global.putString(mContentResolver, Settings.Global.DEBUG_APP, debugApp); 89 Settings.Global.putString(mContentResolver, Settings.Global.DEBUG_APP, debugApp); 99 Settings.Global.putString(mContentResolver, Settings.Global.DEBUG_APP, debugApp); 100 Settings.Global 101 .putInt(mContentResolver, Settings.Global.WAIT_FOR_DEBUGGER, SETTING_VALUE_ON); 111 Settings.Global.putString(mContentResolver, Settings.Global.DEBUG_APP, debugApp) [all...] |
WifiConnectedMacRandomizationPreferenceControllerTest.java | 75 final int mode = Settings.Global.getInt(mContext.getContentResolver(), 76 Settings.Global.WIFI_CONNECTED_MAC_RANDOMIZATION_ENABLED, -1 /* default */); 85 final int mode = Settings.Global.getInt(mContext.getContentResolver(), 86 Settings.Global.WIFI_CONNECTED_MAC_RANDOMIZATION_ENABLED, -1 /* default */); 93 Settings.Global.putInt(mContext.getContentResolver(), 94 Settings.Global.WIFI_CONNECTED_MAC_RANDOMIZATION_ENABLED, SETTING_VALUE_ON); 102 Settings.Global.putInt(mContext.getContentResolver(), 103 Settings.Global.WIFI_CONNECTED_MAC_RANDOMIZATION_ENABLED, SETTING_VALUE_OFF); 113 final int mode = Settings.Global.getInt(mContext.getContentResolver(), 114 Settings.Global.WIFI_CONNECTED_MAC_RANDOMIZATION_ENABLED, -1 /* default */) [all...] |
WifiDisplayCertificationPreferenceControllerTest.java | 63 Settings.Global.WIFI_DISPLAY_CERTIFICATION_ON, -1 /* default */); 73 Settings.Global.WIFI_DISPLAY_CERTIFICATION_ON, -1 /* default */); 81 Settings.Global.WIFI_DISPLAY_CERTIFICATION_ON, 91 Settings.Global.WIFI_DISPLAY_CERTIFICATION_ON, 102 Settings.Global.WIFI_DISPLAY_CERTIFICATION_ON, -1 /* default */);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
AutoRestrictionPreferenceControllerTest.java | 106 Settings.Global.putInt(mContext.getContentResolver(), 107 Settings.Global.APP_AUTO_RESTRICTION_ENABLED, 112 return Settings.Global.getInt(mContext.getContentResolver(), 113 Settings.Global.APP_AUTO_RESTRICTION_ENABLED, ON);
|
SmartBatteryPreferenceControllerTest.java | 110 Settings.Global.putInt(mContentResolver, 111 Settings.Global.ADAPTIVE_BATTERY_MANAGEMENT_ENABLED, value); 115 return Settings.Global.getInt(mContentResolver, 116 Settings.Global.ADAPTIVE_BATTERY_MANAGEMENT_ENABLED, ON);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
AirplaneModePreferenceControllerTest.java | 122 Settings.Global.putInt(mResolver, Settings.Global.AIRPLANE_MODE_ON, OFF); 143 int updatedValue = Settings.Global.getInt(mResolver, Settings.Global.AIRPLANE_MODE_ON, OFF); 149 updatedValue = Settings.Global.getInt(mResolver, Settings.Global.AIRPLANE_MODE_ON, OFF); 156 Settings.Global.putInt(mResolver, Settings.Global.AIRPLANE_MODE_ON, ON); 163 Settings.Global.putInt(mResolver, Settings.Global.AIRPLANE_MODE_ON, OFF) [all...] |
MobileNetworkPreferenceControllerTest.java | 33 import android.provider.Settings.Global; 146 Settings.Global.putInt(mContext.getContentResolver(), 147 Global.AIRPLANE_MODE_ON, 1); 156 Settings.Global.putInt(mContext.getContentResolver(), 157 Global.AIRPLANE_MODE_ON, 0); 167 Settings.Global.putInt(mContext.getContentResolver(), 168 Global.AIRPLANE_MODE_ON, 0);
|
PrivateDnsPreferenceControllerTest.java | 24 import static android.provider.Settings.Global.PRIVATE_DNS_DEFAULT_MODE; 25 import static android.provider.Settings.Global.PRIVATE_DNS_MODE; 26 import static android.provider.Settings.Global.PRIVATE_DNS_SPECIFIER; 154 Settings.Global.getUriFor(PRIVATE_DNS_MODE))).isNotEmpty(); 156 Settings.Global.getUriFor(PRIVATE_DNS_SPECIFIER))).isNotEmpty(); 162 Settings.Global.getUriFor(PRIVATE_DNS_MODE))).isEmpty(); 164 Settings.Global.getUriFor(PRIVATE_DNS_SPECIFIER))).isEmpty(); 236 Settings.Global.putString(mContentResolver, PRIVATE_DNS_DEFAULT_MODE, PRIVATE_DNS_MODE_OFF); 253 Settings.Global.putString(mContentResolver, PRIVATE_DNS_MODE, mode); 257 Settings.Global.putString(mContentResolver, PRIVATE_DNS_SPECIFIER, name) [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
ZenModeAlarmsPreferenceControllerTest.java | 19 import static android.provider.Settings.Global.ZEN_MODE; 20 import static android.provider.Settings.Global.ZEN_MODE_ALARMS; 21 import static android.provider.Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; 22 import static android.provider.Settings.Global.ZEN_MODE_NO_INTERRUPTIONS; 86 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); 97 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); 108 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS);
|
ZenModeButtonPreferenceControllerTest.java | 19 import static android.provider.Settings.Global.ZEN_MODE; 20 import static android.provider.Settings.Global.ZEN_MODE_ALARMS; 21 import static android.provider.Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; 22 import static android.provider.Settings.Global.ZEN_MODE_NO_INTERRUPTIONS; 23 import static android.provider.Settings.Global.ZEN_MODE_OFF; 94 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); 104 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); 114 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); 124 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_OFF); 135 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_OFF) [all...] |
ZenModeCallsPreferenceControllerTest.java | 19 import static android.provider.Settings.Global.ZEN_MODE; 20 import static android.provider.Settings.Global.ZEN_MODE_ALARMS; 21 import static android.provider.Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; 22 import static android.provider.Settings.Global.ZEN_MODE_NO_INTERRUPTIONS; 103 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); 117 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); 128 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); 142 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); 152 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); 161 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS) [all...] |
ZenModeEventsPreferenceControllerTest.java | 19 import static android.provider.Settings.Global.ZEN_MODE; 20 import static android.provider.Settings.Global.ZEN_MODE_ALARMS; 21 import static android.provider.Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; 22 import static android.provider.Settings.Global.ZEN_MODE_NO_INTERRUPTIONS; 86 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); 97 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); 108 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS);
|
ZenModeMediaPreferenceControllerTest.java | 19 import static android.provider.Settings.Global.ZEN_MODE; 20 import static android.provider.Settings.Global.ZEN_MODE_ALARMS; 21 import static android.provider.Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; 22 import static android.provider.Settings.Global.ZEN_MODE_NO_INTERRUPTIONS; 86 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); 97 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); 108 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS);
|
ZenModeMessagesPreferenceControllerTest.java | 19 import static android.provider.Settings.Global.ZEN_MODE; 20 import static android.provider.Settings.Global.ZEN_MODE_ALARMS; 21 import static android.provider.Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; 22 import static android.provider.Settings.Global.ZEN_MODE_NO_INTERRUPTIONS; 102 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); 116 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); 127 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); 141 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); 151 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); 160 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS) [all...] |
ZenModeRemindersPreferenceControllerTest.java | 19 import static android.provider.Settings.Global.ZEN_MODE; 20 import static android.provider.Settings.Global.ZEN_MODE_ALARMS; 21 import static android.provider.Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; 22 import static android.provider.Settings.Global.ZEN_MODE_NO_INTERRUPTIONS; 88 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); 99 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); 110 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS);
|
ZenModeRepeatCallersPreferenceControllerTest.java | 19 import static android.provider.Settings.Global.ZEN_MODE; 20 import static android.provider.Settings.Global.ZEN_MODE_ALARMS; 21 import static android.provider.Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; 22 import static android.provider.Settings.Global.ZEN_MODE_NO_INTERRUPTIONS; 87 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); 97 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); 108 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); 122 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS);
|
ZenModeSystemPreferenceControllerTest.java | 19 import static android.provider.Settings.Global.ZEN_MODE; 20 import static android.provider.Settings.Global.ZEN_MODE_ALARMS; 21 import static android.provider.Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; 22 import static android.provider.Settings.Global.ZEN_MODE_NO_INTERRUPTIONS; 87 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); 98 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); 109 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
DeviceIndexFeatureProviderTest.java | 74 Settings.Global.putInt(mActivity.getContentResolver(), 75 Settings.Global.DEVICE_PROVISIONED, 0); 84 Settings.Global.putInt(mActivity.getContentResolver(), 85 Settings.Global.DEVICE_PROVISIONED, 1); 94 Settings.Global.putInt(mActivity.getContentResolver(), 95 Settings.Global.DEVICE_PROVISIONED, 1); 97 Settings.Global.putString(mActivity.getContentResolver(), 99 Settings.Global.putString(mActivity.getContentResolver(), 110 Settings.Global.putInt(mActivity.getContentResolver(), 111 Settings.Global.DEVICE_PROVISIONED, 1) [all...] |
InlinePayloadTest.java | 44 InlinePayload payload = getDummyPayload(SettingsSource.GLOBAL); 46 Settings.Global.putInt(mContext.getContentResolver(), KEY, currentValue); 79 InlinePayload payload = getDummyPayload(SettingsSource.GLOBAL); 82 Settings.Global.putInt(resolver, KEY, 0); 85 int updatedValue = Settings.Global.getInt(resolver, KEY, -1);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
WifiInfoPreferenceControllerTest.java | 118 Settings.Global.putInt(mContext.getContentResolver(), 119 Settings.Global.WIFI_CONNECTED_MAC_RANDOMIZATION_ENABLED, 1);
|
WifiScanningRequiredFragmentTest.java | 70 Settings.Global.putInt(mResolver, Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE, 0); 83 assertThat(Settings.Global.getInt(mResolver, Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE))
|