/development/tools/findunused/ |
D | findunusedtranslations | 27 $prefix = $1; 32 $pattern1 = "$prefix/values$1$2-??$3/$suffix"; 33 $pattern2 = "$prefix/values$1$2-??-r??$3/$suffix"; 35 $pattern1 = "$prefix/values-??$values/$suffix"; 36 $pattern2 = "$prefix/values-??-r??$values/$suffix";
|
/development/samples/ApiDemos/src/com/example/android/apis/ |
D | ApiDemos.java | 55 protected List<Map<String, Object>> getData(String prefix) { in getData() argument 68 String prefixWithSlash = prefix; in getData() 70 if (prefix.equals("")) { in getData() 73 prefixPath = prefix.split("/"); in getData() 74 prefixWithSlash = prefix + "/"; in getData() 100 …addItem(myData, nextLabel, browseIntent(prefix.equals("") ? nextLabel : prefix + "/" + nextLabel)); in getData()
|
/development/tools/mkstubs/src/com/android/mkstubs/ |
D | Filter.java | 82 for (String prefix : mIncludePrefix) { in accept() 83 if (s.startsWith(prefix)) { in accept() 96 for (String prefix : mExcludePrefix) { in accept() 97 if (s.startsWith(prefix)) { in accept()
|
/development/tools/rmtypedefs/test/com/android/tools/rmtypedefs/ |
D | RmTypeDefsTest.java | 212 private void list(StringBuilder sb, File file, String prefix, int depth, String rootName) { in list() argument 217 if (!prefix.isEmpty()) { in list() 218 sb.append(prefix); in list() 238 prefix = prefix + fileName + "/"; in list() 240 list(sb, child, prefix, depth + 1, rootName); in list()
|
/development/vndk/tools/header-checker/src/utils/ |
D | string_utils.cpp | 43 bool StartsWith(std::string_view s, std::string_view prefix) { in StartsWith() argument 44 return s.size() >= prefix.size() && s.compare(0, prefix.size(), prefix) == 0; in StartsWith()
|
D | string_utils.h | 30 bool StartsWith(std::string_view s, std::string_view prefix);
|
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/ |
D | ExampleAppWidgetConfigure.java | 117 String prefix = prefs.getString(PREF_PREFIX_KEY + appWidgetId, null); in loadTitlePref() local 118 if (prefix != null) { in loadTitlePref() 119 return prefix; in loadTitlePref()
|
/development/gsi/repack_super_image/ |
D | repack_super_image.py | 171 temp_ota_tools_dir = tempfile.mkdtemp(prefix="ota_tools") 183 mode="wb", prefix="super", suffix=".img", 192 unpack_dir = tempfile.mkdtemp(prefix="lpunpack") 203 mode="w", prefix="misc_info", suffix=".txt",
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
D | XmlDocumentProvider.java | 399 String prefix = null; in parseWith() local 402 prefix = parser.getPrefix(); in parseWith() 404 prefix = null; in parseWith() 406 if (prefix != null) { in parseWith() 407 path.append(prefix); in parseWith()
|
/development/vndk/tools/ |
D | system_image_diff.py | 101 for prefix in vendor_prefixes: 102 if path.startswith(prefix): 103 vendor = VENDOR_PATH_MAP[prefix]
|
/development/vndk/tools/definition-tool/tests/ |
D | compat.py | 16 def __init__(self, suffix='', prefix='tmp', dir=None): argument 18 self.name = tempfile.mkdtemp(suffix, prefix, dir)
|
/development/vndk/tools/definition-tool/tools/ |
D | update_dataset_auto.py | 21 tmp_fd, tmp_path = tempfile.mkstemp(prefix=basename + '-', dir=dirname) 38 tmp_fd, tmp_path = tempfile.mkstemp(prefix=basename + '-', dir=dirname)
|
D | update_dataset.py | 227 for prefix, tag in prefixes.items(): 228 if any(name.startswith(prefix) for name in lib_sets[tag]): 230 if os.path.basename(path).startswith(prefix):
|
/development/tools/winscope/src/ |
D | decode.js | 264 function arrayStartsWith(array, prefix) { argument 265 return arrayEquals(array.slice(0, prefix.length), prefix);
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/ |
D | CubeWallpaper2.java | 113 private void readModel(String prefix) { in readModel() argument 117 int pid = getResources().getIdentifier(prefix + "points", "array", getPackageName()); in readModel() 118 int lid = getResources().getIdentifier(prefix + "lines", "array", getPackageName()); in readModel()
|
/development/vndk/tools/header-checker/utils/ |
D | utils.py | 230 prefix = _get_module_variant_dir_name(tag, vndk_version, 232 if not variant.startswith(prefix): 234 new_suffix = variant[len(prefix):]
|
/development/tools/repo_diff/service/repodiff/mappers/ |
D | mappers.go | 272 prefix := []interface{}{ 278 prefix,
|
/development/gsi/gsi_util/gsi_util/utils/tests/ |
D | file_utils_unittest.py | 31 prefix='prefix', suffix='suffix') as f:
|
D | cmd_utils_unittest.py | 126 tmp_dir = tempfile.mkdtemp(prefix='cmd_utils_test')
|
/development/vndk/tools/image-diff-tool/ |
D | diff.py | 112 if not any(line_text.startswith(prefix) for prefix in prefixes):
|
/development/scripts/ |
D | gdbclient.py | 153 def make_temp_dir(prefix): argument 155 result = tempfile.mkdtemp(prefix='gdbclient-linker-')
|
D | get_rust_pkg.py | 271 for (prefix, suffix) in [(" ", "pkg[k]"), ("all_", "pkg[1] to pkg[k]")]: 273 print(pattern.format(prefix + name, kind, suffix))
|
D | cargo2android.py | 345 prefix = self.root_pkg + '_tests' 346 self.module_name = self.runner.claim_module_name(prefix, self, 0) 1148 def claim_module_name(self, prefix, owner, counter): argument 1151 name = prefix
|
/development/vndk/tools/definition-tool/ |
D | vndk_definition_tool.py | 88 def __init__(self, suffix='', prefix='tmp', dir=None): argument 90 self.name = tempfile.mkdtemp(suffix, prefix, dir) 3146 def _load_from_image_dir(self, root, prefix): argument 3150 self.add(os.path.join(prefix, path[root_len:]), elf) 3154 def create_from_image_dir(root, prefix): argument 3156 result._load_from_image_dir(root, prefix)
|
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/ |
D | commit.csv | 2685 …,platform/cts,fake_XXt1agFlSjaf5gW_tzEdHQ@fakeemail.com,Add CTS to verify RIO min/max prefix length 3780 …mCvxaTzkTTaNfDI614yZrQ@fakeemail.com,media bitstreams test: split into classes based on path prefix 4396 …mCvxaTzkTTaNfDI614yZrQ@fakeemail.com,media bitstreams test: split into classes based on path prefix 4628 …fake_0Badg8rmRu2qWSu23UD7sg@fakeemail.com,Follow renames of host libraries without the host- prefix 5500 …tform/system/core,fake_yLIbJoRGTiSDnsXASrdI-w@fakeemail.com,Always check prefix matches array at e… 5517 …orm/system/core,fake_8D2h2P4oThy4V7vdDd142w@fakeemail.com,Add 0X as a valid hex prefix for parseint 5718 …_q3AfsaCERmyl-aaPxzrFxA@fakeemail.com,fs_mgr_avb_ops: stores the by-name prefix of /misc instead o… 5886 …ERmyl-aaPxzrFxA@fakeemail.com,first stage mount: removing the requirement of by-name prefix for AVB 7321 …re,fake_TKtbFpDGTEGasvBhGDq5XA@fakeemail.com,liblog: test: newline space prefix and max length pri… 8087 …rm/tools/test/connectivity,fake_AAMc1kLbTM-2KxDpKxOZ5w@fakeemail.com,Add prefix to log lines in An… [all …]
|