HomeSort by relevance Sort by last modified time
    Searched refs:key (Results 226 - 250 of 15685) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/command/
InvocationRecord.java 33 * This class also supports storing zero or more arbitrary mappings of <i>key</i> to value, where <i>key</i> is
35 * type-specific data by its <i>key</i>. The data stored in an {@link InvocationRecord} is CommandHandler-specific.
104 * Store the value for the specified key. If this object already contained a mapping
105 * for this key, the old value is replaced by the specified value. This method throws
108 * @param key - the key; must not be null
109 * @param value - the value to store for the specified key
110 * @throws AssertFailedException - if the key is null or this object has been locked.
112 public void set(String key, Object value) {
    [all...]
  /external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/command/
InvocationRecord.java 33 * This class also supports storing zero or more arbitrary mappings of <i>key</i> to value, where <i>key</i> is
35 * type-specific data by its <i>key</i>. The data stored in an {@link InvocationRecord} is CommandHandler-specific.
103 * Store the value for the specified key. If this object already contained a mapping
104 * for this key, the old value is replaced by the specified value. This method throws
107 * @param key - the key; must not be null
108 * @param value - the value to store for the specified key
110 * @throws AssertFailedException - if the key is null or this object has been locked.
112 public void set(String key, Object value) {
    [all...]
  /external/python/cpython2/Demo/cgi/
cgi2.py 17 for key in form.keys():
18 value = form[key].value
19 print "<p>", cgi.escape(key), ":", cgi.escape(value)
  /external/slf4j/slf4j-api/src/main/java/org/slf4j/spi/
MDCAdapter.java 40 * the <code>key</code> parameter into the current thread's context map.
41 * The <code>key</code> parameter cannot be null. The code>val</code> parameter
47 public void put(String key, String val);
50 * Get the context identified by the <code>key</code> parameter.
51 * The <code>key</code> parameter cannot be null.
53 * @return the string value identified by the <code>key</code> parameter.
55 public String get(String key);
58 * Remove the the context identified by the <code>key</code> parameter.
59 * The <code>key</code> parameter cannot be null.
63 * associated with <code>key</code>
    [all...]
  /external/slf4j/slf4j-ext/src/main/java/org/slf4j/ext/
MDCStrLookup.java 40 * @param key the key to be looked up, may be null
43 public String lookup(String key) {
44 if (key == null) {
47 return MDC.get(key);
  /frameworks/base/core/java/android/preference/
PreferenceDataStore.java 50 * @param key The name of the preference to modify.
54 default void putString(String key, @Nullable String value) {
63 * @param key The name of the preference to modify.
67 default void putStringSet(String key, @Nullable Set<String> values) {
76 * @param key The name of the preference to modify.
80 default void putInt(String key, int value) {
89 * @param key The name of the preference to modify.
93 default void putLong(String key, long value) {
102 * @param key The name of the preference to modify.
106 default void putFloat(String key, float value)
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
TestableDependency.java 41 public <T> void injectTestDependency(DependencyKey<T> key, T obj) {
42 mObjs.put(key, obj);
45 public <T> void injectTestDependency(Class<T> key, T obj) {
46 mObjs.put(key, obj);
50 protected <T> T createDependency(Object key) {
51 if (mObjs.containsKey(key)) return (T) mObjs.get(key);
52 mInstantiatedObjects.add(key);
53 return super.createDependency(key);
56 public <T> boolean hasInstantiatedDependency(Class<T> key) {
    [all...]
  /frameworks/support/preference/src/main/java/androidx/preference/
PreferenceDataStore.java 50 * @param key the name of the preference to modify
54 public void putString(String key, @Nullable String value) {
63 * @param key the name of the preference to modify
67 public void putStringSet(String key, @Nullable Set<String> values) {
76 * @param key the name of the preference to modify
80 public void putInt(String key, int value) {
89 * @param key the name of the preference to modify
93 public void putLong(String key, long value) {
102 * @param key the name of the preference to modify
106 public void putFloat(String key, float value)
    [all...]
  /libcore/ojluni/src/main/java/java/util/
Dictionary.java 31 * Every key and every value is an object. In any one <tt>Dictionary</tt>
32 * object, every key is associated with at most one value. Given a
33 * <tt>Dictionary</tt> and a key, the associated element can be looked up.
34 * Any non-<code>null</code> object can be used as a key and as a value.
100 * Returns the value to which the key is mapped in this dictionary.
102 * dictionary contains an entry for the specified key, the associated
105 * @return the value to which the key is mapped in this dictionary;
106 * @param key a key in this dictionary.
107 * <code>null</code> if the key is not mapped to any value i
    [all...]
  /libcore/support/src/test/java/tests/security/
CipherSymmetricCryptHelper.java 31 public void test(SecretKey key) throws Exception {
32 test(key, key);
  /packages/apps/Messaging/src/com/android/messaging/util/
BugleApplicationPrefs.java 36 protected void validateKey(String key) {
37 super.validateKey(key);
39 Assert.isFalse(key.startsWith(SHARED_PREFERENCES_PER_SUBSCRIPTION_PREFIX));
  /packages/apps/StorageManager/robotests/src/com/android/storagemanager/testing/
StorageManagerShadowSystemProperties.java 34 public static synchronized boolean getBoolean(String key, boolean def) {
35 if (sValues.containsKey(key)) {
36 String val = sValues.get(key);
43 return ShadowSystemProperties.getBoolean(key, def);
47 public static synchronized String get(String key) {
48 if (sValues.containsKey(key)) {
49 return sValues.get(key);
51 return ShadowSystemProperties.get(key);
54 public static synchronized void put(String key, String value) {
55 sValues.put(key, value)
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/util/keystore/
DryRunKeyStore.java 27 public boolean containsKey(String key) {
32 public String fetchKey(String key) {
39 * @param key the key for the option, will be ignored.
42 public String fetchKey(String key, String optionType) {
  /external/linux-kselftest/tools/testing/selftests/bpf/
test_lru_map.c 52 printf("key:%llu not found from map. %s(%d)\n",
57 printf("key:%llu value0:%llu != value1:%llu\n",
90 * Add key=1 (+1 key)
91 * Add key=2 (+1 key)
92 * Lookup Key=1
93 * Add Key=3
94 * => Key=2 will be removed by LRU
95 * Iterate map. Only found key=1 and key=
99 unsigned long long key, value[nr_cpus]; local
187 unsigned long long key, end_key, value[nr_cpus]; local
263 unsigned long long key, value[nr_cpus]; local
370 unsigned long long key, end_key, value[nr_cpus]; local
435 unsigned long long key, value[nr_cpus]; local
493 unsigned long long key, value[nr_cpus]; local
511 unsigned long long key, value[nr_cpus]; local
559 unsigned long long key, value[nr_cpus]; local
    [all...]
  /frameworks/native/libs/binder/
PersistableBundle.cpp 49 bool getValue(const android::String16& key, T* out, const map<android::String16, T>& map) {
50 const auto& it = map.find(key);
80 #define RETURN_IF_ENTRY_ERASED(map, key) \
82 size_t num_erased = (map).erase(key); \
153 size_t PersistableBundle::erase(const String16& key) {
154 RETURN_IF_ENTRY_ERASED(mBoolMap, key);
155 RETURN_IF_ENTRY_ERASED(mIntMap, key);
156 RETURN_IF_ENTRY_ERASED(mLongMap, key);
157 RETURN_IF_ENTRY_ERASED(mDoubleMap, key);
158 RETURN_IF_ENTRY_ERASED(mStringMap, key);
411 String16 key; local
    [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/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/collection/src/main/java/androidx/collection/
LruCache.java 73 * Returns the value for {@code key} if it exists in the cache or can be
78 public final V get(K key) {
79 if (key == null) {
80 throw new NullPointerException("key == null");
85 mapValue = map.get(key);
100 V createdValue = create(key);
107 mapValue = map.put(key, createdValue);
111 map.put(key, mapValue);
113 size += safeSizeOf(key, createdValue);
118 entryRemoved(false, key, createdValue, mapValue)
164 K key; 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/av/packages/MediaComponents/src/com/android/media/
MediaMetadata2Impl.java 120 public boolean containsKey_impl(String key) {
121 if (key == null) {
122 throw new IllegalArgumentException("key shouldn't be null");
124 return mBundle.containsKey(key);
128 public CharSequence getText_impl(@TextKey String key) {
129 if (key == null) {
130 throw new IllegalArgumentException("key shouldn't be null");
132 return mBundle.getCharSequence(key);
141 public String getString_impl(@TextKey String key) {
142 if (key == null)
    [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...]
  /libcore/ojluni/src/main/java/sun/nio/ch/
MembershipRegistry.java 57 for (MembershipKeyImpl key: keys) {
58 if (key.networkInterface().equals(interf)) {
60 // existing key or detect conflict
62 if (key.sourceAddress() == null)
63 return key;
67 // already have source-specific membership so return key
69 if (key.sourceAddress() == null)
71 if (source.equals(key.sourceAddress()))
72 return key;
81 * Add membership to the registry, returning a new membership key
    [all...]

Completed in 607 milliseconds

1 2 3 4 5 6 7 8 91011>>