Searched refs:KEY (Results 1 - 7 of 7) sorted by relevance
/frameworks/native/include/utils/ |
H A D | KeyedVector.h | 34 template <typename KEY, typename VALUE> 38 typedef KEY key_type; 68 const VALUE& valueFor(const KEY& key) const; 70 const KEY& keyAt(size_t index) const; 71 ssize_t indexOfKey(const KEY& key) const; 78 VALUE& editValueFor(const KEY& key); 85 ssize_t add(const KEY& key, const VALUE& item); 86 ssize_t replaceValueFor(const KEY& key, const VALUE& item); 93 ssize_t removeItem(const KEY& key); 97 SortedVector< key_value_pair_t<KEY, VALU [all...] |
H A D | TypeHelpers.h | 226 template <typename KEY, typename VALUE> 228 typedef KEY key_t; 231 KEY key; 235 key_value_pair_t(const KEY& k, const VALUE& v) : key(k), value(v) { } 236 key_value_pair_t(const KEY& k) : key(k) { } 240 inline const KEY& getKey() const {
|
/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 | 25 private static final String KEY = "sys.testkey"; field in class:SystemPropertiesTest 40 SystemProperties.set(KEY, Long.toString(i)); 41 long ret = SystemProperties.getLong(KEY, -1); 50 SystemProperties.set(KEY, ""); 51 value = SystemProperties.get(KEY, "default"); 54 SystemProperties.set(KEY, "SA"); 55 value = SystemProperties.get(KEY, "default"); 58 value = SystemProperties.get(KEY); 61 SystemProperties.set(KEY, ""); 62 value = SystemProperties.get(KEY, "defaul [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 | 126 public static final String KEY = "key"; field in interface:Contacts.SettingsColumns 229 values.put(KEY, key);
|
H A D | CalendarContract.java | 1862 public static final String KEY = "key"; field in interface:CalendarContract.CalendarCacheColumns 1873 * scheme. A {@link #KEY} must be specified when updating these values.
|
Completed in 498 milliseconds