Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 22 of 22) sorted by relevance

/development/tools/findunused/
Dfindunusedtranslations27 $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/tools/mkstubs/src/com/android/mkstubs/
DFilter.java82 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/ota_analysis/src/services/
Dpayload.js25 prefix: 'pre-build', property
30 prefix: 'pre-build-incremental', property
35 prefix: 'post-build', property
40 prefix: 'post-build-incremental', property
236 let regex = new RegExp(formatter.prefix + '.+')
239 trimEntry(this.metadata.match(regex)[0], formatter.prefix)
315 function trimEntry(entry, prefix) { argument
316 return entry.slice(prefix.length + 1, entry.length)
/development/samples/ApiDemos/src/com/example/android/apis/
DApiDemos.java55 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/vndk/tools/header-checker/src/utils/
Dstring_utils.cpp43 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()
Dstring_utils.h30 bool StartsWith(std::string_view s, std::string_view prefix);
/development/tools/rmtypedefs/test/com/android/tools/rmtypedefs/
DRmTypeDefsTest.java212 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/samples/ApiDemos/src/com/example/android/apis/appwidget/
DExampleAppWidgetConfigure.java117 String prefix = prefs.getString(PREF_PREFIX_KEY + appWidgetId, null); in loadTitlePref() local
118 if (prefix != null) { in loadTitlePref()
119 return prefix; in loadTitlePref()
/development/tools/winscope/hooks/
Dpre-upload18 npm run test:presubmit --prefix $WINSCOPE_SRC_PATTERN
/development/gsi/repack_super_image/
Drepack_super_image.py171 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/vndk/tools/
Dsystem_image_diff.py101 for prefix in vendor_prefixes:
102 if path.startswith(prefix):
103 vendor = VENDOR_PATH_MAP[prefix]
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DXmlDocumentProvider.java399 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/elfcheck/bpflatten/
Dmain.go45 func populatePropertyMap(propMap map[string]interface{}, prefix string, m *parser.Map) {
48 if prefix != "" {
49 name = prefix + "." + name
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
DCubeWallpaper2.java113 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/
Dutils.py242 prefix = _get_module_variant_dir_name(tag, vndk_version,
244 if not variant.startswith(prefix):
246 new_suffix = variant[len(prefix):]
/development/tools/repo_diff/service/repodiff/mappers/
Dmappers.go272 prefix := []interface{}{
278 prefix,
/development/vndk/tools/image-diff-tool/
Ddiff.py112 if not any(line_text.startswith(prefix) for prefix in prefixes):
/development/scripts/
Dacov-llvm.py174 prefix='covreport-', dir=os.environ.get('ANDROID_BUILD_TOP', None))
Dgdbclient.py134 def make_temp_dir(prefix): argument
136 result = tempfile.mkdtemp(prefix='lldbclient-linker-')
Dlldbclient.py134 def make_temp_dir(prefix): argument
136 result = tempfile.mkdtemp(prefix='lldbclient-linker-')
Dget_rust_pkg.py282 for (prefix, suffix) in [(" ", "pkg[k]"), ("all_", "pkg[1] to pkg[k]")]:
284 print(pattern.format(prefix + name, kind, suffix))
Dcargo2android.py338 prefix = self.root_pkg + '_tests'
339 self.module_name = self.runner.claim_module_name(prefix, self, 0)
1313 def claim_module_name(self, prefix, owner, counter): argument
1316 name = prefix