/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/ |
D | SimpleWebServer.java | 121 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/ |
D | adb_interface.py | 156 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 …]
|
D | run_command.py | 107 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/ |
D | compare-installed-size.py | 80 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/ |
D | AnnotationSourcer.java | 33 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/ |
D | native_test.py | 88 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/ |
D | tests.py | 114 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/ |
D | helloneon-intrinsics.c | 24 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/ |
D | device.py | 201 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/ |
D | alternative_32.h | 39 …output, input...) asm volatile ("661:\n\t" oldinstr "\n662:\n" ".section .altinstructions,\"a\… argument
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/ |
D | SawVoice.java | 56 float output = mOscillator.render() * mEnvelope.render(); in render() local 57 return output; in render()
|
D | SynthVoice.java | 53 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/ |
D | SawVoice.java | 56 float output = mOscillator.render() * mEnvelope.render(); in render() local 57 return output; in render()
|
D | SynthVoice.java | 53 float output = render(); in mix() local 56 outputBuffer[offset + jf] += output * level; in mix()
|
/development/python-packages/gdbrunner/ |
D | __init__.py | 115 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/ |
D | MonkeyGetFrameRateEvent.java | 123 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/ |
D | README.txt | 7 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/ |
D | MainActivity.java | 79 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/ |
D | MainActivity.java | 79 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/ |
D | MainActivity.java | 79 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/ |
D | MainActivity.java | 79 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/ |
D | MainActivity.java | 79 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/ |
D | MainActivity.java | 79 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/ |
D | MainActivity.java | 79 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/ |
D | MainActivity.java | 79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local 81 output.setDisplayedChild(1); in onOptionsItemSelected() 83 output.setDisplayedChild(0); in onOptionsItemSelected()
|