Lines Matching refs:Settings
17 package com.android.settings;
21 import android.provider.Settings;
69 boolean userSetInstLocation = (Settings.Global.getInt(getContentResolver(),
70 Settings.Global.SET_INSTALL_LOCATION, 0) != 0);
87 Settings.Global.putInt(getContentResolver(),
88 Settings.Global.DEFAULT_INSTALL_LOCATION, APP_INSTALL_DEVICE);
90 Settings.Global.putInt(getContentResolver(),
91 Settings.Global.DEFAULT_INSTALL_LOCATION, APP_INSTALL_SDCARD);
93 Settings.Global.putInt(getContentResolver(),
94 Settings.Global.DEFAULT_INSTALL_LOCATION, APP_INSTALL_AUTO);
97 Settings.Global.putInt(getContentResolver(),
98 Settings.Global.DEFAULT_INSTALL_LOCATION, APP_INSTALL_AUTO);
114 return Settings.System.getInt(getContentResolver(),
115 Settings.System.ADVANCED_SETTINGS,
116 Settings.System.ADVANCED_SETTINGS_DEFAULT) > 0;
122 Settings.Secure.putInt(getContentResolver(), Settings.System.ADVANCED_SETTINGS, value);
123 // TODO: the settings thing should broadcast this for thread safety purposes.
130 int selectedLocation = Settings.Global.getInt(getContentResolver(),
131 Settings.Global.DEFAULT_INSTALL_LOCATION, APP_INSTALL_AUTO);