Home
last modified time | relevance | path

Searched refs:process (Results 1 – 25 of 33) sorted by relevance

12

/cts/apps/CameraITS/tools/
Dset_charging_limits.py32 process = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE,
34 pout, perr = process.communicate()
41 process = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE,
43 _, perr = process.communicate()
51 process = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE,
53 _, perr = process.communicate()
Dturn_off_screen.py36 process = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE)
37 cmd_ret = process.stdout.read()
Dwake_up_screen.py45 process = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE)
46 cmd_ret = process.stdout.read()
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTest.java151 for (ProcessModel process : model.getProcesses().values()) { in findThread()
152 for (ThreadModel thread : process.getThreads()) { in findThread()
162 for (ProcessModel process : model.getProcesses().values()) { in findProcess()
163 if (process.getId() == id) { in findProcess()
164 return process; in findProcess()
198 ProcessModel process = findProcess(result.getModel(), result.getPid()); in testAsyncBeginEndSection() local
199 assertNotNull(process); in testAsyncBeginEndSection()
200 assertEquals(2, process.getAsyncSlices().size()); in testAsyncBeginEndSection()
201 AsyncSlice sdkSlice = process.getAsyncSlices().get(0); in testAsyncBeginEndSection()
204 AsyncSlice ndkSlice = process.getAsyncSlices().get(1); in testAsyncBeginEndSection()
[all …]
/cts/libs/vogar-expect/src/vogar/commands/
DCommand.java53 private volatile Process process; field in Command
100 process = processBuilder.start(); in start()
104 return process != null; in isStarted()
112 return process.getInputStream(); in getInputStream()
135 if (process.waitFor() != 0 && !permitNonZeroExitStatus) { in gatherOutput()
203 if (process == null) { in destroy()
207 process.destroy(); in destroy()
209 process.waitFor(); in destroy()
210 int exitValue = process.exitValue(); in destroy()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewDataDirTest.java55 try (TestProcessClient process = TestProcessClient.createProcessA(getActivity())) { in testDisableThenUse() argument
56 process.run(TestDisableThenUseImpl.class, REMOTE_TIMEOUT_MS); in testDisableThenUse()
99 try (TestProcessClient process = TestProcessClient.createProcessA(getActivity())) { in testInvalidDir() argument
100 process.run(TestInvalidDirImpl.class, REMOTE_TIMEOUT_MS); in testInvalidDir()
/cts/tests/ProcessTest/src/com/android/cts/process/
DProcessTest.java17 package com.android.cts.process;
28 import com.android.cts.process.activity.NoSharePidActivity;
29 import com.android.cts.process.activity.SharePidActivity;
30 import com.android.cts.process.activity.SharePidSubActivity;
/cts/tests/app/src/android/app/cts/
DActivityManager_RunningServiceInfoTest.java37 mRunningServiceInfo.process = PROCESS; in setUp()
64 assertEquals(PROCESS, values.process); in testWriteToParcel()
84 assertEquals(PROCESS, values.process); in testReadFromParcel()
DDownloadManagerTest.java433 private String cannonicalizeProcessName(String process, ApplicationInfo ai) { in cannonicalizeProcessName() argument
434 if (process == null) { in cannonicalizeProcessName()
438 if (process.startsWith(":")) { in cannonicalizeProcessName()
439 return ai.packageName + process; in cannonicalizeProcessName()
441 return process; in cannonicalizeProcessName()
/cts/tests/tests/os/src/android/os/cts/
DBuildTest.java142 Process process = new ProcessBuilder("getprop", property).start(); in getProperty() local
146 scanner = new Scanner(process.getInputStream()); in getProperty()
162 Process process = new ProcessBuilder("getprop", property).start(); in assertProperty() local
165 scanner = new Scanner(process.getInputStream()); in assertProperty()
185 Process process = new ProcessBuilder("getprop").start(); in assertNoPropertySet() local
188 scanner = new Scanner(process.getInputStream()); in assertNoPropertySet()
/cts/hostsidetests/statsd/src/android/cts/statsd/validation/
DProcStatsValidationTests.java305 for (ProcessStatsProto process : pkg.getProcessStatsList()) {
306 for (ProcessStatsStateProto state : process.getStatesList()) {
330 for (ProcessStatsProto process : pkg.getProcessStatsList()) {
331 for (ProcessStatsStateProto state : process.getStatesList()) {
412 for (ProcessStatsProto process : pkg.getProcessStatsList()) { in testProcStatsPkgProcStats()
413 for (ProcessStatsStateProto state : process.getStatesList()) { in testProcStatsPkgProcStats()
441 for (ProcessStatsProto process : pkg.getProcessStatsList()) { in testProcStatsPkgProcStats()
442 for (ProcessStatsStateProto state : process.getStatesList()) { in testProcStatsPkgProcStats()
/cts/tests/tests/selinux/common/src/android/security/
DSELinuxTargetSdkTestBase.java55 Process process = new ProcessBuilder("getprop", property).start(); in getProperty() local
59 scanner = new Scanner(process.getInputStream()); in getProperty()
149 Process process = new ProcessBuilder(path).start(); in canExecuteFromHomeDir() local
/cts/tests/ProcessTest/NoShareUidApp/src/com/android/cts/process/activity/
DNoSharePidActivity.java16 package com.android.cts.process.activity;
/cts/tests/ProcessTest/ShareUidApp/src/com/android/cts/process/activity/
DSharePidActivity.java16 package com.android.cts.process.activity;
DSharePidSubActivity.java16 package com.android.cts.process.activity;
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPropertyUtil.java162 Process process = new ProcessBuilder("getprop", property).start(); in getProperty() local
163 scanner = new Scanner(process.getInputStream()); in getProperty()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DPropertyUtil.java161 Process process = new ProcessBuilder("getprop", property).start(); in getProperty() local
162 scanner = new Scanner(process.getInputStream()); in getProperty()
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DReportProcessor.java69 void process(ITestDevice device, String reportPath) in process() method in ReportProcessor
187 process(device, mMetrics.get(reportKey)); in processDeviceReport()
DSupportedBitstreamsProcessor.java83 void process(ITestDevice device, String reportPath) throws DeviceNotAvailableException { in process() method in SupportedBitstreamsProcessor
/cts/tools/cfassembler/src/dxconvext/
DClassFileParser.java57 cfp.process(args[0], args[1], args[2]); in main()
60 private void process(final String srcDir, final String classesDir, in process() method in ClassFileParser
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DAndroidManifestParser.java83 Process process = new ProcessBuilder(getAaptCmds(mFile.getAbsolutePath())).start(); in processManifest() local
84 mReader = new BufferedReader(new InputStreamReader(process.getInputStream())); in processManifest()
/cts/tests/tests/systemui/src/android/systemui/cts/
DScreenshotTestRule.java69 processors.process(screenCapture); in capture()
/cts/tests/tests/media/src/android/media/cts/
DCodecState.java386 public void process() { in process() method in CodecState
388 mAudioTrack.process(); in process()
DNonBlockingAudioTrack.java146 public void process() { in process() method in NonBlockingAudioTrack
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java426 Process process = new ProcessBuilder("getprop", property).start(); in getProperty() local
430 scanner = new Scanner(process.getInputStream()); in getProperty()

12