Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 88) 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()
/development/ndk/platforms/android-24/include/camera/
DNdkCameraDevice.h340 ANativeWindow* anw, /*out*/ACaptureSessionOutput** output);
349 void ACaptureSessionOutput_free(ACaptureSessionOutput* output);
362 ACaptureSessionOutputContainer* container, const ACaptureSessionOutput* output);
378 ACaptureSessionOutputContainer* container, const ACaptureSessionOutput* output);
DNdkCaptureRequest.h101 camera_status_t ACameraOutputTarget_create(ANativeWindow* window, ACameraOutputTarget** output);
110 void ACameraOutputTarget_free(ACameraOutputTarget* output);
123 const ACameraOutputTarget* output);
138 const ACameraOutputTarget* 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/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/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/python-packages/gdbrunner/
D__init__.py120 output, _ = device.shell([ps_script])
121 return parse_ps_output(output)
123 def parse_ps_output(output): argument
125 output = adb.split_lines(output.replace("\r", ""))
126 columns = output.pop(0).split()
131 while output:
132 columns = output.pop().split()
/development/ndk/platforms/android-9/arch-x86/include/asm/
Dalternative_32.h39output, input...) asm volatile ("661:\n\t" oldinstr "\n662:\n" ".section .altinstructions,\"a\… argument
/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()
/development/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/
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()
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/
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()
/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/CardEmulation/src/com.example.android.cardemulation/
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/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/AdvancedImmersiveMode/src/com.example.android.advancedimmersivemode/
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