HomeSort by relevance Sort by last modified time
    Searched refs:key (Results 201 - 225 of 11773) sorted by null

1 2 3 4 5 6 7 891011>>

  /system/connectivity/shill/test-scripts/
list-profiles 26 for key in obj_properties.keys():
28 (key, flimflam.convert_dbus_value(obj_properties[key], 4))
list-services 12 for key in properties.keys():
14 (key, flimflam.convert_dbus_value(properties[key], 4))
  /frameworks/native/libs/binder/
PersistableBundle.cpp 58 bool getValue(const android::String16& key, T* out, const std::map<android::String16, T>& map) {
59 const auto& it = map.find(key);
79 #define RETURN_IF_ENTRY_ERASED(map, key) \
81 size_t num_erased = map.erase(key); \
152 size_t PersistableBundle::erase(const String16& key) {
153 RETURN_IF_ENTRY_ERASED(mBoolMap, key);
154 RETURN_IF_ENTRY_ERASED(mIntMap, key);
155 RETURN_IF_ENTRY_ERASED(mLongMap, key);
156 RETURN_IF_ENTRY_ERASED(mDoubleMap, key);
157 RETURN_IF_ENTRY_ERASED(mStringMap, key);
367 String16 key; local
    [all...]
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLRSAKeyFactory.java 21 import java.security.Key;
72 protected <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec)
74 if (key == null) {
75 throw new InvalidKeySpecException("key == null");
82 if (!"RSA".equals(key.getAlgorithm())) {
83 throw new InvalidKeySpecException("Key must be a RSA key");
86 if (key instanceof RSAPublicKey && RSAPublicKeySpec.class.isAssignableFrom(keySpec)) {
87 RSAPublicKey rsaKey = (RSAPublicKey) key;
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_sf.c 51 struct brw_sf_prog_key *key )
67 c.key = *key;
69 if (c.key.do_point_coord) {
88 switch (key->primitive) {
99 if (key->do_point_sprite)
126 &c.key, sizeof(c.key),
139 struct brw_sf_prog_key key; local
143 memset(&key, 0, sizeof(key))
    [all...]
  /frameworks/base/core/java/android/util/
LruCache.java 41 * protected int sizeOf(String key, Bitmap value) {
49 * if (cache.get(key) == null) {
50 * cache.put(key, value);
54 * <p>This class does not allow null to be used as a key or value. A return
56 * unambiguous: the key was not in the cache.
105 * Returns the value for {@code key} if it exists in the cache or can be
110 public final V get(K key) {
111 if (key == null) {
112 throw new NullPointerException("key == null");
117 mapValue = map.get(key);
196 K key; local
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/android/util/
LruCache.java 45 * protected int sizeOf(String key, Bitmap value) {
53 * if (cache.get(key) == null) {
54 * cache.put(key, value);
58 * <p>This class does not allow null to be used as a key or value. A return
60 * unambiguous: the key was not in the cache.
110 * Returns the value for {@code key} if it exists in the cache or can be
115 public final V get(K key) {
116 if (key == null) {
117 throw new NullPointerException("key == null");
122 mapValue = map.get(key);
198 K key; local
    [all...]
  /frameworks/support/compat/java/android/support/v4/util/
LruCache.java 72 * Returns the value for {@code key} if it exists in the cache or can be
77 public final V get(K key) {
78 if (key == null) {
79 throw new NullPointerException("key == null");
84 mapValue = map.get(key);
99 V createdValue = create(key);
106 mapValue = map.put(key, createdValue);
110 map.put(key, mapValue);
112 size += safeSizeOf(key, createdValue);
117 entryRemoved(false, key, createdValue, mapValue)
163 K key; local
    [all...]
  /packages/apps/Settings/src/com/android/settings/
SharedPreferencesLogger.java 48 public String getString(String key, @Nullable String defValue) {
53 public Set<String> getStringSet(String key, @Nullable Set<String> defValues) {
58 public int getInt(String key, int defValue) {
63 public long getLong(String key, long defValue) {
68 public float getFloat(String key, float defValue) {
73 public boolean getBoolean(String key, boolean defValue) {
78 public boolean contains(String key) {
97 private void logValue(String key, String value) {
98 MetricsLogger.count(mContext, mTag + "/" + key + "|" + value, 1);
101 private void logPackageName(String key, String value)
114 String key = params[0]; local
    [all...]
  /frameworks/base/core/java/android/content/
ContentValues.java 92 * @param key the name of the value to put
95 public void put(String key, String value) {
96 mValues.put(key, value);
111 * @param key the name of the value to put
114 public void put(String key, Byte value) {
115 mValues.put(key, value);
121 * @param key the name of the value to put
124 public void put(String key, Short value) {
125 mValues.put(key, value);
131 * @param key the name of the value to pu
    [all...]
  /frameworks/base/media/java/android/media/
MediaMetadataEditor.java 46 * The metadata key for the content artwork / album art.
52 * The metadata key for the content's average rating, not the user's rating.
53 * The value associated with this key is a {@link Rating} instance.
59 * The metadata key for the content's user rating.
60 * The value associated with this key is a {@link Rating} instance.
61 * This key can be flagged as "editable" (with {@link #addEditableKey(int)}) to enable
69 * Editable key mask
135 * Flags the given key as being editable.
139 * @param key the type of metadata that can be edited. The supported key i
    [all...]
  /system/update_engine/common/
prefs.cc 32 bool PrefsBase::GetString(const string& key, string* value) const {
33 return storage_->GetKey(key, value);
36 bool PrefsBase::SetString(const string& key, const string& value) {
37 TEST_AND_RETURN_FALSE(storage_->SetKey(key, value));
38 const auto observers_for_key = observers_.find(key);
42 observer->OnPrefSet(key);
47 bool PrefsBase::GetInt64(const string& key, int64_t* value) const {
49 if (!GetString(key, &str_value))
56 bool PrefsBase::SetInt64(const string& key, const int64_t value) {
57 return SetString(key, base::Int64ToString(value))
    [all...]
  /frameworks/av/drm/libdrmframework/plugins/common/util/include/
SessionMap.h 45 * @param key - key or Session ID
48 * @return boolean result of adding value. returns false if key is already exist.
50 bool addValue(int key, TValue value) {
52 if (!isCreatedInternal(key)) {
53 map.add(key, value);
60 * returns the session object by the key
62 * @param key - key or Session ID
64 * @return session object as per the key
    [all...]
  /frameworks/base/tools/split-select/
TestRules.cpp 27 const Rule EqRule(Rule::Key key, long value) {
30 rule.key = key;
35 const Rule GtRule(Rule::Key key, long value) {
38 rule.key = key;
43 const Rule LtRule(Rule::Key key, long value)
    [all...]
  /frameworks/base/core/java/android/os/
Bundle.java 122 * Make a Bundle for a single key/value pair.
126 public static Bundle forPair(String key, String value) {
128 b.putString(key, value);
208 * Removes any entry with the given key from the mapping of this Bundle.
210 * @param key a String key
212 public void remove(String key) {
213 super.remove(key);
359 * any existing value for the given key.
361 * @param key a String, or nul
    [all...]
  /external/avahi/avahi-utils/
stdb.c 67 datum key, data; local
80 key.dptr = k;
81 key.dsize = strlen(k);
83 data = gdbm_fetch(gdbm_file, key);
86 data = dbm_fetch(dbm_file, key);
96 key.dptr = k;
97 key.dsize = strlen(k);
99 data = gdbm_fetch(gdbm_file, key);
102 data = dbm_fetch(dbm_file, key);
110 key.dptr = k
169 datum key; local
    [all...]
  /external/google-breakpad/src/common/
simple_string_dictionary.h 52 // The template parameters control the amount of storage used for the key,
65 // An Entry object is a single entry in the map. If the key is a 0-length
68 char key[KeySize]; member in struct:google_breakpad::NonAllocatingMap::Entry
72 return key[0] != '\0';
131 // Returns the number of active key/value pairs. The upper limit for this
143 // Given |key|, returns its corresponding |value|. |key| must not be NULL. If
144 // the key is not found, NULL is returned.
145 const char* GetValueForKey(const char* key) const {
146 assert(key);
    [all...]
  /packages/services/Car/service/src/com/android/car/
CarInfoService.java 61 public int[] getInt(String key) {
62 assertType(key, Integer.class);
63 Object o = findFromCache(key);
67 int[] v = mInfoHal.getInt(key);
69 storeToCache(key, v);
75 public float[] getFloat(String key) {
76 assertType(key, Float.class);
77 Object o = findFromCache(key);
81 float[] v = mInfoHal.getFloat(key);
83 storeToCache(key, v)
    [all...]
  /device/google/dragon/audio/hal/
dictionary.h 36 association is identified by a unique string key. Looking up values
45 char ** key ; /** List of string keys */ member in struct:_dictionary_
56 @brief Compute the hash key for a string.
57 @param key Character string to use for key.
62 The key is stored anyway in the struct so that collision can be avoided
63 by comparing the key itself in last resort.
66 unsigned dictionary_hash(const char * key);
96 @param key Key to look for in the dictionary
    [all...]
  /external/avahi/avahi-core/
querier.h 27 /** Add querier for the specified key to the specified interface */
28 void avahi_querier_add(AvahiInterface *i, AvahiKey *key, struct timeval *ret_ctime);
30 /** Remove a querier for the specified key from the specified interface */
31 void avahi_querier_remove(AvahiInterface *i, AvahiKey *key);
33 /** Add a querier for the specified key on all interfaces that mach */
34 void avahi_querier_add_for_all(AvahiServer *s, AvahiIfIndex idx, AvahiProtocol protocol, AvahiKey *key, struct timeval *ret_ctime);
36 /** Remove a querier for the specified key on all interfaces that mach */
37 void avahi_querier_remove_for_all(AvahiServer *s, AvahiIfIndex idx, AvahiProtocol protocol, AvahiKey *key);
45 /** Return 1 if there is a querier for the specified key on the specified interface */
46 int avahi_querier_shall_refresh_cache(AvahiInterface *i, AvahiKey *key);
    [all...]
  /external/chromium-trace/catapult/dashboard/dashboard/models/
internal_only_model_test.py 38 key = InternalOnlyModelExample(internal_only=True).put()
40 self.assertEqual(key, key.get().key)
43 key = InternalOnlyModelExample(internal_only=True).put()
46 key.get()
49 key = InternalOnlyModelExample(internal_only=False).put()
51 self.assertEqual(key, key.get().key)
    [all...]
  /external/clang/test/PCH/
objc_container.h 9 - (id)objectForKeyedSubscript:(id)key;
10 - (void)setObject:(id)object forKeyedSubscript:(id)key;
20 id key; local
22 oldObject = dictionary[key];
24 dictionary[key] = newObject;
  /external/dhcpcd-6.8.2/test/
test_hmac_md5.c 52 uint8_t key[16]; local
57 key[i] = 0x0b;
58 hmac_md5(text, 8, key, 16, hmac);
68 const uint8_t key[] = "Jefe"; local
71 hmac_md5(text, 28, key, 4, hmac);
81 uint8_t key[16]; local
88 key[i] = 0xaa;
89 hmac_md5(text, 50, key, 16, hmac);
99 uint8_t key[25]; local
106 key[i] = (uint8_t)(i + 1)
117 uint8_t key[16]; local
133 uint8_t key[80]; local
149 uint8_t key[80]; local
    [all...]
  /external/guava/guava/src/com/google/common/collect/
ImmutableEntry.java 31 final K key; field in class:ImmutableEntry
34 ImmutableEntry(@Nullable K key, @Nullable V value) {
35 this.key = key;
40 return key;
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
IntHashtable.java 24 public void put(int key, int value) {
26 table.remove(new Integer(key));
28 table.put(new Integer(key), new Integer(value));
32 public int get(int key) {
33 Integer value = table.get(new Integer(key));

Completed in 602 milliseconds

1 2 3 4 5 6 7 891011>>