Home
last modified time | relevance | path

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

1234

/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/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/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/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/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/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/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/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()
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 …]
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_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,
Dir_reader.cpp61 JsonObjectRef::Get(const std::string &key, const Json::Value &default_value, in Get() argument
63 if (!object_.isMember(key)) { in Get()
66 const Json::Value &value = object_[key]; in Get()
74 bool JsonObjectRef::GetBool(const std::string &key) const { in GetBool()
75 return Get(key, json_false, &Json::Value::isBool).asBool(); in GetBool()
78 int64_t JsonObjectRef::GetInt(const std::string &key) const { in GetInt()
79 return Get(key, json_0, &Json::Value::isIntegral).asInt64(); in GetInt()
82 uint64_t JsonObjectRef::GetUint(const std::string &key) const { in GetUint()
83 return Get(key, json_0, &Json::Value::isIntegral).asUInt64(); in GetUint()
86 std::string JsonObjectRef::GetString(const std::string &key) const { in GetString()
[all …]
/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/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 …]
/development/vndk/tools/header-checker/src/repr/
Dir_representation.cpp111 const std::string &key = GetODRListMapKey(&(it->second)); in AddRecordType() local
112 AddToODRListMap(key, &(it->second), compilation_unit_path_); in AddRecordType()
122 const std::string &key = GetODRListMapKey(&(it->second)); in AddFunctionType() local
123 AddToODRListMap(key, &(it->second), compilation_unit_path_); in AddFunctionType()
133 const std::string &key = GetODRListMapKey(&(it->second)); in AddEnumType() local
134 AddToODRListMap(key, (&it->second), compilation_unit_path_); in AddEnumType()
201 std::string key; in GetCompilationUnitPath() local
204 key = GetODRListMapKey(static_cast<const RecordTypeIR *>(type_ir)); in GetCompilationUnitPath()
207 key = GetODRListMapKey(static_cast<const EnumTypeIR *>(type_ir)); in GetCompilationUnitPath()
210 key = GetODRListMapKey(static_cast<const FunctionTypeIR *>(type_ir)); in GetCompilationUnitPath()
[all …]
/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/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/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/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/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/vndk/tools/elfcheck/
Dfix_android_mk_prebuilt.py40 key, value = var.split('=', 1)
41 key = key.strip()
43 variables[key] = value
/development/tools/idegen/src/com/android/idegen/
DMakeFileParser.java61 public Iterable<String> getValues(String key) {
62 String str = values.get(key);
131 String key = arr[0].trim(); in arr[0].trim()
136 appendValue(key, value);
257 private void appendValue(String key, String newValue) {
258 String value = values.get(key);
260 values.put(key, newValue);
262 values.put(key, value + VALUE_DELIMITER + newValue);
/development/vndk/tools/header-checker/src/diff/
Dheader_abi_diff.cpp160 auto &&key = p.first; in ReadConfigFile()
162 if (key == "allow_adding_removing_weak_symbols") { in ReadConfigFile()
164 } else if (key == "advice_only") { in ReadConfigFile()
166 } else if (key == "elf_unreferenced_symbol_errors") { in ReadConfigFile()
168 } else if (key == "check_all_apis") { in ReadConfigFile()
170 } else if (key == "allow_extensions") { in ReadConfigFile()
172 } else if (key == "allow_unreferenced_elf_symbol_changes") { in ReadConfigFile()
174 } else if (key == "allow_unreferenced_changes") { in ReadConfigFile()
176 } else if (key == "consider_opaque_types_different") { in ReadConfigFile()

1234