Searched refs:Global (Results 1 - 25 of 198) sorted by last modified time

12345678

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCarrierActionAgent.java99 if (Settings.Global.getInt(mPhone.getContext().getContentResolver(),
100 Settings.Global.AIRPLANE_MODE_ON, 0) != 0) {
113 Settings.Global.getUriFor(Settings.Global.AIRPLANE_MODE_ON),
H A DCarrierServiceStateTracker.java85 * Returns true if the preferred network is set to 'Global' or the radio is off or in
95 android.provider.Settings.Global.getInt(context.getContentResolver(),
96 android.provider.Settings.Global.PREFERRED_NETWORK_MODE + subId,
98 airplaneMode = Settings.Global.getInt(context.getContentResolver(),
99 Settings.Global.AIRPLANE_MODE_ON, 0);
150 // exit if the network preference is set to Global or if the phone is registered.
H A DGsmCdmaPhone.java2183 Settings.Global.getInt(getContext().getContentResolver(),
2184 Settings.Global.CDMA_ROAMING_MODE,
2687 nwMode = android.provider.Settings.Global.getInt(mContext.getContentResolver(),
2688 android.provider.Settings.Global.PREFERRED_NETWORK_MODE + subId, nwMode);
H A DPhone.java508 Settings.Global.getInt(mContext.getContentResolver(),
509 Settings.Global.WIFI_COUNTRY_CODE);
H A DPhoneFactory.java313 int networkType = android.provider.Settings.Global.getInt(context.getContentResolver(),
314 android.provider.Settings.Global.PREFERRED_NETWORK_MODE + phoneSubId,
331 value = Settings.Global.getInt(sContext.getContentResolver(),
332 Settings.Global.MULTI_SIM_SMS_PROMPT);
H A DSMSDispatcher.java191 mContext.getContentResolver().registerContentObserver(Settings.Global.getUriFor(
192 Settings.Global.SMS_SHORT_CODE_RULE), false, mSettingsObserver);
217 mPremiumSmsRule.set(Settings.Global.getInt(mContext.getContentResolver(),
218 Settings.Global.SMS_SHORT_CODE_RULE, PREMIUM_RULE_USE_SIM));
1051 if (Settings.Global.getInt(mResolver, Settings.Global.DEVICE_PROVISIONED, 0) == 0) {
H A DServiceStateTracker.java558 int airplaneMode = Settings.Global.getInt(mCr, Settings.Global.AIRPLANE_MODE_ON, 0);
559 int enableCellularOnBoot = Settings.Global.getInt(mCr,
560 Settings.Global.ENABLE_CELLULAR_ON_BOOT, 1);
567 Settings.Global.getUriFor(Settings.Global.AUTO_TIME), true,
570 Settings.Global.getUriFor(Settings.Global.AUTO_TIME_ZONE), true,
2921 int check_period = Settings.Global.getInt(
2923 Settings.Global
[all...]
H A DSmsUsageMonitor.java239 mEnabled.set(Settings.Global.getInt(mContext.getContentResolver(),
240 Settings.Global.SMS_SHORT_CODE_CONFIRMATION, 1) != 0);
248 resolver.registerContentObserver(Settings.Global.getUriFor(
249 Settings.Global.SMS_SHORT_CODE_CONFIRMATION), false, globalObserver);
261 mMaxAllowed = Settings.Global.getInt(resolver,
262 Settings.Global.SMS_OUTGOING_CHECK_MAX_COUNT,
265 mCheckPeriod = Settings.Global.getInt(resolver,
266 Settings.Global.SMS_OUTGOING_CHECK_INTERVAL_MS,
H A DSubscriptionController.java1339 Settings.Global.putInt(mContext.getContentResolver(),
1340 Settings.Global.MULTI_SIM_SMS_SUBSCRIPTION, subId);
1357 int subId = Settings.Global.getInt(mContext.getContentResolver(),
1358 Settings.Global.MULTI_SIM_SMS_SUBSCRIPTION,
1372 Settings.Global.putInt(mContext.getContentResolver(),
1373 Settings.Global.MULTI_SIM_VOICE_CALL_SUBSCRIPTION, subId);
1389 int subId = Settings.Global.getInt(mContext.getContentResolver(),
1390 Settings.Global.MULTI_SIM_VOICE_CALL_SUBSCRIPTION,
1398 int subId = Settings.Global.getInt(mContext.getContentResolver(),
1399 Settings.Global
[all...]
H A DSubscriptionInfoUpdater.java455 Settings.Global.putInt(mPhone[slotId].getContext().getContentResolver(),
456 Settings.Global.PREFERRED_NETWORK_MODE + subId,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaSubscriptionSourceManager.java163 int subscriptionSource = Settings.Global.getInt(context.getContentResolver(),
164 Settings.Global.CDMA_SUBSCRIPTION_MODE, PREFERRED_CDMA_SUBSCRIPTION);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTracker.java336 mNetStatPollPeriod = Settings.Global.getInt(mResolver,
337 Settings.Global.PDP_WATCHDOG_POLL_INTERVAL_MS, POLL_NETSTAT_MILLIS);
339 mNetStatPollPeriod = Settings.Global.getInt(mResolver,
340 Settings.Global.PDP_WATCHDOG_LONG_POLL_INTERVAL_MS,
425 Settings.Global.getUriFor(Settings.Global.DATA_ROAMING + simSuffix),
428 Settings.Global.getUriFor(Settings.Global.DEVICE_PROVISIONED),
431 Settings.Global.getUriFor(Settings.Global
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccCard.java462 String whitelistSetting = Settings.Global.getString(mContext.getContentResolver(),
463 Settings.Global.CARRIER_APP_WHITELIST);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCarrierActionAgentTest.java96 Settings.Global.putInt(mFakeContentResolver, Settings.Global.AIRPLANE_MODE_ON, 1);
98 Settings.Global.getUriFor(Settings.Global.AIRPLANE_MODE_ON), null);
111 Settings.Global.putInt(mFakeContentResolver, Settings.Global.AIRPLANE_MODE_ON, 0);
H A DContextFixture.java535 Settings.Global.getInt(mContentResolver, Settings.Global.AIRPLANE_MODE_ON, 0);
H A DSubscriptionControllerTest.java170 Settings.Global.putInt(mContext.getContentResolver(),
171 Settings.Global.MULTI_SIM_VOICE_CALL_SUBSCRIPTION,
173 Settings.Global.putInt(mContext.getContentResolver(),
174 Settings.Global.MULTI_SIM_DATA_CALL_SUBSCRIPTION,
176 Settings.Global.putInt(mContext.getContentResolver(),
177 Settings.Global.MULTI_SIM_SMS_SUBSCRIPTION,
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DWizardManagerHelper.java179 return Settings.Global.getInt(context.getContentResolver(),
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
H A DWizardManagerHelperTest.java30 import android.provider.Settings.Global;
288 Settings.Secure.putInt(application.getContentResolver(), Global.DEVICE_PROVISIONED, 1);
309 Settings.Secure.putInt(application.getContentResolver(), Global.DEVICE_PROVISIONED, 1);
311 Settings.Secure.putInt(application.getContentResolver(), Global.DEVICE_PROVISIONED, 0);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DFrameworkFacade.java47 return Settings.Global.putInt(context.getContentResolver(), name, def);
51 return Settings.Global.getInt(context.getContentResolver(), name, def);
55 return Settings.Global.getLong(context.getContentResolver(), name, def);
59 return Settings.Global.putString(context.getContentResolver(), name, def);
63 return Settings.Global.getString(context.getContentResolver(), name);
H A DScoredNetworkEvaluator.java68 Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED, 0) == 1;
72 Settings.Global.getUriFor(Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED),
H A DWifiConfigManager.java702 final boolean isLockdownFeatureEnabled = Settings.Global.getInt(resolver,
703 Settings.Global.WIFI_DEVICE_OWNER_CONFIGS_LOCKDOWN, 0) != 0;
H A DWifiController.java70 * See {@link Settings.Global#WIFI_IDLE_MS}. This is the default value if a
71 * Settings.Global value is not present. This timeout value is chosen as
79 * See {@link Settings.Global#WIFI_REENABLE_DELAY_MS}. This is the default value if a
80 * Settings.Global value is not present. This is the minimum time after wifi is disabled
242 Settings.Global.STAY_ON_WHILE_PLUGGED_IN, 0);
247 Settings.Global.WIFI_IDLE_MS, DEFAULT_IDLE_MS);
252 Settings.Global.WIFI_SLEEP_POLICY,
253 Settings.Global.WIFI_SLEEP_POLICY_NEVER);
258 Settings.Global.WIFI_REENABLE_DELAY_MS, DEFAULT_REENABLE_DELAY_MS);
273 Settings.Global
[all...]
H A DWifiNotificationController.java175 Settings.Global.WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY, 900) * 1000L;
324 mFrameworkFacade.registerContentObserver(mContext, Settings.Global.getUriFor(
325 Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON), true, this);
343 Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON, 1) == 1;
H A DWifiServiceImpl.java2097 Settings.Global.getUriFor(Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE),
2106 Settings.Global.getUriFor(
2107 Settings.Global.WIFI_SCAN_BACKGROUND_THROTTLE_INTERVAL_MS),
2118 Settings.Global.getUriFor(
2119 Settings.Global.WIFI_SCAN_BACKGROUND_THROTTLE_PACKAGE_WHITELIST),
2133 Settings.Global.WIFI_SCAN_BACKGROUND_THROTTLE_INTERVAL_MS,
2140 Settings.Global.WIFI_SCAN_BACKGROUND_THROTTLE_PACKAGE_WHITELIST);
2232 Settings.Global.STAY_ON_WHILE_PLUGGED_IN, 0));
2318 mContext, Settings.Global
[all...]
H A DWifiSettingsStore.java28 /* Values tracked in Settings.Global.WIFI_ON */
139 Settings.Global.putInt(cr, Settings.Global.WIFI_ON, state);
144 String airplaneModeRadios = Settings.Global.getString(mContext.getContentResolver(),
145 Settings.Global.AIRPLANE_MODE_RADIOS);
147 || airplaneModeRadios.contains(Settings.Global.RADIO_WIFI);
152 String toggleableRadios = Settings.Global.getString(mContext.getContentResolver(),
153 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS);
155 && toggleableRadios.contains(Settings.Global.RADIO_WIFI);
175 * Allow callers to set the Settings.Global
[all...]

Completed in 366 milliseconds

12345678