Home
last modified time | relevance | path

Searched refs:outputPath (Results 1 – 25 of 46) sorted by relevance

12

/aosp12/build/soong/java/
H A Dhiddenapi_singleton.go183 outputPath := hiddenAPISingletonPaths(ctx).flags
188 Output: outputPath,
194 outputPath := hiddenAPISingletonPaths(ctx).index
199 Output: outputPath,
217 func commitChangeForRestat(rule *android.RuleBuilder, tempPath, outputPath android.WritablePath) {
223 Text("cmp -s").Input(tempPath).Output(outputPath).Text(";").
227 Text("mv").Input(tempPath).Output(outputPath).Text(";").
H A Djdeps.go37 outputPath android.Path member
104 j.outputPath = jfpath
114 if j.outputPath == nil {
118 ctx.DistForGoal("general-tests", j.outputPath)
H A Dapp_import.go176 ctx android.ModuleContext, inputPath android.Path, outputPath android.OutputPath) {
182 Output: outputPath,
192 FlagWithOutput("-o ", outputPath).
194 Textf(`; else cp -f %s %s; fi`, inputPath, outputPath)
213 ctx android.ModuleContext, inputPath android.Path, outputPath android.OutputPath) {
219 FlagWithOutput("-o ", outputPath).
221 Textf(`; else cp -f %s %s; fi`, inputPath, outputPath)
H A Dlint.go595 zip := func(outputPath android.WritablePath, get func(*lintOutputs) android.Path) {
604 lintZip(ctx, paths, outputPath)
640 func lintZip(ctx android.BuilderContext, paths android.Paths, outputPath android.WritablePath) {
650 FlagWithOutput("-o ", outputPath).
652 FlagWithRspFileInputList("-r ", outputPath.ReplaceExtension(ctx, "rsp"), paths)
654 rule.Build(outputPath.Base(), outputPath.Base())
H A Dhiddenapi_modular.go300 …eHiddenAPIStubFlagsFile(ctx android.BuilderContext, name, desc string, outputPath android.Writable…
304 tempPath := tempPathForRestat(ctx, outputPath)
346 …validFile := buildRuleValidateOverlappingCsvFiles(ctx, name, desc, outputPath, moduleStubFlagsPath…
355 commitChangeForRestat(rule, tempPath, outputPath)
858 outputPath android.WritablePath, baseFlagsPath android.Path, annotationFlagPaths android.Paths,
862 tempPath := tempPathForRestat(ctx, outputPath)
884 commitChangeForRestat(rule, tempPath, outputPath)
889 validFile := buildRuleValidateOverlappingCsvFiles(ctx, name, desc, outputPath, allFlagsPaths)
H A Dplatform_compat_config.go259 outputPath := platformCompatConfigPath(ctx)
264 FlagWithOutput("--merged-config ", outputPath)
268 p.metadata = outputPath
H A Ddexpreopt_bootjars.go578 outputPath := outputDir.Join(ctx, image.stem+".oat")
579 oatLocation := dexpreopt.PathToLocation(outputPath, arch)
580 imagePath := outputPath.ReplaceExtension(ctx, "art")
605 invocationPath := outputPath.ReplaceExtension(ctx, "invocation")
653 FlagWithArg("--oat-file=", outputPath.String()).
/aosp12/packages/modules/Virtualization/authfs/tests/java/src/com/android/fs/
H A DAuthFsHostTest.java225 String outputPath = MOUNT_DIR + "/20"; in testFileResize() local
230 "yes $'\\x01' | tr -d '\\n' | dd bs=1 count=10000 of=" + outputPath); in testFileResize()
231 assertEquals(getFileSizeInBytes(outputPath), 10000); in testFileResize()
233 outputPath, in testFileResize()
237 resizeFile(outputPath, 15000); in testFileResize()
238 assertEquals(getFileSizeInBytes(outputPath), 15000); in testFileResize()
240 outputPath, in testFileResize()
244 resizeFile(outputPath, 5000); in testFileResize()
245 assertEquals(getFileSizeInBytes(outputPath), 5000); in testFileResize()
247 outputPath, in testFileResize()
/aosp12/system/tools/hidl/c2hal/
H A Dmain.cpp75 std::string &outputPath) { in applyPackageRootPath() argument
93 if (outputPath.empty()) { in applyPackageRootPath()
94 outputPath = rootPath; in applyPackageRootPath()
97 outputPath += '/' + packagePath + '/'; in applyPackageRootPath()
102 CHECK(!outputPath.empty()) << "No package root path provided for: " << package; in applyPackageRootPath()
104 outputPath += '/'; in applyPackageRootPath()
/aosp12/build/soong/bazel/
H A Daquery.go139 outputPath, exists := artifactIdToPath[outputId]
143 ext := filepath.Ext(outputPath)
146 return nil, fmt.Errorf("found multiple potential depfiles %q, %q", *depfile, outputPath)
148 depfile = &outputPath
151 outputPaths = append(outputPaths, outputPath)
/aosp12/frameworks/base/tests/utils/hostutils/src/com/android/internal/util/test/
H A DSystemPreparer.java93 public SystemPreparer pushResourceFile(String filePath, String outputPath) in pushResourceFile() argument
97 assertTrue(device.pushFile(copyResourceToTemp(filePath), outputPath)); in pushResourceFile() local
98 addPushedFile(device, outputPath); in pushResourceFile()
103 public SystemPreparer pushFile(File file, String outputPath) in pushFile() argument
107 assertTrue(device.pushFile(file, outputPath)); in pushFile()
108 addPushedFile(device, outputPath); in pushFile()
112 private void addPushedFile(ITestDevice device, String outputPath) in addPushedFile() argument
114 Path pathCreated = Paths.get(outputPath); in addPushedFile()
/aosp12/system/tools/hidl/hidl2aidl/
H A Dmain.cpp284 std::string outputPath; in main() local
290 if (!outputPath.empty()) { in main()
294 outputPath = arg; in main()
320 if (!outputPath.empty() && outputPath.back() != '/') { in main()
321 outputPath += "/"; in main()
323 coordinator.setOutputPath(outputPath); in main()
/aosp12/system/sepolicy/build/soong/
H A Dselinux_contexts.go72 outputPath android.Path member
135 m.outputPath = reuseDeps.outputPath
136 ctx.InstallFile(m.installPath, m.Name(), m.outputPath)
183 m.outputPath = m.build(ctx, inputs)
184 ctx.InstallFile(m.installPath, ctx.ModuleName(), m.outputPath)
233 fmt.Fprintln(w, "LOCAL_PREBUILT_MODULE_FILE :=", m.outputPath.String())
/aosp12/build/soong/cc/
H A Dccdeps.go41 outputPath android.Path member
116 c.outputPath = ccfpath
126 if c.outputPath == nil {
130 ctx.DistForGoal("general-tests", c.outputPath)
H A Dlibrary_headers.go70 outputPath := android.PathForBazelOut(ctx, outputPaths[0])
71 h.module.outputFile = android.OptionalPathForPath(outputPath)
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DInstaller.java491 int dexoptNeeded, @Nullable String outputPath, int dexFlags, in dexopt() argument
498 BlockGuard.getVmPolicy().onPathAccess(outputPath); in dexopt()
502 mInstalld.dexopt(apkPath, uid, pkgName, instructionSet, dexoptNeeded, outputPath, in dexopt()
656 public void moveAb(String apkPath, String instructionSet, String outputPath) in moveAb() argument
660 BlockGuard.getVmPolicy().onPathAccess(outputPath); in moveAb()
662 mInstalld.moveAb(apkPath, instructionSet, outputPath); in moveAb()
672 public long deleteOdex(String apkPath, String instructionSet, String outputPath) in deleteOdex() argument
676 BlockGuard.getVmPolicy().onPathAccess(outputPath); in deleteOdex()
678 return mInstalld.deleteOdex(apkPath, instructionSet, outputPath); in deleteOdex()
/aosp12/system/tools/hidl/
H A Dmain.cpp1462 std::string outputPath; in main() local
1467 if (!outputPath.empty()) { in main()
1471 outputPath = arg; in main()
1534 if (outputPath.empty()) { in main()
1540 if (outputPath.back() != '/') { in main()
1541 outputPath += "/"; in main()
1547 if (outputPath.empty()) { in main()
1550 if (outputPath.back() != '/') { in main()
1551 outputPath += "/"; in main()
1558 outputPath.clear(); // Unused. in main()
[all …]
/aosp12/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeAac.cpp442 char* outputPath = (char*) malloc(len + 4 + 1); // save room to concatenate ".raw" in TestDecToBuffQueue() local
443 if (NULL == outputPath) { in TestDecToBuffQueue()
446 memcpy(outputPath, path, len + 1); in TestDecToBuffQueue()
447 strcat(outputPath, ".raw"); in TestDecToBuffQueue()
448 outputFp = fopen(outputPath, "w"); in TestDecToBuffQueue()
451 perror(outputPath); in TestDecToBuffQueue()
453 free(outputPath); in TestDecToBuffQueue()
H A DslesTestDecodeToBuffQueue.cpp265 char* outputPath = (char*) malloc(len + 4 + 1); // save room to concatenate ".raw" in TestDecToBuffQueue() local
266 if (NULL == outputPath) { in TestDecToBuffQueue()
269 memcpy(outputPath, path, len + 1); in TestDecToBuffQueue()
270 strcat(outputPath, ".raw"); in TestDecToBuffQueue()
271 gFp = fopen(outputPath, "w"); in TestDecToBuffQueue()
/aosp12/frameworks/layoutlib/validator/src/
H A DResourceConverter.java49 private static void writeStrings(Map<String, String> map, String outputPath) throws Exception { in writeStrings() argument
50 File output = new File(outputPath); in writeStrings()
/aosp12/build/soong/ui/status/
H A Dlog.go254 func writeToFile(pb proto.Message, outputPath string) (err error) {
260 tempPath := outputPath + ".tmp"
266 err = os.Rename(tempPath, outputPath)
/aosp12/frameworks/native/cmds/installd/binder/android/os/
H A DIInstalld.aidl60 @nullable @utf8InCpp String outputPath, int dexFlags, in dexopt() argument
93 @utf8InCpp String outputPath); in moveAb() argument
95 @nullable @utf8InCpp String outputPath); in deleteOdex() argument
/aosp12/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
H A DMediaCodecSurfaceEncoder.java71 String outputPath, int maxBFrames) { in MediaCodecSurfaceEncoder() argument
76 mOutputPath = outputPath; in MediaCodecSurfaceEncoder()
81 String outputPath) { in MediaCodecSurfaceEncoder() argument
83 this(context, resId, mime, isSoftware, outputPath, 1); in MediaCodecSurfaceEncoder()
/aosp12/packages/modules/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
H A DDeployAgent.java91 String outputPath = args[3]; in main() local
92 if (!outputPath.equals("-")) { in main()
93 outputStream = new FileOutputStream(outputPath); in main()
/aosp12/build/soong/python/
H A Dpython.go702 func checkForDuplicateOutputPath(ctx android.ModuleContext, m map[string]string, outputPath, srcPat… argument
703 if oldSrcPath, found := m[outputPath]; found {
707 outputPath, curModule, oldSrcPath, otherModule, srcPath)
710 m[outputPath] = srcPath

12