Home
last modified time | relevance | path

Searched refs:scriptPath (Results 1 – 25 of 31) sorted by relevance

12

/aosp_15_r20/packages/modules/AdServices/sdksandbox/tests/cts/inprocess/src/com/android/sdksandbox/tests/cts/inprocess/
DSdkSandboxRestrictionsTest.java179 Path scriptPath = Paths.get(mContext.getDataDir().toString(), "example.sh"); in testSandboxCannotExecute_WriteLocation() local
182 Files.write(scriptPath, scriptContents.getBytes()); in testSandboxCannotExecute_WriteLocation()
183 assertTrue(Files.exists(scriptPath)); in testSandboxCannotExecute_WriteLocation()
190 Files.setPosixFilePermissions(scriptPath, permissions); in testSandboxCannotExecute_WriteLocation()
192 assertThat(Files.getPosixFilePermissions(scriptPath)).isEqualTo(permissions); in testSandboxCannotExecute_WriteLocation()
194 assertThat(scriptPath.toFile().canExecute()).isFalse(); in testSandboxCannotExecute_WriteLocation()
196 String.format("Cannot run program \"%s\": error=13, Permission denied", scriptPath), in testSandboxCannotExecute_WriteLocation()
198 () -> Runtime.getRuntime().exec(scriptPath.toString())); in testSandboxCannotExecute_WriteLocation()
/aosp_15_r20/build/soong/cmd/extract_linker/
H A Dmain.go34 var scriptPath string
37 flag.StringVar(&scriptPath, "T", "", "Path to save the linker script")
130 if scriptPath != "" {
131 if err := ioutil.WriteFile(scriptPath, script.Bytes(), 0777); err != nil {
132 log.Fatalf("Unable to write %q: %v", scriptPath, err)
/aosp_15_r20/external/deqp/scripts/
H A Dcheck_build_sanity.py51 def __init__ (self, scriptPath, getExtraArgs = None): argument
52 self.scriptPath = scriptPath
56 return self.scriptPath
59 args = [pythonExecutable, os.path.join(env.srcDir, self.scriptPath)]
67 return "RunScript:%s" % (self.scriptPath)
H A Dmake_release.py128scriptPath = os.path.normpath(os.path.join(packageBuildInfo.srcBasePath, "framework", "qphelper", …
132 scriptPath,
235scriptPath = os.path.normpath(os.path.join(packageBuildInfo.dstBasePath, "src", "android", "script…
239 scriptPath,
253scriptPath = os.path.normpath(os.path.join(packageBuildInfo.dstBasePath, "src", "external", "fetch…
257 scriptPath,
/aosp_15_r20/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DAtraceRunMetricCollector.java79 for (String scriptPath : mScriptPaths) { in processMetricDirectory()
80 if (!processTraceFiles(testDirectory, scriptPath)) { in processMetricDirectory()
117 private boolean processTraceFiles(File testDirectory, String scriptPath) { in processTraceFiles() argument
121 CommandResult cr = RunUtil.getDefault().runTimedCmd(30 * 1000, scriptPath, in processTraceFiles()
136 String scriptArgs[] = scriptPath.split(" "); in processTraceFiles()
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/internal/vcweb/
Dvcweb.go226 scriptPath := "."
228 scriptPath = filepath.Join(scriptPath, part)
229 dir := filepath.Join(s.scriptDir, scriptPath)
240 scriptPath += ".txt"
242 err := s.HandleScript(scriptPath, s.logger, func(handler http.Handler) {
Dscript.go62 func (s *Server) loadScript(ctx context.Context, logger *log.Logger, scriptPath string, scriptConte…
77 scriptName := filepath.Base(scriptPath)
/aosp_15_r20/build/soong/cmd/sbox/
H A Dsbox.go218 func createCommandScript(rawCommand, scriptPath, scriptPathInSandbox string) (*exec.Cmd, error) { argument
219 err := os.WriteFile(scriptPath, []byte(rawCommand), 0644)
222 rawCommand[0:40], scriptPath)
340 scriptPath := joinPath(tempDir, scriptName)
342 cmd, err := createCommandScript(rawCommand, scriptPath, scriptPathInSandbox)
388 tempDir, scriptPath)
/aosp_15_r20/external/deqp/external/
H A Dfetch_kc_cts.py30 scriptPath = os.path.join(os.path.dirname(__file__), "..", "scripts") variable
31 sys.path.insert(0, scriptPath)
H A Dfetch_sources.py36 scriptPath = os.path.join(os.path.dirname(__file__), "..", "scripts") variable
37 sys.path.insert(0, scriptPath)
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DHostGTestTest.java103 final Path scriptPath = Paths.get(folderName, fileName); in createTestScript() local
104 createExecutableFile(scriptPath, script); in createTestScript()
388 Path scriptPath = Paths.get(hostLinkedFolder.getAbsolutePath(), moduleName); in testRunTest_hardlink() local
389 FileUtil.hardlinkFile(tmpScriptPath.toFile(), scriptPath.toFile()); in testRunTest_hardlink()
/aosp_15_r20/external/deqp/external/vulkancts/scripts/
H A Dbuild_mustpass.py26 scriptPath = os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts") variable
27 sys.path.insert(0, scriptPath)
H A Damber_verify.py28 scriptPath = os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts") variable
29 sys.path.insert(0, scriptPath)
H A Dbuild_spirv_binaries.py31 scriptPath = os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts") variable
32 sys.path.insert(0, scriptPath)
H A Dgen_framework_c.py28 scriptPath = os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts") variable
29 sys.path.insert(0, scriptPath)
H A Dgen_framework.py35 scriptPath = os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts") variable
36 sys.path.insert(0, scriptPath)
/aosp_15_r20/external/antlr/gunit-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
H A DGUnitExecuteMojo.java284 final String scriptPath = script.getAbsolutePath(); in performExecution() local
285 System.out.println( "Executing script " + scriptPath ); in performExecution()
289 ANTLRFileStream antlrStream = new ANTLRFileStream( scriptPath ); in performExecution()
/aosp_15_r20/external/deqp/external/openglcts/scripts/
H A Dbuild_caselists.py30 scriptPath = os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts") variable
31 sys.path.insert(0, scriptPath)
H A Dmustpass.py30 scriptPath = os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts") variable
31 sys.path.insert(0, scriptPath)
H A Dbuild_mustpass.py30 scriptPath = os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts") variable
31 sys.path.insert(0, scriptPath)
/aosp_15_r20/external/deqp/scripts/khr_util/
H A Dregistry_cache.py29 scriptPath = os.path.join(os.path.dirname(__file__), "..") variable
30 sys.path.insert(0, scriptPath)
/aosp_15_r20/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
H A DAppLaunch.java847 String scriptPath = outputFile.toString(); in executeShellCommandWithTempFile() local
850 try (BufferedWriter writer = new BufferedWriter(new FileWriter(scriptPath))) { in executeShellCommandWithTempFile()
856 executeShellCommand(scriptPath); in executeShellCommandWithTempFile()
/aosp_15_r20/external/guice/extensions/struts2/lib/
HDjetty-util-6.1.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mortbay/ org/ ...
/aosp_15_r20/external/kotlinc/lib/
HDkotlin-scripting-compiler-impl.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jetbrains/ org/ ...
/aosp_15_r20/prebuilts/tools/common/google-api-java-client/1.8.0-rc/
HDgoogle-api-java-client-min-repackaged.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...

12