Home
last modified time | relevance | path

Searched refs:suffix (Results 1 – 25 of 55) sorted by relevance

123

/build/soong/android/
Dutil.go57 func JoinWithSuffix(strs []string, suffix string, separator string) string {
63 return strs[0] + suffix
68 n += len(suffix) + len(s)
77 ret = append(ret, suffix...)
145 func SuffixInList(list []string, suffix string) bool {
147 if strings.HasSuffix(s, suffix) {
362 suffix := ""
367 suffix = name[lastMatch[0]:lastMatch[1]]
375 suffix = ext + suffix
377 return root, suffix, ext
Dutil_test.go421 root, suffix, ext := SplitFileExt("libtest.so.1.0.30")
427 if suffix != expected {
428 t.Errorf("suffix should be %q but got %q", expected, suffix)
437 root, suffix, ext := SplitFileExt("libtest.so.1svn")
443 if suffix != expected {
444 t.Errorf("suffix should be %q but got %q", expected, suffix)
453 root, suffix, ext := SplitFileExt("libtest.1.0.30.so")
459 if suffix != expected {
460 t.Errorf("suffix should be %q but got %q", expected, suffix)
469 root, suffix, ext := SplitFileExt("test.exe")
[all …]
Dandroidmk_test.go217 suffix: ".suffix",
227 suffix: ".suffix",
/build/make/tools/releasetools/
Dtest_sign_target_files_apks.py166 input_file = common.MakeTempFile(suffix='.zip')
173 output_file = common.MakeTempFile(suffix='.zip')
197 input_file = common.MakeTempFile(suffix='.zip')
201 output_file = common.MakeTempFile(suffix='.zip')
286 output_file = common.MakeTempFile(suffix='.zip')
296 input_file = common.MakeTempFile(suffix='.zip')
320 input_file = common.MakeTempFile(suffix='.zip')
468 target_files = common.MakeTempFile(suffix='.zip')
493 target_files = common.MakeTempFile(suffix='.zip')
507 target_files = common.MakeTempFile(suffix='.zip')
[all …]
Dtest_build_image.py81 output_image = common.MakeTempFile(suffix='.img')
115 fs_config = common.MakeTempFile(suffix='.txt')
186 output_image = common.MakeTempFile(suffix='.img')
193 output_file = common.MakeTempFile(suffix='.img')
Dtest_apex_utils.py43 payload_file = common.MakeTempFile(prefix='apex-', suffix='.img')
147 apex_path = common.MakeTempFile(suffix='.apex')
155 apex_path = common.MakeTempFile(suffix='.apex')
176 no_asset = common.MakeTempFile(suffix='.apex')
Dtest_ota_from_target_files.py35 target_files = common.MakeTempFile(prefix='target_files-', suffix='.zip')
481 output_file = common.MakeTempFile(suffix='.zip')
528 output_file = common.MakeTempFile(suffix='.zip')
609 zip_file = common.MakeTempFile(suffix='.zip')
881 output_file = common.MakeTempFile(suffix='.zip')
917 payload_sig_file = common.MakeTempFile(prefix="sig-", suffix=".bin")
918 metadata_sig_file = common.MakeTempFile(prefix="sig-", suffix=".bin")
946 zip_file = common.MakeTempFile(suffix='.zip')
1214 output_file = common.MakeTempFile(suffix='.zip')
1228 output_file = common.MakeTempFile(suffix='.zip')
[all …]
Dtest_add_img_to_target_files.py95 output_file = common.MakeTempFile(suffix='.zip')
163 text_file = common.MakeTempFile(prefix="caremap-", suffix=".txt")
346 output_file = common.MakeTempFile(suffix='.zip')
369 output_file = common.MakeTempFile(suffix='.zip')
Dota_from_target_files315 signing_key = common.MakeTempFile(prefix="key-", suffix=".key")
350 out_file = common.MakeTempFile(prefix="signed-", suffix=".bin")
396 payload_file = common.MakeTempFile(prefix="payload-", suffix=".bin")
422 payload_sig_file = common.MakeTempFile(prefix="sig-", suffix=".bin")
423 metadata_sig_file = common.MakeTempFile(prefix="sig-", suffix=".bin")
437 suffix=".bin")
448 suffix=".txt")
730 staging_file = common.MakeTempFile(suffix='.zip')
1317 prelim_signing = common.MakeTempFile(suffix='.zip')
1388 staging_file = common.MakeTempFile(suffix='.zip')
[all …]
Dota_from_target_files.py315 signing_key = common.MakeTempFile(prefix="key-", suffix=".key")
350 out_file = common.MakeTempFile(prefix="signed-", suffix=".bin")
396 payload_file = common.MakeTempFile(prefix="payload-", suffix=".bin")
422 payload_sig_file = common.MakeTempFile(prefix="sig-", suffix=".bin")
423 metadata_sig_file = common.MakeTempFile(prefix="sig-", suffix=".bin")
437 suffix=".bin")
448 suffix=".txt")
730 staging_file = common.MakeTempFile(suffix='.zip')
1317 prelim_signing = common.MakeTempFile(suffix='.zip')
1388 staging_file = common.MakeTempFile(suffix='.zip')
[all …]
Dcheck_target_files_vintf.py173 suffix = path[len(device_path):]
174 return [rel_path + suffix for rel_path in target_files_rel_paths]
Dapex_utils.py303 apex_file = common.MakeTempFile(prefix='apex-', suffix='.apex')
345 aligned_apex = common.MakeTempFile(prefix='apex-container-', suffix='.apex')
349 signed_apex = common.MakeTempFile(prefix='apex-container-', suffix='.apex')
/build/soong/cc/
Dvndk_prebuilt.go84 suffix := p.version()
86 suffix += "." + p.arch()
89 suffix += binder32Suffix
91 return vndkSuffix + suffix
Dndk_prebuilt.go38 suffix := ""
42 suffix = "64"
45 version, toolchain.Name(), suffix))
Dandroidmk.go435 _, suffix, _ := android.SplitFileExt(entries.OutputFile.Path().Base())
436 entries.SetString("LOCAL_MODULE_SUFFIX", suffix)
452 stem, suffix, _ := android.SplitFileExt(file)
453 entries.SetString("LOCAL_MODULE_SUFFIX", suffix)
465 stem, suffix, _ := android.SplitFileExt(file)
466 entries.SetString("LOCAL_MODULE_SUFFIX", suffix)
499 stem, suffix, ext := android.SplitFileExt(file)
501 entries.SetString("LOCAL_MODULE_SUFFIX", suffix)
532 stem, suffix, ext := android.SplitFileExt(file)
534 entries.SetString("LOCAL_MODULE_SUFFIX", suffix)
Dutil.go110 func addSuffix(list []string, suffix string) []string {
112 list[i] = list[i] + suffix
/build/soong/ui/build/
Dcleanbuild.go146 suffix := "\n"
147 currentProduct := prefix + config.TargetProduct() + "-" + config.TargetBuildVariant() + suffix
178 prevConfig := strings.TrimPrefix(strings.TrimSuffix(string(prev), suffix), prefix)
179 currentConfig := strings.TrimPrefix(strings.TrimSuffix(currentProduct, suffix), prefix)
Dkati.go207 var suffix string
210 suffix = "_asan"
214 cleanOldFiles(ctx, config.ProductOut(), ".installable_files"+suffix)
/build/soong/rust/
Dandroidmk.go167 stem, suffix, _ := android.SplitFileExt(file)
168 fmt.Fprintln(w, "LOCAL_MODULE_SUFFIX := "+suffix)
188 stem, suffix, _ := android.SplitFileExt(file)
189 fmt.Fprintln(w, "LOCAL_MODULE_SUFFIX := "+suffix)
/build/make/core/
Dmulti_prebuilt.mk72 $(eval LOCAL_BUILT_MODULE_STEM := $(LOCAL_MODULE)$(suffix $(LOCAL_SRC_FILES))) \
77 $(eval LOCAL_MODULE_SUFFIX := $(suffix $(LOCAL_SRC_FILES))) \
/build/soong/cmd/extract_apks/bundle_proto/
Dconfig.proto110 // If set to 'true', indicates that the targeting suffix should be removed
119 // The default suffix to be used for the cases where separate slices can't
121 // generation, stripping the suffix can lead to file name collisions. This
122 // default suffix defines the directories to retain. The others are
128 // "assets/level1_textures" are present and the default suffix is empty,
/build/soong/java/
Ddexpreopt_bootjars.go663 suffix := arch.String()
666 suffix = "host-" + suffix
669 output := android.PathForOutput(ctx, "boot."+suffix+".oatdump.txt")
679 rule.Build(pctx, ctx, "dump-oat-boot-"+suffix, "dump oat boot "+arch.String())
682 phony := android.PathForPhony(ctx, "dump-oat-boot-"+suffix)
688 rule.Build(pctx, ctx, "phony-dump-oat-boot-"+suffix, "dump oat boot "+arch.String())
732 suffix := ""
734 suffix = "_host"
736 sfx := variant.name + suffix + "_" + variant.target.Arch.ArchType.String()
/build/soong/apex/
Dbuilder.go373 suffix := apexType.suffix()
375 unsignedOutputFile := android.PathForModuleOut(ctx, a.Name()+suffix+".unsigned")
380 destPath := android.PathForModuleOut(ctx, "image"+suffix, fi.Path()).String()
401 symlinkDest := android.PathForModuleOut(ctx, "image"+suffix, symlinkPath).String()
412 …dataDest := android.PathForModuleOut(ctx, "image"+suffix, fi.apexRelativePath(relPath), d.Relative…
464 imageDir := android.PathForModuleOut(ctx, "image"+suffix)
552 a.mergedNotices = a.buildNoticeFiles(ctx, a.Name()+suffix)
602 apexProtoFile := android.PathForModuleOut(ctx, a.Name()+".pb"+suffix)
603 bundleModuleFile := android.PathForModuleOut(ctx, a.Name()+suffix+"-base.zip")
641 a.outputFile = android.PathForModuleOut(ctx, a.Name()+suffix)
[all …]
Dandroidmk.go92 moduleName = fi.androidMkModuleName + "." + apexBundleName + a.suffix
240 patterns = append(patterns, "%."+o+a.suffix)
301 fmt.Fprintln(w, "LOCAL_MODULE :=", name+a.suffix)
311 fmt.Fprintln(w, "LOCAL_MODULE :=", name+a.suffix)
315 fmt.Fprintln(w, "LOCAL_MODULE_STEM :=", name+apexType.suffix())
/build/soong/cc/libbuildversion/tests/
DAndroid.bp68 suffix: "_host",

123