/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsBackupTest.java | 50 Settings.System.ADVANCED_SETTINGS, // candidate for backup? 51 Settings.System.ALARM_ALERT, // backup candidate? 52 Settings.System.ALARM_ALERT_CACHE, // internal cache 53 Settings.System.APPEND_FOR_LAST_AUDIBLE, // suffix deprecated since API 2 54 Settings.System.EGG_MODE, // I am the lolrus 55 Settings.System.END_BUTTON_BEHAVIOR, // bug? 56 Settings.System 58 Settings.System.LOCKSCREEN_DISABLED, // ? 59 Settings.System.MEDIA_BUTTON_RECEIVER, // candidate for backup? 60 Settings.System.MUTE_STREAMS_AFFECTED, // candidate for backup? [all …]
|
D | SettingsProviderTest.java | 43 Settings.Secure.putString(r, "test_service", "Value"); in testNameValueCache() 44 assertEquals("Value", Settings.Secure.getString(r, "test_service")); in testNameValueCache() 47 Settings.Secure.putString(r, "test_service", "New"); in testNameValueCache() 48 assertEquals("New", Settings.Secure.getString(r, "test_service")); in testNameValueCache() 51 assertEquals(1, r.delete(Settings.Secure.getUriFor("test_service"), null, null)); in testNameValueCache() 52 assertEquals(null, Settings.Secure.getString(r, "test_service")); in testNameValueCache() 56 Settings.System.putString(r, "test_setting", "Value"); in testNameValueCache() 70 testRowNameContentUri(Settings.Secure.CONTENT_URI, Settings.Secure.NAME, in testRowNameContentUriForSecure() 71 Settings.Secure.VALUE, testKey, testValue, secondTestValue); in testRowNameContentUriForSecure() 74 Settings.Secure.putString(getContext().getContentResolver(), testKey, null); in testRowNameContentUriForSecure() [all …]
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProtoDumpUtil.java | 21 import android.provider.Settings; 84 Settings.Global.ADD_USERS_WHEN_LOCKED, in dumpProtoGlobalSettingsLocked() 87 Settings.Global.ENABLE_ACCESSIBILITY_GLOBAL_GESTURE_ENABLED, in dumpProtoGlobalSettingsLocked() 90 Settings.Global.AIRPLANE_MODE_ON, in dumpProtoGlobalSettingsLocked() 93 Settings.Global.THEATER_MODE_ON, in dumpProtoGlobalSettingsLocked() 96 Settings.Global.RADIO_BLUETOOTH, in dumpProtoGlobalSettingsLocked() 99 Settings.Global.RADIO_WIFI, in dumpProtoGlobalSettingsLocked() 102 Settings.Global.RADIO_WIMAX, in dumpProtoGlobalSettingsLocked() 105 Settings.Global.RADIO_CELL, in dumpProtoGlobalSettingsLocked() 108 Settings.Global.RADIO_NFC, in dumpProtoGlobalSettingsLocked() [all …]
|
D | DatabaseHelper.java | 40 import android.provider.Settings; 41 import android.provider.Settings.Global; 42 import android.provider.Settings.Secure; 347 Settings.Secure.ADB_ENABLED, in onUpgrade() 348 Settings.Secure.ANDROID_ID, in onUpgrade() 349 Settings.Secure.BLUETOOTH_ON, in onUpgrade() 350 Settings.Secure.DATA_ROAMING, in onUpgrade() 351 Settings.Secure.DEVICE_PROVISIONED, in onUpgrade() 352 Settings.Secure.HTTP_PROXY, in onUpgrade() 353 Settings.Secure.INSTALL_NON_MARKET_APPS, in onUpgrade() [all …]
|
D | SettingsHelper.java | 36 import android.provider.Settings; 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); 70 sBroadcastOnRestore.add(Settings.Global.BLUETOOTH_ON); 79 return Settings.System.getStringForUser(resolver, name, userHandle); 85 return Settings.Secure.getStringForUser(resolver, name, userHandle); 91 return Settings.Global.getStringForUser(resolver, name, userHandle); 119 if (destination.equals(Settings.Secure.CONTENT_URI)) { in restoreValue() [all …]
|
D | SettingsService.java | 33 import android.provider.Settings; 177 mResetMode = Settings.RESET_MODE_UNTRUSTED_DEFAULTS; in onCommand() 179 mResetMode = Settings.RESET_MODE_UNTRUSTED_CHANGES; in onCommand() 181 mResetMode = Settings.RESET_MODE_TRUSTED_DEFAULTS; in onCommand() 184 mResetMode = Settings.RESET_MODE_PACKAGE_DEFAULTS; in onCommand() 308 final Uri uri = "system".equals(table) ? Settings.System.CONTENT_URI in listForUser() 309 : "secure".equals(table) ? Settings.Secure.CONTENT_URI in listForUser() 310 : "global".equals(table) ? Settings.Global.CONTENT_URI in listForUser() 338 if ("system".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_SYSTEM; in getForUser() 339 else if ("secure".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_SECURE; in getForUser() [all …]
|
D | SettingsProvider.java | 63 import android.provider.Settings; 173 Settings.NameValueTable._ID, 174 Settings.NameValueTable.NAME, 175 Settings.NameValueTable.VALUE 187 Settings.NameValueTable.VALUE, null); 212 CRITICAL_GLOBAL_SETTINGS.add(Settings.Global.DEVICE_PROVISIONED); 218 CRITICAL_SECURE_SETTINGS.add(Settings.Secure.USER_SETUP_COMPLETE); 224 Settings.Secure.getMovedToGlobalSettings(sSecureMovedToGlobalSettings); 230 Settings.System.getMovedToGlobalSettings(sSystemMovedToGlobalSettings); 236 Settings.System.getMovedToSecureSettings(sSystemMovedToSecureSettings); [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiSettingsStore.java | 21 import android.provider.Settings; 139 Settings.Global.putInt(cr, Settings.Global.WIFI_ON, state); in persistWifiState() 144 String airplaneModeRadios = Settings.Global.getString(mContext.getContentResolver(), in isAirplaneSensitive() 145 Settings.Global.AIRPLANE_MODE_RADIOS); in isAirplaneSensitive() 147 || airplaneModeRadios.contains(Settings.Global.RADIO_WIFI); in isAirplaneSensitive() 152 String toggleableRadios = Settings.Global.getString(mContext.getContentResolver(), in isAirplaneToggleable() 153 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS); in isAirplaneToggleable() 155 && toggleableRadios.contains(Settings.Global.RADIO_WIFI); in isAirplaneToggleable() 185 Settings.Global.putInt(mContext.getContentResolver(), in setWifiSavedState() 186 Settings.Global.WIFI_SAVED_STATE, state); in setWifiSavedState() [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/ |
D | Android.mk | 79 LOCAL_MODULE_RELATIVE_PATH := parameter-framework/Settings/Policy 89 $(LOCAL_PATH)/Settings/device_for_strategy_media.pfw \ 90 $(LOCAL_PATH)/Settings/device_for_strategy_phone.pfw \ 91 $(LOCAL_PATH)/Settings/device_for_strategy_sonification.pfw \ 92 $(LOCAL_PATH)/Settings/device_for_strategy_sonification_respectful.pfw \ 93 $(LOCAL_PATH)/Settings/device_for_strategy_dtmf.pfw \ 94 $(LOCAL_PATH)/Settings/device_for_strategy_enforced_audible.pfw \ 95 $(LOCAL_PATH)/Settings/device_for_strategy_transmitted_through_speaker.pfw \ 96 $(LOCAL_PATH)/Settings/device_for_strategy_accessibility.pfw \ 97 $(LOCAL_PATH)/Settings/device_for_strategy_rerouting.pfw \ [all …]
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | BaseSettingsProviderTest.java | 27 import android.provider.Settings; 55 Settings.NameValueTable.NAME, Settings.NameValueTable.VALUE 65 Settings.Global.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting() 69 Settings.Secure.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting() 73 Settings.System.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting() 87 return Settings.Global.getStringForUser(contentResolver, name, userId); in getStringViaFrontEndApiSetting() 91 return Settings.Secure.getStringForUser(contentResolver, name, userId); in getStringViaFrontEndApiSetting() 95 return Settings.System.getStringForUser(contentResolver, name, userId); in getStringViaFrontEndApiSetting() 111 values.put(Settings.NameValueTable.NAME, name); in insertStringViaProviderApi() 112 values.put(Settings.NameValueTable.VALUE, value); in insertStringViaProviderApi() [all …]
|
/frameworks/base/proto/src/ |
D | metrics_constants.proto | 149 // OPEN: Settings > Accessibility 154 // OPEN: Settings > Accessibility > Captions 159 // OPEN: Settings > Accessibility > [Service] 164 // OPEN: Settings > Accessibility > Color correction 169 // OPEN: Settings > Accessibility > Accessibility shortcut 174 // OPEN: Settings > Accessibility > Magnification gestures (Renamed in O) 175 // OPEN: Settings > Accessibility > Magnification > Magnify with triple-tap 176 // OPEN: Settings > Accessibility > Magnification > Magnify with button 181 // OPEN: Settings > Accounts 186 // OPEN: Settings > Accounts > [Single Account Sync Settings] [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | AccessibilityShortcutController.java | 34 import android.provider.Settings; 70 final String currentShortcutServiceId = Settings.Secure.getStringForUser( in getTargetServiceComponentNameString() 71 context.getContentResolver(), Settings.Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE, in getTargetServiceComponentNameString() 92 Settings.Secure.getUriFor(Settings.Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE), in AccessibilityShortcutController() 95 Settings.Secure.getUriFor(Settings.Secure.ACCESSIBILITY_SHORTCUT_ENABLED), in AccessibilityShortcutController() 98 Settings.Secure.getUriFor(Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN), in AccessibilityShortcutController() 123 final boolean enabled = Settings.Secure.getIntForUser( in onSettingsChanged() 124 cr, Settings.Secure.ACCESSIBILITY_SHORTCUT_ENABLED, 1, mUserId) == 1; in onSettingsChanged() 125 mEnabledOnLockScreen = Settings.Secure.getIntForUser( in onSettingsChanged() 126 cr, Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN, 0, mUserId) == 1; in onSettingsChanged() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | BrightnessController.java | 32 import android.provider.Settings; 93 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS_MODE); 95 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS); 97 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS_FOR_VR); 99 Settings.System.getUriFor(Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ); 190 automatic = Settings.System.getIntForUser(mContext.getContentResolver(), 191 Settings.System.SCREEN_BRIGHTNESS_MODE, 192 Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL, 194 mAutomatic = automatic != Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL; 211 int value = Settings.System.getIntForUser(mContext.getContentResolver(), [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkScorerAppManagerTest.java | 46 import android.provider.Settings; 236 Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE, null); in testSetActiveScorer_nullPackage_currentIsSet() 238 Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED, in testSetActiveScorer_nullPackage_currentIsSet() 261 Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE, newPackage); in testSetActiveScorer_validPackage() 263 Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED, in testSetActiveScorer_validPackage() 285 eq(Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE)); in testUpdateState_recommendationsForcedOff() 287 eq(Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED), anyInt()); in testUpdateState_recommendationsForcedOff() 301 eq(Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE), any()); in testUpdateState_currentPackageValid() 303 Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED, in testUpdateState_currentPackageValid() 318 Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE, defaultPackage); in testUpdateState_currentPackageNotValid_validDefault() [all …]
|
/frameworks/base/core/java/com/android/internal/view/ |
D | RotationPolicy.java | 29 import android.provider.Settings; 94 Settings.System.getIntForUser(context.getContentResolver(), in isRotationLockToggleVisible() 95 Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY, 0, in isRotationLockToggleVisible() 103 return Settings.System.getIntForUser(context.getContentResolver(), in isRotationLocked() 104 Settings.System.ACCELEROMETER_ROTATION, 0, UserHandle.USER_CURRENT) == 0; in isRotationLocked() 111 Settings.System.putIntForUser(context.getContentResolver(), in setRotationLock() 112 Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY, 0, in setRotationLock() 125 Settings.System.putIntForUser(context.getContentResolver(), in setRotationLockForAccessibility() 126 Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY, enabled ? 1 : 0, in setRotationLockForAccessibility() 168 context.getContentResolver().registerContentObserver(Settings.System.getUriFor( in registerRotationPolicyListener() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentQueryMapTest.java | 25 import android.provider.Settings; 59 Settings.System.putString(r, "test", "Value"); in testContentQueryMap() 61 Settings.System.CONTENT_URI, in testContentQueryMap() 63 Settings.System.NAME, in testContentQueryMap() 64 Settings.System.VALUE, in testContentQueryMap() 68 cursor, Settings.System.NAME, true, null); in testContentQueryMap() 74 Settings.System.putString(r, "test", "New Value"); in testContentQueryMap() 76 String value = v.getAsString(Settings.System.VALUE); in testContentQueryMap() 84 String value = v.getAsString(Settings.System.VALUE); in testContentQueryMap()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | CoreSettingsObserver.java | 23 import android.provider.Settings; 50 sSecureSettingToTypeMap.put(Settings.Secure.LONG_PRESS_TIMEOUT, int.class); in sSecureSettingToTypeMap.put() 51 sSecureSettingToTypeMap.put(Settings.Secure.MULTI_PRESS_TIMEOUT, int.class); in sSecureSettingToTypeMap.put() 54 sSystemSettingToTypeMap.put(Settings.System.TIME_12_24, String.class); in sSystemSettingToTypeMap.put() 57 sGlobalSettingToTypeMap.put(Settings.Global.DEBUG_VIEW_ATTRIBUTES, int.class); in sGlobalSettingToTypeMap.put() 92 Uri uri = Settings.Secure.getUriFor(setting); in beginObserveCoreSettings() 98 Uri uri = Settings.System.getUriFor(setting); in beginObserveCoreSettings() 104 Uri uri = Settings.Global.getUriFor(setting); in beginObserveCoreSettings() 117 value = Settings.Secure.getString(context.getContentResolver(), setting); in populateSettings() 119 value = Settings.System.getString(context.getContentResolver(), setting); in populateSettings() [all …]
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/test/ |
D | FakeSettingsProviderTest.java | 22 import android.provider.Settings; 43 mCr.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp() 48 String settingName = Settings.System.SCREEN_BRIGHTNESS; in testBasicOperation() 51 Settings.System.getInt(mCr, settingName); in testBasicOperation() 53 } catch (Settings.SettingNotFoundException expected) {} in testBasicOperation() 56 Settings.System.putInt(mCr, settingName, 123); in testBasicOperation() 57 assertEquals(123, Settings.System.getInt(mCr, settingName)); in testBasicOperation()
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsManager.java | 31 import android.provider.Settings; 254 int enabled = android.provider.Settings.Global.getInt( in isEnhanced4gLteModeSettingEnabledByUser() 256 android.provider.Settings.Global.ENHANCED_4G_MODE_ENABLED, in isEnhanced4gLteModeSettingEnabledByUser() 271 int enabled = android.provider.Settings.Global.getInt( in isEnhanced4gLteModeSettingEnabledByUserForSlot() 273 android.provider.Settings.Global.ENHANCED_4G_MODE_ENABLED, in isEnhanced4gLteModeSettingEnabledByUserForSlot() 286 android.provider.Settings.Global.putInt( in setEnhanced4gLteModeSetting() 288 android.provider.Settings.Global.ENHANCED_4G_MODE_ENABLED, value); in setEnhanced4gLteModeSetting() 315 int prevSetting = android.provider.Settings.Global.getInt(mContext.getContentResolver(), in setEnhanced4gLteModeSettingForSlot() 316 android.provider.Settings.Global.ENHANCED_4G_MODE_ENABLED); in setEnhanced4gLteModeSettingForSlot() 321 } catch (Settings.SettingNotFoundException e) { in setEnhanced4gLteModeSettingForSlot() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | DockObserver.java | 34 import android.provider.Settings; 137 || Settings.Global.getInt(getContext().getContentResolver(), in setDockStateLocked() 138 Settings.Global.THEATER_MODE_ON, 0) == 0) { in setDockStateLocked() 161 if (Settings.Global.getInt(cr, in handleDockStateChange() 162 Settings.Global.DEVICE_PROVISIONED, 0) == 0) { in handleDockStateChange() 172 boolean dockSoundsEnabled = Settings.Global.getInt(cr, in handleDockStateChange() 173 Settings.Global.DOCK_SOUNDS_ENABLED, 1) == 1; in handleDockStateChange() 174 boolean dockSoundsEnabledWhenAccessibility = Settings.Global.getInt(cr, in handleDockStateChange() 175 Settings.Global.DOCK_SOUNDS_ENABLED_WHEN_ACCESSIBILITY, 1) == 1; in handleDockStateChange() 176 boolean accessibilityEnabled = Settings.Secure.getInt(cr, in handleDockStateChange() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/retaildemo/ |
D | RetailDemoModeServiceTest.java | 60 import android.provider.Settings; 124 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp() 133 Settings.Global.putString(mContentResolver, Settings.Global.RETAIL_DEMO_MODE_CONSTANTS, ""); in setUp() 134 Settings.Global.putInt(mContentResolver, Settings.Global.DEVICE_PROVISIONED, 1); in setUp() 135 Settings.Global.putInt(mContentResolver, Settings.Global.DEVICE_DEMO_MODE, 1); in setUp() 190 Settings.Secure.getIntForUser(mContentResolver, in testDemoUserSetup() 191 Settings.Secure.SKIP_FIRST_USE_HINTS, TEST_DEMO_USER), in testDemoUserSetup() 194 Settings.Global.getInt(mContentResolver, in testDemoUserSetup() 195 Settings.Global.PACKAGE_VERIFIER_ENABLE), in testDemoUserSetup() 208 final Uri deviceDemoModeUri = Settings.Global.getUriFor(Settings.Global.DEVICE_DEMO_MODE); in testSettingsObserver_disableDemoMode() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | StorageStatsServiceTest.java | 21 import android.provider.Settings; 37 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp() 42 Settings.Global.putInt(mContentResolver, Settings.Global.ENABLE_CACHE_QUOTA_CALCULATION, 0); in testDontRunWhenDisabledFromSettingsGlobal() 50 Settings.Global.putString( in testCalculationTaskIsEnabledByDefault() 51 mContentResolver, Settings.Global.ENABLE_CACHE_QUOTA_CALCULATION, null); in testCalculationTaskIsEnabledByDefault()
|
/frameworks/base/core/java/android/provider/ |
D | Settings.java | 92 public final class Settings { class 1789 Settings.NameValueTable.VALUE 1820 arg.putString(Settings.NameValueTable.VALUE, value); in putStringForUser() 1894 if (Settings.isInSystemServer() && Binder.getCallingUid() != Process.myUid()) { in getStringForUser() 1905 String value = b.getString(Settings.NameValueTable.VALUE); in getStringForUser() 1964 if (Settings.isInSystemServer() && Binder.getCallingUid() != Process.myUid()) { in getStringForUser() 2013 return Settings.isCallingPackageAllowedToDrawOverlays(context, Process.myUid(), in canDrawOverlays() 2097 MOVED_TO_GLOBAL.add(Settings.Global.AIRPLANE_MODE_ON); 2098 MOVED_TO_GLOBAL.add(Settings.Global.AIRPLANE_MODE_RADIOS); 2099 MOVED_TO_GLOBAL.add(Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS); [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | WirelessUtils.java | 19 import android.provider.Settings; 27 String toggleable = Settings.Global.getString(context.getContentResolver(), in isRadioAllowed() 28 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS); in isRadioAllowed() 33 return Settings.Global.getInt(context.getContentResolver(), in isAirplaneModeOn() 34 Settings.Global.AIRPLANE_MODE_ON, 0) != 0; in isAirplaneModeOn()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/ |
D | AccessibilityShortcutControllerTest.java | 29 import android.provider.Settings; 54 import static android.provider.Settings.Secure.ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN; 55 import static android.provider.Settings.Secure.ACCESSIBILITY_SHORTCUT_ENABLED; 56 import static android.provider.Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN; 57 import static android.provider.Settings.Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE; 113 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp() 208 Settings.Secure.putString(mContentResolver, ACCESSIBILITY_SHORTCUT_TARGET_SERVICE, ""); in testShortcutAvailable_whenServiceIdBecomesNull_shouldReturnFalse() 277 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0); in testOnAccessibilityShortcut_firstTime_showsWarningDialog() 280 assertEquals(1, Settings.Secure.getInt( in testOnAccessibilityShortcut_firstTime_showsWarningDialog() 294 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0); in testOnAccessibilityShortcut_withDialogShowing_callsServer() [all …]
|