Home
last modified time | relevance | path

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

12345

/development/cmds/monkey/
Dexample_script.txt22 key down dpad_down
23 key up dpad_down
24 key down dpad_down
25 key up dpad_down
26 key down dpad_center
27 key up dpad_center
29 key down b
30 key up b
31 key down i
32 key up i
[all …]
/development/tools/emulator/skins/QVGA/
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 …]
/development/tools/emulator/skins/WQVGA400/
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 …]
/development/tools/emulator/skins/WQVGA432/
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 …]
/development/tools/emulator/skins/WVGA854/
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 …]
/development/tools/emulator/skins/WVGA800/
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 …]
/development/tools/emulator/skins/HVGA/
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 …]
/development/testrunner/
Dam_instrument_parser.py86 key = ''
94 key = re_result.search(line).group(1).strip(string.whitespace)
95 if key.startswith('performance.'):
96 key = key[len('performance.'):]
99 result_dict[key] = float(val)
101 result_dict[key] = val
103 result_dict[key] = val
106 key = 'code'
108 result_dict[key] = val
111 key = 'INSTRUMENTATION_ABORTED'
[all …]
/development/vndk/tools/header-checker/src/repr/json/
Dconverter.cpp41 void JsonObject::Set(const std::string &key, bool value) { in Set() argument
42 SetOmissible(key, value, false); in Set()
46 void JsonObject::Set(const std::string &key, uint64_t value) { in Set() argument
47 SetOmissible<Json::UInt64>(key, value, 0); in Set()
51 void JsonObject::Set(const std::string &key, int64_t value) { in Set() argument
52 SetOmissible<Json::Int64>(key, value, 0); in Set()
56 void JsonObject::Set(const std::string &key, const std::string &value) { in Set() argument
57 SetOmissible<const std::string &>(key, value, ""); in Set()
61 void JsonObject::Set(const std::string &key, const JsonArray &value) { in Set() argument
62 SetOmissible(key, value, json_empty_array); in Set()
Dconverter.h46 void Set(const std::string &key, bool value);
49 void Set(const std::string &key, uint64_t value);
52 void Set(const std::string &key, int64_t value);
55 void Set(const std::string &key, const std::string &value);
58 void Set(const std::string &key, const JsonArray &value);
62 inline void SetOmissible(const std::string &key, T value, T omissible_value) { in SetOmissible() argument
64 (*this)[key] = value; in SetOmissible()
66 removeMember(key); in SetOmissible()
Dir_dumper.cpp287 std::string key; in AddLinkableMessageIR() local
292 key = "record_types"; in AddLinkableMessageIR()
296 key = "enum_types"; in AddLinkableMessageIR()
300 key = "pointer_types"; in AddLinkableMessageIR()
304 key = "qualified_types"; in AddLinkableMessageIR()
309 key = "array_types"; in AddLinkableMessageIR()
313 key = "lvalue_reference_types"; in AddLinkableMessageIR()
318 key = "rvalue_reference_types"; in AddLinkableMessageIR()
323 key = "builtin_types"; in AddLinkableMessageIR()
327 key = "function_types"; in AddLinkableMessageIR()
[all …]
Dir_reader.h41 bool GetBool(const std::string &key) const;
44 int64_t GetInt(const std::string &key) const;
47 uint64_t GetUint(const std::string &key) const;
50 std::string GetString(const std::string &key) const;
53 JsonObjectRef GetObject(const std::string &key) const;
56 JsonArrayRef<JsonObjectRef> GetObjects(const std::string &key) const;
58 JsonArrayRef<std::string> GetStrings(const std::string &key) const;
63 const Json::Value &Get(const std::string &key,
/development/scripts/
Dcompare-installed-size.py82 for key in bin_sizes[idx]:
83 output.write("%s, %d\n" % (key, bin_sizes[idx][key]))
99 for key in file_sizes:
101 (key, file_sizes[key][0], file_sizes[key][1],
102 file_sizes[key][2],
103 int(file_sizes[key][2]) - int(file_sizes[key][1])))
/development/tools/repo_diff/service/repodiff/constants/
Dconfig.go7 func GetConfigVar(key string) string {
9 key += "_PROD"
11 key += "_DEV"
15 return os.Getenv(key)
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DDiskLruCache.java374 String key = parts[1]; in readJournalLine() local
376 lruEntries.remove(key); in readJournalLine()
380 Entry entry = lruEntries.get(key); in readJournalLine()
382 entry = new Entry(key); in readJournalLine()
383 lruEntries.put(key, entry); in readJournalLine()
444 writer.write(DIRTY + ' ' + entry.key + '\n'); in rebuildJournal()
446 writer.write(CLEAN + ' ' + entry.key + entry.getLengths() + '\n'); in rebuildJournal()
473 public synchronized Snapshot get(String key) throws IOException { in get() argument
475 validateKey(key); in get()
476 Entry entry = lruEntries.get(key); in get()
[all …]
/development/vndk/tools/elfcheck/
Dfix_android_mk_prebuilt.py40 key, value = var.split('=', 1)
41 key = key.strip()
43 variables[key] = value
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DLatinKeyboard.java67 Key key = new LatinKey(res, parent, x, y, parser); in createKeyFromXml() local
68 if (key.codes[0] == 10) { in createKeyFromXml()
69 mEnterKey = key; in createKeyFromXml()
70 } else if (key.codes[0] == ' ') { in createKeyFromXml()
71 mSpaceKey = key; in createKeyFromXml()
72 } else if (key.codes[0] == Keyboard.KEYCODE_MODE_CHANGE) { in createKeyFromXml()
73 mModeChangeKey = key; in createKeyFromXml()
75 } else if (key.codes[0] == LatinKeyboardView.KEYCODE_LANGUAGE_SWITCH) { in createKeyFromXml()
76 mLanguageSwitchKey = key; in createKeyFromXml()
79 return key; in createKeyFromXml()
/development/samples/InlineFillService/src/com/example/android/inlinefillservice/
DHelper.java84 String key = fields.keyAt(i); in getAutofillableFields() local
87 if (key.equals(value.toString())) { in getAutofillableFields()
90 result.put(key, fields.valueAt(i)); in getAutofillableFields()
104 final String key; in addAutofillableFields() local
106 key = node.getHint().toLowerCase(); in addAutofillableFields()
108 key = node.getAutofillHints()[0].toLowerCase(); in addAutofillableFields()
110 key = node.getAutofillId().toString(); in addAutofillableFields()
112 fields.put(key, node.getAutofillId()); in addAutofillableFields()
/development/vendor_snapshot/
Dupdate.py48 for key in prop:
49 val = prop[key]
57 bp += ind + key + ": "
116 for key in {'ExportedDirs', 'ExportedSystemDirs'}:
117 if key in prop:
118 prop[key] = remove_invalid_dirs(prop[key], bp_dir, module_name)
120 for key in prop:
121 if key in JSON_TO_BP:
122 ret[JSON_TO_BP[key]] = prop[key]
125 'Unknown prop "%s" of module "%s"' % (key, module_name))
/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/
DProvisioningValuesLoader.java126 String key = line.substring(0, position); in loadFromFile() local
128 values.put(key, value); in loadFromFile()
129 Log.d(TAG, key + "=" + value); in loadFromFile()
142 for (String key : keys) { in gatherAdminExtras()
143 if (key.startsWith("android.app.extra")) { in gatherAdminExtras()
146 props.put(key, values.get(key)); in gatherAdminExtras()
147 values.remove(key); in gatherAdminExtras()
187 private static <Key, Value> void putIfMissing(HashMap<Key, Value> map, Key key, Value value) { in putIfMissing() argument
188 if (!map.containsKey(key)) { in putIfMissing()
189 map.put(key, value); in putIfMissing()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DAppRestrictionEnforcerFragment.java208 String key = (String) v.getTag(); in onClick() local
209 removeItem(key); in onClick()
216 public void onItemAdded(String key, String value) { in onItemAdded() argument
217 key = TextUtils.replace(key, in onItemAdded()
230 items.put(key, value); in onItemAdded()
231 insertItemRow(LayoutInflater.from(getActivity()), key, value); in onItemAdded() local
247 String key = restriction.getKey(); in loadRestrictions() local
248 if (RESTRICTION_KEY_SAY_HELLO.equals(key)) { in loadRestrictions()
251 } else if (RESTRICTION_KEY_MESSAGE.equals(key)) { in loadRestrictions()
254 } else if (RESTRICTION_KEY_NUMBER.equals(key)) { in loadRestrictions()
[all …]
DItemAddFragment.java37 void onItemAdded(String key, String value); in onItemAdded() argument
67 mEditKey = (EditText) view.findViewById(R.id.key); in onViewCreated()
84 String key = mEditKey.getText().toString(); in addItem() local
85 if (TextUtils.isEmpty(key)) { in addItem()
95 mListener.onItemAdded(key, value); in addItem()
/development/vndk/tools/elfcheck/elfcheck/
Drewriter.py114 for key, value in variables.items():
115 self._add_var(key, value)
198 def _add_var(self, key, value, locs=tuple(), is_append=False): argument
201 if is_append and key in self._variables:
202 self._variables[key].append(value, locs)
204 self._variables[key] = Variable(value, locs)
209 key = match.group(1)
211 return self._variables[key].value
225 self._variables = {key: value
226 for key, value in self._variables.items()
[all …]
/development/tools/repo_diff/service/repodiff/tools/
Denv_variable_load.py20 for key, value in sorted(json.loads(serialized_env_vars).items()):
21 if key in existing_contents:
23 f.write("export %s=\"%s\"\n" % (key, value))
/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/util/
DUtils.java52 for (String key : mStatusTracker.keySet()) { in printStatus()
53 sbStatus.insert(0,key + ": " + mStatusTracker.getStatus(key) + "\n"); in printStatus()

12345