/packages/apps/TV/src/com/android/tv/config/ |
RemoteConfig.java | 40 * Gets value as a string corresponding to the specified key. 42 String getString(String key); 45 * Gets value as a boolean corresponding to the specified key. 47 boolean getBoolean(String key);
|
/system/core/libcutils/include/cutils/ |
str_parms.h | 31 void str_parms_del(struct str_parms *str_parms, const char *key); 33 int str_parms_add_str(struct str_parms *str_parms, const char *key, 35 int str_parms_add_int(struct str_parms *str_parms, const char *key, int value); 37 int str_parms_add_float(struct str_parms *str_parms, const char *key, 40 // Returns non-zero if the str_parms contains the specified key. 41 int str_parms_has_key(struct str_parms *str_parms, const char *key); 43 // Gets value associated with the specified key (if present), placing it in the buffer 45 // If 'key' isn't in the parms, then return -ENOENT (-2) and leave 'out_val' untouched. 46 int str_parms_get_str(struct str_parms *str_parms, const char *key, 48 int str_parms_get_int(struct str_parms *str_parms, const char *key, [all...] |
/tools/tradefederation/core/src/com/android/tradefed/util/keystore/ |
StubKeyStoreClient.java | 29 public boolean containsKey(String key) { 34 public String fetchKey(String key) {
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
SortedListsTest.java | 37 void assertModelAgrees(List<Integer> list, Integer key, int answer, 41 if (list.contains(key)) { 42 assertEquals(list.indexOf(key), answer); 47 if (list.contains(key)) { 48 assertEquals(list.lastIndexOf(key), answer); 53 if (list.contains(key)) { 54 assertEquals(key, list.get(answer)); 59 if (list.contains(key)) { 60 assertEquals(list.lastIndexOf(key) + 1, answer); 65 if (list.contains(key)) { [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
SortedListsTest.java | 39 void assertModelAgrees(List<Integer> list, Integer key, int answer, 43 if (list.contains(key)) { 44 assertEquals(list.indexOf(key), answer); 49 if (list.contains(key)) { 50 assertEquals(list.lastIndexOf(key), answer); 55 if (list.contains(key)) { 56 assertEquals(key, list.get(answer)); 61 if (list.contains(key)) { 62 assertEquals(list.lastIndexOf(key) + 1, answer); 67 if (list.contains(key)) { [all...] |
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/ |
Camera2RequestSettingsSet.java | 23 import android.hardware.camera2.CaptureRequest.Key; 34 private final Map<Key<?>, Object> mDictionary; 70 * the template's selection for that {@code key}; the difference here is 75 * @param key Which setting to alter. 81 * @throws NullPointerException If {@code key} is {@code null}. 83 public <T> boolean set(Key<T> key, T value) { 84 if (key == null) { 85 throw new NullPointerException("Received a null key"); 88 Object currentValue = get(key); [all...] |
/tools/test/connectivity/acts/framework/acts/libs/config/ |
data_source.py | 40 def get_value(self, key): 43 Reads a value from the dictionary. Will throw a key error if the key 47 key: The key in the dictionary to read from. 50 The value stored at that key. 52 return self.dict[key] 54 def set_value(self, key, value): 58 key: The key to write to [all...] |
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
tfind.c | 18 char *key; member in struct:node_t 27 char *key = (char *)vkey; local 34 if ((r = (*compar)(key, (*rootp)->key)) == 0) /* T2: */ 35 return (*rootp); /* key found */
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
OutputPropertyUtils.java | 38 * Searches for the boolean property with the specified key in the property list. 39 * If the key is not found in this property list, the default property list, 44 * @param key the property key. 49 public static boolean getBooleanProperty(String key, Properties props) 52 String s = props.getProperty(key); 61 * Searches for the int property with the specified key in the property list. 62 * If the key is not found in this property list, the default property list, 67 * @param key the property key [all...] |
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/ |
net_configs.py | 44 def GetNetConfig(key): 45 """Returns the NetConfig object corresponding to the given |key|.""" 46 if key not in _NET_CONFIGS: 47 raise KeyError('No net config with key: %s' % key) 48 return _NET_CONFIGS[key]
|
/external/clang/test/CodeGen/ |
2007-02-04-AddrLValue.c | 6 char *key; member in struct:__anon14674
|
/external/clang/test/Misc/ |
caret-diags-scratch-buffer.c | 10 M(key);
|
/external/compiler-rt/test/lsan/TestCases/ |
use_tls_pthread_specific_static.cc | 17 pthread_key_t key; local 19 res = pthread_key_create(&key, NULL); 21 assert(key < PTHREAD_KEY_2NDLEVEL_SIZE); 23 res = pthread_setspecific(key, p);
|
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/ |
ConcurrentMap.java | 28 V putIfAbsent(K key, V value); 30 boolean remove(Object key, Object value); 32 V replace(K key, V value); 34 boolean replace(K key, V oldValue, V newValue);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
Extension.java | 20 protected Extension(char key) { 21 _key = key; 24 Extension(char key, String value) { 25 _key = key;
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/ |
Extension.java | 16 protected Extension(char key) { 17 _key = key; 20 Extension(char key, String value) { 21 _key = key;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
Extension.java | 16 protected Extension(char key) { 17 _key = key; 20 Extension(char key, String value) { 21 _key = key;
|
/external/iproute2/examples/bpf/ |
bpf_shared.c | 26 int key = 0, *val; local 28 val = map_lookup_elem(&map_sh, &key); 39 int key = 0, *val; local 41 val = map_lookup_elem(&map_sh, &key);
|
/external/libmojo/base/ |
path_service.h | 32 static bool Get(int key, FilePath* path); 47 static bool Override(int key, const FilePath& path); 58 static bool OverrideAndCreateIfNeeded(int key, 65 // returns false if it cannot provide a non-empty path for the given key. 89 static bool RemoveOverride(int key);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/ |
2-1.c | 10 * Upon key creation, the value NULL shall be associated with the new key in all active threads. 15 * 1. Create a key 28 pthread_key_t key; local 31 /* Verify that the value associated with "key" in a new thread is NULL */ 32 rc = pthread_getspecific(key); 38 if (pthread_key_create(&key, NULL) != 0) { 42 /* Verify that the value associated with "key" after it is newly created is 44 rc = pthread_getspecific(key);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_tex_sample.h | 44 lp_llvm_sampler_soa_create(const struct lp_sampler_static_state *key,
|
/external/v8/src/ |
identity-map.h | 38 RawEntry GetEntry(Object* key); 39 RawEntry FindEntry(Object* key); 48 RawEntry Lookup(Object* key); 49 RawEntry Insert(Object* key); 74 // Searches this map for the given key using the object's address 78 V* Get(Handle<Object> key) { return Get(*key); } 79 V* Get(Object* key) { return reinterpret_cast<V*>(GetEntry(key)); } 81 // Searches this map for the given key using the object's addres [all...] |
/external/volley/src/main/java/com/android/volley/toolbox/ |
NoCache.java | 30 public Entry get(String key) { 35 public void put(String key, Entry entry) { 39 public void invalidate(String key, boolean fullExpire) { 43 public void remove(String key) {
|
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_pla/include/ |
platform_lib_property_service.h | 38 int platform_lib_abstraction_property_get(const char *key, char *value, const char *default_value);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/support/ |
I.java | 21 String find(String key);
|