Searched refs:KEY (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/os/
H A DSystemPropertiesTest.java26 private static final String KEY = "com.android.unit_tests"; 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/include/utils/
H A DKeyedVector.h32 template <typename KEY, typename VALUE>
36 typedef KEY key_type;
63 const VALUE& valueFor(const KEY& key) const;
65 const KEY& keyAt(size_t index) const;
66 ssize_t indexOfKey(const KEY& key) const;
72 VALUE& editValueFor(const KEY& key);
79 ssize_t add(const KEY& key, const VALUE& item);
80 ssize_t replaceValueFor(const KEY& key, const VALUE& item);
87 ssize_t removeItem(const KEY& key);
91 SortedVector< key_value_pair_t<KEY, VALU
[all...]
H A DTypeHelpers.h218 template <typename KEY, typename VALUE>
220 KEY key;
224 key_value_pair_t(const KEY& k, const VALUE& v) : key(k), value(v) { }
225 key_value_pair_t(const KEY& k) : key(k) { }
/frameworks/base/core/java/android/provider/
H A DContacts.java81 public static final String KEY = "key"; field in interface:Contacts.SettingsColumns
162 values.put(KEY, key);

Completed in 171 milliseconds