/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | SystemPropertiesTest.java | 26 private static final String KEY = "com.android.frameworks.coretests"; field in class:SystemPropertiesTest 32 SystemProperties.set(KEY, ""); 33 value = SystemProperties.get(KEY, "default"); 36 SystemProperties.set(KEY, "AAA"); 37 value = SystemProperties.get(KEY, "default"); 40 value = SystemProperties.get(KEY); 43 SystemProperties.set(KEY, ""); 44 value = SystemProperties.get(KEY, "default"); 47 value = SystemProperties.get(KEY);
|
/frameworks/base/core/tests/systemproperties/src/android/os/ |
H A D | SystemPropertiesTest.java | 28 private static final String KEY = "sys.testkey"; field in class:SystemPropertiesTest 43 SystemProperties.set(KEY, Long.toString(i)); 44 long ret = SystemProperties.getLong(KEY, -1); 53 SystemProperties.set(KEY, ""); 54 value = SystemProperties.get(KEY, "default"); 58 SystemProperties.set(KEY, null); 59 value = SystemProperties.get(KEY, "default"); 62 SystemProperties.set(KEY, "SA"); 63 value = SystemProperties.get(KEY, "default"); 66 value = SystemProperties.get(KEY); [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/tuner/ |
H A D | TunablePaddingTest.java | 39 private static final String KEY = "KEY"; field in class:TunablePaddingTest 65 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, 71 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, 77 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, 83 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, 94 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, 100 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, 110 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, 112 mTunablePadding.onTuningChanged(KEY, Strin [all...] |
/frameworks/support/work/workmanager/src/test/java/androidx/work/ |
H A D | ArrayCreatingInputMergerTest.java | 30 private static final String KEY = "key"; field in class:ArrayCreatingInputMergerTest 44 mDataWithIntArray = new Data.Builder().putIntArray(KEY, VALUE_INT_ARRAY).build(); 45 mDataWithInt = new Data.Builder().putInt(KEY, VALUE_INT).build(); 46 mDataWithLong = new Data.Builder().putLong(KEY, VALUE_LONG).build(); 53 int[] outputArray = output.getIntArray(KEY); 62 int[] outputArray = output.getIntArray(KEY); 72 int[] outputArray = output.getIntArray(KEY); 85 int[] outputArray = output.getIntArray(KEY);
|
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | ScoredNetworkTest.java | 48 private static final NetworkKey KEY field in class:ScoredNetworkTest 54 new ScoredNetwork(KEY, CURVE, false /* meteredHint */, null /* attributes */); 56 new ScoredNetwork(KEY, CURVE, false /* meteredHint */, null /* attributes */); 63 new ScoredNetwork(KEY, CURVE, false /* meteredHint */, ATTRIBUTES); 65 new ScoredNetwork(KEY, CURVE, false /* meteredHint */, null /* attributes */); 72 new ScoredNetwork(KEY, CURVE, false /* meteredHint */, ATTRIBUTES); 76 new ScoredNetwork(KEY, CURVE, false /* meteredHint */, attr); 83 new ScoredNetwork(KEY, CURVE, false /* meteredHint */, ATTRIBUTES); 87 new ScoredNetwork(KEY, CURVE, false /* meteredHint */, attr); 94 new ScoredNetwork(KEY, CURV [all...] |
/frameworks/support/preference/src/androidTest/java/androidx/preference/tests/ |
H A D | PreferenceDataStoreTest.java | 78 private static final String KEY = "TestPrefKey"; field in class:PreferenceDataStoreTest 93 mPreference.setKey(KEY); 97 mManager.getSharedPreferences().edit().remove(KEY).commit(); 158 verify(mDataStore, atLeastOnce()).putString(eq(KEY), anyString()); 216 verify(mDataStore, atLeast(0)).getString(eq(KEY), nullable(String.class)); 217 verify(mDataStore, atLeastOnce()).putString(eq(KEY), anyString()); 221 assertNull(mSharedPref.getString(KEY, null)); 232 verify(mDataStore, atLeastOnce()).getString(eq(KEY), eq(TEST_STR)); 243 verify(mDataStore, atLeastOnce()).getString(eq(KEY), eq(TEST_STR)); 258 mSharedPref.edit().putString(KEY, TEST_WRONG_ST [all...] |
H A D | PreferencePersistTest.java | 53 private static final String KEY = "TestPrefKey"; field in class:PreferencePersistTest 74 mPreference.setKey(KEY); 81 mSharedPref.edit().remove(KEY).apply(); 82 assertNull(mSharedPref.getString(KEY, null)); 103 assertEquals(expected, mSharedPref.getString(KEY, null)); 114 assertNull(mSharedPref.getString(KEY, null)); 157 assertThat(mSharedPref.getStringSet(KEY, null), 169 assertNull(mSharedPref.getString(KEY, null)); 213 assertEquals(expected, mSharedPref.getInt(KEY, -1)); 224 assertEquals(-1, mSharedPref.getLong(KEY, [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | BrowserContract.java | 704 public static final String KEY = "key"; field in class:BrowserContract.Settings 723 KEY + "=?", new String[] { KEY_SYNC_ENABLED }, null); 738 values.put(KEY, KEY_SYNC_ENABLED);
|
H A D | Contacts.java | 127 public static final String KEY = "key"; field in interface:Contacts.SettingsColumns 230 values.put(KEY, key);
|
H A D | CalendarContract.java | 1876 public static final String KEY = "key"; field in interface:CalendarContract.CalendarCacheColumns 1887 * scheme. A {@link #KEY} must be specified when updating these values.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NavigationBarInflaterView.java | 68 public static final String KEY = "key"; field in class:NavigationBarInflaterView 396 } else if (button.startsWith(KEY)) {
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |