/test/vts-testcase/vndk/ |
D | utils.py | 55 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/ |
D | proc_utils.py | 82 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 …]
|
D | vts_kernel_proc_file_api_test.py | 142 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/ |
D | vts_kernel_checkpoint_test.py | 44 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)
|
D | checkpoint_utils.py | 70 (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/ |
D | run_tflite.cpp | 235 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/ |
D | adb.py | 149 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)
|
D | fastboot.py | 38 (out, err) = proc.communicate() 39 if not err: 41 return err
|
/test/vts/utils/python/web/ |
D | dashboard_rest_client.py | 109 output, err = p.communicate() 112 if p.returncode or err: 113 logging.error("Row insertion failed: %s", err)
|
/test/app_compat/csuite/tools/script/ |
D | generate_module.py | 201 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):
|
D | generate_module_test.py | 149 err=io.StringIO()) 163 err=io.StringIO()) 181 err=io.StringIO()) 199 err=io.StringIO())
|
/test/vti/test_serving/gae/frontend/src/ |
D | main.ts | 12 .catch(err => console.log(err));
|
/test/vts/runners/host/ |
D | utils.py | 338 (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/ |
D | csuite_test_test.go | 267 var err error 268 buildDir, err = ioutil.TempDir("", "soong_csuite_test") 269 if err != nil { 270 panic(err)
|
/test/vts/hals/light/bullhead/ |
D | lights.c | 120 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/ |
D | systrace_controller.py | 189 out, err = self._subprocess.communicate() 192 if err.strip(): 193 logging.error('Systrace stderr: %s', err)
|
/test/vts-testcase/hal/treble/vintf/ |
D | SingleManifestTest.cpp | 504 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()
|
D | utils.cpp | 100 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/ |
D | vts_treble_platform_version_test.py | 37 out, err, return_code = self.dut.Execute("getprop " + prop) 58 out, err, return_code = self.dut.Execute("printenv " + env)
|
/test/vts/utils/python/common/ |
D | cmd_utils.py | 60 out, err = proc.communicate() 61 result.append((out, err, proc.returncode))
|
/test/vts-testcase/security/system_property/ |
D | vts_treble_sys_prop_test.py | 456 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/ |
D | ProcFsFileTests.py | 65 out, err, r_code = dut.shell.Execute('readlink /proc/mounts')
|
/test/app_compat/csuite/instrumentation/launch/src/main/java/com/android/compatibilitytest/ |
D | AppCompatibility.java | 175 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/ |
D | test_vtsc.py | 281 except getopt.GetoptError, err:
|