Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 90) 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/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/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/tools/checkstyle/
Dtests.py114 output = out.getvalue()
115 self.assertEqual(output, '')
129 output = out.getvalue()
130 self.assertEqual(output, '')
137 output = out.getvalue()
138 self.assertEqual(output, checkstyle.ERROR_UNTRACKED + TEST_FILE1 + '\n\n')
144 output = out.getvalue()
145 self.assertEqual(output, '')
/development/ndk/samples/hello-neon/jni/
Dhelloneon-intrinsics.c24 fir_filter_neon_intrinsics(short *output, const short* input, const short* kernel, int width, int k… in fir_filter_neon_intrinsics() argument
51 output[nn] = (short)((sum + 0x8000) >> 16); in fir_filter_neon_intrinsics()
61 output[n] = (short)((sum + 0x8000) >> 16); in fir_filter_neon_intrinsics()
/development/python-packages/adb/
Ddevice.py201 output=e.output)
453 output, _ = self.shell(['getprop'])
454 output = output.splitlines()
456 for line in output:
468 output = self.shell(['getprop', prop_name])[0].splitlines()
469 if len(output) != 1:
471 '\n'.join(output))
472 value = output[0]
/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/python-packages/gdbrunner/
D__init__.py115 output, _ = device.shell([ps_script])
118 output = output.replace("\r", "").splitlines()
119 columns = output.pop(0).split()
124 while output:
125 columns = output.pop().split()
/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/perftests/panorama/
DREADME.txt7 Sample output:
27 The result of the benchmark can be verified by pulling the the output
31 2) diff panorama.ppm output/golden.ppm
/development/samples/browseable/AppRestrictionSchema/src/com.example.android.apprestrictionschema/
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/ClippingBasic/src/com.example.android.clippingbasic/
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/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/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()
/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/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/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()

1234