Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 102) sorted by relevance

12345

/device/amlogic/yukawa/input/
DGeneric.kl16 # Generic key layout file for full alphabetic US English PC style external keyboards.
19 # Do not edit the generic key layout to support a specific keyboard; instead, create
20 # a new key layout file with the required keyboard configuration.
23 key 1 ESCAPE
24 key 2 1
25 key 3 2
26 key 4 3
27 key 5 4
28 key 6 5
29 key 7 6
[all …]
/device/google/atv/
DGeneric.kl16 # Generic key layout file for full alphabetic US English PC style external keyboards.
19 # Do not edit the generic key layout to support a specific keyboard; instead, create
20 # a new key layout file with the required keyboard configuration.
23 key 1 ESCAPE
24 key 2 1
25 key 3 2
26 key 4 3
27 key 5 4
28 key 6 5
29 key 7 6
[all …]
/device/generic/goldfish/input/
Dqwerty.kl22 key 399 GRAVE
23 key 2 1
24 key 3 2
25 key 4 3
26 key 5 4
27 key 6 5
28 key 7 6
29 key 8 7
30 key 9 8
31 key 10 9
[all …]
/device/linaro/dragonboard/
Dcommon.kl16 # Generic key layout file for full alphabetic US English PC style external keyboards.
19 # Do not edit the generic key layout to support a specific keyboard; instead, create
20 # a new key layout file with the required keyboard configuration.
23 key 399 GRAVE
24 key 1 BACK
25 key 2 1
26 key 3 2
27 key 4 3
28 key 5 4
29 key 6 5
[all …]
/device/linaro/hikey/
Dcommon.kl16 # Generic key layout file for full alphabetic US English PC style external keyboards.
19 # Do not edit the generic key layout to support a specific keyboard; instead, create
20 # a new key layout file with the required keyboard configuration.
23 key 399 GRAVE
24 key 1 BACK
25 key 2 1
26 key 3 2
27 key 4 3
28 key 5 4
29 key 6 5
[all …]
/device/sample/skins/WVGAMedDpi/
Dlayout111 image key.png
116 image key.png
121 image key.png
126 image key.png
131 image key.png
136 image key.png
141 image key.png
146 image key.png
151 image key.png
156 image key.png
[all …]
/device/google/bonito/json-c/
Djson_object.h70 char *key; member
275 extern void json_object_object_add(struct json_object* obj, const char *key,
296 const char *key));
317 const char *key,
329 extern void json_object_object_del(struct json_object* obj, const char *key);
346 # define json_object_object_foreach(obj,key,val) \ argument
347 char *key; \
349 for(struct lh_entry *entry ## key = json_object_get_object(obj)->head, *entry_next ## key = NULL; \
350 ({ if(entry ## key) { \
351 key = (char*)entry ## key->k; \
[all …]
/device/google/coral/json-c/
Djson_object.h70 char *key; member
275 extern void json_object_object_add(struct json_object* obj, const char *key,
296 const char *key));
317 const char *key,
329 extern void json_object_object_del(struct json_object* obj, const char *key);
346 # define json_object_object_foreach(obj,key,val) \ argument
347 char *key; \
349 for(struct lh_entry *entry ## key = json_object_get_object(obj)->head, *entry_next ## key = NULL; \
350 ({ if(entry ## key) { \
351 key = (char*)entry ## key->k; \
[all …]
/device/google/crosshatch/json-c/
Djson_object.h70 char *key; member
275 extern void json_object_object_add(struct json_object* obj, const char *key,
296 const char *key));
317 const char *key,
329 extern void json_object_object_del(struct json_object* obj, const char *key);
346 # define json_object_object_foreach(obj,key,val) \ argument
347 char *key; \
349 for(struct lh_entry *entry ## key = json_object_get_object(obj)->head, *entry_next ## key = NULL; \
350 ({ if(entry ## key) { \
351 key = (char*)entry ## key->k; \
[all …]
/device/google/contexthub/util/common/
DJSONObject.h109 if (!getValue(key, &value)) { \
113 bool getFieldType(KEY key, JSONValue::FieldType *type) const { in getFieldType()
119 bool getInt32(KEY key, int32_t *out) const { in getInt32()
124 bool getFloat(KEY key, float *out) const { in getFloat()
129 bool getString(KEY key, AString *out) const { in getString()
134 bool getBoolean(KEY key, bool *out) const { in getBoolean()
139 bool getObject(KEY key, sp<JSONObject> *obj) const { in getObject()
144 bool getArray(KEY key, sp<JSONArray> *obj) const { in getArray()
154 virtual bool getValue(KEY key, JSONValue *value) const = 0;
164 void setValue(const char *key, const JSONValue &value);
[all …]
/device/linaro/dragonboard/qcom/qrtr/src/
Dmap.c64 static int map_hash(struct map *map, unsigned int key) in map_hash() argument
72 idx = key % map->size; in map_hash()
80 if (e->item->key == key) in map_hash()
91 int map_reput(struct map *map, unsigned int key, struct map_item *value, in map_reput() argument
96 while ((rc = map_hash(map, key)) < 0) { in map_reput()
109 map->data[rc].item->key = key; in map_reput()
114 int map_put(struct map *map, unsigned int key, struct map_item *value) in map_put() argument
116 return map_reput(map, key, value, NULL); in map_put()
139 rc = map_put(map, oldt[i].item->key, oldt[i].item); in map_rehash()
149 static struct map_entry *map_find(const struct map *map, unsigned int key) in map_find() argument
[all …]
Dmap.h5 unsigned int key; member
20 int map_put(struct map *map, unsigned int key, struct map_item *v);
21 int map_reput(struct map *map, unsigned int key, struct map_item *v,
23 int map_contains(const struct map *map, unsigned int key);
24 struct map_item *map_get(const struct map *map, unsigned int key);
25 int map_remove(struct map *map, unsigned int key);
/device/generic/goldfish-opengl/android-emu/android/base/threads/
DAndroidThreadStore.cpp92 void unregisterKey(int key) { in unregisterKey() argument
93 D("key=%d\n", key); in unregisterKey()
94 if (key < 0 || key >= kMaxTlsSlots) { in unregisterKey()
103 mDestructors[key] = NULL; in unregisterKey()
109 void* getValue(int key) const { in getValue()
110 D("Entering key=%d\n", key); in getValue()
111 if (key < 0 || key >= kMaxTlsSlots) { in getValue()
117 void* ret = (*array)[key]; in getValue()
123 void setValue(int key, void* value) { in setValue() argument
124 D("Entering key=%d\n",key); in setValue()
[all …]
/device/google/contexthub/util/nanotool/
Dandroidcontexthub.cpp66 static bool CopyInt32Array(const char *key, in CopyInt32Array() argument
69 if (json->getArray(key, &array)) { in CopyInt32Array()
81 static bool CopyFloatArray(const char *key, in CopyFloatArray() argument
84 if (json->getArray(key, &array)) { in CopyFloatArray()
96 static bool GetCalibrationBytes(const char *key, SensorType sensor_type, in GetCalibrationBytes() argument
108 success = CopyInt32Array(key, json, bytes); in GetCalibrationBytes()
112 success = CopyFloatArray(key, json, bytes); in GetCalibrationBytes()
118 success = json->getFloat(key, &value); in GetCalibrationBytes()
128 success = CopyInt32Array(key, json, bytes); in GetCalibrationBytes()
131 success = json->getInt32(key, &value); in GetCalibrationBytes()
[all …]
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/certs/
Dcreate_certs.sh6 openssl genrsa -des3 -passout pass:x -out server.pass.key 2048
7 openssl rsa -passin pass:x -in server.pass.key -out server.key
8 rm -f server.pass.key
12 -new -key server.key -out server.csr
14 openssl x509 -req -sha256 -days 365 -in server.csr -signkey server.key -out server.crt
32 openssl pkcs12 -export -inkey server.key -in server.crt -name localhost -out server.p12
/device/google/cuttlefish/host/frontend/gcastv2/https/certs/
Dcreate_certs.sh6 openssl genrsa -des3 -passout pass:x -out server.pass.key 2048
7 openssl rsa -passin pass:x -in server.pass.key -out server.key
8 rm -f server.pass.key
12 -new -key server.key -out server.csr
14 openssl x509 -req -sha256 -days 365 -in server.csr -signkey server.key -out server.crt
32 openssl pkcs12 -export -inkey server.key -in server.crt -name localhost -out server.p12
/device/google/cuttlefish/tools/
Dmake_manifest.sh72 key=$1
74 grep -q "^${key}=" manifest.txt && \
75 sed -i "s/^${key}=.*/${key}=${value}/" manifest.txt || \
76 echo "${key}=${value}" >> manifest.txt
85 key=$1
91 if [ "$key" == "UbootEnv" ] && [ "${filetype}" == "application/gzip" ]; then
94 if [ "$key" != "UbootEnv" ] && [ "${filetype}" != "application/gzip" ]; then
105 addKVToManifest "${key}" "${filename}"
/device/generic/goldfish/network/wifi_forwarder/
Dcache.h43 IterPair(const Key& key, const Value& value) in IterPair() argument
44 : first(key), second(value) { in IterPair()
81 IterPair(const Key& key, Value& value) : first(key), second(value) { } in IterPair() argument
122 insert_return_type insert_or_assign(const key_type& key, M&& value) { in insert_or_assign() argument
124 mMap.insert_or_assign(key, TimedValue(mCurrentTime, in insert_or_assign()
129 mapped_type& operator[](const key_type& key) {
130 TimedValue& v = mMap[key];
135 iterator find(const key_type& key) { in find() argument
136 return iterator(mMap.find(key)); in find()
139 const_iterator find(const key_type& key) const { in find() argument
[all …]
/device/linaro/dragonboard/qcom/pd-mapper/
Dassoc.h44 void *assoc_get(struct assoc *assoc, const char *key);
45 void assoc_set(struct assoc *assoc, const char *key, void *value);
49 #define assoc_foreach(key, value, assoc, iter) \ argument
50 for ((iter) = 0, (key) = assoc_next((assoc), (value), &(iter)); \
51 (key); \
52 (key) = assoc_next((assoc), (value), &(iter)))
Dassoc.c66 void *assoc_get(struct assoc *assoc, const char *key) in assoc_get() argument
70 hash = assoc_hash(key) % assoc->size; in assoc_get()
72 if (!strcmp(assoc->keys[hash], key)) in assoc_get()
81 static void _assoc_set(struct assoc *assoc, const char *key, void *value) in _assoc_set() argument
107 hash = assoc_hash(key) % assoc->size; in _assoc_set()
109 if (!strcmp(assoc->keys[hash], key)) { in _assoc_set()
117 assoc->keys[hash] = key; in _assoc_set()
122 void assoc_set(struct assoc *assoc, const char *key, void *value) in assoc_set() argument
124 _assoc_set(assoc, strdup(key), value); in assoc_set()
Djson.c270 struct json_value key; in json_parse_property() local
276 ret = json_parse_string(&key); in json_parse_property()
280 value->key = key.u.string; in json_parse_property()
360 struct json_value *json_get_child(struct json_value *object, const char *key) in json_get_child() argument
368 if (!strcmp(it->key, key)) in json_get_child()
389 int json_get_number(struct json_value *object, const char *key, double *number) in json_get_number() argument
397 if (!strcmp(it->key, key)) { in json_get_number()
409 const char *json_get_string(struct json_value *object, const char *key) in json_get_string() argument
417 if (!strcmp(it->key, key)) { in json_get_string()
433 free((char *)value->key); in json_free()
/device/google/cuttlefish/host/commands/secure_env/
Dtpm_keymaster_context.cpp146 keymaster::UniquePtr<keymaster::Key> key; in UpgradeKeyBlob() local
147 auto error = ParseKeyBlob(blob_to_upgrade, upgrade_params, &key); in UpgradeKeyBlob()
159 int key_os_version_pos = key->sw_enforced().find(keymaster::TAG_OS_VERSION); in UpgradeKeyBlob()
161 uint32_t key_os_version = key->sw_enforced()[key_os_version_pos].integer; in UpgradeKeyBlob()
163 key->sw_enforced()[key_os_version_pos].integer = os_version_; in UpgradeKeyBlob()
172 &key->sw_enforced(), in UpgradeKeyBlob()
178 &key->sw_enforced(), in UpgradeKeyBlob()
192 combined_authorization.Union(key->hw_enforced()); in UpgradeKeyBlob()
193 combined_authorization.Union(key->sw_enforced()); in UpgradeKeyBlob()
206 key->key_material(), in UpgradeKeyBlob()
[all …]
/device/google/crosshatch/
Duinput-fpc.kl1 key 106 SYSTEM_NAVIGATION_LEFT
2 key 108 SYSTEM_NAVIGATION_DOWN
3 key 103 SYSTEM_NAVIGATION_UP
4 key 105 SYSTEM_NAVIGATION_RIGHT
/device/google/wahoo/
Duinput-fpc.kl1 key 106 SYSTEM_NAVIGATION_LEFT
2 key 108 SYSTEM_NAVIGATION_DOWN
3 key 103 SYSTEM_NAVIGATION_UP
4 key 105 SYSTEM_NAVIGATION_RIGHT
/device/google/bonito/
Duinput-fpc.kl1 key 106 SYSTEM_NAVIGATION_LEFT
2 key 108 SYSTEM_NAVIGATION_DOWN
3 key 103 SYSTEM_NAVIGATION_UP
4 key 105 SYSTEM_NAVIGATION_RIGHT

12345