Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 111) 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/winscope/src/trace_collection/wdp/
Dwdp_device_connection.ts81 const output = byteArrayToString(cmdOut.get()).trimEnd(); constant
83 return output;
91 const output = await this.runShellCommand(target.startCmd); constant
93 const index = output.indexOf(doneToken);
96 warning = output;
98 const msg = output.slice(index + doneToken.length);
116 const output = await this.runShellCommand(target.stopCmd); constant
117 console.debug(`Ended trace for ${target.traceName}. Output: ${output}`);
174 let output =
176 output = output.replace(
[all …]
/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/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/tools/crate-updater/src/
Dmain.rs103 let output = Command::new("git") in cleanup_and_sync_monorepo() localVariable
106 .output()? in cleanup_and_sync_monorepo()
108 if !output.stdout.is_empty() { in cleanup_and_sync_monorepo()
132 let output = Command::new("/google/data/ro/projects/android/ab") in sync_to_green() localVariable
140 .output()? in sync_to_green()
142 let bid = from_utf8(&output.stdout)?.trim(); in sync_to_green()
162 let output = Command::new(monorepo_path.join("crate_tool")) in get_suggestions() localVariable
171 .output()? in get_suggestions()
173 let json: UpdateSuggestions = serde_json::from_slice(&output.stdout)?; in get_suggestions()
/development/tools/winscope/src/trace_collection/adb/
Dadb_device_connection.ts128 const output = await this.runShellCommand('screenrecord --version'); constant
129 if (!output.includes('unrecognized option')) {
130 screenRecordVersion = output;
149 const output = await this.runShellCommand( constant
152 if (!output.includes('Display')) {
155 this.displays = 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/tools/external_crates/crate_tool/src/
Dandroid_bp.rs48 let output = cmd in run_cargo_embargo() localVariable
54 .output() in run_cargo_embargo()
57 Ok(output) in run_cargo_embargo()
70 .output() in cargo_embargo_autoconfig()
/development/tools/external_crates/test_mapping/src/
Drdeps.rs59 let output = Command::new("grep") in grep_and_parse() localVariable
71 .output()?; in grep_and_parse()
72 let stdout = from_utf8(&output.stdout)?; in grep_and_parse()
/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/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/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()
/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/SlidingTabsBasic/src/com.example.android.slidingtabsbasic/
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/DragAndDropAcrossApps/DropTarget/src/com.example.android/droptarget/
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/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/
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/CustomTransition/src/com.example.android.customtransition/
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