/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
ChargingSoundPreferenceControllerTest.java | 24 import android.provider.Settings.Global; 77 Global.putInt(mContentResolver, Global.CHARGING_SOUNDS_ENABLED, 1); 86 Global.putInt(mContentResolver, Global.CHARGING_SOUNDS_ENABLED, 0); 99 assertThat(Global.getInt(mContentResolver, Global.CHARGING_SOUNDS_ENABLED, 1)) 109 assertThat(Global.getInt(mContentResolver, Global.CHARGING_SOUNDS_ENABLED, 1))
|
/external/compiler-rt/test/tsan/ |
annotate_happens_before.cc | 28 int Global; 33 Global++; 38 Global--;
|
mutexset6.cc | 4 int Global; 12 Global++; 22 Global--;
|
simple_stack.c | 4 int Global; 7 Global = 42; 16 volatile int v = Global; (void)v;
|
thread_name.cc | 16 int Global; 21 Global++; 31 Global--;
|
/packages/apps/Settings/src/com/android/settings/ |
ApplicationSettings.java | 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) [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiWakeupPreferenceController.java | 75 return Settings.Global.getInt(mContext.getContentResolver(), 76 Settings.Global.WIFI_WAKEUP_AVAILABLE, defaultValue) == 1; 87 Settings.Global.putInt(mContext.getContentResolver(), 88 Settings.Global.WIFI_WAKEUP_ENABLED, 105 enableWifiWakeup.setChecked(Settings.Global.getInt(mContext.getContentResolver(), 106 Settings.Global.WIFI_WAKEUP_ENABLED, 0) == 1); 108 boolean wifiScanningEnabled = Settings.Global.getInt(mContext.getContentResolver(), 109 Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE, 0) == 1; 110 boolean networkRecommendationsEnabled = Settings.Global.getInt( 112 Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED, 0) == 1 [all...] |
CellularFallbackPreferenceController.java | 59 String settingName = Settings.Global.NETWORK_AVOID_BAD_WIFI; 60 Settings.Global.putString(mContext.getContentResolver(), settingName, 82 return "1".equals(Settings.Global.getString(mContext.getContentResolver(), 83 Settings.Global.NETWORK_AVOID_BAD_WIFI));
|
/packages/services/Telephony/src/com/android/phone/ |
CdmaSystemSelectListPreference.java | 71 Settings.Global.getInt(mPhone.getContext().getContentResolver(), 72 Settings.Global.CDMA_ROAMING_MODE, Phone.CDMA_RM_HOME); 84 Settings.Global.putInt(mPhone.getContext().getContentResolver(), 85 Settings.Global.CDMA_ROAMING_MODE, 120 int settingsRoamingMode = Settings.Global.getInt( 122 Settings.Global.CDMA_ROAMING_MODE, Phone.CDMA_RM_HOME); 130 Settings.Global.putInt( 132 Settings.Global.CDMA_ROAMING_MODE, 150 Settings.Global.putInt(mPhone.getContext().getContentResolver(), 151 Settings.Global.CDMA_ROAMING_MODE [all...] |
/external/pdfium/fxjs/ |
cfxjse_class.h | 32 v8::Global<v8::FunctionTemplate>& GetTemplate() { return m_hTemplate; } 40 v8::Global<v8::FunctionTemplate> m_hTemplate;
|
/external/skia/experimental/SkV8Example/ |
JsContext.h | 19 class Global; 30 JsContext(Global* global) 31 : INHERITED(global)
|
Global.cpp | 9 #include "Global.h" 15 Global* Global::gGlobal = NULL; 22 int32_t Global::getNextTimerID() { 33 void Global::reportException(v8::TryCatch* tryCatch) { 75 void Global::Inval(const v8::FunctionCallbackInfo<v8::Value>& args) { 84 void Global::Print(const v8::FunctionCallbackInfo<v8::Value>& args) { 104 void Global::SetTimeout(const v8::FunctionCallbackInfo<v8::Value>& args) { 126 evt->setTargetProc(Global::TimeOutProc); 134 bool Global::TimeOutProc(const SkEvent& evt) 180 v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New(); local [all...] |
Global.h | 25 // Provides the global isolate and context for our V8 instance. 26 // Also implements all the global level functions. 27 class Global : SkNoncopyable { 29 Global(v8::Isolate* isolate) 37 virtual ~Global() {} 39 // The script will be parsed into the context this Global contains. 66 // Static functions that implement the global JS functions we add to 75 static Global* gGlobal;
|
/packages/apps/Provision/src/com/android/provision/ |
DefaultActivity.java | 35 Settings.Global.putInt(getContentResolver(), Settings.Global.DEVICE_PROVISIONED, 1);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
ChargingSoundPreferenceController.java | 23 import android.provider.Settings.Global; 35 TYPE_GLOBAL, KEY_CHARGING_SOUNDS, Global.CHARGING_SOUNDS_ENABLED, DEFAULT_ON);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
SetNewPasswordActivityTest.java | 49 mProvisioned = Settings.Global.getInt(RuntimeEnvironment.application.getContentResolver(), 50 Settings.Global.DEVICE_PROVISIONED, 0); 55 Settings.Global.putInt(RuntimeEnvironment.application.getContentResolver(), 56 Settings.Global.DEVICE_PROVISIONED, mProvisioned); 61 Settings.Global.putInt(RuntimeEnvironment.application.getContentResolver(), 62 Settings.Global.DEVICE_PROVISIONED, 1); 75 Settings.Global.putInt(RuntimeEnvironment.application.getContentResolver(), 76 Settings.Global.DEVICE_PROVISIONED, 0);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/sound/ |
SoundFragment.java | 84 setSurroundPassthroughSetting(Settings.Global.ENCODED_SURROUND_OUTPUT_AUTO); 87 setSurroundPassthroughSetting(Settings.Global.ENCODED_SURROUND_OUTPUT_ALWAYS); 90 setSurroundPassthroughSetting(Settings.Global.ENCODED_SURROUND_OUTPUT_NEVER); 120 Settings.Global.putInt(getContext().getContentResolver(), 121 Settings.Global.ENCODED_SURROUND_OUTPUT, newVal); 125 final int value = Settings.Global.getInt(getContext().getContentResolver(), 126 Settings.Global.ENCODED_SURROUND_OUTPUT, 127 Settings.Global.ENCODED_SURROUND_OUTPUT_AUTO); 130 case Settings.Global.ENCODED_SURROUND_OUTPUT_AUTO: 133 case Settings.Global.ENCODED_SURROUND_OUTPUT_ALWAYS [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
AirplaneModeTest.java | 77 Settings.Global.putInt(resolver, Settings.Global.AIRPLANE_MODE_ON, enabling ? 1 : 0); 82 return Settings.Global.getInt(mContext.getContentResolver(), 83 Settings.Global.AIRPLANE_MODE_ON, 0) != 0;
|
TheaterModeTest.java | 76 Settings.Global.putInt(resolver, Settings.Global.THEATER_MODE_ON, enabling ? 1 : 0); 81 return Settings.Global.getInt(mContext.getContentResolver(), 82 Settings.Global.THEATER_MODE_ON, 0) != 0;
|
/development/apps/SdkSetup/src/com/android/sdksetup/ |
DefaultActivity.java | 41 Settings.Global.putInt(getContentResolver(), Settings.Global.DEVICE_PROVISIONED, 1); 51 Settings.Global.putInt(getContentResolver(), Settings.Global.INSTALL_NON_MARKET_APPS, 1);
|
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
Global.java | 21 public class Global {
|
/external/swiftshader/third_party/LLVM/lib/Target/PTX/MCTargetDesc/ |
PTXBaseInfo.h | 25 Global = 0, // default to global state space
|
/frameworks/base/core/java/com/android/internal/util/ |
EmergencyAffordanceManager.java | 32 * Global setting override with the number to call with the emergency affordance. 38 * Global setting, whether the emergency affordance should be shown regardless of device state. 61 String override = Settings.Global.getString( 91 return Settings.Global.getInt(mContext.getContentResolver(), 92 Settings.Global.EMERGENCY_AFFORDANCE_NEEDED, 0) != 0; 97 return Settings.Global.getInt(mContext.getContentResolver(),
|
/packages/apps/Settings/src/com/android/settings/datetime/ |
AutoTimePreferenceController.java | 61 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AUTO_TIME, 68 return Settings.Global.getInt(mContext.getContentResolver(), 69 Settings.Global.AUTO_TIME, 0) > 0;
|
AutoTimeZonePreferenceController.java | 63 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AUTO_TIME_ZONE, 70 return isAvailable() && Settings.Global.getInt(mContext.getContentResolver(), 71 Settings.Global.AUTO_TIME_ZONE, 0) > 0;
|