Home
last modified time | relevance | path

Searched refs:err (Results 1 – 24 of 24) sorted by relevance

/test/vts-testcase/vndk/
Dutils.py55 out, err = proc.communicate()
59 if not isinstance(err, str):
60 err = err.decode("utf-8")
61 return out, err, proc.returncode
75 out, err, return_code = self.Execute("getprop", name)
76 if err.strip() or return_code != 0:
78 (name, out, err))
197 out, err, return_code = self.Execute("id")
198 if err.strip() or return_code != 0:
199 raise IOError("`id` stdout: %s\nstderr: %s \n" % (out, err))
[all …]
/test/vts/testcases/host/kernel_proc_file_api_test/
Dproc_utils.py82 out, err, r_code = self.shell.Execute('stat -c %%a %s' % filepath)
83 if r_code != 0 or err.strip():
85 (filepath, out, err))
137 out, err, r_code = self.shell.Execute("id -un")
138 if r_code == 0 and not err.strip() and out.strip() == "root":
155 out, err, r_code = self.shell.Execute(cmd)
158 if r_code != 0 or err.strip():
160 % (filepath, err))
172 (out, err) = proc.communicate()
177 return out.decode('UTF-8'), err.decode('UTF-8'), proc.returncode
[all …]
Dvts_kernel_proc_file_api_test.py142 out, err, r_code = self.dut.shell.Execute("which incident_helper")
149 out, err, r_code = self.dut.shell.Execute(
180 out, err, r_code = self.dut.shell.Execute(
/test/vts-testcase/kernel/checkpoint/
Dvts_kernel_checkpoint_test.py44 out, err, return_code = self.dut.Execute("getprop ro.boot." + prop)
50 out, err, return_code = self.dut.Execute("cat " + filename + extension)
98 out, err, return_code = self.dut.Execute("getprop sys.boot_completed")
109 out, err, return_code = self.dut.Execute("getprop ro.product.first_api_level")
130 out, err, return_code = self.dut.Execute("vdc checkpoint startCheckpoint 1")
139 out, err, return_code = self.dut.Execute("cat " + self._CHECKPOINTTESTFILE)
144 out, err, return_code = self.dut.Execute("vdc checkpoint commitChanges")
162 out, err, return_code = self.dut.Execute("vdc checkpoint startCheckpoint 1")
169 out, err, return_code = self.dut.Execute("vdc checkpoint commitChanges")
174 out, err, return_code = self.dut.Execute("cat " + self._CHECKPOINTTESTFILE)
Dcheckpoint_utils.py70 (out, err) = proc.communicate()
75 err = err.decode("utf-8")
78 raise AdbError(cmd, out, err, proc.returncode)
79 return out, err, proc.returncode
/test/mlts/benchmark/jni/
Drun_tflite.cpp235 float err = ((float)output_raw[i]) - ((float)expected_data[i]); in getOutputError() local
236 if (err > max_error) max_error = err; in getOutputError()
237 err_sum += err * err; in getOutputError()
246 float err = output_raw[i] - expected[i]; in getOutputError() local
247 if (err > max_error) max_error = err; in getOutputError()
248 err_sum += err * err; in getOutputError()
473 int err = stat(fullPath, &st); in getCompilationCacheSize() local
474 if (err != 0) { in getCompilationCacheSize()
/test/vts/utils/python/controllers/
Dadb.py149 out, err, ret = cmd_utils.ExecuteOneShellCommand(cmd, timeout)
151 err, ret)
155 const.STDERR: err,
162 raise AdbError(cmd=cmd, stdout=out, stderr=err, ret_code=ret)
Dfastboot.py38 (out, err) = proc.communicate()
39 if not err:
41 return err
/test/vts/utils/python/web/
Ddashboard_rest_client.py109 output, err = p.communicate()
112 if p.returncode or err:
113 logging.error("Row insertion failed: %s", err)
/test/app_compat/csuite/tools/script/
Dgenerate_module.py201 def _redirect_sys_output(out, err): argument
204 sys.stdout, sys.stderr = out, err
210 def parse_args(args, out=sys.stdout, err=sys.stderr): argument
237 with _redirect_sys_output(out, err):
Dgenerate_module_test.py149 err=io.StringIO())
163 err=io.StringIO())
181 err=io.StringIO())
199 err=io.StringIO())
/test/vti/test_serving/gae/frontend/src/
Dmain.ts12 .catch(err => console.log(err));
/test/vts/runners/host/
Dutils.py338 (out, err) = proc.communicate()
339 if not err:
341 raise OSError(err)
355 out, err = proc.communicate()
357 " stdout: %s" % (proc.pid, ret, err, out))
/test/app_compat/csuite/tools/csuite_test/
Dcsuite_test_test.go267 var err error
268 buildDir, err = ioutil.TempDir("", "soong_csuite_test")
269 if err != nil {
270 panic(err)
/test/vts/hals/light/bullhead/
Dlights.c120 int err = 0; in set_light_backlight() local
124 err = write_int(LCD_FILE, brightness); in set_light_backlight()
130 return err; in set_light_backlight()
/test/vts/utils/python/systrace/
Dsystrace_controller.py189 out, err = self._subprocess.communicate()
192 if err.strip():
193 logging.error('Systrace stderr: %s', err)
/test/vts-testcase/hal/treble/vintf/
DSingleManifestTest.cpp504 status_t err = in getInterfaceHash() local
506 if (err == UNKNOWN_TRANSACTION) { in getInterfaceHash()
509 EXPECT_EQ(OK, err); in getInterfaceHash()
524 status_t err = binder->transact(IBinder::LAST_CALL_TRANSACTION, data, &reply); in getInterfaceVersion() local
527 if (err == UNKNOWN_TRANSACTION) { in getInterfaceVersion()
533 EXPECT_EQ(OK, err); in getInterfaceVersion()
Dutils.cpp100 string err = ""; in ReleasedHashes() local
103 auto hashes = Hash::lookupHash(file_path, fq_iface_name.string(), &err); in ReleasedHashes()
/test/vts-testcase/hal/treble/platform_version/
Dvts_treble_platform_version_test.py37 out, err, return_code = self.dut.Execute("getprop " + prop)
58 out, err, return_code = self.dut.Execute("printenv " + env)
/test/vts/utils/python/common/
Dcmd_utils.py60 out, err = proc.communicate()
61 result.append((out, err, proc.returncode))
/test/vts-testcase/security/system_property/
Dvts_treble_sys_prop_test.py456 out, err, return_code = self.dut.Execute(cmd)
457 …debug("%s: Shell command '%s' out: %s, err: %s, return_code: %s", path, cmd, out, err, return_code)
460 raise IOError(err)
/test/vts/testcases/host/kernel_proc_file_api_test/proc_tests/
DProcFsFileTests.py65 out, err, r_code = dut.shell.Execute('readlink /proc/mounts')
/test/app_compat/csuite/instrumentation/launch/src/main/java/com/android/compatibilitytest/
DAppCompatibility.java175 String err = errors.get(i); in testAppStability() local
178 message.append(truncate(err, MAX_CRASH_SNIPPET_LINES)); in testAppStability()
/test/vts/compilation_tools/vtsc/test/
Dtest_vtsc.py281 except getopt.GetoptError, err: