/external/libweave/include/weave/provider/test/ |
mock_config_store.h | 29 .WillRepeatedly(testing::Invoke([](Settings* settings) { 30 settings->firmware_version = "TEST_FIRMWARE"; 31 settings->oem_name = "TEST_OEM"; 32 settings->model_name = "TEST_MODEL"; 33 settings->model_id = "ABCDE"; 34 settings->name = "TEST_NAME"; 35 settings->client_id = "TEST_CLIENT_ID"; 36 settings->client_secret = "TEST_CLIENT_SECRET"; 37 settings->api_key = "TEST_API_KEY" [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
FrameWriter.java | 28 /** Informs the peer that we've applied its latest settings. */ 29 void ackSettings(Settings peerSettings) throws IOException; 71 /** Write okhttp's settings to the peer. */ 72 void settings(Settings okHttpSettings) throws IOException; method in interface:FrameWriter
|
Settings.java | 21 * Settings describe characteristics of the sending peer, which are used by the receiving peer. 22 * Settings are {@link FramedConnection connection} scoped. 24 public final class Settings { 31 /** Peer request to clear durable settings. */ 66 /** Total number of settings. */ 69 /** If set, flow control is disabled for streams directed to the sender of these settings. */ 89 Settings set(int id, int idFlags, int value) { 91 return this; // Discard unknown settings. 125 if (isPersisted(id)) result |= Settings.PERSISTED; 126 if (persistValue(id)) result |= Settings.PERSIST_VALUE [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
WifiStressTest.java | 31 import android.provider.Settings; 198 Settings.Global.putInt(mRunner.getContext().getContentResolver(), 199 Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE, 0); 201 Settings.Global.putInt(mRunner.getContext().getContentResolver(), 202 Settings.Global.WIFI_SLEEP_POLICY, Settings.Global.WIFI_SLEEP_POLICY_DEFAULT); 204 Settings.Global.putLong(mRunner.getContext().getContentResolver(), 205 Settings.Global.WIFI_IDLE_MS, WIFI_IDLE_MS);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListManagedCursor.java | 23 import android.provider.Settings; 39 Cursor c = getContentResolver().query(Settings.System.CONTENT_URI, null, null, null, null);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
TunerSwitch.java | 5 import android.provider.Settings; 54 Settings.Secure.putString(getContext().getContentResolver(), key, value ? "1" : "0");
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
ContactsMockContext.java | 26 import android.provider.Settings; 52 mContentResolver.addProvider(Settings.AUTHORITY, mSettingsProvider);
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
DefaultRemovedActivity.java | 22 import android.provider.Settings; 46 // Launch into Settings 47 Intent intent = new Intent(Settings.ACTION_NFC_PAYMENT_SETTINGS);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
OverlayWarningDialog.java | 27 import android.provider.Settings; 57 startActivity(new Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION)); 59 Log.w(TAG, "No manage overlay settings", e);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
VrListenerSettings.java | 16 package com.android.settings.applications; 18 import android.provider.Settings; 22 import com.android.settings.R; 23 import com.android.settings.utils.ManagedServiceSettings; 32 c.setting = Settings.Secure.ENABLED_VR_LISTENERS;
|
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/ |
BackgroundDataCondition.java | 16 package com.android.settings.dashboard.conditional; 22 import com.android.settings.R; 23 import com.android.settings.Settings; 59 Settings.DataUsageSummaryActivity.class));
|
/packages/apps/Settings/tests/app/ |
Android.mk | 15 LOCAL_INSTRUMENTATION_FOR := Settings
|
/packages/apps/Settings/tests/unit/ |
Android.mk | 17 LOCAL_INSTRUMENTATION_FOR := Settings
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
SyncErrorDialogFragment.java | 26 import android.provider.Settings; 61 Settings.ACTION_INTERNAL_STORAGE_SETTINGS);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
Timeouts.java | 20 import android.provider.Settings; 43 * Returns the timeout value from Settings or the default value if it hasn't been changed. This 47 * @param key Settings key to retrieve. 49 * @return The timeout value from Settings or the default value if it hasn't been changed. 52 return Settings.Secure.getLong(contentResolver, PREFIX + key, defaultValue);
|
/platform_testing/libraries/settings-app-helper/src/android/platform/test/helpers/ |
SettingsHelperImpl.java | 23 import android.provider.Settings; 24 import android.provider.Settings.SettingNotFoundException; 40 private static final String UI_PACKAGE_NAME = "com.android.settings"; 64 return "com.android.settings"; 72 return "Settings"; 118 * element. On hitting "See all", the same settings dashboard element is now scrollable. For 119 * pre-N, the settings Dashboard is always scrollable, hence the check in the while loop. All 120 * this method does is expand the Settings list if needed, before returning the element. 125 Assert.assertNotNull("Could not find the settings dashboard object.", settingsDashboard); 198 return Settings.System.getString(mResolver, sName) [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accessibility/ |
AccessibilityUtils.java | 26 import android.provider.Settings; 56 final String enabledServicesSetting = Settings.Secure.getStringForUser( 57 context.getContentResolver(), Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, 135 // clean up not settings. 145 Settings.Secure.putStringForUser(context.getContentResolver(), 146 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES,
|
/packages/apps/Settings/src/com/android/settings/ |
Display.java | 17 package com.android.settings; 24 import android.provider.Settings; 83 mFontScale = Settings.System.getFloat(resolver, Settings.System.FONT_SCALE, 1.0f); 103 Settings.System.putFloat(resolver, Settings.System.FONT_SCALE, mFontScale);
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
Settings.java | 44 * Model to hold Settings for an account. 46 public class Settings implements Parcelable { 49 static final Settings EMPTY_SETTINGS = new Settings(); 117 private static final Settings sDefault = EMPTY_SETTINGS; 119 private Settings() { 143 public Settings(Parcel inParcel) { 167 public Settings(Cursor cursor) { 203 private Settings(JSONObject json) { 235 * Return a serialized String for these settings [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
CorrectionSettingsFragment.java | 17 package com.android.inputmethod.latin.settings; 42 * "Text correction" settings sub screen. 44 * This settings sub screen handles the following text correction preferences. 73 final Preference dictionaryLink = findPreference(Settings.PREF_CONFIGURE_DICTIONARIES_KEY); 78 removePreference(Settings.PREF_CONFIGURE_DICTIONARIES_KEY); 82 findPreference(Settings.PREF_EDIT_PERSONAL_DICTIONARY); 91 mUseContactsPreference = (SwitchPreference) findPreference(Settings.PREF_KEY_USE_CONTACTS_DICT); 121 if (!TextUtils.equals(key, Settings.PREF_KEY_USE_CONTACTS_DICT)) {
|
/packages/services/Telephony/src/com/android/phone/settings/ |
AccessibilitySettingsFragment.java | 17 package com.android.phone.settings; 26 import android.provider.Settings; 38 import com.android.phone.settings.TtyModeListPreference; 96 int hac = Settings.System.getInt(mContext.getContentResolver(), 97 Settings.System.HEARING_AID, SettingsConstants.HAC_DISABLED); 128 // Update HAC value in Settings database. 129 Settings.System.putInt(mContext.getContentResolver(), Settings.System.HEARING_AID, hac);
|
/packages/services/Telephony/src/com/android/services/telephony/ |
EmergencyCallHelper.java | 26 import android.provider.Settings; 244 // If airplane mode is on, we turn it off the same way that the Settings activity turns it 246 if (Settings.Global.getInt(mContext.getContentResolver(), 247 Settings.Global.AIRPLANE_MODE_ON, 0) > 0) { 251 Settings.Global.putInt(mContext.getContentResolver(), 252 Settings.Global.AIRPLANE_MODE_ON, 0); 262 // Otherwise, for some strange reason the radio is off (even though the Settings
|
/platform_testing/tests/functional/settingstests/src/com/android/settings/functional/ |
BluetoothNetworkSettingsTests.java | 17 package android.settings.functional; 26 import android.provider.Settings; 27 import android.provider.Settings.SettingNotFoundException; 40 private static final String SETTINGS_PACKAGE = "com.android.settings"; 94 Intent btIntent = new Intent(Settings.ACTION_BLUETOOTH_SETTINGS); 131 * Toggles the Bluetooth switch and verifies that the change is reflected in Settings 151 Settings.Global.getString(getInstrumentation().getContext().getContentResolver(), 152 Settings.Global.BLUETOOTH_ON);
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
SettingsProviderTest.java | 17 package com.android.providers.settings; 28 import android.provider.Settings; 44 Settings.NameValueTable.NAME, Settings.NameValueTable.VALUE 165 fail("Adding app specific settings must be bound."); 241 firstValues.put(Settings.NameValueTable.NAME, FAKE_SETTING_NAME); 242 firstValues.put(Settings.NameValueTable.VALUE, FAKE_SETTING_VALUE); 247 secondValues.put(Settings.NameValueTable.NAME, FAKE_SETTING_NAME_1); 248 secondValues.put(Settings.NameValueTable.VALUE, FAKE_SETTING_VALUE_1); 253 thirdValues.put(Settings.NameValueTable.NAME, FAKE_SETTING_NAME_2) [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
ConfigureWifiSettings.java | 16 package com.android.settings.wifi; 29 import android.provider.Settings; 37 import com.android.settings.AppListSwitchPreference; 38 import com.android.settings.R; 39 import com.android.settings.SettingsPreferenceFragment; 40 import com.android.settings.Utils; 101 notifyOpenNetworks.setChecked(Settings.Global.getInt(getContentResolver(), 102 Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON, 0) == 1); 122 int value = Settings.Global.getInt(getContentResolver(), 123 Settings.Global.WIFI_SLEEP_POLICY [all...] |