HomeSort by relevance Sort by last modified time
    Searched refs:KEY (Results 1 - 25 of 156) sorted by null

1 2 3 4 5 6 7

  /packages/inputmethods/LatinIME/tools/dicttool/compat/com/android/inputmethod/keyboard/
Keyboard.java 21 private final Key KEY = new Key();
22 public final Key getKey(final int i) { return KEY; }
  /system/core/include/utils/
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)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/os/
SystemPropertiesTest.java 26 private static final String KEY = "com.android.frameworks.coretests";
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);
  /system/core/libpixelflinger/codeflinger/tinyutils/
KeyedVector.h 33 template <typename KEY, typename VALUE>
37 typedef KEY key_type;
64 const VALUE& valueFor(const KEY& key) const;
66 const KEY& keyAt(size_t index) const;
67 ssize_t indexOfKey(const KEY& key) const;
73 VALUE& editValueFor(const KEY& key);
80 ssize_t add(const KEY& key, const VALUE& item)
    [all...]
  /frameworks/av/services/camera/libcameraservice/utils/
ClientManager.h 37 * The ClientDescriptor class is a container for a given key/value pair identifying a shared
44 template<class KEY, class VALUE>
47 ClientDescriptor(const KEY& key, const VALUE& value, int32_t cost,
48 const std::set<KEY>& conflictingKeys, int32_t priority, int32_t ownerId);
49 ClientDescriptor(KEY&& key, VALUE&& value, int32_t cost, std::set<KEY>&& conflictingKeys,
55 * Return the key for this descriptor.
57 const KEY& getKey() const
384 const KEY& key = client->getKey(); local
    [all...]
  /ndk/sources/host-tools/make-3.81/
hash.h 38 typedef unsigned long (*hash_func_t) __P((void const *key));
64 void **hash_find_slot __P((struct hash_table *ht, void const *key));
65 void *hash_find_item __P((struct hash_table *ht, void const *key));
85 #define STRING_HASH_1(KEY, RESULT) do { \
86 unsigned char const *_key_ = (unsigned char const *) (KEY) - 1; \
90 #define return_STRING_HASH_1(KEY) do { \
92 STRING_HASH_1 ((KEY), _result_); \
96 #define STRING_HASH_2(KEY, RESULT) do { \
97 unsigned char const *_key_ = (unsigned char const *) (KEY) - 1; \
101 #define return_STRING_HASH_2(KEY) do {
    [all...]
  /packages/services/Telephony/src/com/android/phone/vvm/omtp/
LocalLogHelper.java 24 public static final String KEY = "OmtpVvm";
29 PhoneFactory.addLocalLog(KEY, MAX_OMTP_VVM_LOGS);
32 PhoneFactory.localLog(KEY, tag + ": " + log);
  /frameworks/base/core/tests/systemproperties/src/android/os/
SystemPropertiesTest.java 25 private static final String KEY = "sys.testkey";
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, "default")
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
BundleTest.java 47 public static final String KEY = "Bruce Lee";
67 b1.putBoolean(KEY, true);
71 assertTrue(b2.getBoolean(KEY));
91 mBundle.putBoolean(KEY, true);
111 assertFalse(mBundle.containsKey(KEY));
112 mBundle.putBoolean(KEY, true);
113 assertTrue(mBundle.containsKey(KEY));
115 assertTrue(mBundle.containsKey(KEY));
121 assertNull(mBundle.get(KEY));
122 mBundle.putBoolean(KEY, true)
    [all...]
  /frameworks/base/tools/aapt/
AaptUtil.h 30 template <typename KEY, typename VALUE>
31 void appendValue(android::KeyedVector<KEY, android::Vector<VALUE> >& keyedVector,
32 const KEY& key, const VALUE& value);
34 template <typename KEY, typename VALUE>
35 void appendValue(android::KeyedVector<KEY, android::SortedVector<VALUE> >& keyedVector,
36 const KEY& key, const VALUE& value);
42 template <typename KEY, typename VALUE>
43 void appendValue(android::KeyedVector<KEY, android::Vector<VALUE> >& keyedVector
    [all...]
  /cts/tests/sample/src/android/sample/cts/
SampleDeviceTest.java 29 private static final String KEY = "foo";
62 * This inserts the key value pair and assert they can be retrieved. Then it clears the
68 // Save the key value pair to the preferences and assert they were saved.
69 mActivity.savePreference(KEY, VALUE);
70 assertEquals("Preferences were not saved", VALUE, mActivity.getPreference(KEY));
74 assertNull("Preferences were not cleared", mActivity.getPreference(KEY));
  /external/skia/src/gpu/
GrTBSearch.h 13 template <typename ELEM, typename KEY>
14 int GrTBSearch(const ELEM array[], int count, KEY target) {
  /external/guava/guava-tests/test/com/google/common/collect/
ConcurrentHashMultisetTest.java 77 private static final String KEY = "puppies";
95 expect(backingMap.get(KEY)).andReturn(new AtomicInteger(COUNT));
98 assertEquals(COUNT, multiset.count(KEY));
103 expect(backingMap.get(KEY)).andReturn(null);
106 assertEquals(0, multiset.count(KEY));
113 expect(backingMap.get(KEY)).andReturn(new AtomicInteger(INITIAL_COUNT));
115 assertEquals(INITIAL_COUNT, multiset.add(KEY, 0));
122 expect(backingMap.get(KEY)).andReturn(null);
123 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(null);
126 assertEquals(0, multiset.add(KEY, COUNT))
    [all...]
  /external/libselinux/src/
selinux_internal.h 113 /* Pthread key macros */
114 #define __selinux_key_create(KEY, DESTRUCTOR) \
117 pthread_key_create(KEY, DESTRUCTOR); \
120 #define __selinux_key_delete(KEY) \
123 pthread_key_delete(KEY); \
126 #define __selinux_setspecific(KEY, VALUE) \
129 pthread_setspecific(KEY, VALUE); \
  /packages/apps/LegacyCamera/src/com/android/camera/
RecordLocationPreference.java 30 public static final String KEY = "pref_camera_recordlocation_key";
50 String value = pref.getString(KEY, VALUE_NONE);
  /external/selinux/libselinux/src/
selinux_internal.h 125 /* Pthread key macros */
126 #define __selinux_key_create(KEY, DESTRUCTOR) \
127 (pthread_key_create != NULL ? pthread_key_create(KEY, DESTRUCTOR) : -1)
129 #define __selinux_key_delete(KEY) \
132 pthread_key_delete(KEY); \
135 #define __selinux_setspecific(KEY, VALUE) \
138 pthread_setspecific(KEY, VALUE); \
  /packages/apps/UnifiedEmail/src/com/android/mail/preferences/
SimpleBackupSharedPreference.java 34 private static final String KEY = "key";
37 public SimpleBackupSharedPreference(final String key, final Object value) {
38 mKey = key;
59 json.put(KEY, mKey);
83 return new SimpleBackupSharedPreference(json.getString(KEY), value);
  /frameworks/compile/mclinker/include/mcld/LD/
BranchIsland.h 98 /** \class Key
99 * \brief Key to recognize a stub in the island.
102 class Key {
104 Key(const Stub* pPrototype, const LDSymbol* pSymbol, Stub::SWord pAddend)
107 ~Key() {}
116 size_t operator()(const Key& KEY) const {
117 llvm::StringRef sym_name(KEY.symbol()->name());
119 return (size_t((uintptr_t)KEY.prototype())) ^ str_hasher(sym_name) ^
120 KEY.addend()
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/adapter/
SerializerTests.java 39 private static final String KEY = "Key";
49 s.writeStringValue(values, KEY, Tags.COMPOSE_ACCOUNT_ID);
50 values.put(KEY, ID);
51 s.writeStringValue(values, KEY, Tags.COMPOSE_ACCOUNT_ID);
  /external/elfutils/src/
Makefile.am 29 EXTRA_DIST = elfutils.spec GPG-KEY NOTES CONTRIBUTING \
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
dxtmpl.h 59 inline UINT DXHashKey(ARG_KEY key) { return ((UINT)(void*)(DWORD)key) >> 4; }
654 template<class KEY,class ARG_KEY,class VALUE,class ARG_VALUE>
660 KEY key; member in struct:CDXMap::CAssoc
667 WINBOOL Lookup(ARG_KEY key,VALUE& rValue) const;
668 VALUE& operator[](ARG_KEY key);
669 void SetAt(ARG_KEY key,ARG_VALUE newValue);
670 WINBOOL RemoveKey(ARG_KEY key);
673 void GetNextAssoc(DXLISTPOS &rNextPosition,KEY& rKey,VALUE& rValue) const
    [all...]
  /development/build/tools/
mk_sdk_repo_xml.sh 297 local KEY VALUE
301 KEY="$1"
303 NODE="${KEY%%/*}"
304 KEY="${KEY##*/}"
305 if [[ "$NODE" == "$KEY" ]]; then
315 if needs_full_revision "$ELEMENT" "$KEY" ${FULL_REVISIONS[@]}; then
316 echo "$EXTRA_SPACE <sdk:$KEY>" >> "$OUT"
318 echo "$EXTRA_SPACE </sdk:$KEY>" >> "$OUT"
320 echo "$EXTRA_SPACE <sdk:$KEY>$VALUE</sdk:$KEY>" >> "$OUT
    [all...]
  /frameworks/rs/cpp/util/
TypeHelpers.h 223 * a key/value pair
226 template <typename KEY, typename VALUE>
228 typedef KEY key_t;
231 KEY key; member in struct:android::RSC::key_value_pair_t
234 key_value_pair_t(const key_value_pair_t& o) : key(o.key), value(o.value) { }
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) {
    [all...]
  /frameworks/rs/server/
TypeHelpers.h 223 * a key/value pair
226 template <typename KEY, typename VALUE>
228 typedef KEY key_t;
231 KEY key; member in struct:android::key_value_pair_t
234 key_value_pair_t(const key_value_pair_t& o) : key(o.key), value(o.value) { }
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) {
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/cpp/util/
TypeHelpers.h 223 * a key/value pair
226 template <typename KEY, typename VALUE>
228 typedef KEY key_t;
231 KEY key; member in struct:android::RSC::key_value_pair_t
234 key_value_pair_t(const key_value_pair_t& o) : key(o.key), value(o.value) { }
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) {
    [all...]

Completed in 1650 milliseconds

1 2 3 4 5 6 7