Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 113) sorted by relevance

12345

/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/
DSimpleWebServer.java121 PrintStream output = null; in handle() local
138 output = new PrintStream(socket.getOutputStream()); in handle()
142 writeServerError(output); in handle()
147 writeServerError(output); in handle()
152 output.println("HTTP/1.0 200 OK"); in handle()
153 output.println("Content-Type: " + detectMimeType(route)); in handle()
154 output.println("Content-Length: " + bytes.length); in handle()
155 output.println(); in handle()
156 output.write(bytes); in handle()
157 output.flush(); in handle()
[all …]
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DNode.java219 StringBuilder output = new StringBuilder("Node "); in toString() local
220 if (isCurrent()) output.append("current "); in toString()
221 if (isNew()) output.append("new "); in toString()
222 if (isModified()) output.append("modified "); in toString()
223 output.append("<<"); in toString()
224 if (mIsTaskNode) output.append("taskId=").append(mTaskId); in toString()
225 else output.append(mName.toShortString()); in toString()
227 output.append("intent:("); in toString()
229 output.append(flag.replace(FlagUtils.INTENT_FLAG_PREFIX, "")).append(','); in toString()
231 output.append(")"); in toString()
[all …]
DAMControl.java52 StringBuilder output = new StringBuilder(); in execCmd() local
63 output.append(line).append('\n'); in execCmd()
70 output.append(line).append('\n'); in execCmd()
76 lineCount, cmd.split(" ")[0], output.toString())); in execCmd()
79 if (BuildConfig.DEBUG) Log.e(TAG, output.append(e.getMessage()).toString()); in execCmd()
82 return output.toString(); in execCmd()
/development/tools/external_crates/crate_health/src/
Dcrate_type.rs168 self.patch_output.iter().all(|output| output.status.success()) in patch_success()
171 self.generate_android_bp_output.as_ref().is_some_and(|output| output.status.success()) in generate_android_bp_success()
174 self.android_bp_diff.as_ref().is_some_and(|output| output.status.success()) in android_bp_unchanged()
179 if let Some(output) = &self.generate_android_bp_output { in print()
180 println!("generate Android.bp exit status: {}", output.status); in print()
181 println!("{}", from_utf8(&output.stdout)?); in print()
182 println!("{}", from_utf8(&output.stderr)?); in print()
184 if let Some(output) = &self.android_bp_diff { in print()
185 println!("diff exit status: {}", output.status); in print()
186 println!("{}", from_utf8(&output.stdout)?); in print()
[all …]
Dpseudo_crate.rs106 let output = in vendor() localVariable
107 Command::new("cargo").args(["vendor"]).current_dir(self.path.abs()).output()?; in vendor()
108 if !output.status.success() { in vendor()
111 output in vendor()
116 from_utf8(&output.stdout)?, in vendor()
117 from_utf8(&output.stderr)? in vendor()
Dlib.rs101 let output = in copy_dir() localVariable
102 Command::new("cp").arg("--archive").arg(src.as_ref()).arg(dst.as_ref()).output()?; in copy_dir()
103 if !output.status.success() { in copy_dir()
108 from_utf8(&output.stdout)?, in copy_dir()
109 from_utf8(&output.stderr)? in copy_dir()
/development/tools/repo_diff/service/repodiff/tools/
Dclear_service_account_keys.py8 return_code, output = commands.getstatusoutput(command)
11 return output
19 def parse_list_key_output(output): argument
20 for line in [l for l in output.splitlines() if l][1:-1]:
/development/python-packages/gdbrunner/gdbrunner/
D__init__.py116 output, _ = device.shell([ps_script])
117 return parse_ps_output(output)
120 def parse_ps_output(output): argument
122 output = adb.split_lines(output.replace("\r", ""))
123 columns = output.pop(0).split()
128 while output:
129 columns = output.pop().split()
192 print(err.output.decode("utf-8"))
325 output, _ = device.shell(cmd)
326 return adb.split_lines(output)[0]
[all …]
/development/tools/otagui/
DREADME.md18 Create a `target` directory to store the target files and a `output` directory
19 to store the output files:
22 mkdir output
34 2. Run: `docker run -it -p 8000:8000 -v target:/app/target -v output:/app/output zhangxp1998/test:l…
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DAnnotationSourcer.java33 public AnnotationSourcer(Output output) { in AnnotationSourcer() argument
34 this(output, false /*isArray*/); in AnnotationSourcer()
37 public AnnotationSourcer(Output output, boolean isArray) { in AnnotationSourcer() argument
39 mOutput = output; in AnnotationSourcer()
/development/python-packages/fastboot/
Ddevice.py85 output = _subprocess_check_output([self.path, 'getvar', name],
91 if output[0] == "< waiting for any device >":
93 result = re.search(r'{}:\s*(.*)'.format(name), output[out])
105 output = _subprocess_check_output([self.path, 'getvar', 'all'],
108 for line in output:
235 output=e.output)
/development/gsi/build_with_kernel/
Dkernel_info_to_dist.sh54 local output="${output_folder}/$(basename "$f")"
56 echo "Pick ${output}..."
57 curl -sfL "${url_base}/raw/${f}" -o "$output"
/development/vndk/snapshot/
Dutils.py58 output = subprocess.check_output(cmd, encoding='utf-8')
59 logging.debug('Output: `{}`'.format(output))
60 return output
190 output = check_output(cmd).strip()
193 return output.split()[2]
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSawVoice.java56 float output = mOscillator.render() * mEnvelope.render(); in render() local
57 return output; in render()
DSynthVoice.java53 float output = render(); in mix() local
56 outputBuffer[offset + jf] += output * level; in mix()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSawVoice.java56 float output = mOscillator.render() * mEnvelope.render(); in render() local
57 return output; in render()
DSynthVoice.java53 float output = render(); in mix() local
56 outputBuffer[offset + jf] += output * level; in mix()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyGetFrameRateEvent.java123 String output = result.readLine(); in injectEvent() local
125 if (output != null) { in injectEvent()
127 mStartFrameNo = Integer.parseInt(getNumberOfFrames(output), 16); in injectEvent()
130 mEndFrameNo = Integer.parseInt(getNumberOfFrames(output), 16); in injectEvent()
DMonkeySourceNetwork.java552 private PrintWriter output; field in MonkeySourceNetwork
585 output = new PrintWriter(clientSocket.getOutputStream(), true); in startServer()
595 output.close(); in stopServer()
769 output.println(ERROR_STR); in returnError()
778 output.print(ERROR_STR); in returnError()
779 output.print(":"); in returnError()
780 output.println(msg); in returnError()
787 output.println(OK_STR); in returnOk()
796 output.print(OK_STR); in returnOk()
797 output.print(":"); in returnOk()
[all …]
/development/samples/AconfigDemo/src/
Dlib.rs43 let output = env.new_string(result).expect("Couldn't create java string!"); in Java_com_example_android_aconfig_demo_AconfigDemoActivity_printRustFlag() localVariable
45 output.into_raw() in Java_com_example_android_aconfig_demo_AconfigDemoActivity_printRustFlag()
/development/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()
/development/samples/browseable/RevealEffectBasic/src/com.example.android.revealeffectbasic/
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()
/development/samples/browseable/RecyclerView/src/com.example.android.recyclerview/
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.slidingtabscolors/
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()

12345