Home
last modified time | relevance | path

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

1234

/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/testrunner/
Dadb_interface.py156 output = self.SendShellCommand("ls %s" % src)
159 if error in output:
165 output = self.SendCommand("root")
166 if "adbd is already running as root" in output:
168 elif "restarting adbd as root" in output:
174 logger.Log("Unrecognized output from adb root: %s" % output)
352 output = self.SendShellCommand(command)
353 return output.startswith("instrumentation:")
415 output = self.SendShellCommand(command, retry_count=1)
416 if ((not invert and expected in output)
[all …]
Drun_command.py107 output = pipe.communicate(input=stdin_input)[0]
108 if output is not None and len(output) > 0:
109 so.append(output)
143 output = "".join(so)
145 raise errors.AbortError(msg=output)
/development/scripts/
Dcompare-installed-size.py80 output = open("module_%d.csv" % idx, 'w')
83 output.write("%s, %d\n" % (key, bin_sizes[idx][key]))
84 output.close()
98 output = open("comparison.csv", 'w')
100 output.write("%s, %s, %s, %s, %d\n" %
104 output.close()
Ddisassemble_tombstone.py64 for output in ProcessRegisterList(line_generator, register_text):
65 yield output
68 for output in ProcessCodeBlock(
70 yield output
/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/vndk/tools/header-checker/header-abi-dumper/src/
Dworkaround_openmp.cpp46 std::fstream output(path, std::ios_base::out | std::ios_base::trunc); in WriteFile() local
47 if (!output) { in WriteFile()
51 output.write(data, size); in WriteFile()
52 if (!output) { in WriteFile()
/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/python-packages/gdbrunner/
D__init__.py114 output, _ = device.shell([ps_script])
115 return parse_ps_output(output)
117 def parse_ps_output(output): argument
119 output = adb.split_lines(output.replace("\r", ""))
120 columns = output.pop(0).split()
125 while output:
126 columns = output.pop().split()
274 output, _ = device.shell(cmd)
275 return adb.split_lines(output)[0]
/development/testrunner/test_defs/
Dnative_test.py88 output = adb.SendShellCommand("'%s 2>&1;echo -n exit code:$?'" %
91 success = output.endswith("exit code:0")
95 pos = output.rfind("exit code")
96 output = output[0:pos]
97 logger.Log(output)
/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/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/tools/privapp_permissions/
Dprivapp_permissions.py124 output = subprocess.check_output([self.path] + arguments,
126 return output.decode(encoding='UTF-8')
237 output = get_output('%s -s %s get-state' %
244 if 'device' not in output:
254 output = get_output(command)
259 if 'device' in output:
269 output = get_output(get_serials_cmd)
271 if len(output.split()) > 1:
275 return output.strip()
340 output = subprocess.check_output(command, shell=True)
[all …]
/development/gsi/gsi_util/gsi_util/utils/
Ddebugfs.py58 _, output, error = run_command(
69 m = re.search('Type:\\s*([^\\s]+)', output)
/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/ActiveNotifications/src/com.example.android.activenotifications/
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()
/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/BasicTransition/src/com.example.android.basictransition/
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/ElevationBasic/src/com.example.android.elevationbasic/
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/BluetoothChat/src/com.example.android.bluetoothchat/
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/MediaEffects/src/com.example.android.mediaeffects/
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/ScreenCapture/src/com.example.android.screencapture/
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()

1234